Skip to content

Hand the day to your ERP

If your company keeps its books in an ERP, the ERP connects to SLFLO through the integration API.

  • It reads the day’s invoices, receipts and credit notes, in order, by a counter with no gaps — so nothing is missed or read twice — and booked orders.
  • It sends customers, products, prices and balances, so SLFLO uses the same data.
  • What waits for it: an administrator turns on Orders wait for your ERP in Setup › Settings › Integrations (Orders wait for your ERP). Then only booked orders wait — the office sees them as With ERP until the ERP accepts them, or ERP failed with its reason, and can press Send to ERP again on a failed one. Van sales never wait; invoices are always SLFLO’s.
  • Without an ERP, or with the switch off, nothing waits.
  • Stock: an administrator can hand the stock to the ERP with Stock is managed in your ERP. Then no stock moves are made in SLFLO, and reps accept or refuse each load and sell from the van only after accepting it (Stock managed in your ERP).

An administrator creates the connection’s integration token in Setup › Settings › Integrations.

Overnight · ERP · Integration API

Nile Fresh runs without an ERP (erp mode DISABLED), so nothing waited for one today. An ERP connected later reads the same invoices, receipts and credit notes by seq.

Invoice INV-000001 — seq: 1 · feed: /api/integration/v1/invoices

Invoice INV-000002 — seq: 2 · feed: /api/integration/v1/invoices

Receipt RC-000001 — seq: 1 · feed: /api/integration/v1/payments

Receipt RC-000002 — seq: 2 · feed: /api/integration/v1/payments

Credit note RET-000001 — seq: 1 · feed: /api/integration/v1/returns

What changed
ItemBeforeAfterChange
Orders waiting for the ERP0 orders0 orders0
What you seeWhat to do
Stock is managed in your ERP. Make this change there.MANAGED_BY_ERPStock is managed in your ERP. Make the stock move there.
Add an active integration for your ERP first (Settings → Integrations), then turn this on.ERP_MODE_NEEDS_CLIENTAdd an active integration that may do the ERP's half — answer orders (orders:write) or Send stock levels (stock:write) — then turn the switch on.
Orders still wait for your ERP. Let it accept or refuse them first (Field → Orders, status With ERP), then turn this off.ERP_ORDERS_WAITINGOrders still wait for your ERP. Let it accept or refuse them, then turn Orders wait for your ERP off.
This company's orders are not set to be collected by its ERP, so the ERP cannot answer for them.ERP_MODE_NOT_APIYour company isn't set to wait for its ERP. Turn on Orders wait for your ERP in Settings › Integrations when your ERP is ready.
This integration token has expired. Create a new one in Settings → Integrations and update the ERP.TOKEN_EXPIREDCreate a new token in Settings › Integrations and put it in your ERP.
This integration is not allowed to do that. Add the missing permission to it in Settings → Integrations.SCOPE_MISSINGEdit the integration in Settings › Integrations and add the permission it needs.