Peppol BIS Billing 3.0.20 · UBL

BR-43: Each Invoice line charge (BG-28) shall have an Invoice line charge amount (BT-141)

Peppol BIS Billing 3.0.20 · UBL

fatalbusiness

Original rule text

[BR-43]-Each Invoice line charge (BG-28) shall have an Invoice line charge amount (BT-141).

Stored validation assertion
exists(cbc:Amount)

BR-43 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-28, BT-141.

What this rule requires

The rule requires every invoice line charge (BG-28) to include an invoice line charge amount (BT-141). In UBL, any cac:AllowanceCharge with cbc:ChargeIndicator = true() inside an cac:InvoiceLine or cac:CreditNoteLine must contain a cbc:Amount. In CII, any ram:SpecifiedTradeAllowanceCharge with ram:ChargeIndicator equal to 'true' inside a ram:SpecifiedLineTradeSettlement must contain a ram:ActualAmount. A document that does not satisfy this fatal rule fails validation.

How to fix

For UBL, add a cbc:Amount element inside the charge cac:AllowanceCharge (the one with cbc:ChargeIndicator true) for each affected line. For CII, add a ram:ActualAmount element inside the ram:SpecifiedTradeAllowanceCharge with ram:ChargeIndicator true. Populate it with the monetary amount of the line charge. The rule only checks that the element is present, not the currency or the value.

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

Validate an invoice against these rules · All release changes