KPiR

By iworks (Marcin Pietrzak)

★ 5.0/5 (1 ratings)0+ active installationsVersion 1.3.0

Effortless Polish bookkeeping for small businesses—track expenses, manage VAT, and generate JPK reports directly from your WordPress dashboard.

Description

KPiR streamlines small business bookkeeping for entrepreneurs in Poland. It’s designed for simplicity, compliance, and seamless integration with your WordPress website.

Features:

  • Manage small business bookkeeping tailored to Polish regulations.
  • Generate JPK V7M and JPK-VAT XML reports for Polish tax compliance.
  • Track expenses, assets, and VAT rates, including car-related expenses with customizable rates (20%, 75%, 100%).
  • Annual and monthly financial reporting.
  • Input sanitization and validation for data integrity and security.
  • Localization support (Polish translation included).
  • Regular updates for compatibility with the latest WordPress and Polish tax law changes.

Who Is It For?
KPiR is perfect for small business owners, freelancers, and sole proprietors in Poland who need a straightforward, WordPress-integrated solution for managing their accounting records and fulfilling local tax obligations.

Open Source & Development:
KPiR is open source and actively maintained, with contributions from the community and regular updates reflecting changes in Polish tax regulations. The plugin is available also on GitHub.

Installation

There are 3 ways to install this plugin:

1. The super easy way

  1. In your Admin, go to menu Plugins > Add
  2. Search for KPiR
  3. Click to install
  4. Activate the plugin
  5. A new menu KPiR will appear in your Admin

2. The easy way

  1. Download the plugin (.zip file) on the right column of this page
  2. In your Admin, go to menu Plugins > Add
  3. Select button Upload Plugin
  4. Upload the .zip file you just downloaded
  5. Activate the plugin
  6. A new menu KPiR will appear in your Admin

3. The old and reliable way (FTP)

  1. Upload kpir folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. A new menu KPiR will appear in your Admin

Changelog

Project maintained on GitHub at iworks/kpir.

1.3.0 – 2026-11-16

  • Added ability to import purchase invoices from KSeF XML files.
  • Added ability to import sales invoices from KSeF XML files.
  • Added fallback mapping for KSeF XML date field for purchase and sale invoices.
  • Added fallback mapping for KSeF XML purchase amount and VAT fields (P_13_2, P_14_2).
  • Added NIP unification – removed “-“, ” “, and leading “PL” to make it consistent and compatible with KSeF NIP format.
  • Added PHPUnit tests.
  • Added ABSPATH guards to all template parts and option files.
  • Added translators comments for strings with placeholders.
  • Code quality improvements in KSeF XML field mapping.
  • Fixed all Plugin Check (PCP) errors and warnings.
  • Fixed fatal error when importing a KSeF invoice with missing purchase amount.
  • Improved escaping in admin pages, reports, and JPK XML templates.
  • Migrated the build process from Grunt to Bun.
  • Prevent duplication of KSeF data on an invoice.
  • Removed default sorting for invoices in “imported” or “trash” status.
  • Replaced date() with gmdate()/current_time() to avoid timezone issues.
  • Secured all database queries with $wpdb->prepare().
  • The iWorks Options module has been updated to 3.1.2.

1.2.0 – 2026-03-24

  • Added KSeF number to JPK reports.
  • Added JPK V7M (3) support.
  • Added simple VAT inconsistency check.
  • Added ability to chose tax payer type.

1.1.4 – 2026-03-20

  • Massive improvements for cash pit feature.
  • Added comprehensive DocBook (PHPDoc) comments to invoice post type class.
  • Improved code documentation with proper parameter and return value documentation.
  • Enhanced method descriptions for better code maintainability.
  • Added @since tags and standardized documentation formatting.

1.1.3 – 2026-02-21

  • Fixed issue with add_value when some part of value is empty.
  • The iWorks Options module has been updated to 3.0.9.

1.1.2 – 2025-06-25

  • Fixed issue with use cash pit option.

1.1.1 – 2025-06-20

  • Added filter_add_sortable_columns, apply_filter_order_date_of_payment, get_custom_field_basic_type_name methods to invoice post type.
  • Added sort by payment date.
  • Added use_cash_pit property and action_init_set_options() method; constructor hook adjusted.
  • Code quality improvements and documentation update.
  • Improved code formatting and consistency.
  • Removed quick_edit from row_actions.
  • The iWorks Options module has been updated to 3.0.1.
  • Updated file paths to use __DIR__ constant for better compatibility.

1.1.0 – 2025-05-08

  • The iWorks Options module has been updated to 3.0.0.
  • The cash method of settling income tax has been added. #1.

Older changelog entries (before 1.1.0) are available in CHANGELOG.md.