Sales on five Amazon EU markets, hundreds of invoices a month, every country with a different VAT rate and all of it issued by hand in Subiekt nexo PRO. Today an application next to Subiekt pulls orders from SP-API, determines the country and rate and issues an invoice for every order. It also passed the Amazon security review.
Client
Amazon seller, 5 EU markets
Industry
E-commerce
Services
Integrations, Automation
Duration
3 weeks
Year
2025
- Before
of invoices a month issued by hand
hundreds
EU markets, each with a different VAT rate
5
determined the country and rate for every invoice
1 person
Situation
The client sells on Amazon in five EU markets and keeps sales documents in Subiekt nexo PRO (a Polish ERP) on a computer at the company. Every order needs an invoice with the right country and VAT rate, and there are hundreds of orders a month.
The question was: can the invoices create themselves, in the same Subiekt the accounting team works in.
What was not working
Amazon provides a panel and reports, Subiekt provides an invoice window. Between them sat a human.
Someone went through orders market by market, determined the delivery country and VAT rate and retyped the invoice into Subiekt.
Five markets meant five views and five sets of rates; easy to make a mistake or invoice an order twice.
The work grew with sales, and accounting received documents late.
What we built
A C# .NET WPF desktop application on the same machine as Subiekt nexo PRO, with no cloud server and no middleman on a subscription. It talks to Amazon SP-API on one side and to Sfera (the Subiekt SDK) on the other, and keeps its own state in MS SQL.
Order retrieval from five EU marketplaces through SP-API, in one application.
Transaction classification: country and VAT rate determined for every order according to rules written down with the client's accountants.
Sales invoice (FS) created in Subiekt through Sfera, with the customer, line items and the rate matched to the country.
Dashboard: how many invoices were created, breakdown per country, classification result and a list of cases for a human to decide.
Amazon security review
An application that reads orders also reads buyer data: name, address, contact details. Before allowing it into production, Amazon checks how the application stores that data, who has access to it and how long it is kept. Without that review the integration would have stayed in testing.
We built Amazon's requirements in from the first week, before the first table in MS SQL existed.
How it works day to day
The application periodically asks SP-API for new orders from each of the five markets. Each one gets classified, then the application matches the customer and line items in Subiekt and creates an FS through Sfera.
The Amazon order ID is stored in MS SQL together with the invoice number. If the same order comes back from the API a second time, the application recognizes it and does not create a second document. An order that cannot be classified unambiguously goes to the exceptions list in the dashboard, not into Subiekt with a random rate.
Results
One hundred percent of sales invoices for Amazon orders are created without manual work, across all five markets. From kick-off to production took 3 weeks, security review included.
The code and the database belong to the client, on their own computer, with no subscription for a middleman.
What we learned
We wrote down the classification rules with the client's accountants before writing code. Country and VAT rate are tax decisions, not programming ones; our job is to apply them without exceptions and to flag when a rule does not fit.
And a dose of honesty: if you sell on one market and manual invoicing takes an hour a week, an off-the-shelf integrator on a subscription will probably do. Here, five countries, different VAT rates and Subiekt nexo PRO on a computer at the company rather than in the cloud were what settled the case for custom code.
Data flow
01Order on one of 5 Amazon EU markets
02Retrieved through SP-API
03Classification: country and VAT rate
04Customer and line items in Subiekt
05FS through Sfera in Subiekt nexo PRO
06Dashboard: invoices per country, exceptions
Results in numbers
of sales invoices without manual work
100%
EU marketplaces in one application
5
scope
from kick-off to production, security review included
3 wks
- What's next
The application is under maintenance. Have a similar process, on Amazon or Allegro? A free consultation takes 30 minutes, and an audit for PLN 699 net is a few days of work and a document covering architecture, scope, risks, a fixed price and a deadline; we deduct the full amount from the implementation price: get in touch.
- Stack
C# .NET WPF
AMAZON SP-API
SFERA SDK
MS SQL
SUBIEKT NEXO PRO
- Have a similar process?
Tell us what eats your hours.
We'll get back within 4 business hours with questions, or straight away with a proposal for how to wire it up. No strings attached.
Practice management system data · pseudonymization · team chat
Reports from the practice management system collected automatically every evening, questions about the data asked in plain language in chat. The data never leaves the clinic.