PDF and Factur-X
Vavang does not recompute the invoice from the order to build the electronic document. The generator consumes the immutable fiscal model and the already rendered invoice PDF.
Factur-X EN16931
The current implementation uses horstoeko/zugferd with the EN16931 (Factur-X Comfort) profile. It builds CII XML from the frozen fiscal values and embeds that exact XML as factur-x.xml in the existing PDF.
The result exposes:
- the generated PDF;
- the exact structured XML;
- stable format metadata;
- SHA-256 checksums for the PDF and XML.
Mapped data
The mapping includes seller/buyer identities, invoice number and date, currency, lines, quantities, net unit prices, VAT, totals and available payment information.
The current scope follows the two-decimal convention of the French/EUR scope. A currency with another ISO 4217 exponent must be supported explicitly before enabling Factur-X for that currency.