Comarch ERP Optima integration with your store, Allegro and BaseLinker

VulCode, a software house from Cracow, Poland, integrates Comarch ERP Optima with your custom-built store, Allegro (Poland's largest online marketplace), BaseLinker and payment gateways when Comarch e-Sklep and e-Sale are not enough. Orders, customers and payments reach Optima with no retyping, stock and statuses go back to where you sell, and Optima itself sends invoices to KSeF, Poland's national e-invoicing system. The Comarch Optima integration costs from PLN 999 (about EUR 220) and usually takes 2-3 days, and the free quote comes back within an hour.

Comarch Optima

Where Optima ends and the integration begins

Optima handles KSeF, accounting, payroll and the bank. The integration feeds it the sales data it cannot see.

Comarch ERP Optima is a program for small and medium firms and accounting offices, available on your own server or in the Comarch Cloud on a subscription. It sends and receives KSeF invoices, connects to the bank and has its own online sales tools: Comarch e-Sklep and Comarch e-Sale.

You need your own integration when you sell through a custom store, a platform or a channel these tools do not cover. Then we connect your system to Optima by the route your version and licence allow, or, if you sell through BaseLinker, often through it.

On-premise or in the cloud
The version decides where the integration can connect from. We settle it in the first call.
Certified applications
Comarch lists applications certified "Works with Comarch ERP Optima". We first check whether one already solves your problem.
KSeF 2.0 in Optima
Comarch help describes the production KSeF 2.0 integration with certificate sign-in from 1 February 2026.

trade, warehouse, accounting, KSeF

Comarch ERP Optima

What we connect Optima to

Optima and what we connect to it: sales channels and services, each with the direction and kind of data.

01 / 06

  1. Custom-built store

    Comarch ERP Optima Custom-built store

    orders into Optima, stock and prices to the store

  2. BaseLinker

    Comarch ERP Optima BaseLinker

    marketplace orders to invoice

  3. Allegro

    Comarch ERP Optima Allegro

    sales, payments and returns from the platform

  4. Client panel

    Comarch ERP Optima Client panel

    invoices, payments and statuses for your customers

  5. KSeF

    Comarch ERP Optima KSeF

    sending and receiving invoices from Optima

  6. Payment gateways

    Comarch ERP Optima Payment gateways

    payments into settlements

What to set up in Optima for KSeF

An integration cannot replace program setup. Comarch help describes these steps, and invoices depend on them.

StepWhereWhy
A KSeF token or certificateThe KSeF 2.0 Taxpayer ApplicationOptima signs in to KSeF with it on behalf of the company.
Permissions in KSeFThe KSeF 2.0 Taxpayer ApplicationThe person or office receiving invoices needs permissions granted.
Operator permissionsProgram configuration, operator cardA specific operator holds the right to send e-invoices and receive the official KSeF receipt confirmation (UPO).
Special modesOptimaOffline, offline24, KSeF failure and total failure each have their own handling.

The operator account the integration uses gets only the permissions it needs.

A Comarch solution or a custom integration

Comarch has its own online sales tools. We do not rebuild what already works out of the box.

A Comarch solution is enough

  • The store can run on Comarch e-Sklep.
  • You can handle marketplaces through Comarch e-Sale.
  • A certified application already does what you need.

Configure the ready tools, usually with a Comarch partner. No custom code needed.

You need a custom integration

  • The store or platform is custom-built.
  • Data has to flow by your rules, e.g. kitting, B2B discounts, several warehouses.
  • Optima should feed a client panel or reports outside the program.

A connector between your system and Optima, via the route available for your version, with a queue and an event log.

A store order as a document in Optima

A sample mapping. Document types and series are agreed with your accountant.

StoreComarch ERP Optima
order accepted
an order or reservation document

reserves the goods in stock

order paid
a sales invoice or a receipt

depending on whether the customer wants an invoice

business customer
a contractor with a tax number

looked up by tax number, no duplicates

product in the cart
an item in the catalogue

by code or EAN

payment via a gateway
an entry in settlements

so the invoice does not stay unpaid

shipping and tracking number
a goods-out document and description

stock changes only once

Optima sends the invoice to KSeF, and the KSeF number can flow back to the store and client panel if you want to show it there.

How a Comarch Optima integration project runs

A sample integration rollout. Details depend on your Optima version and who implemented it.

  1. Step 01

    Implementation review

    Version, licences, modules, on-premise or cloud, and which Comarch tools already run.

    Output the chosen integration route

  2. Step 02

    Ready-made tools

    We check whether Comarch e-Sklep, e-Sale or a certified app already solves your problem. If so, no custom code is needed.

    Output configuration or code

  3. Step 03

    Comarch partner

    If a Comarch partner implemented your Optima, we agree configuration changes with them so we do not work against each other.

    Output a split of work with the partner

  4. Step 04

    Data map

    Document types, series, warehouses, price lists and settlements agreed with accounting.

    Output written rules

  5. Step 05

    KSeF in Optima

    We check that Optima has a KSeF token or certificate and the permissions granted. The integration's operator account gets only the permissions it needs.

    Output Optima ready to send invoices

  6. Step 06

    Connector on a company copy

    Building and testing on a data copy, comparing documents with hand-issued ones.

    Output signed-off test documents

  7. Step 07

    Errors and returns

    On the copy we also run errors, cancellations and returns. The integration logs every operation and retries the ones that failed on its own.

    Output tested errors and returns

  8. Step 08

    Launch and care

    Switching on in production, watching the first days and reacting to program updates.

    Output orders with no retyping

07

What we ask before quoting

The answers decide the scope, and whether code is needed at all.

  1. 01

    Program and access

    Version and installation

    Optima on your server and in the Comarch Cloud give external applications different access options.

  2. 02

    Implementation partner

    If a Comarch partner implemented Optima, we agree configuration changes with them so nobody works against anyone.

  3. 03

    Invoice or receipt

    The store must know when a customer wants an invoice, as that decides the document and its route to KSeF.

  4. 04

    Settlements from gateways

    A gateway payment should settle the invoice in Optima, or accounting pairs payments by hand.

  5. 05

    Several warehouses

    Store stock can be the sum of several warehouses or just one. The decision must be written down.

Common questions about Optima integration

Click a question to see the answer.

How much does the Comarch Optima integration cost?
The Comarch Optima integration costs from PLN 999 (about EUR 220). The figure grows with the number of systems, data directions and exceptions to handle. A typical integration takes 2-3 days, and the free quote comes back within an hour. We quote it under our API and integrations service.
How long does it take?
Usually 2-3 days. The exact dated schedule comes with the free quote, and if anything is going to move, you know in advance.
Does Optima send invoices to KSeF itself?
Yes. Optima has a KSeF integration set up with a token or certificate from the Taxpayer Application. Our integration supplies the data the invoice is built from.
My Optima is in the Comarch Cloud. Can it be integrated?
Usually yes, but the installation type affects access for external applications, so sometimes an intermediary such as BaseLinker is the better route. We check that first, before quoting.
Can you work with our Comarch partner?
Yes, and often that is best. The partner knows the program configuration and we write the code on your system's side.
Can Optima data reach a client panel?
Yes, invoices, payments and statuses can be shown to your customers in a panel, with no access to Optima itself.
Will the Comarch Optima integration code be mine?
Yes. Once the work is accepted and paid in full, the economic copyright in the code passes to you. You have access to the repository from the first day, and after acceptance you get it with run instructions. Open source libraries keep their own licences.
How do you check the Comarch Optima integration before launch?
On the provider's test environment or on a copy of your system. We run real scenarios, including errors, cancellations and returns, and only then switch the integration on in production.
What if the Comarch Optima integration stops working?
The integration retries failed operations by itself and logs every one, and when the problem does not go away you get a notification. We fix bugs that come from our work under warranty, and you get 90 days of support included after launch.

Sources

The program and KSeF in Optima as described by Comarch's site and help.

Describe your project.

A free quote comes back within an hour during working hours.