# F-LIB315

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

> Specifying the same TaxSubtotal.TaxCategory.ID in one TaxTotal class is 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: `$ID63 and cac:TaxCategory/cac:TaxScheme/cbc:ID = ./following-sibling::*/cac:TaxCategory/cac:TaxScheme/cbc:ID and cac:TaxCategory/cbc:ID = ./following-sibling::*/cac:TaxCategory/cbc:ID`

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