E-invoice rule XRechnung

BR-DE-18: An early payment discount in the payment terms (BT-20) should be written as…

Paste your XML and see if it has this error

The check marks BR-DE-18 and lists every other finding too. It is free and runs in your browser, the file is never uploaded.

Open the full tool

Example message from our sample invoice:

An early payment discount in the payment terms (BT-20) should be written as #SKONTO#TAGE=14#PROZENT=2.00# and may end with #BASISBETRAG=100.00#. The exact regular expression lives in the XRechnung file common.sch, which we do not have, so we report this as a warning rather than an error.

What the rule says

[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.

Source of the quotation: XRechnung 3.x (itplr-kosit/xrechnung-schematron, Apache 2.0 licence)

Business terms in the wording: BT-20, BT-115

Why the validator reports it

The rule belongs to the German XRechnung. Our checker runs it only when the value of cbc:CustomizationID (BT-24) starts with urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_.

Profile: XRechnung 3.x

How we rate it: warning

Where we point in the file: /Invoice/cac:PaymentTerms/cbc:Note

How to fix it

  1. Open the XML file and find the element cac:PaymentTerms/cbc:Note.
  2. Add or correct the value the way the wording of the rule above asks for.
  3. Save the file and check it again. The checker runs in your browser, the file is never uploaded.

A correct UBL 2.1 snippet

<cac:PaymentTerms
    xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2"
    xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2">
  <cbc:Note>Splatnost 14 dni od vystavenia.</cbc:Note>
</cac:PaymentTerms>

The snippet is only the part of the document the rule is about, and the values in it are made up. Put it in the right place inside your invoice; the namespaces are written here only so that the snippet reads on its own.

Check the whole file

The checker holds 332 rules. For each file it runs the ones that match the invoice profile and shows the rule code, a plain sentence and the path to the element for every finding. The file is read in your browser and never uploaded. Free, no account.

Related rules

Same business term (BT-20, BT-115)

Same group (BR-DE, BR-TMP)

All rules in the group BR-DE, BR-TMP (34)

What our tool does about this error

The checker finds BR-DE-18 in your file and shows where it sits in the XML. If you build the invoice in our generator, the finished XML runs through the same checker before the download and will not download while an error remains.

The checker and the preview cost 0 € and need no account. Downloading the finished XML costs 2.90 € excl. VAT, unlocked in the browser for 24 hours, or 9.90 € excl. VAT for 30 days including the CSV batch.

This page in another language: Deutsch · Slovensky · Česky

Our check is not complete: we do not check the XSD schema and we do not implement every rule, and a file that passes says nothing about whether the buyer or the Peppol network will accept it. The source of each quoted wording is given next to the quotation.

Page content last changed: