Message

All currencyID attributes must have the same value as the invoice currency code (BT-5), except for the invoice total VAT amount in accounting currency (BT-111).

Context
cbc:Amount | cbc:BaseAmount | cbc:PriceAmount | cac:TaxTotal[cac:TaxSubtotal]/cbc:TaxAmount | cbc:TaxableAmount | cbc:LineExtensionAmount | cbc:TaxExclusiveAmount | cbc:TaxInclusiveAmount | cbc:AllowanceTotalAmount | cbc:ChargeTotalAmount | cbc:PrepaidAmount | cbc:PayableRoundingAmount | cbc:PayableAmount
Test
@currencyID = $documentCurrencyCode
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