Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Note
Community interest groups have now moved from Yammer to Microsoft Viva Engage. To join a Viva Engage community and take part in the latest discussions, fill out the Request access to Finance and Operations Viva Engage Community form and choose the community you want to join.
This article explains how to prepare Microsoft Dynamics 365 Finance to report the SAF Accounting Books - JPK_KR that is required for reporting periods before January 1, 2025.
JPK_KR_PD (Jednolity Plik Kontrolny – Księgi Rachunkowe Podatnika) is a new reporting standard in Poland that is mandatory for businesses as of January 1, 2025. It requires that taxpayers submit detailed accounting books in a structured electronic format. Learn more about how to prepare your system and generate the new SAF Accounting Books Income Tax - JPK_KR_PD in SAF Accounting Books Income Tax - JPK_KR_PD.
Setup
Before you can generate a SAF Accounting Books - JPK_KR, complete the following setup steps.
- Import Electronic reporting (ER) configurations.
- Set up the ER format in General ledger parameters.
- Configure application-specific parameters for the format of the report.
Import ER configurations
In Finance, import the following ER configurations from Dataverse. For more information about how to import ER configurations, see Import Electronic reporting (ER) configurations from Dataverse.
| ER configuration name | Type | Description |
|---|---|---|
| Standard Audit File (SAF-T) | Model | The common data model for different audit reports. |
| Standard Audit File model mapping | Model mapping | The model mapping that provides general source mapping for several electronic reports for Poland. |
| SAF Poland | Format | The XML format that represents a parent format for several JPK formats for Poland. |
| Accounting Books (PL) | Format | Accounting books (KR) SAF-T for Poland, JPK_KR. |
Import the most recent versions of the configurations. The version description usually includes the number of the Knowledge Base (KB) article that explains the changes introduced in the configuration version.
Important
After you import all the ER configurations from the previous table, set the Default for model mapping option to Yes for the Standard Audit File model mapping configuration.
Set up the ER format in General ledger parameters
To set up the ER format in General ledger parameters, follow these steps:
- Go to General ledger > Ledger setup > General ledger parameters.
- On the Standard Audit File for Tax (SAT-T) tab, in the SAF Accounting books field, select the Accounting Books (PL) ER format.
Configure application-specific parameters for the format of the report
TypKonta, KodKategorii, OpisKategorii, KodPodkategorii, and OpisPodKategorii fields under the ZOiS node
Starting with version 98.59.49, the Accounting Books (PL) ER format can generate a SAF Accounting Books - JPK_KR. However, before you can generate the file, set up the following fields under the ZOiS node:
- TypKonta
- KodKategorii
- OpisKategorii
- KodPodkategorii
- OpisPodKategorii
TypKonta field
Report the TypKonta field with one of the following values:
- Bilansowe
- Pozabilansowe
- Rozliczeniowe
- Wynikowe
Starting with version 98.59.49, the Accounting Books (PL) ER format for the report lets you define the TypKonta field based on the main account and main account type.
- Open the Electronic reporting workspace.
- In the configuration tree, select Standard Audit File (SAF-T) > SAF Poland > Accounting Books (PL).
- On the Action Pane, on the Configurations tab, in the Application specific parameters group, select Setup.
- Select the latest version of the format.
- On the Lookups FastTab, select TypKontaSelector.
- On the Conditions FastTab, define the required conditions.
- As the last line, add a line that has the condition Not blank in the Account ID and Account type columns.
- In the State field, select Completed.
- Save the application-specific configuration.
KodKategorii, OpisKategorii, KodPodkategorii, and OpisPodKategorii fields
The KodKategorii, OpisKategorii, KodPodkategorii, and OpisPodKategorii fields under the ZOiS node of the report must represent the category and subcategory according to "Zespołu Kont Syntetycznych." To support this requirement, consolidation account groups and additional consolidation accounts are used. You can use other consolidation account features to define category and subcategories, together with their descriptions, for all main accounts that are used in the SAF Accounting Books - JPK_KR.
To define category and subcategories, together with their descriptions, for all main accounts that are used in the SAF Accounting Books - JPK_KR, follow these steps:
Go to General ledger > Chart of accounts > Accounts > Consolidation account groups.
Create two new groups: one for categories and one for subcategories.
Go to General ledger > Chart of accounts > Accounts > Additional consolidation accounts.
Create categories and subcategories for all main accounts, based on the consolidation account groups that you created in step 2.
- For categories: In the Consolidation account column, specify the value that must be reported in the KodKategorii field of the report. In the Consolidation account name column, specify the value that must be reported in the OpisKategorii field of the report. Also specify a description.
- For subcategories: In the Consolidation account column, specify the value that must be reported in the KodPodKategorii field of the report. In the Consolidation account name column, specify the value that must be reported in the OpisPodKategorii field of the report. Also specify a description.
After you finish setting up categories and subcategories, define the consolidation accounts groups that the ER format must consider. Open the Electronic reporting workspace, and then, in the configuration tree, select Standard Audit File (SAF-T) > SAF Poland > Accounting Books (PL).
On the Action Pane, on the Configurations tab, in the Application specific parameters group, select Setup.
Select the latest version of the format.
On the Lookups FastTab, select ConsolidationTypeSelector.
On the Conditions FastTab, define the required conditions.
As the last two lines, add lines that have the conditions Not blank and Blank for the Other lookup result.
In the State field, select Completed.
Save the configuration.
RodzajDowodu and OpisDziennika fields under the Dziennik node
The RodzajDowodu field under the Dziennik node of the report must represent the type of accounting voucher according to article 23, paragraph 2, item 2 of the Act (UoR). The OpisDziennika field must represent the journal description according to article 14, paragraphs 3 and 4 of the Act. To support this requirement, the report introduces new free-text application-specific parameters.
Open the Electronic reporting workspace.
In the configuration tree, select Standard Audit File (SAF-T) > SAF Poland > Accounting Books (PL).
On the Action Pane, on the Configurations tab, in the Application specific parameters group, select Setup.
Select the latest version of the format.
On the Lookups FastTab, select RodzajDowoduSelector.
On the Conditions FastTab, define the required conditions. In the Lookup result column, manually specify the values according to article 23, paragraph 2, item 2 of the Act.
As the last two lines, add lines that have the conditions Not blank and Blank.
On the Lookups FastTab, select OpisDziennikaSelector.
On the Conditions FastTab, define the required conditions. In the Lookup result column, manually specify the values according to article 14, paragraphs 3 and 4 of the Act.
As the last two lines, add lines that have the conditions Not blank and Blank.
In the State field, select Completed.
Save the configuration.
Generate a SAF Accounting Books - JPK_KR
You must provide a SAF Accounting Books - JPK_KR on request. The file must include accounting data for the reporting period. It must also include the selected posting layers for all the main accounts that have non-zero aggregated turnover or transactions during the reporting period.
To generate a SAF Accounting Books - JPK_KR, go to General ledger > Inquiries and reports > Standard Audit File for Tax (SAF-T) > SAF Accounting books, set the following parameters, and then select OK.
| Parameter | Description |
|---|---|
| From date | Specify the first date to export reporting data for. |
| To date | Specify the last date to export reporting data for. |
| Authority identification | Specify the identifier of the tax authority to use in the export file. |
| Posting layer | Select one or more posting layers to consider transactions from. This parameter affects all parts of the report. |
| Should opening balance be shown by turnover | Select this parameter if the opening balance should be affected by the accumulated turnover. This parameter affects only the ZOiS part of the export file. |
| Separate balance | Consider this parameter for main accounts where the corresponding parameter is marked. It affects only the ZOiS part of the export file. |
| Closing transactions | Select this parameter to include closing transactions in the data that is exported. This parameter affects only the ZOiS part of the export file. |
| Include Total main accounts | This checkbox is included in the report dialog box as of version 98.59.49 of the Accounting Books (PL) ER format. It lets you generate a report that includes an account that is defined as Total in the chart of accounts of the legal entity. By default, this checkbox is cleared. Select it if you want your report, including Total accounts, in the ZOiS part. |
| Skip ZOiS part | This checkbox is included in the Report parts section of the report dialog box as of version 78.45.25 of the Accounting Books (PL) ER format. It lets you generate a report that doesn't include the ZOiS part. |
| Skip Dziennik part | This checkbox is included in the Report parts section of the report dialog box as of version 78.45.25 of the Accounting Books (PL) ER format. It lets you generate a report that doesn't include the Dziennik part. |
| Skip KontoZapis part | This checkbox is included in the Report parts section of the report dialog box as of version 78.45.25 of the Accounting Books (PL) ER format. It lets you generate a report that doesn't include the KontoZapis part. |
| Show all dimensions | This checkbox is included in the Ledger transactions section of the report dialog box as of version 98.59.49 of the Accounting Books (PL) ER format. It lets you generate a report that includes information about financial dimensions that are applied to the voucher line in the KodKontaMa and KodKontaWinien fields of the KontoZapis node. |
By default, the Show all dimensions checkbox is cleared. Select it if you want to include the KodKontaMa and KodKontaWinien fields as financial dimensions in the KontoZapis node.
If you select the Show all dimensions checkbox, the KontoZapis node shows all the dimensions.
Use a batch job to generate a SAF Accounting Books - JPK_KR report
A SAF Accounting Books - JPK_KR report for a long period, such as a month or a quarter, can include a large amount of data and take a long time to generate. Therefore, use batch jobs. The dialog box for every SAF report includes a Run in the background tab where you can set up report generation in batch mode. Set the Batch processing option to Yes. For more information, see Batch processing overview.
To review batch jobs or find a generated file, follow these steps:
- Go to Organization administration > Electronic reporting > Electronic reporting jobs.
- Find a line that is related to your job, and then select Show log. If nothing is shown, no messages were produced when the file was generated.
- To view a file, select Show files, find the file that you need, and then select Open.
When you generate an electronic report in batch mode, you can find related batch information and the generated output file as an attachment by going to Organization administration > Electronic reporting > Electronic reporting jobs.
For more information about how to configure a destination for each ER format configuration and its output component, see Electronic reporting (ER) destinations.