BR-DE-18 XRechnung: Skonto line in the wrong format
Early-payment discount (Skonto) lines in the payment terms must follow XRechnung's exact format, such as #SKONTO#TAGE=14#PROZENT=2.00#.
What the rule says
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.
The rule's official wording (CEN / KoSIT). The German XRechnung rules are published in German.
Why it happens
A line in the payment terms (BT-20) starts with # but doesn't match the Skonto format, or the last Skonto line isn't followed by a line break.
How to fix it
Write each tier on its own line as #SKONTO#TAGE=14#PROZENT=2.00#, in capitals, with no spaces and two decimals, and end it with a line break.
Applies to
XRechnung only (German rules by KoSIT).
More about BR-DE-18
XRechnung gives the early-payment discount a fixed form so accounting software can read it: #SKONTO#, then TAGE= with the number of days, then PROZENT= with the percentage, a point and exactly two decimals, then a closing #. If the discount applies to only part of the amount due, a fourth part BASISBETRAG= gives that base, also with two decimals.
Only lines that start with # are checked. Ordinary text in the payment terms, such as "Zahlbar innerhalb von 30 Tagen", is allowed beside them. The usual slips are a comma instead of a point (2,00), a missing decimal (2.0), lowercase letters, a space, or no line break after the last Skonto line.
The fields involved
- BT-20 Payment terms
- CII
ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradePaymentTerms/ ram:Description - UBL
cac:PaymentTerms/cbc:Note
Typical situations
- The percentage was written with a comma: #SKONTO#TAGE=14#PROZENT=2,00#.
- The Skonto line is the last text in the field, with no line break after it.
- A space crept in: # SKONTO#TAGE=14#PROZENT=2.00#.
Example
Two Skonto tiers and a sentence, in CII:
<ram:SpecifiedTradePaymentTerms>
<ram:Description>Zahlbar innerhalb von 30 Tagen.
#SKONTO#TAGE=14#PROZENT=2.00#
#SKONTO#TAGE=7#PROZENT=3.00#
</ram:Description>
</ram:SpecifiedTradePaymentTerms>