A production-grade integration service that connects a webshop to the Pantheon ERP - with automated Croatian fiscalization and invoice delivery by email. From order to fiscalized invoice, with no manual step.
Backend architecture · integration build · delivery
NestJS · BullMQ · PostgreSQL · MS SQL Server
2026
In production
In most installations a webshop and the Pantheon ERP are two separate worlds. Orders get re-keyed by hand, invoices are issued manually, and Croatian fiscalization - a legal requirement - either sits outside the flow or is handled by a separate tool.
The result is familiar: a lag between order and invoice, re-keying errors, and a dependency on someone running the same sequence of steps every day.
What was needed was a production-grade service that takes an order from the webshop and carries it all the way to a fiscalized invoice emailed to the customer - reliably, repeatably, and without anyone touching it.
We built a forward-only integration service: the webshop sends orders in one direction and the middleware does the rest. A clean contract on the front, safe writes and fiscalization on the back - simple to reason about, hard to knock over.
The service runs as two independent processes from a single codebase, so each can scale and fail on its own without taking the other down.
Authenticates and validates incoming orders, checks for duplicates, enqueues the job and returns 202 Accepted immediately. The webshop never waits on the ERP - an ERP outage doesn't break checkout.
Ensures the customer, syncs the order into Pantheon, runs fiscalization, renders the PDF invoice and sends the email - with retries and backoff at every step, and a dead-letter record when even that doesn't get through.
The service ships as a Docker image, so it runs the same anywhere - and the client picks where.
The service runs inside their network, next to Pantheon, without exposing the ERP outward. They get the image, docker-compose configuration and runbooks for deploy, backup and rollback. Data never leaves their environment, and we stay available for support and upgrades.
We run, monitor and maintain the service, with separate production and test environments. The client gets a URL and a token, and never has to think about the server, updates or certificates. All it takes is a secure network path to their Pantheon instance.
The service is in production. The whole flow runs with no manual steps: order ingest → customer ensure → ERP order & invoice → fiscalization → PDF → email to the customer.
Alongside production there is a separate test environment with demo fiscalization, where integrations are developed and verified before they reach real invoices.
The service is built as a product, not as a bespoke build for a single client. The contract facing the webshop, the Pantheon access layer and the fiscalization layer are all generic; what differs from client to client - credentials, certificate, warehouses, tax rates, invoice templates, business rules - is environment configuration.
In practice that means onboarding a new Pantheon user comes down to configuration and a check on the test environment, not a new development cycle.
A fit for merchants running Pantheon ERP who want webshop orders to end up as fiscalized invoices without manual work - whatever platform powers the webshop, because the webshop integrates against our published spec.
Tell us what you're building. We'll come back within one business day with a clear plan, a timeline, and a real human to talk to.