ERPNext

Open source ERP covering accounting, inventory, manufacturing, HR, CRM and projects in one system.

NOT REALLY · consider alternatives
price $5/mosubscription / year $60estimated build time a weekendreplaced by 0 people

ERPNext is not one app, it is roughly a dozen interlocking ones: a double entry ledger, stock with valuation methods, bills of material, purchase and sales cycles, payroll, and reports that accountants and auditors expect to look a certain way. An agent can absolutely one-shot the shape of any single module, and the result will feel great until you post a credit note, revalue stock, or try to close a fiscal year. The deeper joke is that the software is already free: the code is open source and self-hostable, so rebuilding it from scratch is the one move that makes no sense. If you pay, you are paying Frappe for hosting, upgrades and someone to call. The honest DIY option is either running ERPNext yourself or building a deliberately tiny ledger for one small business and accepting it will never be an ERP.

Build verification: not recorded. How we judge buildability

What you give up

  • Manufacturing: bills of material, work orders, capacity planning, none of it
  • Payroll, leave, expense claims and the statutory reports that go with them
  • Tax templates, multi-currency, and country specific compliance packs that took years to accumulate
  • Upgrades, migrations and a support contract when the ledger disagrees with the bank
  • The ecosystem: apps, integrations, consultants who already know the data model

Why people still pay

Because the price of ERPNext is not the software, it is the certainty. Businesses running real stock and real payroll are buying hosting they do not maintain, upgrades that do not break the ledger, and a support channel for the day something reconciles wrong. Self-hosting ERPNext is genuinely viable and plenty of people do it, but the moment the system is load bearing for invoicing or wages, paying someone else to own uptime and version upgrades looks cheap. A hand-built replacement inverts that: you become the vendor, on call, forever.

Your build guide

The stack, security requirements, and agent rules for a focused replacement.

Before you start

  • Python 3.12 and a machine that stays on
  • Willingness to keep your own backups
  • An accountant who will look at the numbers before you trust them
01
Python 3.12, Django 5, SQLite, Django admin as the primary UI.
02
Data model:.
03
Interface for this ERP suite workflow: a local web page with input, progress, review, and export views.
engineering roadmap

Implementation plan

1

Phase 1, architecture and data

Python 3.12, Django 5, SQLite, Django admin as the primary UI. Data model:.

2

Phase 2, implement

Run with `python manage.py runserver`, no Docker, no cloud, no accounts, no telemetry.

3

Phase 3, implement

Seed a minimal chart of accounts on first migrate: Cash, Bank, Accounts Receivable, Accounts Payable, Sales, Purchases, Inventory, Owner Equity.

4

Phase 4, review and output

A self-hosted mini ledger: items, contacts, sales and purchase invoices, payments, stock on hand, and correct double entry behind it all with P&L and balance sheet. Each report has a CSV download.

5

Phase 5, recovery and acceptance

Explicitly out of scope, do not build: manufacturing, payroll, multi-currency, tax engines, multi-user permissions, approval workflows, email sending. Verify this invariant with a saved fixture: The sum of debits and credits must balance for posted entries; an import retry cannot change the closing balance. State the practical limit: Manufacturing: bills of material, work orders, capacity planning, none of it.

the pro prompt
Build a small self-hosted bookkeeping and stock app for a one-person business. This is NOT an ERP replacement and should not pretend to be one.

Stack, no substitutions:
- Python 3.12, Django 5, SQLite, Django admin as the primary UI
- Plain Django templates for the few custom pages, no JS framework
- Run with `python manage.py runserver`, no Docker, no cloud, no accounts, no telemetry
- Secrets (SECRET_KEY only) read from .env via python-dotenv, ship .env.example

Data model:
- Account (code, name, type: asset/liability/equity/income/expense)
- JournalEntry (date, memo) with JournalLine (account, debit, credit); enforce that each entry balances to zero at save time and refuse to save if it does not
- Party (customer or supplier, single model with a flag)
- Item (sku, name, unit, sale price, purchase price, current qty)
- SalesInvoice and PurchaseInvoice, each with lines (item, qty, unit price); posting an invoice generates the matching JournalEntry and adjusts Item qty
- Payment (party, date, amount, direction) that also posts a JournalEntry

