Data Alchemy — Software IDP con AI
ERP Integration

AS400 Integration: invoices, delivery notes and orders posted into your IBM i ERP without data entry

With Data Alchemy, supplier invoices, delivery notes and customer orders reach your AS400-based ERP already read by the AI and checked, ready to be picked up. The ERP stays the same: users keep working in it and only review the exceptions that are flagged.

99.8%Accuracy with Claude
~12 sPer 1-page document (Claude Sonnet)
Text filesIn a shared folder, generated by the AI agent
2–5 daysWith the AI agent, without custom integrations
Context

AS400 and IDP: why connect your IBM i ERP to an AI reading engine

Many Italian companies, particularly in manufacturing, distribution and agri-food, run their ERP on IBM i, the platform everyone still calls AS400. It is often software built or customised over the years, reliable and hard to replace: which is exactly why supplier invoices, delivery notes and customer orders are still re-keyed by hand into its screens.

Data Alchemy's AS400 integration removes that step without asking you to change ERP: the Intelligent Document Processing (IDP) engine, software that reads documents with AI and extracts structured data, reads the document, extracts the fields, checks them and hands the result to your AS400 ERP as text files. It is invoice, delivery note and order data extraction designed for companies running on IBM i.

This direct link between Data Alchemy and your system is what we mean by native integration: the full explanation, including the available connection methods, is on the dedicated page.

How it connects

Two ways to connect Data Alchemy to your AS400 (IBM i) ERP

With AS400 the main channel is the AI agent, installed at your premises: it generates text files in a shared folder, from which the AS400 system picks them up. Alternatively, your IT team can build the integration on the AS400 side on Data Alchemy's REST API and webhooks, included in every licence.

AI agent

The AI agent is installed at your premises and connects to Data Alchemy over websocket and APIs. With AS400 it receives the extracted, validated data, including orders with header and lines, and writes it as text files in a shared folder, from which the AS400 system picks them up. Everything stays in your perimeter. It is included in the Enterprise licence and available as a separately quoted add-on on Business.

Data Alchemy REST API and webhooks

If your IT team prefers to build the integration on the AS400 side: submit documents through the REST API and receive the structured JSON via webhook, signed with HMAC SHA-256, or with a GET. Your own integration handles posting into the ERP. The APIs are included in every licence.

No changes to accept external calls

Your AS400 ERP does not need to be adapted to receive data through calls from outside: it reads the text files placed in the shared folder. How to set up the hand-off on your environment is agreed during the analysis.

Checks against master data

Before the data reaches the ERP, Data Alchemy matches it against the master data the AI agent makes available: suppliers, customers, item codes, orders. This is done by remote validation, which checks individual values (for example that an item code exists, or the customer code found from the VAT number), and by external fields, which compare the document with the data it refers to. Both are included from the Business licence.

Data flow

From document to your AS400 ERP in four steps

The same flow applies to supplier invoices, delivery notes and customer orders: the document goes in, structured data comes out inside your IBM i ERP.

01

Acquisition

The document arrives via email (business mailboxes, via the on-premise Mail service, from the Business licence), upload or API.

02

AI extraction

An LLM dedicated to the document model extracts the fields, line items included, with no templates or per-layout rules.

03

Validation

Data is checked against the ERP's master data, with anomalies flagged for review.

04

Hand-off to AS400

The AI agent installed at your premises writes the validated data as text files in the shared folder and the AS400 system picks them up; alternatively, your IT team's integration on the REST API handles it.

Documents and checks

IBM i integration: which documents reach your AS400, and what is checked first

Data Alchemy's AS400 integration covers the documents that are usually re-keyed into IBM i screens: supplier invoices, delivery notes and customer orders, the latter with header and lines. They can arrive as PDFs, scans or XML files, through business mailboxes, upload or API, and they all follow the same flow towards your AS400 ERP.

Before anything is written to the shared folder, the data is checked against the master data the AI agent makes available. Remote validation checks individual values, such as whether an item code exists or which customer code corresponds to a VAT number; external fields compare the document with the data it refers to, such as the open order. Three-way matching between invoice, order and delivery note also works with AS400, relying on external fields and remote validation (Business and Enterprise licences).

A concrete example: a delivery note that refers to a purchase order arrives by email. Data Alchemy extracts supplier, lines, item codes and quantities, checks that the items exist in the master data and that the quantities match the open order; when the invoice arrives, it is compared with the order and the delivery note. Anything that does not match is flagged as an anomaly for review, and the AI agent hands the validated data to the AS400 as text files.

The result is that the administration team keeps working in the same IBM i ERP, but no longer types every line: it only reviews the exceptions the system has isolated.

Benefits

What changes with Data Alchemy's AS400 integration

Zero data entry

Invoices, delivery notes and orders enter the ERP with no manual typing: the office moves from copying to reviewing exceptions.

Your ERP stays put

No need to migrate away from AS400 or adapt it to accept external calls: the data arrives as text files in a shared folder.

Orders with header and lines

Customer orders arrive complete with header and lines, not just as totals.

Master-data consistency

Checks on suppliers, customers and items reduce wrong codes and items not found.

Credentials in your perimeter

The AI agent works at your premises: the files for AS400 are generated inside your perimeter, in a shared folder on your network.

Defined start-up time

With the AI agent, integration takes 2–5 working days without custom integrations; customisations require an estimate.

FAQ

Frequently asked questions about AS400 integration

Yes. With AS400, the AI agent installed at your premises generates text files with the data extracted from invoices, delivery notes and orders in a shared folder, from which the AS400 system picks them up. Alternatively, your IT team can build the integration on the AS400 side on Data Alchemy's REST API and webhooks, included in every licence.
No, not to receive data through external calls: the AS400 system reads the text files the AI agent places in a shared folder. How to set up the hand-off on your environment is agreed during the analysis.
Supplier invoices, delivery notes and customer orders, the latter with header and lines. Before the hand-off, data is checked against the master data the AI agent makes available, with remote validation and external fields.
With the AI agent, integration takes 2–5 working days without custom integrations; customisations beyond the standard configuration require an estimate. If your IT team builds the integration on the REST API, timing depends on your project.
The REST API and webhooks are included in every licence, Basic included. The AI agent is included in the Enterprise licence and available as a separately quoted add-on on Business.
The AI agent is installed at your premises and connects to Data Alchemy over websocket and APIs. Once a document has been extracted and validated, the agent receives the data, orders with header and lines included, and writes it as text files in a shared folder on your network, from which the AS400 system picks them up. The ERP credentials stay in the agent, inside your perimeter, and the AS400 does not need to accept calls from outside. How to set up the hand-off on your environment is agreed during the analysis.
Yes. Three-way matching between invoice, order and delivery note works with AS400 as it does with SAP, Zucchetti, TeamSystem, Microsoft Dynamics 365 and Oracle NetSuite, and relies on external fields and remote validation, available with the Business and Enterprise licences. Documents that do not match are flagged for review.
Yes. Agribologna, a fruit and vegetable cooperative in Emilia-Romagna, runs its ERP on AS400 and automates around 130,000 documents a year with Data Alchemy: inbound and outbound delivery notes, customer orders, price and quantity adjustments, and rental and service invoices. On its AS400, remote validation checks customer codes starting from the company name, and external fields check the item codes on the document lines.

Get your documents into your AS400 ERP, without data entry

Show us a sample of your documents: we'll demonstrate extraction, the master-data checks and the files the AI agent prepares for your IBM i ERP.

Plan a call with a demo on your own documents