Error codes

BR-55: Each Preceding Invoice reference (BG-3) shall contain a Preceding Invoice refere

Severity: fatal · Syntax: CII, UBL

Official message

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

What this means

The official message is: Each Preceding Invoice reference (BG-3) shall contain a Preceding Invoice reference (BT-25). This page does not add a further obligation.

Typical cause

The assertion in the context above failed for this file.

How to fix it

Adjust the file so the assertion succeeds, then validate it again. This page helps you read the rule.

Business term

BG-3, BT-25

Related rules

Context and assertion

UBL cac:BillingReference

CII /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceReferencedDocument

UBL

exists(cac:InvoiceDocumentReference/cbc:ID)

CII

normalize-space(ram:IssuerAssignedID) != ''

Check a file now, free of charge

curl -F "file=@rechnung.xml" https://checkxrechnung.com/v1/validate