Message

Currency code must be according to ISO 4217:2005

Context
cbc:Amount | cbc:BaseAmount | cbc:PriceAmount | cbc:TaxAmount | cbc:TaxableAmount | cbc:LineExtensionAmount | cbc:TaxExclusiveAmount | cbc:TaxInclusiveAmount | cbc:AllowanceTotalAmount | cbc:ChargeTotalAmount | cbc:PrepaidAmount | cbc:PayableRoundingAmount | cbc:PayableAmount
Test
some $code in $ISO4217 satisfies @currencyID = $code
Usage
/ ubl:Invoice / cac:AllowanceCharge / cbc:Amount / @currencyID
/ ubl:Invoice / cac:AllowanceCharge / cbc:BaseAmount / @currencyID
/ ubl:Invoice / cac:TaxTotal / cbc:TaxAmount / @currencyID
/ ubl:Invoice / cac:TaxTotal / cac:TaxSubtotal / cbc:TaxableAmount / @currencyID
/ ubl:Invoice / cac:TaxTotal / cac:TaxSubtotal / cbc:TaxAmount / @currencyID
/ ubl:Invoice / cac:LegalMonetaryTotal / cbc:LineExtensionAmount / @currencyID
/ ubl:Invoice / cac:LegalMonetaryTotal / cbc:TaxExclusiveAmount / @currencyID
/ ubl:Invoice / cac:LegalMonetaryTotal / cbc:TaxInclusiveAmount / @currencyID
/ ubl:Invoice / cac:LegalMonetaryTotal / cbc:AllowanceTotalAmount / @currencyID
/ ubl:Invoice / cac:LegalMonetaryTotal / cbc:ChargeTotalAmount / @currencyID
/ ubl:Invoice / cac:LegalMonetaryTotal / cbc:PrepaidAmount / @currencyID
/ ubl:Invoice / cac:LegalMonetaryTotal / cbc:PayableRoundingAmount / @currencyID
/ ubl:Invoice / cac:LegalMonetaryTotal / cbc:PayableAmount / @currencyID
/ ubl:Invoice / cac:InvoiceLine / cbc:LineExtensionAmount / @currencyID
/ ubl:Invoice / cac:InvoiceLine / cac:AllowanceCharge / cbc:Amount / @currencyID
/ ubl:Invoice / cac:InvoiceLine / cac:AllowanceCharge / cbc:BaseAmount / @currencyID
/ ubl:Invoice / cac:InvoiceLine / cac:Price / cbc:PriceAmount / @currencyID
/ ubl:Invoice / cac:InvoiceLine / cac:Price / cac:AllowanceCharge / cbc:Amount / @currencyID
/ ubl:Invoice / cac:InvoiceLine / cac:Price / cac:AllowanceCharge / cbc:BaseAmount / @currencyID
/ ubl:CreditNote / cac:AllowanceCharge / cbc:Amount / @currencyID
/ ubl:CreditNote / cac:AllowanceCharge / cbc:BaseAmount / @currencyID
/ ubl:CreditNote / cac:TaxTotal / cbc:TaxAmount / @currencyID
/ ubl:CreditNote / cac:TaxTotal / cac:TaxSubtotal / cbc:TaxableAmount / @currencyID
/ ubl:CreditNote / cac:TaxTotal / cac:TaxSubtotal / cbc:TaxAmount / @currencyID
/ ubl:CreditNote / cac:LegalMonetaryTotal / cbc:LineExtensionAmount / @currencyID
/ ubl:CreditNote / cac:LegalMonetaryTotal / cbc:TaxExclusiveAmount / @currencyID
/ ubl:CreditNote / cac:LegalMonetaryTotal / cbc:TaxInclusiveAmount / @currencyID
/ ubl:CreditNote / cac:LegalMonetaryTotal / cbc:AllowanceTotalAmount / @currencyID
/ ubl:CreditNote / cac:LegalMonetaryTotal / cbc:ChargeTotalAmount / @currencyID
/ ubl:CreditNote / cac:LegalMonetaryTotal / cbc:PrepaidAmount / @currencyID
/ ubl:CreditNote / cac:LegalMonetaryTotal / cbc:PayableRoundingAmount / @currencyID
/ ubl:CreditNote / cac:LegalMonetaryTotal / cbc:PayableAmount / @currencyID
/ ubl:CreditNote / cac:CreditNoteLine / cbc:LineExtensionAmount / @currencyID
/ ubl:CreditNote / cac:CreditNoteLine / cac:AllowanceCharge / cbc:Amount / @currencyID
/ ubl:CreditNote / cac:CreditNoteLine / cac:AllowanceCharge / cbc:BaseAmount / @currencyID
/ ubl:CreditNote / cac:CreditNoteLine / cac:Price / cbc:PriceAmount / @currencyID
/ ubl:CreditNote / cac:CreditNoteLine / cac:Price / cac:AllowanceCharge / cbc:Amount / @currencyID
/ ubl:CreditNote / cac:CreditNoteLine / cac:Price / cac:AllowanceCharge / cbc:BaseAmount / @currencyID