# FX-SCH-A-000607

Source: https://xmlvalid.com/rules/FX-SCH-A-000607

> Value of '@currencyID' is not allowed.

- Level: error
- Rule sets: Factur-X EN 16931 rules 1.09.2
- Context: `/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementHeaderMonetarySummation/ram:TaxTotalAmount[@currencyID=../../ram:TaxCurrencyCode]`
- Test: `string-length($codeValue32)=0 or document('FACTUR-X_EN16931_codedb.xml')/codedb/cl[@id=32]/enumeration[@value=$codeValue32]`

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