The invoice document type code must be one of the recognised UNTDID 1001 codes for Factur-X invoices.
Why Factur-X / CII invoices fail rule FX-HDR-004 (ERROR) and how to fix it: The invoice document type code must be one of the recognised UNTDID 1001 codes for Factur-X invoices.
What this rule checks
The invoice document type code must be one of the recognised UNTDID 1001 codes for Factur-X invoices.
Affected element: Invoice › TypeCode.
Standard: EN 16931 / Factur-X (CII). Severity: ERROR.
Why your invoice is rejected
e-Invoicing platforms and buyers validate EN 16931 business rules after the XSD check. When this rule fails the invoice is rejected — even if the XML is otherwise well-formed — so it must be fixed before you send it.
How to fix it
Review Invoice › TypeCode against the rule constraint and correct the value where it is violated.
Verify before you send
Upload your Factur-X / CII invoice to the validator to confirm this rule — and every other EN 16931 business rule — passes before your buyer or platform sees it.