BR-O-07: A Document level charge (BG-21) where the VAT category code (BT-102) is "Not sub
Severity: fatal · Syntax: CII, UBL
Official message
A Document level charge (BG-21) where the VAT category code (BT-102) is "Not subject to VAT" shall not contain a Document level charge VAT rate (BT-103).
What this means
The official message is: A Document level charge (BG-21) where the VAT category code (BT-102) is "Not subject to VAT" shall not contain a Document level charge VAT rate (BT-103). This page does not add a further obligation.
Typical cause
The assertion in the context above failed for this file.
How to fix it
Adjust the file so the assertion succeeds, then validate it again. This page helps you read the rule.
Business term
BG-21, BT-102, BT-103
Related rules
Context and assertion
UBL cac:AllowanceCharge[cbc:ChargeIndicator=true()]/cac:TaxCategory[normalize-space(cbc:ID)='O'][cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT']
CII //ram:SpecifiedTradeAllowanceCharge[ram:ChargeIndicator/udt:Indicator=true()]/ram:CategoryTradeTax[ram:CategoryCode = 'O'][upper-case(ram:TypeCode) = 'VAT']
UBL
not(cbc:Percent)CII
not(ram:RateApplicablePercent)
Check a file now, free of charge
curl -F "file=@rechnung.xml" https://checkxrechnung.com/v1/validate