Documentation
mizanpage Documentation

Include each invoice's structured data (Factur-X, EN 16931 profile) for the customer's accounting software. What Factur-X covers, and what it does not cover in Belgium.

A Factur-X invoice is a PDF/A-3 that also holds the invoice as structured data: a factur-x.xml file with the EN 16931 profile. Your customer reads the PDF. Their accounting software reads the data without typing it again.

Belgium, France, Germany

Factur-X is the hybrid electronic invoice used in France and Germany (ZUGFeRD). In Belgium, businesses must use Peppol between themselves since 2026, and Factur-X does not replace it.

Turning Factur-X on for a template

  1. Open the invoice template in the editor.
  2. Click an empty area of the page to show the document settings.
  3. Under Electronic invoice, turn on Include Factur-X data.
  4. Save, then make the template available as usual.

Every invoice generated from this template then holds its data: the final PDF, batches from Excel or CSV and PDFs requested through the API. The free preview stays a plain PDF.

If the template lacks the fields needed, the editor lists them under the switch.

The fields read

Mizanpage reads the invoice's values by their keys, those of the library's invoices:

Data Keys
Number and date facture.numero, facture.date
Due date or terms facture.echeance, facture.conditions
Seller emetteur.nom, emetteur.adresse, emetteur.tva (or emetteur.pays)
Customer client.societe (or client.nom), client.adresse, client.tva
Lines the lignes list (designation, quantite, prix, tva, total), or ligne1.designation…
VAT by rate the tva list (taux, base, montant), optional
Totals totaux.ht, totaux.tva, totaux.ttc, totaux.acompte, facture.total
Payment paiement.iban, paiement.bic, paiement.communication

Values are read as they are printed: “2 400,00 €”, “21 %”, “18 octobre 2026”. The country comes from the pays field, else from the last line of the address, else from the VAT number.

An invoice that adds up

The customer's accounting software refuses data that does not add up. So Mizanpage checks every printed total against the lines. It works out the VAT by rate for the XML file when it is not printed.

If something is wrong, the invoice is neither generated nor counted. The message names the field concerned, for example “Total HT does not match the lines”.

A line at 0% needs the exemption wording in the facture.mention_tva field.

Through the API

Send the invoice as data in the facturx object of POST /v1/render. See Generate a document.

Updated on 1 December 2026