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.
In the Nile Fresh day
Section titled “In the Nile Fresh day”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
| Item | Before | After | Change |
|---|---|---|---|
| Orders waiting for the ERP | 0 orders | 0 orders | 0 |
For your ERP developerThe integration API: quickstart, guides and reference.
Jobs in this stage
Section titled “Jobs in this stage”- Connect your ERP with a token
- Make booked orders wait for your ERP
- Hand the stock to your ERP
- Example: See what changes when your company waits for its ERP
If something goes wrong
Section titled “If something goes wrong”| What you see | What to do |
|---|---|
Stock is managed in your ERP. Make this change there. MANAGED_BY_ERP | Stock 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_CLIENT | Add 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_WAITING | Orders 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_API | Your 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_EXPIRED | Create 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_MISSING | Edit the integration in Settings › Integrations and add the permission it needs. |

