Peppol BIS Billing 3.0.20 · UBL

BR-24: Each Invoice line (BG-25) shall have an Invoice line net amount (BT-131)

Peppol BIS Billing 3.0.20 · UBL

fatalbusiness

Original rule text

[BR-24]-Each Invoice line (BG-25) shall have an Invoice line net amount (BT-131).

Stored validation assertion
exists(cbc:LineExtensionAmount)

BR-24 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-131.

What this rule requires

The rule requires that every invoice line or credit note line carries an invoice line net amount (BT-131, "Rechnungszeilen-Nettobetrag"). In UBL, each cac:InvoiceLine or cac:CreditNoteLine element must contain a cbc:LineExtensionAmount element. In CII, each //ram:IncludedSupplyChainTradeLineItem must have a ram:LineTotalAmount element under ram:SpecifiedLineTradeSettlement/ram:SpecifiedTradeSettlementLineMonetarySummation. A document fails if any line is missing this element. This is a fatal rule, so such a document is rejected.

How to fix

Add the missing line net amount to each line. In UBL add cbc:LineExtensionAmount as a child of cac:InvoiceLine (or cac:CreditNoteLine) with the line net amount as its value. In CII add ram:LineTotalAmount under ram:SpecifiedLineTradeSettlement/ram:SpecifiedTradeSettlementLineMonetarySummation within the ram:IncludedSupplyChainTradeLineItem with the line net amount. Ensure the amount reflects the net amount for that line.

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

Validate an invoice against these rules · All release changes