Poland B2B: Tax Exchange Rate

When the Document and Tax Currencies differ, you need to model the exchange rate.

If the Document Currency is different from the Tax Currency, then you must model the exchange information.

Elements

Use the following sub-elements of the TaxExchangeRate element:

ElementCardinalityDescription
Tax Exchange Rate (Invoice/TaxExchangeRate/)0..1A group of elements that specify the tax exchange rate that is applied to the Document amounts.
Source Currency Code (Invoice/TaxExchangeRate/SourceCurrencyCode)1..1Indicates the source or transaction currency. This is the same as the currency specified in the DocumentCurrencyCode element.
Target Currency Code (Invoice/TaxExchangeRate/TargetCurrencyCode)1..1To indicate the destination currency.
Calculation Rate (Invoice/TaxExchangeRate/CalculationRate)1..1The exchange rate. The rate is used to calculate the exchange. If the source currency is in USD, then the USD amount equals this rate multiplied by the target currency.

Example

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