Peppol BIS Billing 3.0.20 · UBL

BR-AG-06: In a Document level allowance (BG-20) where the Document level allowance VAT category…

Peppol BIS Billing 3.0.20 · UBL

fatalbusiness

Original rule text

[BR-AG-06]-In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "IPSI" the Document level allowance VAT rate (BT-96) shall be 0 (zero) or greater than zero.

Stored validation assertion
(cbc:Percent) >= 0

BR-AG-06 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-20, BT-95, BT-96.

What this rule requires

This is a fatal rule for a document-level allowance (BG-20). In UBL it applies to cac:AllowanceCharge[cbc:ChargeIndicator=false()]/cac:TaxCategory where cbc:ID is 'M' and the VAT scheme is 'VAT'; the VAT rate element cbc:Percent must be present and greater than or equal to 0. In CII it applies to ram:SpecifiedTradeAllowanceCharge[ram:ChargeIndicator/udt:Indicator=false()]/ram:CategoryTradeTax where ram:CategoryCode is 'M' and ram:TypeCode is 'VAT'; ram:RateApplicablePercent must be present and greater than or equal to 0. The rule message says the VAT category code is 'IPSI' (BT-95), but the test actually selects code 'M', so the test does not check 'IPSI'.

How to fix

For the allowance with VAT category code 'M' (the code selected by the test), make sure the rate element is present and non-negative. In UBL set cbc:Percent to 0 or a positive number inside the cac:TaxCategory with cbc:ID='M'. In CII set ram:RateApplicablePercent to 0 or a positive number inside ram:CategoryTradeTax with ram:CategoryCode='M'. If your invoice uses category 'IPSI', verify whether your system maps it to 'M'; the rule as implemented only checks '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-06.

Validate an invoice against these rules · All release changes