# FX-SCH-A-000154

Source: https://xmlvalid.com/rules/FX-SCH-A-000154

> An Invoice that contains a VAT breakdown group (BG-23) with a VAT category code (BT-118) "Not subject to VAT" shall not contain Document level charges (BG-21) where Document level charge VAT category code (BT-102) is not "Not subject to VAT".

- Level: error
- Rule sets: Factur-X MINIMUM rules 1.09, Factur-X BASIC rules 1.09
- Context: `//rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:ApplicableTradeTax[ram:CategoryCode = 'O']`
- Test: `not(//ram:CategoryTradeTax[ram:CategoryCode != 'O'])`

Validate a document against these rules: https://xmlvalid.com/validate
