Stop Packing Cancelled Orders: ERP Cancellation Sync
When a marketplace-cancelled order stays open in your ERP, the warehouse packs it and an invoice goes out. Here is how cancellation sync closes that gap.
If an order cancelled on the marketplace stays open in your ERP, the warehouse packs it, an invoice is issued and stock leaves the shelf; then all of it has to be reversed. Cancellation sync closes that gap: as soon as a cancellation is seen on the channel, the ERP order is closed too and drops off the warehouse list. This article explains where the gap comes from and the rules that make the sync safe.
Where does the gap come from?
In multichannel selling, order flow is built in one direction: a new order is written from the marketplace to the ERP, and invoicing and shipping move forward in the ERP. Fast transfer is good; the sooner an order reaches the ERP, the sooner the warehouse starts. The problem is the changes that come later.
A customer cancels a few hours later, the marketplace drops the order because of stock or delivery time, or the payment is not approved. This shows up in the marketplace panel, but the ERP record does not change by itself. Unless someone closes it by hand, the order waits on the warehouse list like any other order. The result:
- The warehouse picks and packs for nothing.
- An invoice is issued and later needs a cancellation or return invoice.
- Stock looks wrong for a while, and a sale on another channel can be missed.
In order cancellation and partial refund flow we covered the customer-facing steps; here the topic is carrying the cancellation safely to the ERP and the warehouse.
How should cancellation sync work?
Carrying a cancellation to the ERP is not as simple as "delete the order when the channel says cancelled". Three different decisions are needed depending on where the order is in the warehouse:
- Not picked, not invoiced: cancelled in the ERP and removed from the warehouse list. This is the most common case and should be fully automatic.
- Already picked: the system should not delete the order on its own; the item has physically left its shelf. The right behaviour is an urgent alert: do not invoice, do not ship, put the item back, cancel the order in the ERP.
- Already invoiced: it is too late; the system does not touch it and accounting is notified. Cancelling the invoice or issuing a return invoice is the accounting team's decision.
Two safety rules always apply. First, only final cancellations are processed: in-progress states such as "return requested", "dispute" or "return rejected" are not cancellations. Second, the record is read again after every deletion; if the order did not actually drop, the operation is not counted as a success and an alert is raised.
Why "right away" matters
The value of cancellation sync is its speed. Cancellations that arrive overnight should be closed before the warehouse starts picking in the morning. That is why the sync should run continuously and process a cancellation as soon as it is seen. A check that runs once a day misses the evening hours when most cancellations arrive.
The same logic applies to stock: when a cancelled order closes in the ERP, the reserved stock is released and the single stock pool sends the right quantity to the other channels.
What to watch when setting it up
- Document matching: the ERP order's document number must match the marketplace's order or package number exactly. Some channels use the order number, others the package number; matching should respect case and each channel's own format.
- Rewrite protection: an order that was cancelled and removed from the ERP must not be written again in the next transfer run as "missing from the ERP".
- One decision, one alert: the same order should not raise a new alert on every run; each order's decision is made once and kept on record.
- A backlog list: cancelled orders invoiced before the sync went live should be collected on a separate list so accounting can close them in one go.
For the ERP side of the setup in general, see Logo, Mikro and SAP ERP integration.
How it works with Bulutegra
Bulutegra watches marketplace cancellations continuously and carries them to the ERP with the three rules above: an unpicked order is cancelled in the ERP and drops off the warehouse list, a picked order raises an urgent alert, and an invoiced order is reported to accounting. Every decision stays on record; you can type an order number to the panel assistant and ask where that order stands in the ERP. For the other modules, see Solutions.
To see how it works on your own channels, explore the live demo.
Frequently asked questions
Why does a marketplace-cancelled order stay open in the ERP?
Because the order was written to the ERP before it was cancelled. The integration transfers new orders quickly; when the customer or marketplace cancels a few hours later, that information does not reach the ERP record on its own. Unless someone closes it by hand, the order waits on the warehouse list.
What should happen if a cancelled order has already been picked?
It should not be invoiced or shipped; the items go back on the shelf and the order is cancelled in the ERP. A system silently deleting a picked order would break the warehouse record, so it is right for this to reach the team as an urgent alert.
What about a cancelled order that has already been invoiced?
The invoice is cancelled or a return invoice is issued; which one applies depends on your accounting team and your e-invoicing provider. What matters is that these orders appear on a list and are not missed.


