BR-DE-18fatal

How to fix BR-DE-18

Skonto Zeilen in [Element] müssen diesem regulärem Ausdruck entsprechen: [XR-SKONTO-REGEX]. 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.

XRechnung rule from the KoSIT XRechnung 3.0 schematron (German CIUS of EN 16931). It applies only to invoices whose specification identifier (BT-24) is XRechnung. Such files are checked against EN 16931 and the KoSIT XRechnung rules instead of the full Peppol BIS rule set. Check your file with the XRechnung validator.

What this rule checks

XRechnung defines a machine-readable syntax for cash discount (Skonto) terms in Payment terms (BT-20). Each Skonto line must look like #SKONTO#TAGE=14#PROZENT=2.00# with an optional #BASISBETRAG=n.nn# segment, in upper case, without extra spaces, and the text must end with a line break after the last Skonto line.

Referenced business terms

This rule references the following EN 16931 business terms. Click through for the full definition, the UBL XPath and the cardinality.

How to fix it

Write each Skonto line in cac:PaymentTerms → cbc:Note exactly as #SKONTO#TAGE=14#PROZENT=2.00# (two decimals, dot separator), one per line, and end the note with a newline. In CII, use ram:SpecifiedTradePaymentTerms → ram:Description under ram:ApplicableHeaderTradeSettlement. Put free-text terms on lines that do not start with #.

Related rules

Validate your invoice

Upload your corrected invoice to check it passes BR-DE-18 and all other EN 16931 and XRechnung (BR-DE) rules. Free, instant, no signup.