E-invoice rule explained · XRechnung
BR-DE-26: Corrected invoice does not reference the invoice it corrects
Official message
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.
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.
- Severity
- Warning (should be fixed; not a rejection on its own)
- Checked in
- UBL, CII
- Business terms
- BT-3, BG-3
What does BR-DE-26 mean?
When the invoice type code (BT-3) is 384 (corrected invoice), the file should name at least one preceding invoice (BG-3), so the buyer can tell which invoice is being replaced. This is a warning.
Usual causes
- The software sets code 384 but has no field for the original invoice number.
- The original invoice number is only mentioned in a note or the invoice title.
- Code 384 was used for a normal new invoice instead of 380.
How do I fix BR-DE-26?
- Add the number of the original invoice, and ideally its date, in cac:BillingReference/cac:InvoiceDocumentReference (UBL) or ram:InvoiceReferencedDocument (CII).
- Check the buyer agrees on how corrections are sent; some prefer a credit note (381) plus a new invoice.
- If the invoice is not a correction, use type code 380.
Corrected XML (minimal example we wrote)
UBL
<cac:BillingReference> <cac:InvoiceDocumentReference> <cbc:ID>RE-2026-0042</cbc:ID> <cbc:IssueDate>2026-10-01</cbc:IssueDate> </cac:InvoiceDocumentReference></cac:BillingReference>
CII
<ram:ApplicableHeaderTradeSettlement> <ram:InvoiceReferencedDocument> <ram:IssuerAssignedID>RE-2026-0042</ram:IssuerAssignedID> </ram:InvoiceReferencedDocument></ram:ApplicableHeaderTradeSettlement>
Example values only. Put the elements in place of, or beside, what your file has; element order matters in both syntaxes.
Check your file for free
The free checker runs the official EN 16931, XRechnung and Peppol rules in your browser. Your file is not uploaded.
In development — early access
Fix-and-explain for accountants and invoicing teams
A paid service that explains every failed rule in plain German, French, Dutch or English and proposes a corrected file is in development. Early access
Source
Rule id and official message from the KoSIT XRechnung Schematron, v2.6.0 (for XRechnung 3.0) (Apache-2.0), compiled from upstream commit 7e3ddbe. The explanation, causes, fix and XML on this page are our own, not the rule publisher's. KoSIT XRechnung Schematron v2.6.0 (for XRechnung 3.0)