n8n and workflows

Connect n8n to ERP systems with supported interfaces

Reading time
12 minutes
Updated
Published
Topic guide
n8n automation
Written by
modernagents editorial teammodernagents is an AI automation agency from Austria for SMEs, based in the Vienna region.
AI-generated image: Handheld inventory terminal with an indigo protective grip on slate

Your incoming invoices have been checked and approved, and still someone types them into your ERP again by hand. Now n8n is supposed to take this over, and you wonder whether you can connect n8n to your ERP system and what you need to settle first.

An n8n ERP integration is useful when it reliably handles a clearly bounded task. For example, it reads approved master data, prepares documents for transfer or reports processing status back. Whether that works with DATEV, BMD or bexio depends on the specific official interface, with its access, modules, data formats and permitted operations. The fact that n8n has an HTTP Request node that can call addresses on the web does not replace those prerequisites.

For an initial project, use one direction, for example only from the document software into the ERP, and one authoritative destination for the business outcome.

An example: a building services company in Tours with 45 employees has two companies, one of which invoices in Swiss francs and the other in euros. Margaux from accounting receives checked incoming invoices from a document program and today types them into the ERP by hand. The team maintains customer data twice, in the CRM and in the ERP. n8n is to take over this work. This guide is an integration plan and not a claim that a ready-made product connection has been tested. Sources were checked on 26 September 2026.

Key takeaways

  • We distinguish three routes between an ERP and a workflow: a documented API, an approved file import or export, and a vendor or partner adapter.
  • n8n coordinates the process. Accounting logic, tax decisions and binding approvals remain with the appropriate specialist system and people.
  • After a timeout, repeat a write only after its state has been clarified through a reference, status query or agreed review process.

01 / 12

Which three routes connect an ERP to an n8n workflow?

Before anyone builds the first workflow for Margaux, the team settles which route data may take into the ERP.

An API is an interface through which one program can read data from another program or write data into it. A documented API supports defined reading or writing operations. You need approved access, and your IT team must understand its data model, permissions, versions and error responses. If you may read contacts through the API, that does not mean you may also create or post invoices.

An approved file import or export may be more appropriate when the specialist application processes controlled batches, for example reading one file with many documents at once. The format, character encoding, field lengths, file naming rules and import results must be known. A CSV file sitting in the right folder does not mean that the ERP has successfully accepted its records.

A vendor or partner adapter may be necessary where the vendor requires a managed integration route or the installation needs particular modules. Then the adapter operator belongs in the chain of responsibility. Establish who assesses changes to the specialist software, who investigates failures and who approves a new version.

It starts with a simple question. Which route is officially intended for this exact data type and action? For Margaux, this question comes up twice, for the incoming documents and for the customer data. Only then is it worth deciding which n8n nodes, meaning which building blocks in n8n, should coordinate the process.

02 / 12

Can n8n connect to DATEV, BMD and bexio?

Whether n8n can connect to DATEV, BMD or bexio depends on the specific official interface. Each of the three systems has a different official starting point, and each needs something different confirmed before a quote.

System Official starting point Confirm before quoting
DATEV Data services and defined integration routes Appropriate service, approvals, partner route and actual return channel
BMD Technical documentation and exchange formats Product, module, version, installed interface and permitted operation
bexio Public API documentation with authentication and resources App access, scopes, object operation and account conditions

DATEV describes data services for exchanging structured information and documents between connected applications and its environment (DATEV data services).

DATEV's information for interface providers refers to requirements and managed integration arrangements (DATEV interface providers). This does not establish a universal direct n8n connection to every DATEV product.

BMD publishes technical documentation and exchange-format examples. Which ones are usable in a particular business has to be clarified with its product and installation. A documentation page does not prove that the same interface is enabled in a specific customer environment. BMD technical documentation.

bexio provides official API documentation. Here too, authentication, required permissions and the intended object operation need to fit together. If the API covers contacts, that does not prove that an entire invoicing process can be automated. bexio API.

For European projects, these distinctions matter more than a generic list of supposedly supported ERP systems. The name of a system says nothing about account tier, permissions, legal entity or whether a transfer is complete from a business point of view.

