Get in touch
WooCommerce

eRačun HR for WooCommerce — UBL 2.1, KPD 2025, OIB and numbering

A structured eRačun from a WooCommerce order for business buyers in Croatia: UBL 2.1 under the HR specification, KPD 2025 by category, OIB at checkout, numbering. Pro sends through moj-eRačun.

Download Free
Pro · one-year licence Staging copies are included. The more sites, the cheaper each one
Compatibility
WordPress 6.2+ · WooCommerce · PHP 7.4+ · classic and block checkout · languages: English, Croatian
Licence
a site + a staging copy, annual
Trial
7 days, no card, one per site
Updated
November 2026
Or all 396 Pro modules with All Access — 4 990 ₴ / year ≈ €98

What Free has,
and what Pro adds

The free version works with no time limit. Pro adds the rest of the features in the table.

Feature Free Pro
UBL 2.1 under the Croatian specification v1.7 ✔ ✔
3,359 KPD 2025 codes searchable in Croatian and English ✔ ✔
A code on the product or on the category ✔ ✔
OIB at checkout with the control digit ✔ ✔
Three-part numbering under a database lock ✔ ✔
A pre-check in plain words ✔ ✔
Lines without VAT: E, Z, AE, O ✔ ✔
The issued XML is kept with the order ✔ ✔
An XML download for your intermediary ✔ ✔
Sending through moj-eRačun, by hand or on a status — ✔
Document and fiscalization statuses — ✔
Buyer registration check and eIzvještavanje — ✔
Payment reporting — ✔
Credit notes for refunds — ✔
Bulk KPD tools — ✔

What it looks like

OIB field at checkout
OIB field at checkout (2)
OIB on the block checkout.
KPD codes
Codes by category.

Key points

What the buyer sees

A buyer from Croatia sees the OIB field at checkout. A wrong number stops the order with a text, and for other countries the field disappears.

What the admin gets

On the KPD tab you search for a code and assign it to a category. A code not on the list is not saved.

How much it costs

The base version is free. Pro costs 990 UAH for a one-year licence. A year of updates, technical support and all Pro features.

The trial starts when you ask

A fresh install is the free version, nothing switches on by itself. The “Try Pro for 7 days” button → e-mail → the key right in the window and by e-mail.

One key — a site and a staging copy

Moving the site? Unlink the licence on the old domain and activate it on the new one yourself. A staging copy (staging., dev.) works with the same key and does not take a site slot. For studios — keys for 5 or 25 sites, or unlimited.

Technical requirements

  • WordPress 6.2+, WooCommerce, PHP 7.4+.
  • For Pro: an agreement with moj-eRačun, login, password and software id.
  • EUR only, domestic deals between businesses only.

Version history

v1.0.0 Current November 2026

UBL 2.1, KPD 2025, OIB, numbering, moj-eRačun in Pro.

Frequently bought with eRačun HR

All Access Need more? All modules (396) under one licence, new ones are added automatically. 4 990 ₴≈ €98 Learn more →

Full module description

eRačun HR turns the order of a business buyer in Croatia into a structured document: UBL 2.1 under the Croatian specification, a KPD 2025 code on every line, OIB and three-part numbering. The XML is built on your server.

We have not sent a single real document through moj-eRačun. The plugin is not legal or tax advice: agree VAT categories, legal reasons and your internal act with your accountant.

What the buyer sees

A buyer from Croatia sees the OIB field at checkout. A wrong number stops the order with a text, and for other countries the field disappears. An order without an OIB gets no eRačun.

What the admin gets

On the KPD tab you search for a code and assign it to a category. A code not on the list is not saved. On the order a button issues the document or names what is missing. Download the XML or, in Pro, send it and refresh the status.

How it works, step by step

  1. Fill in the seller, OIB, IBAN and series.
  2. Assign KPD codes to categories.
  3. The buyer enters the OIB at checkout.
  4. A button on the order issues the eRačun.
  5. Download the XML or send it in Pro.

Under the hood

  • The XML is kept with the order and does not change after sending.
  • A lost answer does not cause a second send: the outbox is read first.
  • The free version connects to no service.

How to install

  1. Plugins → Add New → Upload Plugin: pick the zip and activate.
  2. WooCommerce → eRačun HR: fill in the seller, OIB, IBAN and series.
  3. KPD tab: assign codes to categories.
  4. Issue a document on a test order and compare the XML.
  5. For Pro: paste the key or start the 7-day trial.

The module is not on wordpress.org yet: the free version and Pro are one archive from this page. Without a key it works as the free version.

Questions
about the module

Didn't find the answer? Message us on Telegram and we'll reply within a business day.

@catcode_support Setup, compatibility, activation
Does the plugin pick KPD codes?

No, the choice is yours, and an accountant can help.

Is it for consumers?

No, only for businesses in Croatia. Receipts are covered by a separate module, Fiskalizacija HR.

Can I use it without moj-eRačun?

Yes, in the free version you upload the XML to your intermediary.

Not quite what you are looking for?

We build custom modules for WordPress, WooCommerce, OpenCart and Shopify. Tell us about the task and we'll prepare an estimate.

Order a custom module