Authorizations
JWT token obtained from /v1/requestToken endpoint
Body
multipart/form-data
Invoice file(s) to upload (PDF, JPEG, or PNG format). Can upload multiple files.
curl --request POST \
--url https://api.voltview.co.uk/v1/billValidation/parseInvoice \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: multipart/form-data' \
--form file=@example-file{
"success": true,
"data": {
"filePath": "<string>",
"documentType": "invoice",
"isStatement": true,
"supplierName": "<string>",
"supplierCode": "<string>",
"customerName": "<string>",
"billingAddress": "<string>",
"items": [
{
"itemType": "invoice",
"invoiceNumber": "<string>",
"invoiceDate": "2023-12-25",
"dueDate": "2023-12-25",
"netAmount": 123,
"vatAmount": 123,
"totalAmount": 123,
"supplyPoints": [
{
"mpanMprn": "<string>",
"supplyType": "electricity",
"siteAddress": "<string>",
"consumption": {
"total": 123,
"unit": "<string>",
"day": 123,
"night": 123,
"reactive": 123,
"apparent": 123
},
"charges": [
{
"category": "energy",
"description": "<string>",
"quantity": 123,
"unit": "<string>",
"rate": 123,
"rateUnit": "<string>",
"vatRate": 123,
"netAmount": 123
}
],
"meterReadings": [
{
"date": "2023-12-25",
"type": "actual",
"reading": "<string>",
"register": "<string>",
"consumption": 123,
"unit": "<string>"
}
]
}
]
}
]
}
}Uploads and processes a UK energy supplier invoice (PDF or images) to extract invoice details, supply points (MPANs/MPRNs), and associated consumption and charge information.
curl --request POST \
--url https://api.voltview.co.uk/v1/billValidation/parseInvoice \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: multipart/form-data' \
--form file=@example-file{
"success": true,
"data": {
"filePath": "<string>",
"documentType": "invoice",
"isStatement": true,
"supplierName": "<string>",
"supplierCode": "<string>",
"customerName": "<string>",
"billingAddress": "<string>",
"items": [
{
"itemType": "invoice",
"invoiceNumber": "<string>",
"invoiceDate": "2023-12-25",
"dueDate": "2023-12-25",
"netAmount": 123,
"vatAmount": 123,
"totalAmount": 123,
"supplyPoints": [
{
"mpanMprn": "<string>",
"supplyType": "electricity",
"siteAddress": "<string>",
"consumption": {
"total": 123,
"unit": "<string>",
"day": 123,
"night": 123,
"reactive": 123,
"apparent": 123
},
"charges": [
{
"category": "energy",
"description": "<string>",
"quantity": 123,
"unit": "<string>",
"rate": 123,
"rateUnit": "<string>",
"vatRate": 123,
"netAmount": 123
}
],
"meterReadings": [
{
"date": "2023-12-25",
"type": "actual",
"reading": "<string>",
"register": "<string>",
"consumption": 123,
"unit": "<string>"
}
]
}
]
}
]
}
}JWT token obtained from /v1/requestToken endpoint
Invoice file(s) to upload (PDF, JPEG, or PNG format). Can upload multiple files.