Peppol BIS Billing 3.0.21 · UBL

BR-27: The Item net price (BT-146) shall NOT be negative

Peppol BIS Billing 3.0.21 · UBL

fatalbusiness

Original rule text

[BR-27]-The Item net price (BT-146) shall NOT be negative.

Stored validation assertion
(cac:Price/cbc:PriceAmount) >= 0

BR-27 is a fatal rule in the business layer of Peppol BIS Billing 3.0.21 · UBL. An invoice that breaks it is rejected. It refers to BT-146.

What this rule requires

The rule requires that the item net price (BT-146) in each invoice or credit note line is not negative. In UBL this is the value of cac:Price/cbc:PriceAmount on each cac:InvoiceLine or cac:CreditNoteLine, and in CII it is ram:SpecifiedLineTradeAgreement/ram:NetPriceProductTradePrice/ram:ChargeAmount on each ram:IncludedSupplyChainTradeLineItem. A document fails when this amount is less than zero.

How to fix

Set the item net price to zero or a positive amount. In UBL, change cac:Price/cbc:PriceAmount to a value >= 0. In CII, change ram:SpecifiedLineTradeAgreement/ram:NetPriceProductTradePrice/ram:ChargeAmount to a value >= 0.

Guidance on this rule. The original text above is authoritative.

Where to go next

No published Peppol BIS Billing UBL release comparison lists a change to BR-27.

Validate an invoice against these rules · All release changes