Attestwire › Rule reference › BR-26
BR-26 Every invoice line must have an item net price
noun · EN 16931 · fatal · BT-146
For a sample invoice, the library reports: Line 1 has no item net price (BT-146). The net price is the price after any line discount and excluding VAT.
- Business term
BT-146- Severity
fatal
The fix
Set line.unitPrice to the net unit price, excluding VAT.
A passing value
"unitPrice": 150What 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-26",
"field": "BT-146",
"severity": "fatal",
"message": "Line 1 has no item net price (BT-146). The net price is the price after any line discount and excluding VAT.",
"fix": "Set line.unitPrice to the net unit price, excluding VAT.",
"example": "\"unitPrice\": 150",
"xpath": "/ubl:Invoice/cac:InvoiceLine[1]/cac:Price/cbc:PriceAmount",
"docsUrl": "https://attestwire.com/rules/BR-26"
}
xpath is always a UBL path. On a CII invoice, look for the
matching CII field instead.