Context
MX
/ubl:Invoice/cac:TaxExchangeRate
VRBL-Invoice-MX-1p0 - Tax Exchange Rate
Mexico |
VRBL-Invoice-MX-1p0
| Context ID | INV0971 |
| Usage | O |
Description
A group to provide information about the tax exchange rate applied to the invoice amounts.
Child elements
| Usage | Element | Description | Cardinality |
|---|---|---|---|
| O | cbc:SourceCurrencyCode |
Tax Exchange Rate Source Currency Code
The reference currency for this exchange rate; the currency from which the exchange is being made. |
1..1 |
| O | cbc:TargetCurrencyCode |
Tax Exchange Rate Target Currency Code
The target currency for this exchange rate; the currency to which the exchange is being made. |
1..1 |
| O | cbc:CalculationRate |
Tax Exchange Rate Calculation Rate
The factor applied to the source currency to calculate the target currency. |
0..1 |
Details
Example: VRBL_MX_ForeignTrade_USD.xml
<ubl:Invoice>
<!-- ... omitted for readability -->
<cac:TaxExchangeRate>
<cbc:SourceCurrencyCode>USD</cbc:SourceCurrencyCode>
<cbc:TargetCurrencyCode>MXN</cbc:TargetCurrencyCode>
<cbc:CalculationRate>18.00</cbc:CalculationRate>
</cac:TaxExchangeRate>
<!-- ... omitted for readability -->
</ubl:Invoice>
Rules
| Rule ID | Error Message |
|---|---|
| VRBL-INV-MX-1p0-18 | The Tax Exchange Rate Calculation Rate must exist within the Tax Exchange Rate. |