# Erpnext AI integration on Definable

> Free and open-source integrated Enterprise Resource Planning software built on Frappe Framework

## What this connects

Free and open-source integrated Enterprise Resource Planning software built on Frappe Framework

Vendor: https://erpnext.com

## Tools available

**50** tools available. First 12:

- `ERPNEXT_ADD_COMMENT` — Add Comment — Tool to add a comment to a document in ERPNext/Frappe. Use when you need to add comments or notes to any document type like ToDo, Issue, Task, or custom DocTypes.
- `ERPNEXT_ADD_TAG` — Add Tag — Tool to add a tag to a document in ERPNext. Use when you need to categorize or label documents for organization and filtering purposes.
- `ERPNEXT_APPLY_WORKFLOW` — Apply Workflow — Tool to apply a workflow action to a document in ERPNext/Frappe. Use when you need to transition a document through workflow states (e.g., approve, reject, submit). The document must have a workflow configured for its doctype.
- `ERPNEXT_CANCEL_DOCUMENT` — Cancel Document — Cancel a submitted document in ERPNext/Frappe to change its status from Submitted to Cancelled. Use for submittable DocTypes when you need to reverse or cancel a submitted transaction. Document must be in Submitted state (docstatus=1) before cancellation.
- `ERPNEXT_CREATE_DOCUMENT` — Create Document — Tool to create a new document of a specific DocType in ERPNext. Use when you need to create records like ToDo, Customer, Lead, Sales Invoice, etc. The document data should include all required fields for the specific DocType. Standard fields like creation, modified, and owner are automatically set by ERPNext.
- `ERPNEXT_CREATE_TIMESHEET` — Create Timesheet — Tool to create a new Timesheet record in ERPNext. Use when you need to log time entries for employees or projects.
- `ERPNEXT_DELETE_DOCUMENT` — Delete Document — Tool to delete a specific document by DocType and name. Use when you need to remove a document from ERPNext. Requires delete permissions for the specified DocType.
- `ERPNEXT_DOWNLOAD_FILE` — Download file from ERPNext — Tool to download a file from ERPNext by its URL. Use when you need to retrieve file content from the ERPNext instance using the file's URL path.
- `ERPNEXT_DOWNLOAD_PDF` — Download PDF Document — Tool to download a document as PDF from ERPNext with optional print format. Use when you need to retrieve a document in PDF format, optionally specifying a custom print format or excluding letterhead.
- `ERPNEXT_GET_ALL_LANGUAGES` — Get All Languages — Tool to get a list of all available languages in the ERPNext/Frappe system. Use when you need to retrieve supported languages for translation or localization purposes.
- `ERPNEXT_GET_ALL_ROLES` — Get All Roles — Tool to get a list of all roles available in the ERPNext system. Use when you need to retrieve all available roles for assignment or reference.
- `ERPNEXT_GET_CLIENT` — Get Document — Tool to get a single document by DocType and name or filters from Frappe/ERPNext. Use when you need to retrieve a specific document's complete details.

## Auth

Auth schemes: `API_KEY`.

## How agents use Erpnext

Inside a Definable workflow, Erpnext is one of the tools the **Distributor specialist** can call. Example coordination patterns:

- **Researcher → Erpnext** — the Researcher (GPT-5.5) pulls context from Erpnext (records, threads, documents), synthesises findings, and briefs the rest of the team.
- **Writer → Distributor → Erpnext** — the Writer (Claude Opus 4.7) drafts copy in brand voice, the Verifier passes it, then the Distributor writes the result into Erpnext (create record, post message, draft email).
- **Designer / Engineer → Distributor → Erpnext** — the Designer ships an asset or the Engineer ships a code change, the Distributor delivers it via Erpnext (attach file, open PR comment, post status).

The Verifier checks every Erpnext call. On rate limit, schema drift, or auth refresh it self-heals and retries — the workflow completes without manual intervention.

## Categories

- accounting — https://definable.ai/apps/category/accounting/
- project management — https://definable.ai/apps/category/project-management/

## Related

- HTML page: https://definable.ai/apps/erpnext/
- Same category (accounting): https://definable.ai/apps/category/accounting/
- All integrations: https://definable.ai/apps/
- Workflow (multi-agent loop): https://definable.ai/workflow/
- Apps llms.txt index: https://definable.ai/llms-apps.txt
