Why it matters
Across the EU, invoices between businesses are moving to e-invoices:- Germany: from 2027, businesses must send e-invoices to other businesses (from 2028 for every business). A ZUGFeRD PDF in the EN 16931 profile counts as an e-invoice there.
- France: e-invoices between businesses are being introduced in stages, and they have to be sent through an approved platform. A Factur-X PDF sent by email alone isn’t enough there, but it’s the format those platforms accept.
Before you start
- Your plan: e-invoice data is included in the Starter, Growth and Scale plans.
- Locked invoices: the data is added when a document is issued, so turn on locked invoices first.
- Your legal details: in Settings › Tax & legal, your store needs:
- a business address in the EU, with street and city (see Add your legal details);
- a VAT number (see VAT numbers, EORI and tax names). Without one, a tax number and your company registration number, such as your commercial register entry.
Turn on e-invoice data
- In Foliant, open Settings › Documents & printing.
- In Locked invoices, turn on Add e-invoice data (ZUGFeRD / Factur-X).
- Click Save.
What the data contains
The same numbers the PDF shows:- the document number and date, and for a credit note, the invoice it corrects;
- your store’s legal name, address, VAT number or tax number and company registration;
- the customer’s name, address and VAT number, and the delivery address;
- each line at its invoiced quantity, after discounts, with shipping as a line of its own;
- the VAT per rate, with the reason for any line without VAT (export, intra-EU supply, reverse charge or exemption);
- the totals, what was paid and what’s still due.
See and download the data
On the Issued invoices page:- Documents with e-invoice data show an E-invoice badge.
- Click the code icon on a row (Download e-invoice XML) to download the data on its own, for example for your accountant.
- Download archive includes the XML files in an
xmlfolder, andmanifest.csvhas aneinvoicecolumn. See Download the archive and how long documents are kept.
When a document is issued without it
Foliant never holds up an invoice because of its e-invoice data. If the data can’t be added, the document is issued as a plain PDF, and the Issued invoices page shows a No e-invoice data badge on it. Hover over the badge to see why:
When documents are issued without e-invoice data because your store’s legal details are incomplete, Foliant also tells you once a day in your notifications how many there were the day before.
A document issued without the data stays that way: it’s locked. Once the cause is fixed, new documents get e-invoice data again.
Turn it off
Turn off Add e-invoice data (ZUGFeRD / Factur-X) and click Save. Documents issued from then on are plain PDFs. Documents already issued keep their data. If your plan no longer includes it, documents issued from then on are plain PDFs, even with the setting on.Good to know
- Quotes and packing slips never carry e-invoice data: only issued invoices and credit notes do.
- The data is part of the PDF, so the PDF’s SHA-256 hash covers it. Verify a PDF works the same.
- Removing personal data at the end of the retention period removes the XML too.