Updated

Auch auf Deutsch lesen

Build your own ERP with AI in 2027: what it takes, and when to buy

Agent F Team 7 min read

Build your own ERP with AI: what it takes, and when to buy

You can now build your own ERP with AI coding tools: for a technical team, a working order, invoice and ledger prototype takes weeks. The hard part starts when the books depend on it. In Germany, a system that keeps the books must make every entry unchangeable, keep records for up to ten years, open its data to a tax audit and feed your tax advisor, and nobody certifies that it does.

So the build-or-buy question has moved. The bottleneck used to be writing the code. Today it is owning a compliant finance system for ten years, and that is the cost to weigh against a bought one.


Why are companies thinking about building their own ERP now?

Three things changed at once. AI coding assistants write a working internal tool in days. Growing companies run into the limits of off-the-shelf systems early, because their billing, stock or approval logic does not fit the template. And the alternative, a legacy ERP project, takes many months and a consultant for every change.

The result is a reasonable instinct: if the system has to be shaped around the business anyway, the team might as well build it. Many teams already have the pieces: a database of orders, a script that creates invoices, a spreadsheet that turns bank exports into a cash view. Connecting them into one system looks like a short step.

It is a short step for operations. Orders, stock, projects and internal approvals are your own business logic, and a self-built tool can fit them better than anything bought. The finance core is different, because the law and your tax advisor set its rules.

What does an ERP have to do that a prototype does not?

A prototype records transactions. A system that keeps German books has to meet obligations that only show up in an audit or at year-end.

None of this is difficult to code once. All of it has to stay right every year.

What a self-built ERP must do before the books depend on it: immutability, retention, audit access, VAT, DATEV, e-invoicing

Who confirms that a self-built system is compliant?

Nobody, in advance. The German tax administration says in the GoBD that the variety of systems rules out general statements about whether a piece of software is compliant, and it issues no positive attestations, neither in an audit nor in a binding ruling. Certificates from auditors or IT specialists can help when choosing a product, but they do not bind the tax office (GoBD paras. 179 to 181).

That is true for bought software as well. The difference is who carries the work. A vendor that sells to many German companies maintains the hash chain, the period lock, the export formats and the documentation of its software, and updates them when rules change. A company that builds its own does all of that itself, and the managing directors stay responsible for proper books either way.

What does a self-built ERP cost after the first year?

The first version is the cheap part. The cost sits in the years after.

AI tools lower the cost of each change. They do not remove the need for someone to own the result and answer for it in an audit.

When does it make sense to build your own ERP?

Build where your business is different. Buy where the law makes everyone the same.

Building is a good choice for tools around the core: an internal dashboard, a pricing calculator, a warehouse app for a process nobody else has, glue between two systems. These carry your competitive logic, change often, and have no retention or audit duties of their own as long as the bookings land in a proper ledger.

Building the ledger itself, receivables, payables and VAT makes sense only if you have a finance engineering team that will exist for ten years and a tax advisor willing to review your system. Very few growing companies have both.

How do you decide between building and buying?

Put both options through the same five questions:

  1. Who keeps the ledger compliant with § 146 and § 147 AO for the next ten years, and who writes the procedural documentation?
  2. What does one change cost: a new entity, a new billing model, a new approval rule?
  3. How does the tax advisor receive the data, and who tests that handoff each month?
  4. What happens when the person who built or configured it leaves?
  5. How long until the first month closes in the new system?

Our ERP selection criteria turn these into a scorecard, and ERP implementation shows how to roll out in modules instead of one big cutover.

Build, buy or configure: who writes the code, who keeps it compliant, and what a change costs

How does Agent F sit between building and buying?

Teams that consider building usually want one thing: a system shaped around their business. Agent F is an AI-native ERP built to give that without owning the code. The Agent F ERP Factory learns your requirements, business logic and workflows, and the gaps between the tools you use today, then configures the ERP around them: the modules you need, approval rules, chart of accounts and workflows. Every new module or changed process is a configuration update.

The compliance core comes with it and is maintained for you: an append-only, hash-chained journal (GoBD), period locks with an audited correction path, every entry linked to its source document, tax-auditor access, UStVA, ZM and OSS calculated from the ledger, XRechnung and ZUGFeRD validated before sending, and the DATEV export for your advisor. Rules run first, AI proposes where they leave gaps, and a person approves. Implementation typically takes 4 to 10 weeks, against 12 to 18 months for a legacy ERP. Your engineers can still build the tools around it through API keys and webhooks.

Before you start building, write down which parts of your process are truly unique and which are the same for every German company. Build the first list, and test whether a configured system covers the second.

Learn how Agent F works, or see it on your own data at agent-f.ai/demo.

This article is for general information only and does not constitute tax or legal advice. Parts of it were generated with AI. Please consult your tax advisor or legal counsel before acting on it, and feel free to reach out at team@agent-f.com with any questions or for support.