# F-LIB333

Source: https://xmlvalid.com/rules/F-LIB333

> When TaxCategory/TaxScheme/Id is VAT, the TaxCategory/Percent must be present.

- Level: error
- Rule sets: OIOUBL 2.1 Invoice rules (Denmark) 1.17.2, OIOUBL 2.1 Credit Note rules (Denmark) 1.17.2, OIOUBL 2.1 Reminder rules (Denmark) 1.17.2
- Test: `(cac:TaxCategory/cac:TaxScheme/cbc:ID = 'VAT') and not(cac:TaxCategory/cbc:Percent)`

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