# Omono API > The Omono API lets your software read and change the records in an Omono organisation: companies, quotes, sales orders and their dispatches, credit notes, purchase orders and their deliveries, stock items, tasks and documents, plus the reference lists they point to. Every path is relative to `https:///api/v1`. These Markdown files hold the same content as the HTML docs at /docs. ## Guides - [Guides](/docs/guides.md): These guides explain how the Omono API works as a whole: the rules that apply to every request, and the steps behind the most common jobs. - [Getting started](/docs/getting-started.md): The Omono API lets your software read and change the records your organisation keeps in Omono. - [Build with AI assistants](/docs/ai.md): AI assistants and coding tools, which run on large language models (LLMs), can help you build your Omono integration faster, as long as they read the right documentation. - [Client libraries](/docs/clients.md): You can generate a client library for the Omono API in your own language, from the API's OpenAPI document. - [Recipes](/docs/recipes.md): Each recipe walks you through one common integration job, step by step. - [Push orders into Omono](/docs/recipes/push-orders.md): Use this recipe when orders arrive somewhere else first, for example in a web shop, and you want them in Omono as sales orders. - [Mirror your data in another system](/docs/recipes/mirror-data.md): Use this recipe to keep a copy of your Omono data somewhere else, such as a business intelligence (BI) tool, a CRM or a data warehouse. - [Ship and invoice a dispatch](/docs/recipes/ship-and-invoice.md): Use this recipe to ship a dispatch and raise its invoice from your own system. - [Change a document's line items](/docs/recipes/change-line-items.md): Use this recipe to add, change or delete line items on a quote, sales order, credit note or purchase order that already exists. - [Sync customers and contacts from a CRM](/docs/recipes/sync-customers.md): Use this recipe when your customers live in a CRM first and you want each one in Omono as a company, with its contacts and addresses. - [Keep a web shop's stock levels up to date](/docs/recipes/stock-levels.md): Use this recipe to show how many of each product you can sell, for example in a web shop. - [Plan the dispatches for an order](/docs/recipes/plan-dispatches.md): Use this recipe when another system plans how a sales order ships, for example a planning tool that splits an order into weekly shipments. - [Raise a purchase order from another system](/docs/recipes/raise-purchase-order.md): Use this recipe when another system decides what to buy, for example a planning or reorder tool, and you want each order in Omono as a purchase order. - [Attach a file to a record](/docs/recipes/attach-a-file.md): Use this recipe to put a file, such as a drawing, a certificate or a customer's order, on a record in Omono, where your staff see it with the record. - [Turn an enquiry into a quote and follow it up](/docs/recipes/enquiry-to-quote.md): Use this recipe when enquiries arrive somewhere else first, for example through a web form or a CRM, and you want each one in Omono as a quote, with a task to follow it up. - [Export invoices to accounting or BI](/docs/recipes/export-invoices.md): Use this recipe to copy the invoices Omono raises into another system, such as an accounting package or a business intelligence (BI) tool. - [Report sales against target](/docs/recipes/sales-against-target.md): Use this recipe to show how your organisation is doing against its sales and output targets in another system, such as a wallboard, a chat channel or a business intelligence (BI) tool. - [Match an incoming email to a customer](/docs/recipes/match-an-email.md): Use this recipe when an email arrives, for example in a shared sales mailbox or a help desk, and you want to show who sent it and what they have open in Omono. - [Check supplier invoices](/docs/recipes/check-supplier-invoices.md): Use this recipe to copy the supplier invoices that your staff record in Omono into another system, such as an accounting package or a tool that checks invoices against what you ordered and received. - [Report margin](/docs/recipes/report-margin.md): Use this recipe to report the margin on what you sell in another system, such as a business intelligence (BI) tool or a spreadsheet. - [Reading data](/docs/reading.md): This guide explains how to read records from the Omono API. - [Keeping in sync](/docs/syncing.md): Most integrations keep a copy of some Omono data, for example in a data warehouse, a reporting tool or a CRM. - [Writing data](/docs/writing.md): This guide explains how to create and change records through the Omono API without doing the same work twice or overwriting someone else's change. - [Dispatches and invoicing](/docs/workflow.md): This guide shows you how to ship and invoice a sales order's dispatches through the API. - [Rate limits](/docs/limits.md): Omono limits how many requests each API key, and your organisation as a whole, can make. - [Errors](/docs/errors.md): When a request fails, the Omono API answers with an HTTP status code and a JSON body that explains what went wrong. - [Conventions](/docs/conventions.md): This page explains the conventions that apply across the whole Omono API, so that you can read any record correctly. - [Enums](/docs/enums.md): This page lists the values of each field that takes one value from a list, such as a status. ## API reference - [Introduction](/docs/reference/introduction.md): what the API covers, its base URL, how to authenticate, and links to the guides - [Companies](/docs/reference/companies.md): A company is a business you sell to, buy from, or both. - [Contacts](/docs/reference/contacts.md): A contact is a person at one of your companies, such as a buyer or someone in their accounts team. - [Addresses](/docs/reference/addresses.md): An address is one of a company's postal addresses, used for deliveries and invoices. - [Customer prices](/docs/reference/customer-prices.md): A customer's price list holds the prices you give that customer for your stock items, each from a minimum quantity and in the customer's currency. - [Quotes](/docs/reference/quotes.md): A quote is a price offer you make to a customer. - [Sales orders](/docs/reference/sales-orders.md): A sales order records what a customer has ordered from you. - [Dispatches](/docs/reference/dispatches.md): A dispatch is a planned shipment from a sales order, with its own date, its own share of the order's line items and, once it has shipped, its own invoice. - [Credit notes](/docs/reference/credit-notes.md): A credit note reduces the amount a customer owes you. - [Purchase orders](/docs/reference/purchase-orders.md): A purchase order records what you've ordered from a supplier. - [Deliveries](/docs/reference/deliveries.md): A delivery is a shipment you expect from a supplier against a purchase order, with its own date and its own share of the order's line items. - [Stock items](/docs/reference/stock-items.md): A stock item is anything you buy or sell, and every line item on a quote, sales order, purchase order or credit note refers to one. - [Tasks](/docs/reference/tasks.md): A task is a piece of work for someone in your organisation, such as a call to make or a quote to follow up. - [Notes](/docs/reference/notes.md): A note is a line of history on a record: a company, quote, sales order, credit note, purchase order, stock item or task. - [Documents](/docs/reference/documents.md): A document is a file attached to one record: a company, quote, sales order, credit note, purchase order or stock item. - [Events](/docs/reference/events.md): An event records that a record was deleted in Omono. - [API key](/docs/reference/api-key.md): Read the API key that makes the request: its scopes, its organisation and the rate limits it runs under. - [Dashboard](/docs/reference/dashboard.md): The dashboard figures are your organisation's sales and output for today, this month and this financial year, against your targets, as the dashboard in Omono shows them. - [Organisation](/docs/reference/organisation.md): These lists describe your own organisation: its details, the settings that change what the API accepts, its closed days, its addresses and bank accounts, and its users, divisions, departments and warehouses. - [Tax and currency](/docs/reference/tax-and-currency.md): These lists hold the tax rates, currencies, currency rates and countries that your records refer to. - [Sales settings](/docs/reference/sales-settings.md): These lists hold the settings your sales records refer to: sales analysis codes, commissions, customer segments, industries, company types, quote validities, conversion probabilities, lost-quote reasons and workflow statuses. - [Purchasing and shipping](/docs/reference/purchasing-and-shipping.md): These lists hold the settings your purchasing and shipping records refer to: purchase analysis codes, couriers, incoterms, commodity codes and EORI numbers. - [Task settings](/docs/reference/task-settings.md): These lists hold the statuses, priorities and types you can give a task. ## Error codes - [malformed-request](/docs/errors/malformed-request.md): HTTP 400, Malformed request - [validation-failed](/docs/errors/validation-failed.md): HTTP 422, Validation failed - [unknown-field](/docs/errors/unknown-field.md): HTTP 422, Unknown field - [missing-required-field](/docs/errors/missing-required-field.md): HTTP 422, Missing required field - [invalid-reference](/docs/errors/invalid-reference.md): HTTP 422, Invalid reference - [invalid-exchange-rate](/docs/errors/invalid-exchange-rate.md): HTTP 422, Invalid exchange rate - [negative-amount](/docs/errors/negative-amount.md): HTTP 422, Negative amount - [negative-quantity](/docs/errors/negative-quantity.md): HTTP 422, Negative quantity - [invalid-discount](/docs/errors/invalid-discount.md): HTTP 422, Invalid discount - [missing-exempt-tax-rate](/docs/errors/missing-exempt-tax-rate.md): HTTP 422, No EXEMPT tax rate - [bank-currency-mismatch](/docs/errors/bank-currency-mismatch.md): HTTP 422, Bank account currency mismatch - [invalid-filename](/docs/errors/invalid-filename.md): HTTP 422, Invalid file name - [invalid-recurrence](/docs/errors/invalid-recurrence.md): HTTP 422, Invalid recurrence - [invalid-transition-target](/docs/errors/invalid-transition-target.md): HTTP 422, Invalid transition target - [unauthenticated](/docs/errors/unauthenticated.md): HTTP 401, Unauthenticated - [insufficient-scope](/docs/errors/insufficient-scope.md): HTTP 403, Insufficient scope - [api-access-disabled](/docs/errors/api-access-disabled.md): HTTP 403, API access disabled - [not-found](/docs/errors/not-found.md): HTTP 404, Not found - [route-not-found](/docs/errors/route-not-found.md): HTTP 404, Route not found - [method-not-allowed](/docs/errors/method-not-allowed.md): HTTP 405, Method not allowed - [duplicate-name](/docs/errors/duplicate-name.md): HTTP 409, Duplicate company name - [duplicate-account-number](/docs/errors/duplicate-account-number.md): HTTP 409, Duplicate account number - [duplicate-part-number](/docs/errors/duplicate-part-number.md): HTTP 409, Duplicate part number - [duplicate-external-ref](/docs/errors/duplicate-external-ref.md): HTTP 409, Duplicate external reference - [duplicate-supplier](/docs/errors/duplicate-supplier.md): HTTP 409, Duplicate supplier - [currency-locked](/docs/errors/currency-locked.md): HTTP 409, Currency locked - [company-archived](/docs/errors/company-archived.md): HTTP 409, Company archived - [last-contact](/docs/errors/last-contact.md): HTTP 409, Last contact - [accounts-address-protected](/docs/errors/accounts-address-protected.md): HTTP 409, Accounts address protected - [contact-archived](/docs/errors/contact-archived.md): HTTP 409, Contact archived - [address-archived](/docs/errors/address-archived.md): HTTP 409, Address archived - [quote-locked](/docs/errors/quote-locked.md): HTTP 409, Quote locked - [quote-not-active](/docs/errors/quote-not-active.md): HTTP 409, Quote not active - [quote-not-lost](/docs/errors/quote-not-lost.md): HTTP 409, Quote not lost - [quote-has-revisions](/docs/errors/quote-has-revisions.md): HTTP 409, Quote has revisions - [not-a-draft](/docs/errors/not-a-draft.md): HTTP 409, Not a draft - [quote-revision-stale](/docs/errors/quote-revision-stale.md): HTTP 409, Quote revision stale - [sales-order-locked](/docs/errors/sales-order-locked.md): HTTP 409, Sales order locked - [line-item-on-invoiced-dispatch](/docs/errors/line-item-on-invoiced-dispatch.md): HTTP 409, Line on invoiced dispatch - [line-item-allocated](/docs/errors/line-item-allocated.md): HTTP 409, Line allocated - [line-item-parent-mismatch](/docs/errors/line-item-parent-mismatch.md): HTTP 409, Line of another document - [immutable-field](/docs/errors/immutable-field.md): HTTP 409, Immutable field - [dispatch-not-fully-picked](/docs/errors/dispatch-not-fully-picked.md): HTTP 409, Dispatch not fully picked - [dispatch-pick-not-saved](/docs/errors/dispatch-pick-not-saved.md): HTTP 409, Dispatch picking not saved - [blocking-tasks](/docs/errors/blocking-tasks.md): HTTP 409, Blocking tasks - [company-on-stop](/docs/errors/company-on-stop.md): HTTP 409, Customer on stop - [proforma-not-paid](/docs/errors/proforma-not-paid.md): HTTP 409, Proforma not paid - [dispatch-order-mismatch](/docs/errors/dispatch-order-mismatch.md): HTTP 409, Dispatch of another order - [dispatch-shipped](/docs/errors/dispatch-shipped.md): HTTP 409, Dispatch shipped - [dispatch-allocated](/docs/errors/dispatch-allocated.md): HTTP 409, Dispatch allocated - [dispatch-picked](/docs/errors/dispatch-picked.md): HTTP 409, Dispatch picked - [delivery-received](/docs/errors/delivery-received.md): HTTP 409, Delivery received - [quantity-exceeds-remaining](/docs/errors/quantity-exceeds-remaining.md): HTTP 409, Quantity exceeds what is left - [tracking-too-early](/docs/errors/tracking-too-early.md): HTTP 409, Too early for tracking - [dispatch-state-changed](/docs/errors/dispatch-state-changed.md): HTTP 409, Dispatch state changed - [credit-note-complete](/docs/errors/credit-note-complete.md): HTTP 409, Credit note complete - [purchase-order-cancelled](/docs/errors/purchase-order-cancelled.md): HTTP 409, Purchase order cancelled - [purchase-order-locked](/docs/errors/purchase-order-locked.md): HTTP 409, Purchase order locked - [line-order-fixed](/docs/errors/line-order-fixed.md): HTTP 409, Line order fixed - [purchase-order-has-received-deliveries](/docs/errors/purchase-order-has-received-deliveries.md): HTTP 409, PO has received deliveries - [exchange-rate-locked](/docs/errors/exchange-rate-locked.md): HTTP 409, Exchange rate locked - [line-item-invoiced-locked](/docs/errors/line-item-invoiced-locked.md): HTTP 409, Line on invoiced delivery - [below-delivered-quantity](/docs/errors/below-delivered-quantity.md): HTTP 409, Below delivered quantity - [stock-not-buyable](/docs/errors/stock-not-buyable.md): HTTP 409, Stock not buyable - [stock-item-archived](/docs/errors/stock-item-archived.md): HTTP 409, Stock item archived - [document-archived](/docs/errors/document-archived.md): HTTP 409, Document archived - [task-completed](/docs/errors/task-completed.md): HTTP 409, Task completed - [document-too-large](/docs/errors/document-too-large.md): HTTP 409, Document too large - [idempotency-key-reuse](/docs/errors/idempotency-key-reuse.md): HTTP 409, Idempotency key reused - [create-incomplete](/docs/errors/create-incomplete.md): HTTP 409, Create incomplete - [idempotency-in-progress](/docs/errors/idempotency-in-progress.md): HTTP 409, Request in progress - [payload-too-large](/docs/errors/payload-too-large.md): HTTP 413, Payload too large - [unsupported-media-type](/docs/errors/unsupported-media-type.md): HTTP 415, Unsupported media type - [rate-limited](/docs/errors/rate-limited.md): HTTP 429, Rate limited - [upload-limit-reached](/docs/errors/upload-limit-reached.md): HTTP 429, Upload limit reached - [precondition-failed](/docs/errors/precondition-failed.md): HTTP 412, Precondition failed - [precondition-required](/docs/errors/precondition-required.md): HTTP 428, Precondition required - [events-expired](/docs/errors/events-expired.md): HTTP 410, Events expired - [order-not-active](/docs/errors/order-not-active.md): HTTP 409, Order not active - [no-line-items](/docs/errors/no-line-items.md): HTTP 409, No line items - [dispatches-incomplete](/docs/errors/dispatches-incomplete.md): HTTP 409, Dispatches incomplete - [deliveries-incomplete](/docs/errors/deliveries-incomplete.md): HTTP 409, Deliveries incomplete - [temporarily-unavailable](/docs/errors/temporarily-unavailable.md): HTTP 503, Temporarily unavailable - [request-timeout](/docs/errors/request-timeout.md): HTTP 503, Request timed out - [internal-error](/docs/errors/internal-error.md): HTTP 500, Internal error ## Optional - [Compatibility policy](/docs/compatibility.md): The Omono API has its major version in the URL: every path starts with `/api/v1`. - [Changelog](/docs/changelog.md): Every change to the Omono API, newest first. - [OpenAPI document](/api/v1/openapi.json): the machine-readable description of every operation - [Everything in one file](/docs/llms-full.txt): every guide, the whole API reference and every error code, one after another