InvoiceKit

EN 16931 rules › BR-55

BR-55 — Each Preceding Invoice reference (BG-3) shall contain a Preceding Invoice reference (BT-25)

Rule idBR-55
Rule setEN 16931 itself, not a national or network addition
Severityfatal in CII and UBL — a validator enforcing this rule set rejects the invoice
Applies tothe CII and UBL syntaxes
Checked bythe validator on this site and invoicekit.go v0.2.11, the library behind it

The rule as published

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

fatal in CII and UBL — a validator enforcing this rule set rejects the invoice.

What runs for it

Straight from the artefacts the engine embeds: the node the assertion selects and the test it applies there. A failing invoice is reported with the message above.

SyntaxSeverityArtefact phaseApplied toFails when
CIIfatalEN16931-model-phase/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceReferencedDocumentnormalize-space(ram:IssuerAssignedID) != ''
UBLfatalEN16931model_phasecac:BillingReferenceexists(cac:InvoiceDocumentReference/cbc:ID)

Data elements it names

See also

· All EN 16931 rules ·