
Centas Invoicing for OpenCart — invoices from orders, i.SAF and payments (Lithuania)
Centas for OpenCart 4.x, 3.x, 2.3 (Lithuania): invoices from the order page free; Pro adds status rules, payments, stock and a journal. A licence for life.
- Compatibility
- OpenCart 4.0.2.x–4.1.x, 3.0.x, 2.3.0.2 · interface language: English, Lietuvių
- 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
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 seller gets
The order page gets a “Centas” box: the company code and VAT code fields, the buyer line, a table of rows with prices without VAT and rates, the total with the invoice number and the “Send invoice to Centas” button.
In the admin
Extensions → Extensions → Modules → Centas Invoicing: the tabs “Connection”, “Buyer”, “Invoice”, “Pro” and “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–4.1.x, 3.0.x or 2.3.0.2; the cURL extension; PHP 7.0 or newer.
A Centas project with the WS API and the project token; one token belongs to one project.
All amounts go in euros: an order in EUR, a store in EUR, or a EUR rate in the store; without euros the sending is refused with a reason.
A coupon discount is taken off the row prices by rate, the Centas API has no discount row, so the invoice shows the reduced prices.
An invoice is final in Centas: the module cannot look up, reverse or delete a document, as the API gives no call for it. Corrections are made in Centas, then the link can be removed and the order sent again.
When the total does not add up to the order (for example a fixed-amount fee with no rate) or a VAT rate is not recognised, the sending stops with an explanation before the call.
Statuses do not come from Centas because there are no webhooks: invoices and payments go from the store, and the payment check and stock are read on a schedule or by a button. A very big catalogue is read in portions of up to 20 MB.
Version history
For OpenCart 4.x, 3.x and 2.3: Centas invoices from the order page with a preview, company and VAT codes, numbering, VAT by tax classes, i.SAF codes, the coupon in the row prices, duplicate…
Frequently bought with Centas Invoicing


Cart Discounts (Amount-Based and N+1) for OpenCart

Finvalda Sales Sync for OpenCart — sales, clients, stock and prices in Finvalda (Lithuania)

