Factur-X / EN 16931 validation rules
Every EN 16931 / Factur-X business rule the validator checks — why invoices are rejected, and how to fix each one.
FX-BUY-001
An invoice shall contain the buyer name (BuyerTradeParty/Name). (EN16931 BR-07)
FX-HDR-001
An invoice shall have an invoice number (ExchangedDocument/ID). (EN16931 BR-02)
FX-HDR-002
An invoice shall have an issue date (ExchangedDocument/IssueDateTime). (EN16931 BR-03)
FX-HDR-003
An invoice shall specify a document type code (ExchangedDocument/TypeCode). (EN16931 BR-04)
FX-HDR-004
The invoice document type code must be one of the recognised UNTDID 1001 codes for Factur-X invoices.
FX-LIN-001
Each invoice line must have a line identifier (AssociatedDocumentLineDocument/LineID).
FX-LIN-003
Each invoice line must state the billed quantity.
FX-LIN-004
Each invoice line must state the net unit price.
FX-PROF-001
A CII invoice must specify a GuidelineSpecifiedDocumentContextParameter/ID (Factur-X profile identifier).
FX-PROF-002
The Factur-X profile ID must be one of the recognised profile URNs (MINIMUM, BASIC-WL, BASIC, EN16931, EXTENDED).
FX-PROFILE-BASIC-001
This validator is for the Factur-X BASIC profile; the invoice profile ID must be urn:factur-x.eu:1p0:basic.
FX-PROFILE-BASICWL-001
This validator is for the Factur-X BASIC-WL profile; the invoice profile ID must be urn:factur-x.eu:1p0:basicwl.
FX-PROFILE-EN16931-001
This validator is for the Factur-X EN16931 profile; the invoice profile ID must be urn:cen.eu:en16931:2017.
FX-PROFILE-EXTENDED-001
This validator is for the Factur-X EXTENDED profile; the invoice profile ID must be urn:factur-x.eu:1p0:extended.
FX-PROFILE-MINIMUM-001
This validator is for the Factur-X MINIMUM profile; the invoice profile ID must be urn:factur-x.eu:1p0:minimum.
FX-SEL-001
An invoice shall contain the seller name (SellerTradeParty/Name). (EN16931 BR-06)
FX-TOT-001
The header line total amount must equal the sum of all invoice line total amounts, with a tolerance of 0.01.
FX-TOT-002
The grand total amount must equal the tax basis total amount plus the tax total amount, with a tolerance of 0.01.
FX-VAT-001
Each VAT breakdown category code must be one of the recognised EN16931 VAT category codes.
FX-VAT-003
The tax total amount must equal the sum of VAT breakdown calculated amounts, with a tolerance of 0.01.
FX-VAT-004
The tax basis total amount must equal the sum of VAT breakdown basis amounts, with a tolerance of 0.01.