E-invoice rule explained · XRechnung
BR-DE-18: Early-payment discount (Skonto) line is not in the required format
Official message
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.
Skonto Zeilen in muessen 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 (the invoice is rejected)
- Checked in
- UBL, CII
- Business terms
- BT-20
What does BR-DE-18 mean?
XRechnung reads early-payment discounts from the payment terms (BT-20) in a fixed machine-readable form: one line per discount, exactly #SKONTO#TAGE=14#PROZENT=2.00#, optionally with #BASISBETRAG=500.00# before the closing #. Every line of the first payment-terms note that starts with # must match that pattern, and the last discount line must be followed by a line break; free-text lines without a leading # are ignored.
Usual causes
- The percentage is written without exactly two decimals or with a comma (PROZENT=2 or PROZENT=2,00 instead of PROZENT=2.00).
- The line uses lower case, spaces inside it or extra text (#Skonto#, #SKONTO# TAGE=14#, "2 % Skonto" after the last #).
- The last discount line ends the note with no line break after its closing #.
- Another line in the note starts with # but is not a discount line, for example a comment or reference number.
How do I fix BR-DE-18?
- Write each discount on its own line as #SKONTO#TAGE=n#PROZENT=n.nn#, in capitals, with no spaces; TAGE is a whole number of days, PROZENT has a dot and exactly two decimals.
- Add #BASISBETRAG=n.nn# (two decimals, before the final #) only when the discount applies to part of the amount due rather than all of it.
- End every discount line, including the last one, with a line break; ordinary text may follow on the next line.
- Put the lines in the first cbc:Note of cac:PaymentTerms (UBL) or the first ram:Description of ram:SpecifiedTradePaymentTerms (CII), and do not start any other line there with #.
Corrected XML (minimal example we wrote)
UBL
<cac:PaymentTerms> <cbc:Note>#SKONTO#TAGE=14#PROZENT=2.00##SKONTO#TAGE=30#PROZENT=1.00#BASISBETRAG=500.00#Zahlbar innerhalb von 45 Tagen netto</cbc:Note> </cac:PaymentTerms>
CII
<ram:SpecifiedTradePaymentTerms> <ram:Description>#SKONTO#TAGE=14#PROZENT=2.00##SKONTO#TAGE=30#PROZENT=1.00#BASISBETRAG=500.00#Zahlbar innerhalb von 45 Tagen netto</ram:Description> </ram:SpecifiedTradePaymentTerms>
Example values only. Put the elements in place of, or beside, what your file has; element order matters in both syntaxes.
Check your file for free
The free checker runs the official EN 16931, XRechnung and Peppol rules in your browser. Your file is not uploaded.
In development — early access
Fix-and-explain for accountants and invoicing teams
A paid service that explains every failed rule in plain German, French, Dutch or English and proposes a corrected file is in development. Early access
Source
Rule id and official message from the KoSIT XRechnung Schematron, v2.6.0 (for XRechnung 3.0) (Apache-2.0), compiled from upstream commit 7e3ddbe. The explanation, causes, fix and XML on this page are our own, not the rule publisher's. KoSIT XRechnung Schematron v2.6.0 (for XRechnung 3.0)