Factur-X Validator
Validate invoice data against Factur-X 1.0.8 and EN 16931 for the French e-invoicing mandate. Pre-flight check before PDF generation.
What Gets Validated
The /v1/validate endpoint checks your invoice JSON against
Factur-X 1.0.8 requirements before PDF generation.
PDF/A-3 Compliance
Ensures the invoice data will produce a valid PDF/A-3 document with correctly embedded CII XML attachment.
CII XML Structure
Validates all fields map correctly to UN/CEFACT Cross-Industry Invoice XML elements as specified by Factur-X 1.0.8.
EN 16931 Conformance
Checks European e-invoicing business rules: VAT calculations, line item totals, date logic, and payment terms.
Chorus Pro Requirements
Verifies fields required for Chorus Pro B2G submissions: SIRET numbers, service codes, and engagement references.
Validate via API
Same payload as /v1/generate, validated without producing a PDF.
curl -X POST https://api.thelawin.dev/v1/validate \
-H "Content-Type: application/json" \
-d '{
"format": "facturx",
"invoice": {
"number": "FA-2026-001",
"date": "2026-01-15",
"currency": "EUR",
"seller": {
"name": "Exemple SARL",
"country": "FR",
"vat_id": "FR12345678901"
},
"buyer": {
"name": "Acheteur SAS",
"country": "FR"
},
"items": [{
"name": "Conseil technique",
"quantity": 5,
"unit": "DAY",
"unit_price": 800.00,
"vat_rate": 20
}]
}
}'
French E-Invoicing Mandate 2026
Starting September 2026, large French enterprises must issue structured e-invoices for B2B transactions. By 2027, all businesses are required to comply. Factur-X is one of three accepted formats alongside UBL and CII.
Validating your invoice data before generation helps ensure compliance with both the Factur-X specification and the DGFIP requirements for the Portail Public de Facturation.
Free Validation
/v1/validate does not consume your monthly generation quota.
Validate as often as needed during development. Typical response time is 20-50ms.