Reference
Markdown exportBR-DE-26 Corrected invoices should reference the preceding invoice
When invoice type code BT-3 is 384 for a corrected invoice, XRechnung expects at least one preceding invoice reference (BG-3).
Problem Description
When invoice type code BT-3 is 384 for a corrected invoice, XRechnung expects at least one preceding invoice reference (BG-3).
WARNING
XRechnung 3.0
Context and Significance
This rule is warning-level in the pinned XRechnung bundle, but recipients often need the original invoice reference for matching and audit trails.
Solution
Add the original invoice number and issue date in BG-3 before exporting the corrected invoice.
Quick actions
Valid Examples
Use these points as the practical checks for this section.
- BT-3 = 384 and BG-3 references INV-2026-001
Invalid Examples
Use these points as the practical checks for this section.
- Corrected invoice without BG-3
Code Examples
Valid XML
<cbc:InvoiceTypeCode>384</cbc:InvoiceTypeCode>
<cac:BillingReference>
<cac:InvoiceDocumentReference>
<cbc:ID>INV-2026-001</cbc:ID>
<cbc:IssueDate>2026-01-15</cbc:IssueDate>
</cac:InvoiceDocumentReference>
</cac:BillingReference>Invalid XML
<cbc:InvoiceTypeCode>384</cbc:InvoiceTypeCode>
<!-- cac:BillingReference (BG-3) missing for a corrected invoice -->