Official rule text
UBL
[BR-DE-26] Wenn im Element "Invoice type code" (BT-3) der Code 384 (Corrected invoice) übergeben wird, soll PRECEDING INVOICE REFERENCE BG-3 mind. einmal vorhanden sein.CII
[BR-DE-26] Wenn im Element Invoice type code (BT-3) der Code 384 (Corrected invoice) übergeben wird, soll PRECEDING INVOICE REFERENCE BG-3 mind. einmal vorhanden sein.Assertion BR-DE-26 in the XRechnung Schematron (KoSIT), v2.6.0, UBL and CII. KoSIT publishes the XRechnung rule messages in German.
KoSIT’s English wording, used for the Peppol BIS Billing national rule DE-R-026:
If both supplier and customer are located in Germany, and if "Invoice type code" (BT-3) contains the code 384 (Corrected invoice), "PRECEDING INVOICE REFERENCE" (BG-3) should be provided at least once.What it means
A corrected invoice (384) should reference the original invoice. Extra rules for XRechnung, the German specification of EN 16931.
Docfaro reports a breach of BR-DE-26 as a warning.
Where the data sits
The business terms this rule checks, and the element that carries each of them in the two syntaxes EN 16931 allows.
BG-3 PRECEDING INVOICE REFERENCE
- UBL 2.1
/Invoice/cac:BillingReference/cac:InvoiceDocumentReference- CII D16B
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceReferencedDocument
Prefixes: cbc and cac are the UBL basic and aggregate components; rsm, ram and udt the CII namespaces. In a UBL credit note the root is CreditNote and lines are cac:CreditNoteLine.
How to fix it
Give the number and date of the corrected invoice in BG-3.
Where the rule applies
| Defined in | XRechnung Schematron v2.6.0 |
|---|---|
| Syntaxes | UBL and CII |
| Official severity | warning |
| Docfaro reports it as | Warning |
| Docfaro checks it for | XRechnung only, recognised by the specification identifier (BT-24), including the XRechnung extension. Other EN 16931 invoices do not have to meet BR-DE rules. |
| Peppol counterpart | DE-R-026, a national rule for invoices where both seller and buyer are in Germany |
| Rule group | XRechnung rules (BR-DE, German CIUS) |
Related rules
Sources
- XRechnung Schematron v2.6.0 (Apache-2.0)KoSIT, GitHub
- Validator-Konfiguration XRechnung 3.0.2, Release 2026-08-31 (XSD UBL 2.1 und CII D16B, Schematron EN 16931 und XRechnung)KoSIT auf GitHub
- XRechnung – Versionen und BundlesKoSIT / xeinkauf.de
Last reviewed: