Authorizations
JWT token obtained from /v1/requestToken endpoint
Body
Contract file(s) to upload (PDF, JPEG, or PNG format). Can upload multiple files (up to 10). Either one PDF or one or more images, but not both types together.
Response
Contract successfully parsed
Extracted contract data. Many fields are optional and depend on what can be extracted from the document. Only 'customerType' and 'supplyPoints' are always present (supplyPoints may be an empty array).
Customer classification - residential (domestic) or business (non_domestic)
domestic, non_domestic Array of supply points in the contract
Generated file path for the contract
Supplier account number
Name of the supplier
Supplier's full address
Internal supplier identifier
Supplier code
Name of the customer
Address where bills are sent (customer's address)
Contract number
Contract start date in YYYY-MM-DD format
Contract end date in YYYY-MM-DD format
Climate Change Levy (CCL) rate in pence per kWh (p/kWh). Converted from £/kWh if necessary (e.g., 0.00775 £/kWh becomes 0.775 p/kWh).
Whether this is a fixed-rate contract
Whether this contract uses market rates
Whether the customer is classified as a micro business
Payment method (e.g., 'Direct Debit', 'Credit Card')
Contract term in months