Skip to main content
Glama
yazelin

ERPNext MCP Server

by yazelin

make_mapped_doc

Convert existing ERPNext documents to new types using predefined mapping methods, such as turning quotations into sales orders or purchase orders into invoices.

Instructions

Create a new document mapped from an existing one (document conversion).

Common methods:

  • erpnext.selling.doctype.quotation.quotation.make_sales_order (Quotation → Sales Order)

  • erpnext.selling.doctype.sales_order.sales_order.make_delivery_note (Sales Order → Delivery Note)

  • erpnext.selling.doctype.sales_order.sales_order.make_sales_invoice (Sales Order → Sales Invoice)

  • erpnext.stock.doctype.delivery_note.delivery_note.make_sales_invoice (Delivery Note → Sales Invoice)

  • erpnext.buying.doctype.purchase_order.purchase_order.make_purchase_receipt (PO → Purchase Receipt)

  • erpnext.buying.doctype.purchase_order.purchase_order.make_purchase_invoice (PO → Purchase Invoice)

Args: method: Dotted path of the mapping method source_name: Name/ID of the source document

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
methodYes
source_nameYes

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/yazelin/erpnext-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server