BR-27
This id stands for 2 different rules, one per rule set below: Factur-X numbers its rules in each profile separately.
Why it fails
- A line has a negative price, often to show a discount or a returned item.
How to fix it
Keep prices positive. Make the quantity negative for a returned item (the line amount then comes out negative), or give a discount as an allowance on the line or the document.
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.
The Item net price (BT-146) shall NOT be negative.
cac:InvoiceLine | cac:CreditNoteLine
(cac:Price/cbc:PriceAmount) >= 0
Checked with EN 16931 Invoice (UBL), EN 16931 Credit Note (UBL), Croatia eRačun Invoice (UBL), Croatia eRačun Credit Note (UBL)
The Item net price (BT-146) shall NOT be negative.
//ram:IncludedSupplyChainTradeLineItem
(ram:SpecifiedLineTradeAgreement/ram:NetPriceProductTradePrice/ram:ChargeAmount) >= 0
Checked with EN 16931 Invoice (CII)
Preţul net al articolului (BT-146) trebuie să NU fie negativ. #The Item net price (BT-146) shall NOT be negative. (… = '…')
cbc:PriceAmount
(.) >=0
Checked with Romania RO e-Factura Invoice (UBL), Romania RO e-Factura Credit Note (UBL)