How to Troubleshoot Order, Menu and Financial Data in the Impos API
Use this guide when data from the Impos API looks stale, missing, duplicated or different from an Impos report. Each section covers one symptom: what to check, why it happens and what to do next. If you still can't resolve the issue, the last section lists what to send us.
|
If you see... |
Start with |
|---|---|
|
Orders are stale or missing |
Orders appear stale or missing |
|
Duplicate or replayed orders or transactions |
Duplicate or replayed orders and transactions |
|
The menu differs between organisation and site |
Menu differs between organisation and site |
|
A 409 response on a write |
Version conflict (409) |
|
Report totals differ from API data |
Report totals do not match API data |
|
Unexpected timestamps |
Timestamp concerns |
Orders can change after they are created, so reading only "new" orders will miss later updates. Payments, items and voids can arrive after the order exists, while its creation order stays the same.
Symptoms
- Recent orders don't appear in your system.
- Orders you expect are absent, or show out-of-date contents.
What to check
- You are querying the correct site.
- You process every page, starting at page 1.
- You use an overlap window and upsert by order ID.
- You do not use
createdAtas an append-only cursor. - You advance your checkpoint only after the complete window has been committed.
Pagination defaults
Product and order endpoints return records plus metadata.
|
Setting |
Value |
|---|---|
|
Default page |
1 |
|
Default limit |
20 |
|
Maximum limit |
50 |
Follow the generated Swagger schema rather than older examples that use data or page 0.
What to do
- Re-sync using an overlap window, and upsert by order ID rather than appending.
- Use order-level update timestamps, not
createdAt, for your extraction checkpoints. - Move the checkpoint forward only after the whole window has been committed successfully.
Duplicate or replayed orders and transactions
Impos identifies each record by its site plus the POS-assigned ID, so a retry that uses the same identity updates the same record rather than creating a new one.
|
Record |
Identity |
|---|---|
|
Order |
Site + POS order ID |
|
Transaction |
Site + POS transaction ID |
- Keep the same order or transaction ID when you retry a request.
- Do not reuse a transaction ID across different orders. This is a data conflict that needs to be corrected at the source, and retrying it repeatedly will not resolve it.
Menu differs between organisation and site
A site can show a different menu from its organisation because of publication status or site-specific overrides.
What to check, in this order
- The site instance and publication status. Check this first.
- Site-specific overrides.
- Organisation-level values.
- The relevant update timestamps.
Things to keep in mind
- Prices are stored as integer cents and belong to price-set and price-level records.
- The order
pricePeriodand the menumenuItemPriceSetIdare not designed to be joined, so don't build matching logic on them. - Menu child resources can have their own timestamps and versions, and some child updates also change the parent menu item. When comparing, look at the specific entity and endpoint rather than assuming either behaviour.
Version conflict (409)
A 409 on a versioned write means the version you sent is no longer current. These writes must include the GUID version returned by your most recent read, and someone or something has changed the resource since.
- GET the current resource.
- Compare your intended changes with its current state.
- Reapply your changes deliberately.
- Use the new version returned for Things to keep in mindany later writes.
Don't retry the same request with the stale version. It will keep failing, and a blind retry risks overwriting a newer change.
Report totals do not match API data
The raw API and an Impos report don't always expose the same pre-aggregated figure, so a difference is not necessarily an error. Reports may roll several components into one derived value.
Before you start
Pick a small set of order IDs and write down the exact calculation you expect. Without a formula and sample orders, a mismatch can't be traced.
What to check
- Conversion from integer cents to dollars
- GST-inclusive configuration on each item
- Order-level and line-level discounts
- Surcharges and adjustments
- Voided items and transactions
- Split or multiple tenders
- Whether the report rolls components into a derived row-level value
If the numbers still don't reconcile, contact support with the formula and the source fields you used (see below).
Timestamp concerns
locationName: nullcan be a valid value and is not, on its own, a defect.- Some partners have reported a transaction
posUpdatedAtvalue that sits roughly ten hours away from the expected UTC time.
For extraction checkpoints, use order-level update timestamps rather than transaction-level ones. If you see timestamps that look wrong, keep the raw payload and include the details listed below when you contact support.
Contacting Impos support
If you've worked through the steps above and the issue remains, contact Impos support with the details below. Complete information lets us investigate the first time rather than going back and forth. [Add support contact link or email.]
Always include
- Environment and site ID
- Specific order and/or transaction IDs
- The raw request and response payloads
- Trace or correlation IDs
Also include, depending on the issue
- Financial discrepancies: the exact formula and source fields you used
- Timestamp issues: the expected local time and time zone, alongside the timestamps returned