All rules · pint-base · error
ibr-027
The item net price must not be negative.
Reviewed
Why this rule exists
A negative price is a discount expressed in the wrong place. Discounts belong in an AllowanceCharge element, where they can be categorised for tax.
Why it usually happens
- Modelling a refund line as a negative price rather than as a credit note or an allowance
How to fix it
Express reductions as allowances, and full reversals as credit notes.
Wrong
<cbc:PriceAmount currencyID="AED">-5.00</cbc:PriceAmount>
Right
<cbc:PriceAmount currencyID="AED">5.00</cbc:PriceAmount> <cac:AllowanceCharge> <cbc:ChargeIndicator>false</cbc:ChargeIndicator> <cbc:Amount currencyID="AED">5.00</cbc:Amount> </cac:AllowanceCharge>
The official rule
The Item net price (ibt-146) MUST NOT be negative.
Verbatim from the published artefact. We execute the official Schematron unmodified, so this is exactly what an Access Point checks.
Schematron test
(cac:Price/cbc:PriceAmount) >= 0
Applied to nodes matching cac:InvoiceLine | cac:CreditNoteLine
Rule-pack versions
| Rule-pack | Layer | Severity | Applies to |
|---|---|---|---|
| pint-om-1.0.1 | pint-base | error | billing/creditnote, billing/invoice, self-billing/creditnote, self-billing/invoice |
| pint-ae-2026.5 | pint-base | error | billing/creditnote, billing/invoice, self-billing/creditnote, self-billing/invoice |
| pint-eu-1.1.1 | pint-base | error | billing/creditnote, billing/invoice |
| pint-ae-2026.3 | pint-base | error | billing/creditnote, billing/invoice, self-billing/creditnote, self-billing/invoice |
| pint-om-1.0.0 | pint-base | error | billing/creditnote, billing/invoice, self-billing/creditnote, self-billing/invoice |
Related rules
Check your own invoice
Paste your XML and see every rule that fires, not just this one. Free, no sign-up, and we never store the document.
Open the validator