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.

ERPNext Endpoints: Read
EndpointDescription
GET /customers Customers with type, group and territory, filtered by name.
GET /items Items you sell, with code, name, group and unit.
GET /items/{item_code}/stock-balance Quantity and stock value of one item in one warehouse on a date.
GET /sales-invoices Sales invoices with status, due date, total and outstanding amount.
GET /sales-invoice One sales invoice with its lines, taxes, totals and status.
GET /overdue-invoices Invoices with the Overdue status, oldest due date first, with days overdue.
GET /payment-entries Payment entries with party, amount, date, reference and state.

Write (6)

Change the account. Calls marked Confirm wait for the user to approve them.

ERPNext Endpoints: Write
EndpointDescription
POST /customers Creates a customer with type, group and territory.
POST /sales-invoices Saves a draft sales invoice with item lines, dates and a tax template.
POST /sales-invoice/submit Confirm Submits a draft sales invoice so it posts to the ledger.
POST /payment-entries Confirm Saves a draft Receive payment entry allocated to one or more invoices.
POST /payment-entry/submit Confirm Submits a draft payment entry so it posts to the General Ledger.
POST /sales-invoice/cancel Confirm Cancels a submitted sales invoice and reverses its ledger entries.

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.