
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.
- 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
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.
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
UBL 2.1, KPD 2025, OIB, numbering, moj-eRačun in Pro.
Frequently bought with eRačun HR


GLS CEE Shipping for WooCommerce — ParcelShop, ParcelLocker and MyGLS labels for Croatia, Czechia, Hungary, Romania, Slovenia and Slovakia

Sidrena Cijena & Cjenik for WooCommerce — the 10.09.2026 price next to every price and a daily CSV/XML price list for Croatia

Fiskalizacija HR for WooCommerce — fiscal receipts to the Croatian Tax Administration CIS (ZKI, JIR, QR)
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
- Fill in the seller, OIB, IBAN and series.
- Assign KPD codes to categories.
- The buyer enters the OIB at checkout.
- A button on the order issues the eRačun.
- 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
- Plugins → Add New → Upload Plugin: pick the zip and activate.
- WooCommerce → eRačun HR: fill in the seller, OIB, IBAN and series.
- KPD tab: assign codes to categories.
- Issue a document on a test order and compare the XML.
- 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.
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.
No reviews yet. Be the first.
No questions yet. Ask one — we answer within 24 hours.
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
Buying the module
—
Charged in UAH; your bank converts it to your currency. EUR price is approximate.



















