Peppol BIS Billing 3.0.21 · UBL

BR-12: An Invoice shall have the Sum of Invoice line net amount (BT-106)

Peppol BIS Billing 3.0.21 · UBL

fatalbusiness

Original rule text

[BR-12]-An Invoice shall have the Sum of Invoice line net amount (BT-106).

Stored validation assertion
exists(cbc:LineExtensionAmount)

BR-12 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-106.

What this rule requires

The rule requires that the invoice includes the Sum of Invoice line net amount (BT-106). In UBL, the element cbc:LineExtensionAmount must exist inside cac:LegalMonetaryTotal; in CII, ram:LineTotalAmount must exist inside ram:SpecifiedTradeSettlementHeaderMonetarySummation. A document fails this fatal rule when that element is absent.

How to fix

Add the missing net total element. In UBL, insert cbc:LineExtensionAmount within cac:LegalMonetaryTotal and set its value to the sum of all invoice line net amounts. In CII, insert ram:LineTotalAmount within ram:SpecifiedTradeSettlementHeaderMonetarySummation with the same sum.

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

Validate an invoice against these rules · All release changes