Home › Guide › Most common JPK_KR_PD errors
Guide

Most common JPK_KR_PD errors and how to avoid them

PewnyJPK.pl team·Last updated: 26 July 2026
A magnifying glass over a printed table, one field circled in blue under the lens
Illustration generated by AI.
The most common errors in a JPK_KR_PD file are trial balance (ZOiS) turnover that does not agree with the journal entries, an unbalanced opening balance, wrong control totals C_1–C_5 and faulty counterparty tax IDs (NIP). They are usually not the accountant's mistakes but the result of the export from the accounting system, and they pass the Ministry of Finance schema validation unnoticed.

JPK_KR_PD is a large XML file generated by the accounting system. The Ministry of Finance (MF) gateway only confirms that the file has the correct shape (compliance with the XSD schema). It does not check whether the books it contains are internally consistent. Generator defects therefore only come to light during a tax audit, when it is too late for a calm correction. Below we describe the most common ones, with references to the regulations.

1. Trial balance does not agree with the journal entries

The turnover shown in the trial balance (zestawienie obrotów i sald, ZOiS) must result from the actual entries in the journal (Article 18(1) of the Polish Accounting Act). In practice this is the most common and most serious discrepancy: the sum of debit/credit entries for a leaf account does not match the turnover in the trial balance, even by a few grosz. A separate error is incorrect aggregation of synthetic accounts from their analytical accounts.

2. Unbalanced opening balance and broken double entry

Total debits of the opening balance must equal total credits, and in every entry total debits = total credits (Article 15(1) of the Accounting Act). An unbalanced opening balance, or an entry whose sides do not balance, is a hard error: books containing such an entry can hardly be considered reliable.

3. Wrong control totals C_1–C_5

The control totals section declares, among other things, the number of journal entries, the total amount of operations and the debit and credit turnover. These values must agree with the actual content of the file. A mismatch (e.g. C_2 ≠ sum of D_11) is a typical symptom of an incomplete or incorrectly assembled export.

4. Faulty counterparty identifiers (NIP, PESEL)

5. Dates outside the period and broken chronology

The posting date must fall within the period covered by the file, and journal numbering should be continuous and follow the chronology of events (Article 14 of the Accounting Act). Entries dated outside the range, or numbering that runs against the dates, break the audit trail.

6. Errors in the presentation of balances and P&L accounts

Profit and loss accounts (groups 4, 5 and 7 of the Polish chart of accounts) are closed at the end of the year, so a non-zero opening balance on such an account suggests an error. Similarly, a balance on the "wrong" side of an account (e.g. cash or bank with a credit balance) or a two-sided balance on an account that is not a settlement account are typical presentation defects produced by accounting systems.

How to avoid these errors

  1. Validate the file substantively before submission: beyond the XSD, reconcile the trial balance with the journal and check balancing and control totals.
  2. Check after every export from the accounting system: most errors come from the generator, not from the postings.
  3. Verify counterparty tax IDs (check digit + VAT whitelist).
  4. Compare the file with the expected entity: NIP and tax office code, so you do not send another company's file.

We will check your file with over 80 checks

Trial balance reconciled with the journal to the grosz, control totals, tax IDs, the VAT whitelist and a control balance sheet. From PLN 1,500 net, report in English within 8 business hours.

Order file validation

FAQ

Will the MF gateway detect a substantive error in JPK_KR_PD?

No. The Ministry of Finance gateway only validates compliance with the XSD schema, i.e. the structure of the file. It does not check whether the books balance, whether the trial balance turnover agrees with the journal or whether the control totals are correct. Substantive errors pass the MF validation "green".

What is the most common error in JPK_KR_PD?

The most common ones are: trial balance (ZOiS) turnover that does not agree with the journal entries, an unbalanced opening balance, wrong control totals C_1–C_5 and faulty counterparty tax IDs (NIP). They usually result from the export out of the accounting system, not from a manual mistake.

How do I check a JPK_KR_PD file before sending it to the tax office?

In addition to XSD validation, run a substantive validation: reconcile the trial balance with the journal to the grosz, check balancing, control totals, the correctness of tax IDs and the chronology of dates. The PewnyJPK.pl service runs this kind of check (over 80 rules) and reports in English.

Free PDF + newsletter

JPK_KR_PD checklist by email

20 points the Ministry of Finance gateway does not check, with explanations and a calendar for the 2027 season. We send it once you confirm your sign-up, followed by new guide articles and changes to JPK_KR_PD. Unsubscribe with one click from any email.