Most small firms in Germany and France still send invoices as a PDF from Word, Excel or an old invoicing program. Plenty of them have a block like this under the item table:
Zwischensumme 2.191,80 €
abzgl. 3 % Rabatt -65,75 €
zzgl. Anfahrtspauschale 35,00 €
Nettobetrag 2.161,05 €
zzgl. 19 % USt 410,60 €
Rechnungsbetrag 2.571,65 €
A PDF lets you print anything there. An e-invoice (XRechnung, or ZUGFeRD / Factur-X in the EN 16931 profile) does not: each of those lines has a set place, and a wrong place gives an invoice whose totals do not add up.
Where each line goes in EN 16931
- The discount and the travel charge are document-level allowances and charges. In EN 16931 they are groups BG-20 (allowance) and BG-21 (charge), separate from the invoice lines. Each has an amount, a reason ("3 % Rabatt", "Anfahrtspauschale") and its own VAT category and rate. Only the VAT group with that rate is changed by them.
- There are two net totals. "Zwischensumme" is the sum of the lines (BT-106). "Nettobetrag" is that sum minus the allowances plus the charges. It is the amount VAT is charged on (BT-109). A converter that treats the first one as the invoice's net total will produce VAT and a grand total that differ from your PDF.
- A discount across two VAT rates has to be split. Suppose you give 10 % off an invoice with 19 % work and 7 % goods. One allowance can carry only one rate. So the e-invoice needs one allowance at 19 % and one at 7 %, each on its own share. The PDF usually prints a single "10 % Rabatt" line. Nothing on the page says how it divides, so a program should not invent that division.
- Skonto is not a discount on the invoice. "2 % Skonto bei Zahlung bis …" is a condition of payment: the invoice amount stays the same and the buyer may pay less if they pay early. It belongs in the payment terms, not in an allowance that lowers the total. Down payments already received (Abschlagszahlung, acompte) are a third thing again: they reduce the amount due, not the invoice total.
What our PDF-to-e-invoice converter does with them
The e-invoice workspace for accountants (early access, not open to sign-ups yet) has a "PDF to e-invoice" screen. You drop in a plain PDF invoice. It shows every value with the line of the PDF it was read from. You confirm the marked ones and download a Factur-X / ZUGFeRD, XRechnung or UBL file that has passed the checker. No AI model is involved, and nothing is guessed. As of today it also reads the block above:
- A discount line (Rabatt, Nachlass, remise, rabais, discount) or a charge line (Versand, Fracht, Verpackung, Anfahrt, Zuschlag, frais de port, shipping) between the item rows and the total becomes an allowance or charge. Its reason is your PDF's own wording.
- Each one is checked against both printed sums: the rows have to add up to the Zwischensumme, and the Zwischensumme minus discounts plus charges has to equal the Nettobetrag.
- The VAT rate is proven, not assumed. If the invoice has one rate, the discount takes it. If it has several, the converter tries every assignment and keeps a rate only when exactly one of them makes each rate's printed VAT come out to the cent. If none does (the usual sign of a discount split across rates) or more than one does, it leaves the rate empty and tells you to set it. Each discount and charge is marked for you to confirm. The download stays locked until the e-invoice carries the same net, VAT and total as your PDF.
- Skonto, escompte and down payments are never read as a discount.
- Invoices over several pages now read past "Zwischensumme Seite 1" and "Übertrag". The converter checks each carried-forward sum against the rows above it. Before this change, a two-page invoice was read only to the bottom of page 1, and the page subtotal was taken as its total.
We tested it on three invoices of our own: a German tiling invoice with a discount and a travel charge, a French plastering invoice with a remise between Total HT and Net HT, and a two-page German landscaping invoice with 12 rows at 7 % and 19 % plus freight. Each was printed to PDF twice, by Chromium and by LibreOffice, which lays out tables quite differently. LibreOffice wraps labels round their amounts, puts the rate and the amount in one cell, and stacks the seller and buyer blocks. All six PDFs read completely, and the Factur-X built from each passes the checker. These are our own test files, so they show the reading works on those layouts. They do not show how often it works on the invoices real firms send. We have not measured that yet.
A discount on one item row
Wholesalers' and tradespeople's invoices often give the discount per row, in a column of its own:
Pos. Bezeichnung Menge Einzelpreis Rabatt USt Gesamt
1 Kupferrohr 15 mm 24 m 8,40 € 10 % 19 % 181,44 €
3 Montage Heizkörper 8 Std. 62,00 € 19 % 496,00 €
4 Thermostatkopf 6 Stk 24,90 € -9,40 € 19 % 140,00 €
In EN 16931 a discount like this is a line allowance (group BG-27). It sits on the line, takes the line's VAT rate, and the line's net (BT-131) is quantity x price less the allowance. A converter that ignores the Rabatt column sees 24 x 8,40 = 201,60, not 181,44, and either drops the row or prints the wrong amount.
Since 26 November the converter reads these rows. When the table header has a Rabatt, Nachlass, Remise or Discount column, a row whose quantity x price is not its amount is accepted when exactly one discount makes it so, to the cent. That discount is either a percent (201,60 less 10 % is 181,44) or an amount (149,40 less 9,40 is 140,00). On a row with two percents, the arithmetic decides which one is the discount and which is the VAT rate. If no reading fits, or two do, the row is left out and the totals check says a row is missing, so nothing is guessed. Each row's sum is shown beside it, and the e-invoice carries the discount as a line allowance with your column's name as its reason. We tested this on one plumbing invoice of our own, printed by Chromium and by LibreOffice. Both read completely, and the Factur-X built from each passes the checker. We have not measured it on real firms' invoices yet.
The row's discount is also an editable cell on the convert screen, next to the VAT rate. Type 12 % for a percent of quantity x price, or 5,00 for an amount; leave it blank to remove the discount. The reason stays your column's name. Anything the screen cannot read as a percent or an amount above zero is marked and blocks "Build" until you correct it. A changed discount also changes the line net, so if the result no longer matches the totals printed on your PDF, the screen names the net, VAT and total that differ and keeps the download locked until they agree.
A discount on its own line under the row
Many invoicing programs have no Rabatt column. They print the row's discount on a line of its own, right under the row:
1 LED-Panel 60 x 60, 4000 K 12 Stk 89,00 € 1.068,00 €
abzgl. 8 % Rabatt -85,44 €
2 Mantelleitung NYM-J 3 x 1,5 100 m 0,92 € 92,00 €
This is still a line allowance on row 1 (BG-27), not a discount on the whole invoice. Until 26 November our converter got this wrong, and it was worse than a misplaced discount. It took the first such line for a discount on the whole invoice and stopped reading the table there, so rows 2, 3 and 4 were lost. The totals check caught it and kept the download locked, but the invoice could not be converted.
Now a discount line (or a surcharge line such as "zzgl. Eilzuschlag") counts as the row's own when only that row's description stands between them and another row follows before the totals. A line directly under the last row is less clear, because a discount on the whole invoice can sit in the same place. The converter takes it as the row's own only in two cases. One is when its printed percent of that row's amount is its amount, to the cent. The other is when the rows above already put their discounts on their own lines, and then the row is marked for you to confirm. Otherwise it stays a discount on the whole invoice, as before. If the printed percent does not fit the row (10 % of 500,00 printed as 45,00), the converter keeps the amount, says what the percent would have given, and marks the row to confirm. The rows' nets after their own discounts still have to add up to your Nettobetrag, so the totals check applies here too.
We tested this on one electrician's invoice of our own, with discounts under rows 1 and 4, printed by Chromium and by LibreOffice. LibreOffice spaces the rows almost twice as far apart, so the converter measures the gap against each table's own row spacing rather than a fixed distance. Both PDFs read all four rows, and the Factur-X built from each passes the checker. As before, these are our own test files. We have not measured how often it works on real firms' invoices.
Long item descriptions, page breaks, m³ and tonnes
Invoices from builders, landscapers and other trades often copy their item text from a bill of quantities, which runs to five lines for a single row:
11 Natursteinmauer Granit trocken gesetzt, 9 m 145,00 € 1.305,00 €
Höhe bis 60 cm, inkl. Streifenfundament
C20/25, Frostschutzschicht und
───────────── page break ─────────────
Hinterfüllung mit Drainagekies 16/32
sowie Abdeckplatten Granit geflammt
Until 26 November the converter kept only the description lines right next to a row's amounts, so this row came out as two lines of text, and anything after the page break was dropped. Now it keeps every line of the description. It handles both common layouts: amounts on the first line with the text below (what a browser prints) and amounts centred in the text (what LibreOffice prints). When the text continues at the top of the next page under the repeated table header, it is joined to the last row of the previous page. The joined row is then marked for you to confirm, with the joined text shown, because a page break is where a reader is most likely to guess wrong. A page number or a "Seite 2 von 2" heading is never joined to a description.
The same invoice showed a plainer gap. Rows priced per cubic metre (18 m³) or per tonne (12 t) were not read at all, so the totals check failed. They now come through as the standard unit codes MTQ and TNE. We tested this on one landscaping invoice of our own, printed by Chromium and by LibreOffice. All 13 rows read in both prints, and the Factur-X built from each passes the checker.
Not done yet: scanned PDFs (no text layer).
The free e-invoice preflight checks an XRechnung, ZUGFeRD or Factur-X file you already have, including its allowance and charge arithmetic, in your browser.
This post explains how EN 16931 structures an invoice and what our software does. It is not tax advice: whether a discount reduces the VAT you owe, and how Skonto is treated when it is taken, are questions for your tax adviser.