# F-CRN014

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

> There is a PriceAmount where the currencyID does not equal the PricingCurrencyCode

- Level: error
- Rule sets: OIOUBL 2.1 Credit Note rules (Denmark) 1.17.2
- Context: `doc:CreditNote/cbc:PricingCurrencyCode`
- Test: `/*/cac:CreditNoteLine/cac:Price/cbc:PriceAmount[@currencyID][@currencyID != string(current())]`

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