Sign in with Microsoft
Sign in or create an account.
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.


The Ministry of Finance of Poland introduced an updated version of the JPK structure for invoices - JPK_FA (2), which will be in force from July 1, 2019. The updated schema of JPK_FA (2) is published on the website of the Ministry of Finance.


The version “2” of schema of JPK_FA introduces the following changes:

  • In the "Header" (Nagłówek) section, the value of the “kodSystemowy” attribute of the <KodFormularza> tag is changed to “JPK_FA (2)”; value of “WariantFormularza” tag is changed to “2” respectively.

  • The format applied to the value of the NIP number of seller's and buyer's (fields P_4BP_5B) has been changed: the length is extended up to 30 characters, VAT registration numbers outside of the Poland are supported. Technical validation on P_4B, P_5B values of the JPK_FA file of compliance with the Polish NIP number is omitted.

  • In the field "Type of Invoices" (RodzajFaktury) the option to enter the type "POZ" (remaining) has been removed;

  • The "Period of Corrected Period" (OkresFaKorygowanej), containing information on the period of the corrected invoice, became optional;

  • The field "P_12" (information in lines regarding the tax rate) will allow new values: "4", "oo" (reverse charge as part of domestic transactions), "np" (for transactions of delivery of goods and provision of services outside the country).


The hotfix provides support of changes in VAT invoices report (SAF invoices or JPK_FA) introduced by the version 2 which must be valid from July 1, 2019 and some changes improving performance of the report.

The changes are available on the following versions of Microsoft Dynamics 365 fir Finance and Operations:



Dynamics 365 for Finance and Operations 7.3

KB # 4504214

Dynamics 365 for Finance and Operations 10.0.3 (and later)

Build or later

To prepare your Microsoft Dynamics 365 fir Finance and Operations to report “JPK_FA” report of version “2” (from the beginning of July 2019) the following steps must be done:

1.       Install the hotfix package (link to download is in the “Hotfix information” section of this article).

2.       Import the following (or later) versions of the ER configurations:

Configuration name

Configuration type


Standard Audit File (SAF-T)



Standard Audit File model mapping

Model mapping


SAF Poland

Parent format


VAT Invoices (PL)

Childe format


Configurations downloading instructions:

Important note! Check that the “Standard Audit File model mapping” is market as “Default for model mapping”.

3.       P_12 field’s value (according to the JPK_FA v.2) may report, besides the tax rate and “zw” (reverse charge), the following values: “oo” (reverse charge as part of domestic transactions), "np" (for transactions of delivery of goods and provision of services outside the country). It is supposed that companies in Poland define and use specific Exempt codes (Tax > Setup > Sales tax > Sales tax exempt codes) for sales tax codes setup with exempt on Sales tax groups (Tax > Indirect tax > Sales tax > Sales tax groups) to distinguish tax transactions by this Exempt code in the report. For the purposes of the report it is needed to define which Exempt codes must be reported with the given values of P_12 tag. To do so, select the “VAT Invoices (PL) format and open Configurations > Application specific parameters > Setup on the Action pane. For the latest version of the configuration select the “TaxFree_LOOKUP” on the “Lookups” fast tab, go to the “Conditions” fast tab and define conditions for the Lookup results:

Lookup result

Exempt codes


Select those Exempt codes which are used for sales tax transactions of delivery of goods and provision of services outside the country. If there are more than one such code, you need to add as much lines as more Exempt codes are used for transactions of delivery of goods and provision of services outside the country.


Select *Not blank*. All other transactions with exempt not considering the reason will be reported as reverse charge as part of domestic transactions. This must be the last line in the list, check by the value in the “Line” column.

For example:


Note! Tax transactions marked as “Reversecharge” will be reported as “oo”, no additional setup is needed.

4. When Lookup results are defined, change the State to the Completed, save and close the configuration.

Important note! Pay attention that the “Effective from” date  of the versions of “VAT Invoices (PL)” format starting from 32.22.36 is defined as “July 1, 2019” to accommodate the requirement of efficiency of the changes in it since the 1st of July 2019th. This meant that system continues using the previous version of the format before this date and only starting from this date the new version will be used by the system.

Hotfix information

Electronic reporting configuration download instruction from Lifecycle Services:

How to obtain the Microsoft Dynamics AX updates files

This update is available for manual download and installation from the Microsoft Download Center for version 7.3:


You must have one of the following products installed to apply this hotfix:

  • Microsoft Dynamics 365 for Finance and Operations (7.3)

Restart requirement

You must restart the Application Object Server (AOS) service after you apply the hotfix.

If you are encountering an issue downloading, installing this hotfix, or have other technical support questions, contact your partner or, if enrolled in a support plan directly with Microsoft, you can contact technical support for Microsoft Dynamics and create a new support request. To do this, visit the following Microsoft website:

You can also contact technical support for Microsoft Dynamics by phone using these links for country specific phone numbers. To do this, visit one of the following Microsoft websites:



In special cases, charges that are ordinarily incurred for support calls may be canceled if a Technical Support Professional for Microsoft Dynamics and related products determines that a specific update will resolve your problem. The usual support costs will apply to any additional support questions and issues that do not qualify for the specific update in question.

Need more help?

Expand your skills


Get new features first


Was this information helpful?

What affected your experience?

Thank you for your feedback!