03 / 12

What belongs in the data contract?

Before anyone builds, the project needs a contract between source and destination. This does not mean a legal document, but a description of the data exchange that everyone involved understands the same way. For each data type, define identifiers, required fields, permitted changes and responsible people. An identifier is the field by which both systems recognise the same record.

For Margaux, the rules for a contact could look like this: the external ID stays unchanged, and n8n takes the company name from the approved source. n8n changes an existing billing address only after someone has confirmed it from a business point of view, and it does not reactivate blocked records on its own. Documents also require the legal entity, document type, currency, document reference and allowed processing state.

Do not guess what a tax code or posting key means from a similar-sounding field label. A field named "tax" might mean an amount, a rate, a category or an internal identifier. Have the responsible finance team, in this example Margaux, determine the mapping and confirm it using approved examples. n8n should then execute that decision rather than reinterpret it.

Also note which data is explicitly not transferred. Internal conversation notes or complete email threads do not belong in a master-data exchange on their own. A smaller record is easier to inspect, correct and trace across several systems.

04 / 12

Why keep entities and numbering schemes separate?

A legal entity in the ERP is a separate company with its own accounts, and Margaux's business has two of them. In a group with several companies, the same customer number may exist in different entities. The identifier may therefore need to consist of the entity and the record ID. If n8n searches only for 10024, it may otherwise find the right number in the wrong company.

A document number and a technical document ID are not necessarily the same either. Define which system assigns numbers and from when a number is binding. The workflow should not invent its own numbering scheme when the destination controls numbering. For a temporary case, such as a document that is still on its way, a separate integration reference can be useful, which is later linked to the final ID in the destination.

Amounts and currencies require clear rounding and formatting rules. Suppose an invoice for 1,200 euros and one for 1,200 Swiss francs arrive on the same day. EUR and CHF values must not be treated as equivalent, for example merged, merely because their numbers match. Reconcile totals against the values expected from a business point of view, without deriving a tax assessment from this technical check. Discrepancies are returned or presented to someone for approval.

05 / 12

How does the transfer of an approved document work?

In this example, Margaux's business wants to transfer already checked incoming documents to its specialist system. The example is for illustration. It assumes that the vendor has confirmed an appropriate import or API route for the specific installation, and it does not claim a particular DATEV, BMD or bexio operation.

  1. Check. For document DOC-7031, the document program supplies a unique reference, the legal entity, the document, the approved details about the document and the identity or reference of the business approval. n8n checks whether the required information is there, whether the file can be read and whether the document is assigned to the intended destination. If the entity is missing or the approved version no longer matches the document, the transfer stops.
  2. Transfer. Then a transfer package is created in the agreed format. Before sending it, n8n records which version of the package is to be transferred under which integration reference. The call to the destination or the file import returns an acknowledgement. n8n stores it as "received", not straight away as "posted".
  3. Check the actual state. A subsequent status response or business check establishes what actually happened. If a required field was rejected, the document stays open. Where the document was imported but not yet approved from a business point of view, Margaux's work list shows exactly this intermediate state. And if no response arrives, this is investigated after an agreed interval.
  4. Correct. If a correction is needed later, a traceable new version is created, or Margaux uses the correction procedure that the specialist process requires. Deleting and recreating a document that has already taken effect is not a universal technical repair strategy. The specialist process and its responsible person decide which correction is permitted.

06 / 12

How do you handle retries and partial failures?

Suppose n8n sends document DOC-7031 to the ERP, and no answer comes back before the waiting time runs out. This is called a timeout, and it is particularly tricky, because the ERP may already have accepted the document. If n8n simply sends it again, the document can end up twice in the ERP. Before n8n sends the document a second time, it therefore has to be clear whether the first attempt arrived, for example through the integration reference or a status query.

In a batch of 100 records, some may succeed and others fail. When n8n starts again, it needs to know the open entries. Reimporting all 100 is appropriate only when the destination is explicitly designed for that. "The file was processed" is too broad an outcome when individual rows may have been rejected.

