# FX-SCH-A-001006

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

> 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:InvoiceCurrencyCode]`
- Test: `string-length($codeValue49)=0 or document('FACTUR-X_EXTENDED_codedb.xml')/codedb/cl[@id=49]/enumeration[@value=$codeValue49]`

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