# F-CRN013

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

> One TransactionCurrencyTaxAmount element must be present when TaxCurrencyCode element is used

- Level: error
- Rule sets: OIOUBL 2.1 Credit Note rules (Denmark) 1.17.2
- Context: `doc:CreditNote/cbc:TaxCurrencyCode`
- Test: `count(/*/cac:TaxTotal/cac:TaxSubtotal/cbc:TransactionCurrencyTaxAmount) != 0`

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