Validate invoice
Validates an invoice against contract data and optional user-provided consumption data. Performs comprehensive validation including consumption matching, meter reading verification, and check against contract.
Validation Rules:
- Meter Reading Logic: Current reading must be ≥ previous reading
- Contract Matching: Invoice date must fall within contract period
- MPAN Matching: At least one MPAN must match between invoice and contract
Data Sources:
- Manual uploads from parseInvoice endpoint
- Invoices from Supplier Integration system
- User-provided consumption and meter reading data
Authorizations
VoltView API key
Body
File path to the invoice document to validate. Can be from a manually uploaded invoice (parseInvoice endpoint) or from an invoice retrieved via Supplier Integration endpoints.
"accounts/123456789/invoices/INV2024001.pdf"
Optional user-provided consumption data to validate against the invoice
Response
Validation completed - may return passed, failed, or pending status
File path to the validated invoice document
Validation status - passed means all validations succeeded, failed means discrepancies were found, pending means validation could not be completed (e.g., missing contract data)
passed, failed, pending Array of validation errors found. Empty array indicates validation passed.