BR-28: The Item gross price (BT-148) shall NOT be negative
Peppol BIS Billing 3.0.20 · UBL
Original rule text
[BR-28]-The Item gross price (BT-148) shall NOT be negative.
(cac:Price/cac:AllowanceCharge/cbc:BaseAmount) >= 0 or not(exists(cac:Price/cac:AllowanceCharge/cbc:BaseAmount))BR-28 is a fatal rule in the business layer of Peppol BIS Billing 3.0.20 · UBL. An invoice that breaks it is rejected. It refers to BT-148.
What this rule requires
The rule requires that the item gross price (BT-148) must not be negative. In UBL, if cac:Price/cac:AllowanceCharge/cbc:BaseAmount exists, its value must be greater than or equal to 0; in CII, if ram:SpecifiedLineTradeAgreement/ram:GrossPriceProductTradePrice/ram:ChargeAmount exists, its value must be greater than or equal to 0. Omitting the element is allowed, but a present negative value fails validation.
How to fix
Ensure the item gross price is zero or positive. In UBL, set cac:Price/cac:AllowanceCharge/cbc:BaseAmount to a non-negative number, or remove the element if no gross price is stated. In CII, set ram:SpecifiedLineTradeAgreement/ram:GrossPriceProductTradePrice/ram:ChargeAmount to a non-negative number, or remove it. If a discount or allowance needs to be expressed, use the appropriate separate allowance or charge fields.
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-28.
Validate an invoice against these rules · All release changes