Dext API
10 endpoints for Dext, each at its own method and path, called with your API key. Open an endpoint for its inputs, examples and response.
- Base URL
- https://cotlet.dev/api/v1/dext
- Connects with
- Your own Dext account (Admin role, or publishing permission from an admin, to publish)
- Integration page
- Dext
Read (5)
Return data and change nothing in the account.
| Endpoint | Description |
|---|---|
| GET | Users you can assign as document owner when uploading. |
| GET | Items in the Costs or Sales inbox or Archive with status, supplier, date and total, newest first. |
| GET | One item with all extracted fields, publishing state and note. |
| GET | Audit trail of one item: submission, field changes, publishing, approval and archiving. |
| GET | Export items from an inbox or the Archive as CSV, PDF or ZIP and get a download link. |
Write (5)
Change the account. Calls marked Confirm wait for the user to approve them.
| Endpoint | Description |
|---|---|
| POST | Upload a receipt, bill or sales invoice to the Costs or Sales inbox. |
| PATCH | Change extracted fields of an item, such as supplier, category, date or total. |
| POST | Publish Ready items to the connected accounting software. |
| POST | Move items from the Inbox to the Archive. |
| POST | Move items from the Archive back to the Inbox, optionally clearing publishing data. |