Peppol BIS Billing 3.0.20 · UBL

BR-AG-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-AG-07]-In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "IPSI" the Document level charge VAT rate (BT-103) shall be 0 (zero) or greater than zero.

Stored validation assertion
(cbc:Percent) >= 0

BR-AG-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

In UBL, for a cac:AllowanceCharge with cbc:ChargeIndicator=true(), the rule checks each cac:TaxCategory that has cbc:ID equal to M and a VAT tax scheme; its cbc:Percent must be 0 or greater (>= 0). In CII, for a ram:SpecifiedTradeAllowanceCharge with ram:ChargeIndicator/udt:Indicator=true(), it checks ram:CategoryTradeTax with ram:CategoryCode = 'M' and ram:TypeCode VAT (case-insensitive); its ram:RateApplicablePercent must be >= 0. The rule's message says the category code is IPSI, but the test in both syntaxes selects code M. The test only enforces a non-negative numeric rate; a missing rate or a negative value causes a fatal validation error.

How to fix

Set the cbc:Percent (UBL) or ram:RateApplicablePercent (CII) on the charge's tax category to a numeric value 0 or greater, e.g. 0, 5, 19. Remove any negative value or ensure the element exists. If your invoice uses a category code IPSI that is not mapped to M, the rule as written will not apply; check the code mapping used by the sender to match the test's expectation (M).

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

Validate an invoice against these rules · All release changes