Peppol BIS Billing 3.0.20 · UBL

BR-AF-07: In a Document level charge (BG-21) where the Document level charge VAT category code…

Peppol BIS Billing 3.0.20 · UBL

fatalbusiness

Original rule text

[BR-AF-07]-In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "IGIC" the Document level charge VAT rate (BT-103) shall be 0 (zero) or greater than zero.

Stored validation assertion
(cbc:Percent) >= 0

BR-AF-07 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-21, BT-102, BT-103.

What this rule requires

The rule requires that a document-level charge (BG-21) whose VAT category code (BT-102) is IGIC has a VAT rate (BT-103) of zero or greater. The message says "0 (zero) or greater than zero", and the UBL test matches it: it selects cac:AllowanceCharge[cbc:ChargeIndicator=true()]/cac:TaxCategory where cbc:ID is L and the tax scheme is VAT, and requires cbc:Percent >= 0. The CII test does not match the message: it selects ram:SpecifiedTradeAllowanceCharge[ram:ChargeIndicator/udt:Indicator=true()]/ram:CategoryTradeTax where ram:CategoryCode is L and ram:TypeCode is VAT, and requires ram:RateApplicablePercent > 0, so a rate of 0 passes in UBL and fails in CII.

How to fix

In UBL, set cbc:Percent in the matching cac:TaxCategory to 0 or any positive number. In CII, set ram:RateApplicablePercent in the matching ram:CategoryTradeTax to a number greater than 0, because 0 fails the CII test. If the charge really has a zero rate, expect a CII validator to reject it even though UBL accepts it.

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-AF-07.

Validate an invoice against these rules · All release changes