ERPNext API
13 endpoints for ERPNext, 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/erpnext
- Connects with
- Your own ERPNext user on your site; its roles decide what it can read, create, submit and cancel
- Integration page
- ERPNext
Read (7)
Return data and change nothing in the account.
| Endpoint | Description |
|---|---|
| GET | Customers with type, group and territory, filtered by name. |
| GET | Items you sell, with code, name, group and unit. |
| GET | Quantity and stock value of one item in one warehouse on a date. |
| GET | Sales invoices with status, due date, total and outstanding amount. |
| GET | One sales invoice with its lines, taxes, totals and status. |
| GET | Invoices with the Overdue status, oldest due date first, with days overdue. |
| GET | Payment entries with party, amount, date, reference and state. |
Write (6)
Change the account. Calls marked Confirm wait for the user to approve them.
| Endpoint | Description |
|---|---|
| POST | Creates a customer with type, group and territory. |
| POST | Saves a draft sales invoice with item lines, dates and a tax template. |
| POST | Submits a draft sales invoice so it posts to the ledger. |
| POST | Saves a draft Receive payment entry allocated to one or more invoices. |
| POST | Submits a draft payment entry so it posts to the General Ledger. |
| POST | Cancels a submitted sales invoice and reverses its ledger entries. |