Skip to main content

BR-55 Preceding invoice reference must carry a reference identifier

Each Preceding Invoice reference (BG-3) shall contain a Preceding Invoice reference (BT-25).

Problem Description

Each Preceding Invoice reference (BG-3) shall contain a Preceding Invoice reference (BT-25).

ERROR

XRechnung 3.0

Context and Significance

This rule comes from the EN16931 core semantic model enforced by the KoSIT XRechnung 3.0.2 Schematron, ensuring invoices carry the mandatory data needed for automated processing.

Solution

Add cac:BillingReference/cac:InvoiceDocumentReference/cbc:ID with the identifier of the preceding invoice being corrected or referenced.

Quick actions

Valid Examples

Use these points as the practical checks for this section.

  • BT-25 = "INV-2026-0007" referencing the corrected invoice

Invalid Examples

Use these points as the practical checks for this section.

  • Billing reference group present with no InvoiceDocumentReference ID

Code Examples

Valid XML
<cac:BillingReference>
  <cac:InvoiceDocumentReference>
    <cbc:ID>INV-2026-0007</cbc:ID>
  </cac:InvoiceDocumentReference>
</cac:BillingReference>
Invalid XML
<cac:BillingReference>
  <cac:InvoiceDocumentReference/>
</cac:BillingReference>

Affected Fields

Validation Tools