curl --request POST \
--url https://api.voltview.co.uk/v1/billValidation/validateInvoice \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"invoiceId": "<string>"
}'
{
"documentId": "<string>",
"status": "passed",
"extractedData": {
"invoiceId": "<string>",
"supplierName": "<string>",
"supplierAccountNumber": "<string>",
"supplyType": "electricity",
"invoiceNumber": "<string>",
"customerName": "<string>",
"mpanMprn": "<string>",
"invoiceDate": "2023-12-25",
"dueDate": "2023-12-25",
"chargeStartDate": "2023-12-25",
"chargeEndDate": "2023-12-25",
"meterSerialNumber": "<string>",
"siteAddress": "<string>",
"paymentMethod": "<string>",
"standingCharge": 123,
"standingChargeType": "<string>",
"cclRate": 123,
"vatRate": 123,
"readFromDate": "2023-12-25",
"readFromType": "actual",
"readToDate": "2023-12-25",
"readToType": "actual",
"consumption": 123,
"dayConsumption": 123,
"nightConsumption": 123,
"unitRate": 123,
"dayUnitRate": 123,
"nightUnitRate": 123,
"correctionFactor": 123,
"calorificValue": 123,
"totalUnitCharge": 123,
"totalStandingCharge": 123,
"capacityCharge": 123,
"amountDueNetOfVat": 123,
"vat": 123,
"totalAmount": 123,
"confidence": 123
},
"errors": [
{
"type": "consumptionMismatch",
"description": "<string>",
"expected": "<string>",
"actual": "<string>"
}
]
}
Validate a previously parsed invoice against meter readings, tariff data, and site information to identify discrepancies in consumption, rates, charges, and billing details
curl --request POST \
--url https://api.voltview.co.uk/v1/billValidation/validateInvoice \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"invoiceId": "<string>"
}'
{
"documentId": "<string>",
"status": "passed",
"extractedData": {
"invoiceId": "<string>",
"supplierName": "<string>",
"supplierAccountNumber": "<string>",
"supplyType": "electricity",
"invoiceNumber": "<string>",
"customerName": "<string>",
"mpanMprn": "<string>",
"invoiceDate": "2023-12-25",
"dueDate": "2023-12-25",
"chargeStartDate": "2023-12-25",
"chargeEndDate": "2023-12-25",
"meterSerialNumber": "<string>",
"siteAddress": "<string>",
"paymentMethod": "<string>",
"standingCharge": 123,
"standingChargeType": "<string>",
"cclRate": 123,
"vatRate": 123,
"readFromDate": "2023-12-25",
"readFromType": "actual",
"readToDate": "2023-12-25",
"readToType": "actual",
"consumption": 123,
"dayConsumption": 123,
"nightConsumption": 123,
"unitRate": 123,
"dayUnitRate": 123,
"nightUnitRate": 123,
"correctionFactor": 123,
"calorificValue": 123,
"totalUnitCharge": 123,
"totalStandingCharge": 123,
"capacityCharge": 123,
"amountDueNetOfVat": 123,
"vat": 123,
"totalAmount": 123,
"confidence": 123
},
"errors": [
{
"type": "consumptionMismatch",
"description": "<string>",
"expected": "<string>",
"actual": "<string>"
}
]
}
JWT token obtained from /v1/requestToken endpoint
Validation completed
The response is of type object
.