XRechnung (BR-DE)Error
BR-DE-18 Cash discount (Skonto) in the wrong format
What BR-DE-18 means
XRechnung uses a fixed format for cash discounts in the payment terms (BT-20). Each discount is one line such as #SKONTO#TAGE=14#PROZENT=2.00# followed by a line break. Your payment terms contain a line that starts with # but does not follow this format.
Error: the invoice is not valid until this is fixed.
Common causes
- A part such as TAGE or PROZENT is missing or misspelled.
- The percentage uses a comma (2,00) instead of a dot, or not exactly two decimals.
- The discount line does not end with a line break, or spaces were added between the parts.
How to fix BR-DE-18
- Write each discount on its own line: #SKONTO#TAGE=14#PROZENT=2.00#, optionally followed by BASISBETRAG=1000.00# if the discount applies to a different base amount.
- Use whole days, a dot as decimal separator and two decimals.
- End every discount line with a line break. Normal text is allowed on lines that do not start with #.
Where the fields are in the XML
BT-20Payment terms- UBL
cac:PaymentTerms/cbc:Note- CII
ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradePaymentTerms/ram:Description
UBL paths start below the Invoice element. CII paths start below rsm:SupplyChainTradeTransaction unless they begin with rsm:.