# FX-SCH-A-001007

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

> Value of '@currencyID' is not allowed.

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

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