Poland KSF: Domestic Invoice in Foreign Currency (FA(3))

This scenario explains how to model a domestic invoice in a foreign currency.

The following considerations are important in this scenario:

  • You must include the Document Currency Code (cbc:DocumentCurrencyCode) element and it must contain the code of the foreign currency, while the local Polish currency must be provided as in the Tax Currency Code (TaxCurrencyCode) element.
  • You must provide a second tax breakdown in the Tax Total (TaxTotal) group is required to provide the Tax Amount for each breakdown in the Tax Currency Code (TaxCurrencyCode) element.
  • You must specify the Price Exchange Rate is required and it must be on the line level. must be provided in the Pricing Exchange Rate (PricingExchangeRate) group. More information is provided in the Poland KSF: Line-Level Tax Totals (FA3) topic.

Example

<ubl:Invoice>
    <!-- code omitted for clarity -->
    <cbc:DocumentCurrencyCode>EUR</cbc:DocumentCurrencyCode>
    <cbc:TaxCurrencyCode>PLN</cbc:TaxCurrencyCode>
    <!-- code omitted for clarity -->
    <cac:TaxTotal>
        <!-- 1st Tax Breakdown in Document Currency -->
        <cbc:TaxAmount currencyID="EUR">3118.8</cbc:TaxAmount>
        <cac:TaxSubtotal>
            <cbc:TaxableAmount currencyID="EUR">13560</cbc:TaxableAmount>
            <cbc:TaxAmount currencyID="EUR">3118.8</cbc:TaxAmount>
            <cac:TaxCategory>
                <cbc:ID>VRBL:PL:01</cbc:ID>
                <cbc:Percent>23</cbc:Percent>
                <cac:TaxScheme>
                    <cbc:ID>VAT</cbc:ID>
                </cac:TaxScheme>
            </cac:TaxCategory>
        </cac:TaxSubtotal>
    </cac:TaxTotal>
    <cac:TaxTotal>
        <!-- 2nd Tax Breakdown in Tax Currency -->
        <cbc:TaxAmount currencyID="PLN">14036.16</cbc:TaxAmount>
        <cac:TaxSubtotal>
            <cbc:TaxAmount currencyID="PLN">14036.16</cbc:TaxAmount>
            <cac:TaxCategory>
                <cbc:ID>VRBL:PL:01</cbc:ID>
                <cbc:Percent>23</cbc:Percent>
                <cac:TaxScheme>
                    <cbc:ID>VAT</cbc:ID>
                </cac:TaxScheme>
            </cac:TaxCategory>
        </cac:TaxSubtotal>
    </cac:TaxTotal>
    <!-- code omitted for clarity -->
    <cac:InvoiceLine>
        <!-- code omitted for clarity -->
        <cac:Price>
            <!-- Code omitted for clarity -->
            <cec:UBLExtensions>
                <cec:UBLExtension>
                    <cec:ExtensionContent>
                        <vrbl:PriceExtension>
                            <!-- Item Gross Price -->
                            <vrbl:PriceAmountBeforeAllowanceCharge currencyID="PLN">1000.00</vrbl:PriceAmountBeforeAllowanceCharge>
                        </vrbl:PriceExtension>                            
                    </cec:ExtensionContent>
                </cec:UBLExtension>
            </cec:UBLExtensions>
            <cbc:PriceAmount currencyID="EUR">1000.00</cbc:PriceAmount>
            <cac:PricingExchangeRate>
                <cbc:SourceCurrencyCode>EUR</cbc:SourceCurrencyCode>
                <cbc:TargetCurrencyCode>PLN</cbc:TargetCurrencyCode>
                <cbc:CalculationRate>4.5005</cbc:CalculationRate>
            </cac:PricingExchangeRate>
        </cac:Price>
        <!-- code omitted for clarity -->
    </cac:InvoiceLine>
</ubl:Invoice>