Abandoned Cart Recovery for OpenCart 2.3, 3.x and 4.x
Full module description
Centas Invoicing for OpenCart 4.x, 3.x and 2.3 creates invoices in the Lithuanian accounting program Centas straight from store orders through its WS API: a button on the order page sends the rows with prices without VAT, VAT rates and i.SAF codes, and the invoice total has to match the order total, otherwise nothing is sent. Amounts are always in euros.
What you need from Centas. A Centas project with the WS API switched on and the project token (API raktas): WS access is a separate Centas module for the enterprise, and Centas support (info@centas.lt) switches it on and gives the token. The module adds no fee per document; you agree the WS terms with Centas.
What the seller gets
The order page gets a “Centas” box: the company code and VAT code fields, the buyer line, a table of rows with prices without VAT and rates, the total with the invoice number and the “Send invoice to Centas” button. After sending, the box shows the document, its number, the total, the status (“In Centas”, “Failed”, “Link removed”) and a button to remove the link, so that you can send again after the document was deleted in Centas.
An invoice never goes twice: every order has one record, taken before the call. If Centas does not answer in 8 seconds, the row gets the status “No answer — check Centas” with the buttons “It is in Centas” and “Send anyway”, and the cron does not repeat it. The Centas WS API has no call to look up a document, no storno and no webhooks, so the module guesses nothing: the decision is the owner’s, and a document is corrected or deleted in Centas itself. When Centas refuses, its reason is shown in words in the order, with “Retry” and “Remove” buttons and a note in the order history.
The company code (Įmonės kodas) and the VAT code (PVM kodas) fields are created by a button on the “Buyer” tab as two optional checkout fields named in English and Lithuanian. Empty fields do not block the checkout, and the code can be typed by hand on the order page.
In the admin
Extensions → Extensions → Modules → Centas Invoicing: the tabs “Connection”, “Buyer”, “Invoice”, “Pro” and “Licence”. On the first one you paste the token and press “Check connection”: the module saves the settings and only reads the product list of the project (nothing is written in Centas). The token is stored encrypted and never shown, and a checkbox removes it.
The “Invoice” tab sets the numbering (prefix + order number, or a Centas series with trans_id), the invoice date, the payment term in days, the unit, the product code (model or SKU), the shipping service code, the VAT mode (the tax classes of the shop, “prices already include VAT” with a rate, or not a VAT payer), the i.SAF codes by rate such as 21=PVM1, the flag to leave invoices out of i.SAF, the accounts sask_pajamos, moketpvm and pirkskol, projektas, who issued the invoice and the position, and a note on the invoice.
Without a key the “Pro” tab opens with an explanation and disabled fields, and saved Pro values are not shown.
Pro creates invoices by itself when an order reaches a chosen status: the row is queued in the status handler and sent in the background, never during the checkout, and network failures and error pages are retried twice 10 minutes apart. Payments go to Centas through payments/import by chosen statuses or by a button on the order, with a unique RefNr per shop and order, the IBAN and the PaymentType (payment methods such as cash on delivery are skipped by status, the button still sends them). The “Check payments in Centas” button compares the payments with payments/export: found or not.
Bulk sending queues invoices or payments of orders in a status from a chosen date, up to 200 per click. Stock (total or one warehouse) and, if you want, prices are pulled from products/export by model or SKU in portions of 200, and the store products go to products/import in portions of 50, every hour or by a button. Up to three more Centas projects: a token and buyer countries; an order goes to the first project that fits or to the one picked on the order page, and without Pro such an order is refused and does not reach the main project. The journal in the Sales menu shows every document and payment with its status, filters and the actions “Retry”, “Send anyway” and “It is in Centas”.
How it works, step by step
- Install the archive for your OpenCart version and install the module in Extensions → Modules.
- Ask Centas support to switch on the WS API for the project and get the token.
- On the “Connection” tab paste the token and press “Check connection”.
- On the “Buyer” tab create the company code and VAT code fields; on the “Invoice” tab check the numbering, VAT, i.SAF codes and accounts.
- Open an order, look at the rows and the total and press “Send invoice to Centas”.
- For Pro: a key or the trial on the “Licence” tab, then statuses and payments on the “Pro” tab.
Under the hood
- Centas WS API (ws.centas.lt/v1): documents/create, payments/import, payments/export, products/export, products/import; the project token is stored encrypted and never written to the log.
- The invoice rows go with prices without VAT, a rate and an i.SAF code; the coupon discount is taken into the prices by rate, shipping and other totals go as separate rows; the sums are compared with the order before the call.
- Background work (invoices by status, payments, bulk actions, stock) runs from the OpenCart 4 scheduler every hour and from page visits; a server cron at the address on the “Pro” tab (every 5 minutes) makes it quicker.
- The call timeout is 8 seconds (9 for exports and imports). A call that got no answer is not repeated by the cron itself.
- The interface is in English and Lithuanian; the note on the invoice is in Lithuanian for Lithuanian buyers and in English for the others.
Installation
- Extensions → Installer: upload the archive for your version without renaming the file (OpenCart 4 — cc_centas.ocmod.zip, 3.x — cc_centas-oc3.ocmod.zip, 2.3 — cc_centas-oc23.ocmod.zip; for 2.3 the contents of the upload/ folder are copied to the store root).
- For 3.x and 2.3: Extensions → Modifications → Refresh.
- Extensions → Modules → Centas Invoicing: install it and open the settings.
- On the “Connection” tab paste the project token and press “Check connection”.
- For Pro: enter the key or start the trial on the “Licence” tab.
Selling on WooCommerce? There is a separate plugin for it: Centas Invoicing for WooCommerce.
Questions
about the module
Didn't find the answer? Message us on Telegram and we'll reply within a business day.
Is this the official Centas module?
No, it is an independent Centas integration by CatCode. Centas is a trademark of its owner.
What do I need to start?
A Centas project with the WS API switched on and the project token. WS is a separate Centas module for the enterprise, and Centas support switches it on.
In which currency are invoices issued?
Always in euros. If the order or the store is in another currency, the store EUR rate is used; without EUR the sending is refused with a reason.
Can I reverse or correct an invoice?
The Centas WS API has no call for it, so the module does not do it: the document is corrected in Centas, then in the order you can remove the link and send again.
What if Centas did not answer?
The row gets the status "No answer — check Centas": the invoice may or may not have been created. Check in Centas and press "It is in Centas" or "Send anyway". The module never sends a second time on its own.
How do the company and VAT codes work?
A button on the "Buyer" tab creates two optional checkout fields. The code can also be typed by hand on the order page.
Are statuses updated from Centas?
Centas has no webhooks. The module sends invoices and payments itself, checks payments by a button, and reads stock and prices every hour (Pro).
Can I use several Centas projects?
Yes, in Pro up to three more projects: a token and buyer countries. Without Pro such an order is refused and does not go to the main project.
Which OpenCart versions?
OpenCart 4.0.2.x–4.1.x, 3.0.x and 2.3.0.2: three separate archives in one product.
Is the licence for life?
Yes, for OpenCart it is a one-time payment and a licence for life, for two sites.
What happens after the trial?
Pro turns off, invoices queued by status stop with a reason, and the free part keeps working.
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.




















