> For the complete documentation index, see [llms.txt](https://docs.cekat.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cekat.ai/api-documentation/orders.md).

# Orders

Create and manage orders and their invoices. Each order belongs to a contact; Cekat creates the contact if it doesn't exist yet.

| Payment method | Invoice                                                                                                                 |
| -------------- | ----------------------------------------------------------------------------------------------------------------------- |
| `manual`       | A PDF invoice with your bank account details. Requires `bank_account_number` of a payment bank account set up in Cekat. |
| `xendit`       | A Xendit payment link and PDF invoice. Requires Xendit to be connected.                                                 |
| `custom`       | Your own invoice, given as `custom_invoice_url`.                                                                        |

Order statuses are `pending`, `processing`, `shipping`, `cancelled` and `completed`. Payment statuses are `PENDING`, `PAID`, `EXPIRED` and `SETTLED`.
