BR-27

This id stands for 2 different rules, one per rule set below: Factur-X numbers its rules in each profile separately.

error: the document is invalid Peppol documentation ↗

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.

Message

The Item net price (BT-146) shall NOT be negative.

Context
cac:InvoiceLine | cac:CreditNoteLine
Test
(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)

Message

The Item net price (BT-146) shall NOT be negative.

Context
//ram:IncludedSupplyChainTradeLineItem
Test
(ram:SpecifiedLineTradeAgreement/ram:NetPriceProductTradePrice/ram:ChargeAmount) >= 0

Checked with EN 16931 Invoice (CII)

Message

Preţul net al articolului (BT-146) trebuie să NU fie negativ. #The Item net price (BT-146) shall NOT be negative. (… = '…')

Context
cbc:PriceAmount
Test
(.) >=0

Checked with Romania RO e-Factura Invoice (UBL), Romania RO e-Factura Credit Note (UBL)