Behaviour:
- Seed a minimal chart of accounts on first migrate: Cash, Bank, Accounts Receivable, Accounts Payable, Sales, Purchases, Inventory, Owner Equity
- Invoices are draft or posted; posted invoices are immutable, corrections happen via a credit note that posts a reversing entry
- Inventory valuation is simple average cost, and say so plainly in the UI

Reports as read-only pages:
- Trial balance for a date range
- Profit and loss for a date range
- Balance sheet as of a date
- Stock on hand with average cost value
- Each report has a CSV download

Explicitly out of scope, do not build: manufacturing, payroll, multi-currency, tax engines, multi-user permissions, approval workflows, email sending.

Deliver README.md with setup in under five commands, a seed script that loads a few months of fake invoices and payments, and pytest tests covering: unbalanced entries are rejected, posting an invoice moves stock and hits the ledger, and the balance sheet actually balances.

$ open in your agent (prompt prefilled, you press enter), copy the prompt or copy AGENTS.md · generated from this app's build plan

prior art · use these instead of building, if you'd rather

No prior-art project is listed yet. Compare the scoped build with the paid product before choosing.

share on X ↗

Questions about ERPNext

Can you build your own ERPNext with AI?

A full replacement is not the recommended project. ERPNext is not one app, it is roughly a dozen interlocking ones: a double entry ledger, stock with valuation methods, bills of material, purchase and sales cycles, payroll, and reports that accountants and auditors expect to look a certain way. An agent can absolutely one-shot the shape of any single module, and the result will feel great until you post a credit note, revalue stock, or try to close a fiscal year. The deeper joke is that the software is already free: the code is open source and self-hostable, so rebuilding it from scratch is the one move that makes no sense. If you pay, you are paying Frappe for hosting, upgrades and someone to call. The honest DIY option is either running ERPNext yourself or building a deliberately tiny ledger for one small business and accepting it will never be an ERP.

What does the ERPNext build prompt cover?

The prompt starts with this scope: A self-hosted mini ledger: items, contacts, sales and purchase invoices, payments, stock on hand, and correct double entry behind it all with P&L and balance sheet. Full-product capabilities excluded from the comparison include: Manufacturing: bills of material, work orders, capacity planning, none of it; Payroll, leave, expense claims and the statutory reports that go with them; Tax templates, multi-currency, and country specific compliance packs that took years to accumulate. Follow the implementation plan and its prerequisites before expanding the build.

How do I use the prompt, AGENTS.md and agent skills?

Start with the ERPNext prerequisites and stack, then copy the prompt into your coding agent. Save the project rules as AGENTS.md in the project root. Linked skills are optional packages or source instructions for specific tasks; review their current contents and install only those matching the chosen stack. A skill does not supply API credentials or verify the finished app.

How long will this ERPNext project take?

The catalogue estimate is a weekend for the limited scope. Setup, integration approvals, debugging, deployment and ongoing maintenance can add time. This is an estimate, not a delivery guarantee.

What would I give up by replacing ERPNext?

Manufacturing: bills of material, work orders, capacity planning, none of it; Payroll, leave, expense claims and the statutory reports that go with them; Tax templates, multi-currency, and country specific compliance packs that took years to accumulate; Upgrades, migrations and a support contract when the ledger disagrees with the bank; The ecosystem: apps, integrations, consultants who already know the data model. Because the price of ERPNext is not the software, it is the certainty. Businesses running real stock and real payroll are buying hosting they do not maintain, upgrades that do not break the ledger, and a support channel for the day something reconciles wrong. Self-hosting ERPNext is genuinely viable and plenty of people do it, but the moment the system is load bearing for invoicing or wages, paying someone else to own uptime and version upgrades looks cheap. A hand-built replacement inverts that: you become the vendor, on call, forever.

What price is this guide comparing against?

The recorded Frappe Cloud Sites (shared) plan is $5/mo (monthly per site, from), checked 2026-08-18. Check the linked pricing source before buying. Building your own also has hosting, API and maintenance costs; the recorded amount is not a guaranteed saving.

What can I use instead of building ERPNext?

No alternative is listed in this entry yet. That is a gap in this catalogue, not proof that no suitable product exists. Compare the paid product and the proposed scope before committing to a build.

Every week, more subscriptions die.

New verdicts, new prompts, the week's most-doomed apps.
One email. Unsubscribe in one click.

last week:100 Questions · KINDA1of10 · KINDA1Password · KINDA+1090 more

free forever · no scanner spam · the prompt stays on the site, the deaths come to you

$weekly: what got a verdict, what died.