---
title: "Overview | Docs | ERP by R&D Copilot"
description: "What the ERP API does, how a call is built and where to go next."
canonical: "https://erp.rdcopilot.com/docs/get-started/overview/"
language: en
updated: 2026-11-22
---

# Overview

What the ERP API does, how a call is built and where to go next.

The ERP API runs the documents of a trading or light-production company from one order. You enter a sales order, confirm it, reserve stock for it, deliver it, invoice it and record the payment; you buy goods with purchase orders, record what arrives, match each supplier bill to its order and receipts and take it through approval to payment; and you make items from components with work orders. It is a JSON API over HTTPS: you send requests, and it sends events to an address you register.

Client credentials, your base address and a test company are issued with your account. Accounts are opened by our team: ask for one through the contact form and we set it up with you.

[Request an account](https://rdcopilot.com/contact/?product=erp&topic=api-access)

## How a call works

1.  Sign in
    
    Ask for a token with your client credentials. See [Authentication](https://erp.rdcopilot.com/docs/get-started/authentication/).
    
2.  Read
    
    Lists take `limit` and `cursor`; every record carries a `revision`. See [Pagination](https://erp.rdcopilot.com/docs/reference/pagination/).
    
3.  Change
    
    Every change carries an `operationId` and, on an existing record, an `expectedRevision`. The answer is 202 with the operation result. See [Idempotency and concurrency](https://erp.rdcopilot.com/docs/reference/idempotency/).
    
4.  Listen
    
    Each change sends one event. See [Event envelope](https://erp.rdcopilot.com/docs/events/event-envelope/) and [Event catalogue](https://erp.rdcopilot.com/docs/events/event-catalogue/).
    

## States of a sales order

A sales order has one `status`. [Statuses](https://erp.rdcopilot.com/docs/concepts/statuses/) says what moves an order from one to the next and what refuses the move.

| Status | Meaning |
| --- | --- |
| Draft `draft` | The order is entered and can still be refused for credit. Nothing is reserved. |
| Confirmed `confirmed` | The credit check passed. Stock is reserved line by line; a short line stays unreserved until goods arrive. |
| Reserved `reserved` | Every line is covered by stock set aside for the order. |
| Delivered `delivered` | The reserved units left the warehouse on a delivery. |
| Invoiced `invoiced` | The invoice is issued and a balance is open. |
| Paid `paid` | Payments cover the whole invoice. |

## Where next

-   Take an order to an invoice in the [Quickstart](https://erp.rdcopilot.com/docs/get-started/quickstart/).
-   Learn how the documents link in [The document chain](https://erp.rdcopilot.com/docs/concepts/the-document-chain/).
-   Buy goods and check a bill in [Buy and receive goods](https://erp.rdcopilot.com/docs/guides/buy-and-receive-goods/) and [Match a supplier bill](https://erp.rdcopilot.com/docs/guides/match-a-supplier-bill/).
-   Look up every operation in [Sales orders](https://erp.rdcopilot.com/docs/api-reference/sales-orders/).
