Faktura

BR-55

fatalEN 16931EN 16931 business ruleCIIUBLBG-3BT-25

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

Why it fails

A preceding invoice reference group (BG-3) has no reference (BT-25).

How to fix it

Add BT-25 - the number of the invoice being corrected or credited (UBL cac:BillingReference/cac:InvoiceDocumentReference/cbc:ID). Credit notes and corrective invoices need it.

What the validator checks

CII — context $Preceding_Invoice

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

UBL — context cac:BillingReference

exists(cac:InvoiceDocumentReference/cbc:ID)

Related rules

Part of BR — EN 16931 core business rules.

Validate an invoice against this rule →