Validate an electronic invoice
Check syntax, schema, business rules, code lists, national rules and authority acceptance in the correct order.
The correct sequence
Electronic invoicing problems are often caused by performing the right check at the wrong layer. Follow the sequence below and keep evidence from each stage.
- 1Detect the document and profile
Identify the exact jurisdiction, document type, profile and intended recipient before changing the file.
- 2Run syntax and local preflight checks
Run local, deterministic checks first so basic mapping and arithmetic defects are removed quickly.
- 3Use the correct official XSD and Schematron
Apply the current official technical artefacts or provider sandbox and capture the full machine response.
- 4Confirm authority or network acceptance
Confirm delivery, clearance or recipient status through the authoritative system and preserve the evidence.
Inputs to collect before starting
- The country, transaction type and legal entities involved
- The original structured invoice and its unmodified response
- The intended schema/profile version and delivery channel
- Sender, receiver and routing identifiers
- Authority or provider timestamps, correlation IDs and status codes
Quality controls
The XML or JSON remains the authoritative structured document; a PDF rendering is a readable representation.
Record schema, Schematron, code-list, SDK and API versions used for the result.
Store receipts, UUIDs, status transitions, rejection details and retried submissions in an auditable timeline.
Local checks reduce avoidable errors but cannot prove delivery, clearance or recipient acceptance.
Completion evidence
A completed workflow should produce a small evidence pack rather than only a green screen.
- Document hash and immutable source copy
- Detected profile and validation versions
- Machine-readable validation report
- Human-readable review copy
- Official or network response when applicable
- Correction and resubmission history
Tools for this task
Invoice format detector
Identify common XML, JSON and national electronic invoice signatures.
Technical invoice preflight
Check parseability, core fields, identifiers and arithmetic before submission.
Invoice error explainer
Explain recognized EN 16931, Peppol and national rule messages.
E-invoice schema and version finder
Find the country system, structured format family, likely active version markers and official technical source.