/ubl:Invoice/cac:TaxExchangeRate

Tax Exchange Rate

Spain | VRBL-Invoice-ES-FacturaE-3p2
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
O cbc:Date Tax Exchange Rate Date

The date on which the exchange rate was established.

0..1
Details

Example: ES_B2G_Invoice_with_currencies.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:TaxExchangeRate>
    <cbc:SourceCurrencyCode>USD</cbc:SourceCurrencyCode>
    <cbc:TargetCurrencyCode>EUR</cbc:TargetCurrencyCode>
    <cbc:CalculationRate>1.05</cbc:CalculationRate>
    <cbc:Date>2025-02-19</cbc:Date>
  </cac:TaxExchangeRate>
  <!-- ... omitted for readability -->
</ubl:Invoice>