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:
Data Sources:
JWT token obtained from /v1/requestToken endpoint
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
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.