Peppol BIS Billing 3.0.20 · UBL

BR-26: Each Invoice line (BG-25) shall contain the Item net price (BT-146)

Peppol BIS Billing 3.0.20 · UBL

fatalbusiness

Original rule text

[BR-26]-Each Invoice line (BG-25) shall contain the Item net price (BT-146).

Stored validation assertion
exists(cac:Price/cbc:PriceAmount)

BR-26 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 BG-25, BT-146.

What this rule requires

The rule requires each invoice line (BG-25) to contain an item net price (BT-146). In UBL this means the element cac:Price/cbc:PriceAmount must exist in every cac:InvoiceLine or cac:CreditNoteLine; in CII, ram:SpecifiedLineTradeAgreement/ram:NetPriceProductTradePrice/ram:ChargeAmount must exist in every ram:IncludedSupplyChainTradeLineItem. The rule is fatal, so missing this element causes the invoice to be rejected during validation.

How to fix

Add the missing element to each affected line:

  • UBL: include cac:Price/cbc:PriceAmount inside the line.
  • CII: include ram:SpecifiedLineTradeAgreement/ram:NetPriceProductTradePrice/ram:ChargeAmount inside the line. The test only checks that the element is present, not its value; if the element is present but the rule still triggers, check that it is in the correct namespace and location as shown.

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-26.

Validate an invoice against these rules · All release changes