# F-INV013

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

> There is a LineExtensionAmount where the currencyID does not equal the DocumentCurrencyCode

- Level: error
- Rule sets: OIOUBL 2.1 Invoice rules (Denmark) 1.17.2
- Context: `doc:Invoice/cbc:DocumentCurrencyCode`
- Test: `/*/cac:LegalMonetaryTotal/cbc:LineExtensionAmount[@currencyID][@currencyID!=string(current())]`

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