SECTION 01
How ZUGFeRD PDF/A-3 extraction works in your browser
A valid ZUGFeRD invoice is a hybrid PDF/A-3 container holding both the human-readable PDF pages and an embedded machine-readable XML attachment (typically factur-x.xml or zugferd-invoice.xml) linked through the PDF /Names/EmbeddedFiles tree and /AF associated files array.
- Detects whether a PDF actually carries embedded XML or is only a flat visual PDF (such as default Stripe receipts).
- Decodes FlateDecode XML streams locally using pdf-lib without transmitting PDF bytes over the network.
- Runs deterministic EN 16931 arithmetic checks (BR-CO-10, BR-CO-13, BR-CO-15, BR-S-08) on the extracted XML.
SECTION 02
Common reasons ZUGFeRD invoices fail AP intake
Even when an ERP attaches factur-x.xml, German AP portals often reject the file when VAT totals or net line sums drift by €0.01 or when a DE buyer reference (BT-10) is missing.
PDF Catalog
├── /Names -> /EmbeddedFiles -> factur-x.xml (or zugferd-invoice.xml)
└── /AF -> [Filespec /AFRelationship /Alternative]
FAQ // TECHNICAL REFERENCE
Frequently Asked Questions
- What happens if I drop a standard Stripe or SaaS PDF?
- NormXML inspects /EmbeddedFiles and /AF. If no XML attachment exists, it alerts you immediately that the file is a plain visual PDF rather than a compliant ZUGFeRD PDF/A-3.
- Which ZUGFeRD versions are supported?
- NormXML extracts and validates ZUGFeRD 2.0, 2.1, 2.2, 2.3, and 2.5 EN 16931 / Extended profiles using CII syntax.