Skip to content

JPK — Standard Audit File for Tax

Machine translation from the Polish original — editorial review pending.

The original of this page changed after it was translated — the content may be out of date.

JPK (Jednolity Plik Kontrolny, the Polish Standard Audit File for Tax) is a set of XML files in which a taxpayer passes data from its records to the tax office. Some are filed monthly, others only when the authority asks for them during an audit. Smakład produces JPK files from the same documents it uses for the books: invoices, daily till reports and warehouse documents.

  • VAT Act — art. 99 (returns) and art. 109(3) (records).
  • Minister of Finance regulation of 15.10.2019 on the detailed scope of data in VAT returns and records (as amended for KSeF).
  • Tax Ordinance — rounding return amounts to whole złoty (art. 63 § 1) and keeping records until the limitation period ends (art. 86 § 1).
  • Accounting Act, CIT and PIT Acts — for JPK_KR_PD.
File When it is filed What it contains
JPK_V7M / JPK_V7K (version 3) monthly (or quarterly for the return) — by the 25th of the following month VAT sales and purchase records plus the return
JPK_FA (4) on request of the authority all invoices issued in the period
JPK_MAG on request of the authority stock movements from posted documents, one file per warehouse
JPK_KR_PD once a year accounting books for income tax

Version 3 of the structure applies from the February 2026 period. Before generating the file the accountant sees a preview: the number of sales and purchase rows, output and input VAT, the return and the validation result. A file with errors is not saved.

Where the rows come from:

  • Sales invoices and corrections — in the period in which the tax point arises; with the KSeF number or the OFF, BFK or DI marker, as the structure requires.
  • Daily reports from the fiscal till — as an RO row; they enter the register automatically when a shift is closed, and a report from a separate cash register can be added by hand.
  • Invoices for receipts — marked FP, in the period of issue; they do not increase output VAT, because the sale is already in the daily report.
  • Advance and final invoices — the advance in the month it was received, the final invoice with the remaining amount only.
  • Purchase invoices — in the period in which the right to deduct arises (art. 86(10), (10b), (11)). By default this is the month the invoice was received; while the invoice is a draft, the period can be moved to one of the next three.
  • Bad-debt relief (ulga na złe długi, art. 89a and 89b) — adjustments for unpaid invoices, with deadline checks.

GTU codes and procedure markers are taken from the invoice lines. The JPK_V7(3) structure has no split-payment (MPP) marker — the split-payment obligation is shown on the invoice itself.

The sales and purchase registers show exactly the rows that will go into the file, with totals per rate; they can be exported to CSV. Warnings above the register (e.g. a document without NIP) should be cleared before generating JPK. Output VAT in the register matches the JPK_V7M preview.

Every generated file is stored in an archive together with its SHA-256 checksum. A stored file cannot be changed or deleted; downloading returns it byte for byte. A mistake is fixed by a correction (filing purpose 2), never by editing. Generating the same period again gives the same rows.

  • JPK_FA(4) covers all invoices issued in the chosen period.
  • JPK_MAG is built from posted warehouse documents (PZ goods receipt, WZ goods issue, RW internal issue, MM transfer, PW production output, stocktake, corrections) with their real numbers. Data up to 31.12.2026 uses JPK_MAG(1), from 1.01.2027 JPK_MAG(2). A file spanning both periods is refused. The 1.01.2027 date for JPK_MAG(2) was announced by the Ministry of Finance but has not yet been confirmed in the regulations — if it changes, we will adjust the system. The opening stock (“Opening balance” goods-receipt documents, PZ) is also included in the file, so stock reconciles from day one.

The file with the accounting books for CIT/PIT (JPK_KR_PD(1) structure). The obligation is phased in: for taxpayers with revenue above EUR 50 million from the tax year starting after 31.12.2024, for other JPK_V7M filers after 31.12.2025, and for everyone else after 31.12.2026. Smakład produces the file only after the year has ended and checks, among other things, that entry numbering is continuous, turnovers balance and accounts are tagged.

  1. Complete the company profile: NIP, name, address, e-mail and tax office code. Without this data the system refuses to generate the file rather than produce a wrong one.
  2. Agree with the accountant whether VAT is settled monthly or quarterly.
  3. Before the end of the month, review the VAT registers and warnings.
  4. Generate the file, sign it and send it to the Ministry of Finance (e.g. via e-Deklaracje or the Ministry’s service). Smakład does not send JPK files and does not receive the UPO — the confirmation is kept outside the system.
  5. Provide JPK_FA and JPK_MAG only when requested by the authority during an audit or verification.
  • Domestic reverse charge on the seller side and purchases taxed by the buyer are not yet generated from documents — the accountant enters them.
  • Free-of-charge supplies (e.g. free staff meals, entertainment) and other internal documents (WEW) are not created automatically. The accountant records them once a month with a WEW document, at cost, at the rate for meals (8%) or drinks (23%).
  • A purchase invoice correction that reduces input VAT goes to the month in which the correction was received (for a KSeF correction — the day its KSeF number was assigned), or, if the original invoice was deducted later, to that later month. Sales corrections are reported in the period in which the correction is issued. If the correction of an error must go back to the original period, the accountant moves it.
  • Partial payments are not supported in bad-debt relief.

© 2026 Smakład. Operated by: Future by Life sp. z o.o., ul. Jana Kazimierza 11A lok. 6, 71-620 Szczecin · NIP (tax ID) 9552591446 ·KRS 0001199212