Attestwire › Rule reference › BR-25
BR-25 Every invoice line must have an item name
noun · EN 16931 · fatal · BT-153
For a sample invoice, the library reports: Line 1 has no item name (BT-153). The buyer must be able to tell what was supplied from the invoice alone; an internal SKU in place of a name does not satisfy this.
- Business term
BT-153- Severity
fatal
The fix
Set line.description to a short human-readable item name, and put any longer explanation in line.longDescription (BT-154).
A passing value
"description": "Senior engineering consultancy"What the library returns
The full error returned by @attestwire/en16931. It includes the rule ID,
affected field and suggested correction. Developers can use this object in their application:
{
"rule": "BR-25",
"field": "BT-153",
"severity": "fatal",
"message": "Line 1 has no item name (BT-153). The buyer must be able to tell what was supplied from the invoice alone; an internal SKU in place of a name does not satisfy this.",
"fix": "Set line.description to a short human-readable item name, and put any longer explanation in line.longDescription (BT-154).",
"example": "\"description\": \"Senior engineering consultancy\"",
"xpath": "/ubl:Invoice/cac:InvoiceLine[1]/cac:Item/cbc:Name",
"docsUrl": "https://attestwire.com/rules/BR-25"
}
xpath is always a UBL path. On a CII invoice, look for the
matching CII field instead.