Skip to content
Docs
API 1.0.0 · 22 Nov 2026

Search the docs

    Română

    Documentation

    Guides, API reference and events for ERP.

    On this page

    Rules shared by every R&D Copilot API are in the Developer guide.

    Get started

    • Overview: What the ERP API does, how a call is built and where to go next.
    • Quickstart: Take one sales order from entry to a part-paid invoice: find the customer, create the order, confirm it, reserve stock, deliver, invoice and record a payment.
    • Authentication: Get client credentials, request a token and call the ERP API with it.
    • Sandbox and live: Build and test against a test company, then move the same calls to your live company.
    • Go-live checklist: What to check in your integration on the test company before the live company is set up.

    Concepts

    • Companies and warehouses: Which company a call acts for, and where stock is kept.
    • Items, units and prices: What an item is, how quantities and prices are written, and what the four stock figures count.
    • The document chain: How a sales order, a purchase order and a work order lead to their documents, and which operation creates each one.
    • Statuses: The status of each kind of record, what moves it on, and what refuses the move.
    • Taxes and rounding: How VAT is worked out on a document, in which order amounts are rounded and why a total can differ from a sum of line VAT.

    Guides

    • Take an order to delivery: Confirm a sales order, reserve stock, handle a line that is short, deliver and invoice.
    • Buy and receive goods: Place a purchase order, record what arrives, and follow what is still open.
    • Match a supplier bill: Record a bill, read how it matches its order and receipts, and take it through approval to payment, or send it back.
    • Run a work order: Plan the making of an item, see which component is short, finish a quantity and read the stock afterwards.
    • Import items and partners: Load items and partners from your own system with changes that are safe to repeat, and check what arrived.

    Reference

    • Errors: The error object of the ERP API and the codes that say what went wrong.
    • Error codes: The codes that ERP adds to the shared ones, with what to do for each, and the code behind each sentence of the product window.
    • Idempotency and concurrency: Repeat a request without applying it twice, and refuse a change made on an out-of-date record.
    • Pagination: Lists come in pages. Follow the cursor until it is empty.
    • Limits: The limits of the ERP API, with their values and what happens over them.
    • Versioning: The version is in the path. Additions keep it; a change that could break a caller gets a new one.
    • Changelog: The versions of the contract and what each one changed.

    API reference

    • Items and warehouses: The items you buy, make and sell, with their stock, and the warehouses that hold it.
    • Partners: Customers and suppliers: the companies you sell to and buy from, with their terms and limits.
    • Sales orders: Enter, confirm and reserve sales orders.
    • Deliveries: Take the reserved units of an order out of stock.
    • Purchase orders: Place orders with suppliers and read what is still to arrive.
    • Receipts: Record goods that arrived against a purchase order.
    • Supplier bills: Record a supplier bill, read its match with the order and the receipts, and take it through approval to payment.
    • Work orders: Plan, start and finish the making of an item from its components.
    • Invoices: Issue the invoice of a delivered order and record payments against it.
    • Operations: A request that changes data is accepted once and answered with an operation result you can read again.
    • Event subscriptions: Register the HTTPS endpoint that receives events, and read and replay their deliveries.

    Events

    • Event envelope: Every ERP event has the same envelope; only data changes with the type of the event.
    • Event catalogue: Every event the API sends, the record it is about, when it is sent and the fields of its data.
    • Subscriptions: Register an HTTPS endpoint and ERP sends your events to it, each one signed.
    • Verify signatures: Every delivery is signed. Check the signature on the raw body before you trust the event.
    • Delivery and retries: An event is sent again when your endpoint does not confirm it, and is kept for replay after the last attempt.
    • Replay: Send a parked event again once your endpoint is ready to take it.