Sort failures into groups that accounting understands too:

  • expired access
  • invalid format
  • uncertain matching
  • blocked record
  • temporarily unavailable destination
  • unknown transfer status

Each group needs an owner and a decision on whether to retry. If n8n repeats every failure with the same automatic retry, this can multiply errors.

Got a workflow like this?

Tell me about it. Honest take and a rough price, usually within a day.

07 / 12

Why start with a read-only reconciliation?

The first run should often only establish which data differs. Use a bounded dataset for this. For Margaux, n8n could, for example, compare the customers in the CRM with the customers in the ERP without changing anything. The result is a list of reliable matches, missing records and conflicts. This list shows whether the data quality you assumed is actually sufficient.

Next, test a few explicitly approved writes in a suitable test environment or in a procedure approved by the operator. If no such environment exists, the project has to take this limitation into account openly. Real postings used as improvised test data are not a neutral test.

The switch needs a defined start and end, one clearly leading process and a rule for changes that arrive during the switch. For Margaux, this could mean that from a certain Monday n8n transfers the documents and she no longer types them in by hand. The old and new paths must not silently perform the same action. Before the previous process is switched off, record counts and open exceptions must be reconciled.

For the rollout, also decide how the team proceeds if it has to pause. If reconciliation shows missing or misassigned records, the team should know whether to stop new transfers, continue read-only checks or return to the previous way of handling the work. Do not improvise this decision while the day-to-day work is piling up.

08 / 12

Which operating responsibilities and costs should you agree?

A custom ERP connection needs looking after even after its first successful run. Besides implementation and hosting, budget for coordination with the people responsible for the business side, test data, vendor access, possible adapter charges and changes to data formats. A small amount of API work can still need a lot of business coordination. Also decide who reviews vendor announcements and tests interface changes.

Success is not measured by the number of files moved automatically. More useful are fully assigned cases, open import failures, uncertain transfers and the time until business processing can continue. These figures show whether work has really been reduced or has merely moved elsewhere.

09 / 12

Which questions must be resolved before approving the project?

Before approval, have it confirmed which official access route exactly is intended, which data may be read and written, and how you recognise a successful business outcome. Ask about testing options, version changes, partial failures, the separation of legal entities and retries after an uncertain result.

Acceptance should include at least these cases:

  • duplicate references
  • the wrong entity
  • missing required values
  • blocked master data
  • an unexpected currency
  • a partially rejected batch
  • a timeout after possible acceptance

Only when these cases can be handled reliably should the scope grow. A suitable next step requires an anonymised representative case, the official interface description and a conversation with the person responsible for the business outcome.

10 / 12

For your IT team

If the interface offers its own duplicate protection, check its precise scope and validity period.

Keep enough technical context to investigate failures without copying full financial documents into every log. Useful details are the case ID, package version, destination reference and error category. Access to the underlying document should still be controlled through its proper storage location.

Document at least the product version, operations used, field contract, permissions, recovery points and contacts. Keep credentials in suitable secret storage, not in example files or screenshots.

For the technical handover, also keep a version history of the field contract. Record when a changed mapping takes effect and which pending packages are still handled under the old rule. If, for example, a required field is added, older queued records must not be silently filled with an invented replacement value. The people responsible for the business side decide whether a correction is needed or an explicit transition rule applies.

11 / 12

Take the worksheet

Worksheet

Download the editable CSV table

QuestionRequired answerConsequence
OperationRead, draft or committed change?Correct authority
InterfaceAPI, import or partner service?Supported path
ReferencesCustomers, items, cost centres?No invented keys
TransactionPartial-failure behaviour?Reconciliation
VersionProduct and module versions?Recheck changes

Columns to fill in, in the file: Your value / observation, Owner, Next action.

Download the editable CSV table (CSV). Add your own values, owners and open actions. This worksheet contains no measured client results.

12 / 12

ShareEmail

Related reading

n8n automation

Got a workflow like this?

Tell me about it. Honest take and a rough price, usually within a day.

Robert Van Ysendyck · Founder & Managing Director