BR-26 A line has no item net price (BT-146)
Line 1 has no item net price (BT-146). The net price is the price after any line discount and excluding VAT.
This rule is implemented and its error payload below is real, but the long-form write-up — normative text, worked example, divergence note — is not written yet. Everything the library knows about this rule is on this page. Ask and we will prioritise it.
- Business term
BT-146- Severity
fatal
What the library returns
The exact object in result.errors when this rule fires.
Generated by running @attestwire/en16931, not transcribed:
{
"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 locates the element in the generated UBL document,
which is where a KoSIT or Peppol validator will report the same problem.
A passing value
"unitPrice": 150The fix
Set line.unitPrice to the net unit price, excluding VAT.