BR-DE-18: Cash discount (Skonto) entry has the wrong format (BT-20)
The cash discount entry in the payment terms (BT-20) does not match the fixed format prescribed by XRechnung. Cash discount must be machine-readable in the form #SKONTO#TAGE=…#PROZENT=…#.
Validate file again – free
XML-Rechnung oder ZUGFeRD-PDF hierher ziehen
Ohne Konto: XML bis 50 KB · 5 Prüfungen pro Stunde · ZUGFeRD-/Factur-X-PDF bis 512 KB · amtlicher KoSIT-Validator. Die Datei wird nur für die Prüfung verarbeitet und nicht gespeichert.
Gefällt Ihnen die Prüfung? Mit kostenlosem Konto: signierter Prüfnachweis und API-Zugang.
Official rule text
[BR-DE-18] Skonto Zeilen in müssen diesem regulärem Ausdruck entsprechen: . Die Informationen zur Gewährung von Skonto müssen wie folgt im Element "Payment terms" (BT-20) übermittelt werden: Anzugeben ist im ersten Segment "SKONTO", im zweiten "TAGE=n", im dritten "PROZENT=n". Prozentzahlen sind ohne Vorzeichen sowie mit Punkt getrennt von zwei Nachkommastellen anzugeben. Liegt dem zu berechnenden Betrag nicht BT-115, "fälliger Betrag" zugrunde, sondern nur ein Teil des fälligen Betrags der Rechnung, ist der Grundwert zur Berechnung von Skonto als viertes Segment "BASISBETRAG=n" gemäß dem semantischen Datentypen Amount anzugeben. Jeder Eintrag beginnt mit einer #, die Segmente sind mit einer # getrennt und eine Zeile schließt mit einer # ab. Am Ende einer vollständigen Skontoangabe muss ein XML-konformer Zeilenumbruch folgen. Alle Angaben zur Gewährung von Skonto müssen in Großbuchstaben gemacht werden. Zusätzliches Whitespace (Leerzeichen, Tabulatoren oder Zeilenumbrüche) ist nicht zulässig. Andere Zeichen oder Texte als in den oberen Vorgaben genannt sind nicht zulässig.
Severity: Error
KoSIT publishes the German BR-DE rules in German only; the official wording is quoted verbatim above. The explanation on this page is our translation.
Source: XRechnung 3.0.2 (German CIUS of EN 16931, published by KoSIT); rule text from the official KoSIT validation configuration (Schematron) for XRechnung 3.0.2 including the CEN EN 16931 rules.
Typical causes
- Percentage with comma instead of point (2,00 instead of 2.00) or without two decimals (2 instead of 2.00).
- Lower-case letters, spaces or additional text in the discount line.
- Missing # at the end of the line or missing line break after the last discount line.
How to fix BR-DE-18
- Write each discount level on its own line: #SKONTO#TAGE=14#PROZENT=2.00#
- If the discount applies only to part of the amount, add #BASISBETRAG=…# with two decimals.
- End the last discount line with a line break. Free text belongs on separate lines that do not start with #.
- Regenerate the invoice and validate it again.
Example: how it looks when correct (UBL and CII)
The values are examples. Enter your own data – preferably in your invoicing software, not by hand in the XML file.
UBL (XRechnung in UBL syntax)
<cac:PaymentTerms>
<cbc:Note>#SKONTO#TAGE=14#PROZENT=2.00#
#SKONTO#TAGE=30#PROZENT=0.00#
</cbc:Note>
</cac:PaymentTerms>
CII (XRechnung in CII syntax, ZUGFeRD, Factur-X)
<ram:SpecifiedTradePaymentTerms>
<ram:Description>#SKONTO#TAGE=14#PROZENT=2.00#
</ram:Description>
</ram:SpecifiedTradePaymentTerms>
Frequently asked questions
Can I also state the discount as text?
Yes, on a separate line without a leading #, e.g. “Payable within 14 days with 2 % discount”.
How do I check whether BR-DE-18 is fixed?
Regenerate the invoice and upload the XML file at the top of this page. The check works without an account; the file is not stored.