Skip to main content
Erpnext logo

Erpnext

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

This is a first-class FlyMyAI MCP. Agents discover it automatically via tool search and call the actions below on demand - you never wire it up by hand. See the Composio catalog for how discovery works.

Connect

Erpnext authenticates with an API key. Generate the credential in your Erpnext account, then paste it into FlyMyAI the first time an agent uses an Erpnext action.

Get your Erpnext credential →

Fields to fill in FlyMyAI

FieldDetails
Base URLYour Frappe instance URL (e.g., https://demo.erpnext.com or https://mycompany.com) (required)
API KeyNavigate to User list → Select user → Settings tab → API Access section → Click "Generate Keys" to get your API Key (required)
API SecretThe API Secret is shown once when you generate the keys. Make sure to save it securely. (required)

Actions

Every action this integration exposes. Agents pick the right one from the task; you do not call them by name.

ActionWhat it doesRequired inputs
ERPNEXT_ADD_COMMENTTool 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.reference_doctype, reference_name, content, comment_email, comment_by
ERPNEXT_ADD_TAGTool to add a tag to a document in ERPNext. Use when you need to categorize or label documents for organization and filtering purposes.tag, dt, dn
ERPNEXT_APPLY_WORKFLOWTool 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.doc, action
ERPNEXT_CANCEL_DOCUMENTCancel 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.doctype, name
ERPNEXT_CREATE_DOCUMENTTool 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, mo…doctype, data
ERPNEXT_CREATE_TIMESHEETTool to create a new Timesheet record in ERPNext. Use when you need to log time entries for employees or projects.company, time_logs
ERPNEXT_CREATE_WEBHOOKTool to create a new webhook configuration in ERPNext. Use when you need to set up automated callbacks for DocType events like creation, updates, or submissions.name, webhook_doctype, webhook_docevent, request_url
ERPNEXT_DELETE_CLIENTTool to delete a document using the Frappe client API. Use when you need to remove a specific document by its doctype and name.doctype, name
ERPNEXT_DELETE_DOCUMENTTool 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.doctype, document_name
ERPNEXT_DOWNLOAD_FILETool 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.file_url
ERPNEXT_DOWNLOAD_PDFTool 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.doctype, name
ERPNEXT_GET_ALL_LANGUAGESTool 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_ROLESTool 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_CLIENTTool 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.doctype
ERPNEXT_GET_COUNTTool to get the count of documents matching specified filters in ERPNext/Frappe. Use when you need to know how many records exist for a specific DocType, optionally filtered by conditions.doctype
ERPNEXT_GET_DOCTYPE_METATool to retrieve complete DocType metadata/schema including field definitions, field types, permissions, and configurations. Use when you need to understand the structure of a DocType, its fields, validation rules, or permissions before creating or querying d…doctype
ERPNEXT_GET_DOCUMENTTool to retrieve a specific document by its DocType and name (ID). Returns the complete document with all fields. Use when you need to fetch details of a specific ERPNext document like Customer, Employee, Account, Sales Invoice, etc.doctype, name
ERPNEXT_GET_DOC_WITH_METATool to retrieve a document with full metadata including attachments, comments, activity logs, and related information. Use when you need complete document details beyond the basic fields returned by standard GET requests.doctype, name
ERPNEXT_GET_EXCHANGE_RATETool to get the currency exchange rate between two currencies in ERPNext. Use when you need to convert amounts between different currencies or check current exchange rates.from_currency, to_currency
ERPNEXT_GET_FISCAL_YEARTool to get fiscal year information for a given date in ERPNext. Use when you need to determine which fiscal year a specific date falls into or retrieve fiscal year boundaries.-
ERPNEXT_GET_FRAMEWORK_VERSIONTool to get the Frappe framework version and all installed app versions. Use when you need to check the ERPNext/Frappe system version for compatibility or debugging purposes.-
ERPNEXT_GET_ITEM_DETAILSTool to get detailed item information including pricing, taxes, and stock details from ERPNext. Use when you need comprehensive item data for transactions like Sales Orders, Purchase Orders, or Invoices. This action retrieves item-specific information based o…ctx
ERPNEXT_GET_LISTTool to retrieve a list of documents from ERPNext/Frappe with filtering, field selection, and pagination. Use when you need to query documents of a specific DocType with optional filters, sorting, and field selection. The response contains an array of documen…doctype
ERPNEXT_GET_LOGGED_USERTool to get the email/ID of the currently authenticated user. Use to verify authentication is working.-
ERPNEXT_GET_PARTY_DETAILSTool to get comprehensive customer or supplier details including addresses, contacts, and default financial settings. Use when creating transactions or updating party information in ERPNext.party_type, party
ERPNEXT_GET_PAYMENT_ENTRYTool to get payment entry details for an invoice or order from ERPNext. Use when you need to retrieve payment information for a Sales Invoice, Purchase Invoice, Sales Order, or Purchase Order. This returns a Payment Entry document with party details, payment…dt, dn
ERPNEXT_GET_STOCK_BALANCETool to retrieve the current stock balance for a specific item in a warehouse. Use when you need to check inventory levels or available quantity.item_code, warehouse
ERPNEXT_GET_TIMEZONESTool to get a list of all available timezones in the ERPNext system. Use when you need to retrieve timezone options for user configuration or scheduling.-
ERPNEXT_GET_USER_ROLESTool to get roles assigned to a user. Use when you need to check user permissions or access levels in ERPNext/Frappe.-
ERPNEXT_GET_VALUETool to get specific field value(s) from a document in ERPNext. Use when you need to retrieve one or more field values without loading the entire document.doctype, fieldname
ERPNEXT_GET_WORKFLOW_TRANSITIONSTool to get available workflow transitions for a document. Use when you need to check what workflow actions are available for a specific document based on its current state and user permissions.doctype, name
ERPNEXT_INSERT_DOCUMENTTool to insert a new document in ERPNext/Frappe using the client API. Use when you need to create any type of document (ToDo, Customer, Item, etc.) by providing the doctype and required fields.doc
ERPNEXT_INSERT_MANYTool to insert multiple documents at once into ERPNext/Frappe. Use when you need to create multiple records (Notes, Customers, Items, etc.) in a single API call for better efficiency.docs
ERPNEXT_LIST_DOCTYPESTool to get a list of all DocTypes available in the ERPNext system. Use when you need to retrieve available DocTypes with optional filtering and pagination.-
ERPNEXT_LIST_DOCUMENTSTool to list documents of a specific DocType from ERPNext. Returns paginated results (default 20 items). Use when you need to retrieve multiple documents, with support for filtering, field selection, and pagination.doctype
ERPNEXT_LIST_EMPLOYEESTool to retrieve a list of Employee records from ERPNext. Use when you need to fetch employee information with optional filtering and pagination.-
ERPNEXT_LIST_PROJECTSTool to retrieve a list of Project records from ERPNext. Use when you need to get projects, optionally filtered and paginated.-
ERPNEXT_LIST_TIMESHEETSTool to get a list of Timesheet records from ERPNext. Use when you need to retrieve, search, or filter timesheets. Supports pagination and flexible field selection.-
ERPNEXT_LIST_WEBHOOKSTool to list webhook configurations in ERPNext. Use when you need to retrieve all configured webhooks or search for specific webhooks using filters.-
ERPNEXT_MAKE_DELIVERY_NOTECreate a draft Delivery Note from an existing Sales Order in ERPNext. Use when you need to initiate shipment/delivery of items from a confirmed sales order. The created Delivery Note will be in draft state and can be modified before submission.source_name
ERPNEXT_MAKE_PURCHASE_ORDERCreate a draft Purchase Order from an existing Material Request in ERPNext. Use when you need to initiate procurement of items from an approved material request. The created Purchase Order will be in draft state and can be modified before submission.source_name
ERPNEXT_MAKE_SALES_INVOICETool to create a Sales Invoice from an existing Sales Order in ERPNext. Use when you need to generate an invoice for a confirmed sales order. The created invoice will be in draft state and can be submitted separately if needed.source_name
ERPNEXT_MAKE_STOCK_ENTRYTool to create a Stock Entry for material transfer, receipt, or issue in ERPNext. Use when you need to record inventory movements between warehouses or add/remove stock. For Material Receipt, include target warehouse and basic_rate. For Material Issue, includ…item_code, qty
ERPNEXT_PINGTool to check if the ERPNext/Frappe API is reachable. Use when you need to verify API connectivity or test authentication.-
ERPNEXT_RENAME_DOCTool to rename an ERPNext document by changing its unique ID/name. Use when you need to change a document's primary identifier, optionally merging with an existing document.doctype, old_name, new_name
ERPNEXT_SAVE_DOCSTool to save, submit, cancel, or update a document in ERPNext. Use when you need to create or modify documents in ERPNext. The doc parameter must be a JSON-serializable dictionary containing the document fields.doc
ERPNEXT_SAVE_DOCUMENTTool to save an existing ERPNext/Frappe document with changes. Use when you need to update an existing document in the system. Requires the complete document object including all system fields and the fields being updated.doc
ERPNEXT_SEARCH_GLOBALTool to perform global text search across ERPNext documents. Use when you need to find documents, pages, or records by searching for keywords across the system. Results are ranked by relevance and include document type, name, content preview, and navigation r…text
ERPNEXT_SEARCH_LINKTool to search for documents to link in ERPNext/Frappe Link fields. Use when you need autocomplete suggestions for Link fields or to find documents by name/text.doctype, txt
ERPNEXT_SET_VALUETool to set a specific field value on a document in ERPNext. Use when you need to update a single field without retrieving or modifying the entire document.doctype, name, fieldname
ERPNEXT_SUBMIT_DOCUMENTSubmit a draft document in ERPNext/Frappe to change its status from Draft to Submitted. Use for submittable DocTypes like Sales Invoice, Purchase Order, Journal Entry, etc. Document must exist in draft state (docstatus=0) before submission.doc
ERPNEXT_UPDATE_DOCUMENTTool to update a specific ERPNext document. Acts like a PATCH request - only send the fields you want to change, not the whole document. Use when you need to modify specific fields of an existing document.doctype, name, fields
We love our partners - FlyMy.AI builds with the best. Thanks, Erpnext!