Get in touch
OpenCart

eRačun HR for OpenCart 2.3, 3.x and 4.x — HR-CIUS XML, KPD codes, OIB at checkout

eRačun XML and PDF from the OpenCart order page, KPD 2025 codes on categories and products, OIB at checkout. Pro adds sending through mer (moj-eRačun), statuses, the payment report and credit notes. Check the settings with your accountant.

Pro · lifetime licence Staging copies are included. The more sites, the cheaper each one
Compatibility
OpenCart 4.0.2.x and 4.1.x (tested on 4.0.2.3 and 4.1.0.3), 3.0.x (tested on 3.0.5.0), 2.3.0.2 · PHP 7.0+ · admin languages: Croatian, English
Version
v1.0.0 (OpenCart 4)
v1.0.0 (OpenCart 3.x)
v1.0.0 (OpenCart 2.3)
Licence
a site + a staging copy, lifetime
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
eRačun XML (HR-CIUS) and a PDF copy by hand from the order page ✔ ✔
KPD 2025 codes on categories with inheritance, on products and by default ✔ ✔
A product without a KPD code stops the invoice with an explanation ✔ ✔
OIB field at checkout with a check digit ✔ ✔
A pre-check of the document ✔ ✔
Numbering without gaps ✔ ✔
Sending through mer (moj-eRačun) — ✔
Delivery and fiscalisation statuses — ✔
OIB check in AMS — ✔
Payment report — ✔
Automatic invoice by status, only with an OIB — ✔
Credit note by status or button — ✔
KPD codes through CSV, logo, ZIP export — ✔

What it looks like

OIB at checkout
A wrong OIB stops the form.
KPD codes
Categories, inheritance and bulk assignment.
Order page
Invoice, PDF and XML on the order.

Key points

What the buyer sees

At checkout a company buyer enters an OIB. A wrong number stops the form with a message under the field, an empty one passes.

What the admin gets

The KPD tab shows categories with inheritance, a suggestion by code or word and bulk assignment.

How much it costs

The base version is free. Pro costs 1 290 UAH, a one-time payment for a lifetime licence.

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

  • OpenCart 4.0.2.x and 4.1.x, 3.0.x or 2.3.0.2 · PHP 7.0+.
  • For sending: a contract with the intermediary mer and API access. Without it the XML is downloaded by hand.

Version history

v1.0.0 Current November 2026

For OpenCart 4.x, 3.x and 2.3: eRačun XML and PDF, KPD, OIB; Pro adds sending through mer, statuses, the payment report, credit notes.

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 an OpenCart order into a Croatian electronic invoice: XML under HR-CIUS, a PDF copy and a KPD code on every line. In Pro the document goes to the intermediary mer (formerly moj-eRačun).

We have not sent a single document to a real intermediary. Check the process, exemptions and reason texts with your accountant before the first invoice.

What the buyer sees

At checkout a company buyer enters an OIB. A wrong number stops the form with a message under the field, an empty one passes. A buyer without an OIB gets no automatic invoice: a B2C order stays as it is. In Pro the buyer gets a mail and can download the document from the account.

What the admin gets

The KPD tab shows categories with inheritance, a suggestion by code or word and bulk assignment. The order page gives the invoice, PDF, XML and an OIB correction. If a product has no code, no invoice goes out and the reason shows at once. In Pro the same page has sending, the status, the payment report and a credit note, and an intermediary’s refusal shows its text.

How it works, step by step

  1. Fill in the seller data and bank details.
  2. Create the OIB field with a button.
  3. Assign KPD codes to categories or products.
  4. On the order page issue the invoice and download the XML.
  5. In Pro the document goes to the intermediary and the status shows on the order.

Under the hood

  • Data and numbering live in the module’s own tables, and a normal removal keeps them.
  • The intermediary password is stored encrypted.
  • A retry after a timeout first looks for the document at the intermediary.
  • The module does not do eIzvještavanje art. 51, refusals by the buyer, advance invoices or foreign buyers HR:K and HR:G.
  • Fiskalizacija HR does not know about this module: do not run both paths on one order without your accountant.

How to install

  1. Extensions → Installer: upload the archive for your version and keep the file name.
  2. OpenCart 2.3: the Installer copies files only with FTP enabled. Without FTP copy the contents of upload/ to the shop root by hand.
  3. OpenCart 2.3 and 3.x: Extensions → Modifications → Refresh.
  4. Extensions → Modules → eRačun HR (Fiskalizacija 2.0) → install button → Edit.
  5. Open the settings, fill in the seller and bank details.
  6. Create the OIB field and assign KPD codes.
  7. Issue a test invoice and check the XML on the intermediary’s public validator.
  8. For Pro: paste the key or start the 7-day trial.

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
Will the invoice surely be accepted?

No. We check the structure, and the tax content stays with you and your accountant.

Why does no invoice go out?

Most often a product has no KPD code: the panel names the product.

Can I use another intermediary?

Directly only mer. For others download the XML by hand.

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