# F-LIB314

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

> Using the same TaxScheme ID in two different TaxTotal classes are not allowed.

- 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:TaxSubtotal/cac:TaxCategory/cac:TaxScheme/cbc:ID = ./following-sibling::*/cac:TaxSubtotal/cac:TaxCategory/cac:TaxScheme/cbc:ID`

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