InvoiceValidator.eu

BR-64

fatalEN 16931EN 16931 business ruleCIIUBLBT-157

The Item standard identifier (BT-157) shall have a Scheme identifier.

Why it fails

The Item standard identifier (BT-157) has no scheme identifier.

How to fix it

Add schemeID to the item's StandardItemIdentification, e.g. 0160 for a GTIN. Without it the receiver cannot tell what numbering system the code belongs to.

What the validator checks

CII — context $Invoice_Line

normalize-space(ram:SpecifiedTradeProduct/ram:GlobalID/@schemeID) != '' or not (ram:SpecifiedTradeProduct/ram:GlobalID)

UBL — context cac:InvoiceLine/cac:Item/cac:StandardItemIdentification/cbc:ID | cac:CreditNoteLine/cac:Item/cac:StandardItemIdentification/cbc:ID

exists(@schemeID)

Related rules

Part of BR — EN 16931 core business rules.

Check your own invoice against BR-64

…or paste the XML instead

Nothing is stored, and the whole invoice is checked, not just this rule. A PDF only works if it is Factur-X / ZUGFeRD — a PDF with the invoice XML inside it.