---
title: "Order and payment states | Docs | POS by R&D Copilot"
description: "The seven statuses of an order and what moves it between them, the states of the card reader, the statuses of a payment and the sync states."
canonical: "https://pos.rdcopilot.com/docs/concepts/order-and-payment-states/"
language: en
updated: 2026-11-22
---

# Order and payment states

The seven statuses of an order and what moves it between them, the states of the card reader, the statuses of a payment and the sync states.

An order has one `status`. A change the current status does not allow is refused with an error code and changes nothing.

## Order states

| Status | Meaning |
| --- | --- |
| Open `open` | Lines, discounts and the customer can change. |
| On hold `on_hold` | The order waits with its lines. Nothing changes until it is resumed or voided. |
| Awaiting payment `awaiting_payment` | A payment has started and nothing is settled. A declined card leaves the order here. |
| Partly paid `partially_paid` | Approved payments settle part of the total; `due` is above zero. |
| Paid `paid` | The approved payments cover the total. Lines and payments no longer change; the order can be refunded. |
| Refunded `refunded` | Every unit was returned. |
| Voided `voided` | The order ended before any payment was approved. |

## What moves an order

| Operation or event | From | To | Refused when |
| --- | --- | --- | --- |
| `addLine`, `updateLine`, `removeLine`, `updateOrder` | `open` | `open` | The order is not `open` (`invalid_status`). |
| `holdOrder` | `open` | `on_hold` | The order is not `open` (`invalid_status`) or has no lines (`empty_order`). |
| `resumeOrder` | `on_hold` | `open` | The order is not held (`invalid_status`) or the current order of the till has lines (`sale_in_progress`). |
| `startCardPayment` | `open` | `awaiting_payment` | No lines (`empty_order`); a status other than `open`, `awaiting_payment` and `partially_paid` (`invalid_status`); the reader is working (`reader_busy`); the till is offline (`network_lost`); the units are not on the shelf (`out_of_stock`); an amount of zero (`invalid_amount`) or above the due (`amount_exceeds_due`). |
| The reader approves the card | `awaiting_payment`, `partially_paid` | `paid` when the payments cover the total, else `partially_paid` | Not a call: it is the answer of the reader. |
| The reader declines the card | `awaiting_payment`, `partially_paid` | The same status; a `declined` payment is added | Not a call: it is the answer of the reader. |
| `retryCardPayment` | `awaiting_payment` | `awaiting_payment` | The reader has no declined card (`no_declined_card`); the till is offline (`network_lost`). |
| `cancelCardPayment` | `awaiting_payment` | `open`, or `partially_paid` when a payment is approved | The reader is reading or authorising (`reader_busy`); it is not waiting and has no declined card (`no_card_payment`). |
| `takeCashPayment` | `open`, `awaiting_payment`, `partially_paid` | `paid` or `partially_paid` | No lines (`empty_order`); a status other than `open`, `awaiting_payment` and `partially_paid` (`invalid_status`); the reader is working (`reader_busy`); the units are not on the shelf (`out_of_stock`); an amount of zero (`invalid_amount`). |
| `voidOrder` | `open`, `on_hold`, `awaiting_payment` | `voided` | The order is `paid` or `refunded` (`order_paid`), `partially_paid` (`payments_taken`) or already `voided` (`invalid_status`); it has no lines (`empty_order`); the reader is reading or authorising for it (`reader_busy`). |
| `createRefund` | `paid` | `paid` while units are left, `refunded` when every unit is returned | The order is not paid (`not_paid`) or is fully returned (`nothing_to_refund`); the till is offline (`network_lost`); the sale is still queued (`order_not_posted`); the lines, the method or the amount do not fit (`quantity_exceeds_sold`, `method_not_used`, `exceeds_method`, `insufficient_cash`, `reason_required`). |

Every change is also refused with `day_closed` while the business day is closed, and with `revision_conflict` when `expectedRevision` is not the current revision. `takeCashPayment` on an open order passes through `awaiting_payment`, so it adds two to the revision. A cash payment needs no network.

## Card reader states

| Status | Meaning |
| --- | --- |
| Ready `idle` | The reader is free. |
| Waiting for card `waiting` | The reader has the amount and waits for the card. |
| Reading card `reading` | The card is being read. |
| Authorising `authorising` | The card network is answering. |
| Approved `approved` | The card was approved and the payment is on the order. |
| Declined `declined` | The card was declined. The reason is on the declined payment. |
| Cancelled `cancelled` | The amount was taken back from the reader. |

-   `startCardPayment` moves a reader that is `idle`, `approved`, `declined` or `cancelled` to `waiting`. While it is `waiting`, `reading` or `authorising`, a new payment is refused with `reader_busy`.
-   The reader moves from `waiting` to `reading` and to `authorising` as the customer presents the card, and ends `approved` or `declined`. These steps are not calls of the API: read them on `reader.state` of the till.
-   `retryCardPayment` moves `declined` back to `waiting`; `cancelCardPayment` moves `waiting` or `declined` to `cancelled`. A reader that is reading or authorising cannot be cancelled.
-   When the sale is paid, the reader goes back to `idle`. If the network is lost while the reader waits for the card, the amount is taken back and the reader is `cancelled`.

## Payment statuses

| Status | Meaning |
| --- | --- |
| approved | The payment settles its `amount`. |
| declined | The payment settles nothing. It stays on the order with the amount it asked for. |

## Sync states

| Status | Meaning |
| --- | --- |
| null | The order is not paid, or it was voided. |
| Queued `queued` | The sale is paid and the till stores it, because it had no network or earlier sales were still waiting. It waits in the queue, first in, first out. |
| Posted `posted` | Stock, the books and reporting have the sale. Posting a queued sale adds one to the revision. |
