ERPNext + Memtro

Customers, invoices, orders and payments from ERPNext, with what is still unpaid.

Connect ERPNext with the API key and secret of a user whose roles cover what Memtro should see and change. Ask which sales invoices are overdue, what a supplier has billed, or who paid last week, and read any DocType. Every hour the sync records changed customers, suppliers and unpaid submitted invoices. When you ask, and once an administrator has granted each action by name, it can create customers, items and draft documents, update fields, submit a draft so it posts to the ledger, cancel a submitted document, and permanently delete a draft.

In Memtro

What you can do with ERPNext in Memtro

Ask in plain English from chat, your editor, a scheduled job or your own agent. The model picks the right ERPNext tool, reads what it needs, and answers with the source cited.

What it does

  1. 01Sales invoices by customer, status or date, with what is still outstanding on each
  2. 02Purchase invoices: what the organisation has been billed, by whom, and what remains unpaid
  3. 03Sales orders with how much of each has been delivered and billed, and payment entries in and out
  4. 04Any DocType by name, and one document in full with its child tables such as invoice line items
  5. 05When asked and granted, creates customers and items, raises draft sales invoices, quotations, orders, payment entries, tasks and the like, and updates fields on a document
  6. 06When asked and granted, submits a draft so an invoice or payment posts to the ledger and the site may email people, cancels a submitted document to reverse it, or permanently deletes a draft or cancelled one

Acts when asked

When you ask it to

These tools change something in ERPNext. The model is told to use them only when you ask for exactly that, and an administrator grants each one by name to the teams that may use it; a personal connection acts only after its owner allows it.

  1. 01Create a customer
  2. 02Create an item in the catalogue
  3. 03Raise a sales invoice as a draft, for a person to check and submit in ERPNext
  4. 04Create a draft business document (quotation, order, invoice, lead, task, issue and the like)
  5. 05Update fields on a business document
  6. 06Submit a draft document, which posts it to the ledger
  7. 07Cancel a submitted document, which reverses its ledger entries
  8. 08Delete a draft or cancelled document, permanently

Events

When it happens

Turn events on in the connection's Events tab on the Connections page, then add the address it shows as a webhook in ERPNext, choosing the same kinds; the tab shows ERPNext's own steps. Each event can start a job, with the event as its input. ERPNext signs every delivery, and one whose signature does not check out is refused before it is read.

Events and webhooks
  • 01A document was created
  • 02A document was saved
  • 03A document was submitted
  • 04A document was cancelled
  • 05A document was deleted
  • 06A submitted document was changed
  • 07A document changed in any way
In practice

Ask it like you would a colleague

Once ERPNext is connected, these are the kinds of things people ask. Plain questions, no syntax. If the answer lives partly in another system you have connected, Memtro looks there too.

ERPNext + Memtro
  • Which sales invoices are overdue, and how much does each customer still owe?

  • What has Harper Fabrication billed us this quarter, and what is still unpaid?

  • How much of sales order SAL-ORD-2026-00318 has been delivered and billed?

  • Who paid us by bank transfer last week?

  • Raise a draft sales invoice to Oakfield Dental for 12 hours of CONS-001

01

Chasing before month end

On the 25th the bookkeeper asks who still owes money on invoices due before the 20th. Memtro lists each unpaid invoice with the customer, the outstanding amount and the due date, and the hourly sync has already remembered them.

02

Draft first, then submitted

A project wraps up and Nina Clarke asks for an invoice to Oakfield Dental for the agreed hours. Memtro finds the customer and the item codes and raises the sales invoice as a draft. Once Nina has checked it and asks, Memtro states the total and submits it, so it posts to the ledger and Oakfield Dental's balance changes.

Teams

Where it fits

The teams that lean on ERPNext most, a question each of them asks, and what they connect beside it.

Better together

Works with

A record in ERPNext is rarely the whole story. Connect the systems that hold the rest and Memtro checks them together, then remembers what it learned so the next question starts further along.

Setup

How to connect

Connect withSite URL, API key and API secret
  1. 1

    In ERPNext open the user the connection should act as → API Access → Generate Keys. The secret is shown once, so copy it then

  2. 2

    Give that user only the roles covering what Memtro should read and change: the connection can do exactly what the user can

  3. 3

    In Memtro open Connections → ERPNext, enter the Site URL (https, no path), the API key and the API secret, and connect

  4. 4

    The site must be reachable from the internet: a private or VPN-only address is refused until an operator adds its hostname to BRAIN_ALLOWED_EGRESS_HOSTS

Also works from

Chat in the dashboard, the OpenAI-compatible API, scheduled jobs, and any MCP client: Claude Code, OpenCode, Cursor, Claude Desktop. The ERPNext tools are the same everywhere.

FAQ

Questions

Can Memtro change anything in ERPNext?+

Only when you ask, and only what it has been granted: create a customer; create an item in the catalogue; raise a sales invoice as a draft, for a person to check and submit in ERPNext; create a draft business document (quotation, order, invoice, lead, task, issue and the like); update fields on a business document; submit a draft document, which posts it to the ledger; cancel a submitted document, which reverses its ledger entries; delete a draft or cancelled document, permanently. Every other tool reads, searches or lists. The Connections page labels the tools that act, an administrator grants each one by name to the teams that may use it, and a personal connection acts only after its owner allows it.

Who can use a ERPNext connection?+

A personal connection serves only your own requests. A shared connection serves the organisation: everyone, or only the teams an admin chooses. Admins can always add shared connections; other members need the permission.

Does Memtro store my ERPNext data?+

Credentials are encrypted at rest. Tool results are cached briefly so agent loops do not repeat identical calls, and the facts the model extracts are saved to your organisation's memory with provenance (system, record and link) so they can be checked and superseded. An hourly sync anchors recently changed ERPNext records into memory as entities.

How do I connect ERPNext?+

Site URL, API key and API secret. In ERPNext open the user the connection should act as → API Access → Generate Keys. The secret is shown once, so copy it then.

Can ERPNext start a job?+

Yes. Turn events on in the connection's Events tab on the Connections page, then add the address it shows as a webhook in ERPNext, choosing the same kinds; the tab shows ERPNext's own steps. A job set to start "When an event arrives" then runs once for each matching event, with the event as its input. The run treats the event as outside data, never as instructions, and anything the run remembers is kept as unverified.

Connect ERPNext in a few minutes

Seven-day free trial, then one monthly price per organisation. Connectors, jobs and memory are never metered.

Where agents remember your company

Sign in, add a provider key, create an API key and point your tools at Memtro. It takes about five minutes.

7-day free trial · card on file, nothing charged until it ends · cancel any time