# F-INV339

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

> There is a TransactionCurrencyTaxAmount where the currencyID does not equal the TaxCurrencyCode ('…').

- Level: error
- Rule sets: OIOUBL 2.1 Invoice rules (Denmark) 1.17.2
- Context: `doc:Invoice/cbc:TaxCurrencyCode`
- Test: `//cac:TaxTotal/cac:TaxSubtotal/cbc:TransactionCurrencyTaxAmount[@currencyID != string(current())]`

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