BR-25
Each Invoice line (BG-25) shall contain the Item name (BT-153).
Why it fails
- A line's item has no
cac:Item/cbc:Name(ram:SpecifiedTradeProduct/ram:Namein CII); a description alone isn't enough.
How to fix it
Give every item a short name. A longer text can go in cbc:Description as well.
What the rule checks
As the rule set's publisher wrote it. The rule runs on every element the context matches, and fails where the test is false; the validator reports the line of that element.
cac:InvoiceLine | cac:CreditNoteLine
normalize-space(cac:Item/cbc:Name) != ''
Checked with EN 16931 Invoice (UBL), EN 16931 Credit Note (UBL), Croatia eRačun Invoice (UBL), Croatia eRačun Credit Note (UBL)
//ram:IncludedSupplyChainTradeLineItem
normalize-space(ram:SpecifiedTradeProduct/ram:Name) != ''
Checked with EN 16931 Invoice (CII)
cac:InvoiceLine | cac:CreditNoteLine
(cac:Item/cbc:Name) != ''
Checked with Romania RO e-Factura Invoice (UBL), Romania RO e-Factura Credit Note (UBL)
//ram:IncludedSupplyChainTradeLineItem
(ram:SpecifiedTradeProduct/ram:Name!='')
Checked with France Factur-X EN 16931, Factur-X / ZUGFeRD EN 16931