Portugal: Tax Exchange Rate

Portuguese B2G documents require you include the tax exchange rate for foreign transactions.

Use the TaxExchangeRate element to capture the exchange between the Document and Tax currencies.

Elements

ElementDescription
Invoice/TaxExchangeRate/SourceCurrencyCodeTo indicate the source or transaction currency. This is the same as the currency specified in the DocumentCurrencyCode.
Invoice/TaxExchangeRate/TargetCurrencyCodeTo indicate the destination currency.
Invoice/TaxExchangeRate/CalculationRateThe exchange rate. The rate is used to calculate the exchange. If the source currency is USD, then the USD amount equals this rate multiplied by the target currency.

Restrictions

  • You must capture the Tax Exchange Rate for Portuguese B2G documents that originate outside the country.

Example

<ubl:Invoice>
    <!-- Code omitted for clarity -->
    <cac:TaxExchangeRate>
        <cbc:SourceCurrencyCode>ARS</cbc:SourceCurrencyCode>
        <cbc:TargetCurrencyCode>EUR</cbc:TargetCurrencyCode>
        <cbc:CalculationRate>0.00097</cbc:CalculationRate>
    </cac:TaxExchangeRate>
     <!-- Code omitted for clarity -->
</ubl:Invoice>