Skip to content

BR-DE-26: Corrected invoice without reference to the original

A corrected invoice should name the invoice it corrects, so the buyer can match the two.

Severity
Warning the invoice still passes, but the recipient may query it.
Rule set
XRechnung 3.0.2 (KoSIT)
Where it applies
  • XRechnung 3.0 in UBL and CII (Germany)
  • ZUGFeRD / Factur-X with the XRECHNUNG profile
Business terms
BG-3 PRECEDING INVOICE REFERENCE · BT-3 Invoice type code

Official rule text

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

Translation: If code 384 (Corrected invoice) is given in Invoice type code (BT-3), PRECEDING INVOICE REFERENCE (BG-3) should be present at least once.

What the rule checks

With cbc:InvoiceTypeCode 384 the rule expects at least one cac:BillingReference/cac:InvoiceDocumentReference with the number of the corrected invoice (BT-25) and, optionally, its issue date (BT-26).

The rule is a warning: the file still passes. Without the reference the buyer cannot tell which invoice is replaced, and may book both.

Common causes

  • The correction is created as a new invoice and only the type code is changed.
  • The reference to the original is written into a note instead of the billing reference.

How to fix it

Add cac:BillingReference after cac:OrderReference with cac:InvoiceDocumentReference, cbc:ID (the original invoice number) and cbc:IssueDate. In CII it is ram:InvoiceReferencedDocument in ram:ApplicableHeaderTradeSettlement.

If the document cancels an invoice rather than correcting it, a credit note (381) is usually the better choice; agree on this with the recipient.

Rejected
<cbc:InvoiceTypeCode>384</cbc:InvoiceTypeCode>
<!-- … -->
<cac:OrderReference>
  <cbc:ID>4500012345</cbc:ID>
</cac:OrderReference>
<!-- no cac:BillingReference -->
Passes
<cbc:InvoiceTypeCode>384</cbc:InvoiceTypeCode>
<!-- … -->
<cac:OrderReference>
  <cbc:ID>4500012345</cbc:ID>
</cac:OrderReference>
<cac:BillingReference>
  <cac:InvoiceDocumentReference>
    <cbc:ID>RE-2026-0815</cbc:ID>
    <cbc:IssueDate>2026-10-02</cbc:IssueDate>
  </cac:InvoiceDocumentReference>
</cac:BillingReference>

UBL excerpts; elements that play no part in the rule are left out.

Can the fix page repair it?

Yes, once you supply the value. The fix page names the field; you enter the correct value, which is never guessed, and the corrected file is validated again before you download it.

Field on the fix page: precedingInvoices[0].id, precedingInvoices[0].issueDate

Repair a rejected invoice

Check your invoice against the official rules

Upload an XML or PDF invoice. You get every failing rule with an explanation, the fix and the line in the file. Free, without sign-up; the check on this page stores nothing.

Drop an invoice hereXRechnung, EN 16931 or Peppol (UBL / CII), a ZUGFeRD / Factur-X PDF, Facturae or KSeF FA(3). Up to 2 MB.
No invoice at hand?

Processed in memory and not stored. No sign-up needed.