# DT-CIUS-PT-098.2

Source: https://xmlvalid.com/rules/DT-CIUS-PT-098.2

> The BT-111 currencyID must be equal to BT-6.

- Level: error
- Rule sets: CIUS-PT rules (Portugal, UBL) 2.1.1
- Context: `//ubl:Invoice/cac:TaxTotal/cbc:TaxAmount | //cn:CreditNote/cac:TaxTotal/cbc:TaxAmount`
- Test: `exists(//ubl:Invoice/cbc:TaxCurrencyCode | //cn:CreditNote/cbc:TaxCurrencyCode) and normalize-space(@currencyID) != $bt06`

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