From PDF to ERP and accounting: data without retyping

Updated: November 2026

A PDF invoice becomes checked data that your ERP accepts. This guide covers delivery routes, data mapping, and what happens when the target system does not respond.

At a glance

  • We deliver data through REST API, SFTP, SharePoint, or our API.
  • You map template fields to the schema of your ERP.
  • The platform prepares the data. Posting happens in your system.
  • The delivery history shows the status of each delivery and the reason for any error.
  • A failed delivery is retried automatically according to your settings, and nothing is resent blindly.

The path of an invoice from PDF to ERP

Four steps from receipt to data in your system.

  1. Intake

    The PDF arrives by email, through the API, through a supplier upload link, or by upload.

  2. Extraction

    AI fills in the template fields, line items included.

  3. Validation and approval

    Rules check the data, and an approver decides where needed.

  4. Delivery

    Without an approval rule, the data goes out right after processing. Otherwise, it goes out after approval.

Where we deliver the data

You choose the route based on what your system can accept.

Route What arrives When it fits
REST API Data in JSON or XML, based on your mapping Your ERP has its own API
SFTP The original or a PDF, data in JSON, and optionally Excel and CSV Your system picks up files from a server
SharePoint and OneDrive The same files, in your folder Your team works with a folder in Microsoft 365
Our API Your system downloads the documents and confirms each one Your ERP pulls the data itself
Delivery step
Choice of outbound integration type: REST API, SharePoint or OneDrive, SFTP, or our API from which your system downloads documents, in the SmartDocTO app
Choosing a delivery route

Data in the shape your ERP expects

For a REST API delivery, you define the shape of the data once, in the field mapping.

Field mapping
You map template fields to the fields of the target schema, based on your API specification.
Value conversion
An expression in the mapping converts a value, for example a date into the format your ERP expects.
File names
You name files by a pattern, for example type, date, and invoice number.
REST API integration detail with field mapping to JSON in the SmartDocTO app
Field mapping to JSON for REST API

Invoice data extraction for SAP, Microsoft Dynamics 365, and other ERPs

Instead of a connector for each system, we deliver data through an API or as files.

System How the data gets there
SAP Through its API, based on your mapping, or as files on SFTP or SharePoint: the original or a PDF, the data in JSON, Excel, or CSV.
Microsoft Dynamics 365 REST API in JSON or XML, based on your mapping.
Other ERP with an API Through its REST API, based on your mapping.
Other ERP with file import Files on SFTP or in SharePoint: the original or a PDF, the data in JSON, and optionally Excel and CSV.
Your own system REST API, SFTP, SharePoint, or it downloads the data through our API.

Automated invoice posting: who does what

The platform prepares and checks the data. Posting happens in your system.

SmartDocTO
Extracts and checks the supplier, amounts, VAT, and line items.
Your ERP
Posts the invoice according to its own rules and posting templates.
Cost center in the template
AI fills in fields such as the cost center from the document, and a rule checks them against your master data.

Delivery history and retries

For every document, you can see whether the data arrived.

Automatic retry
When your ERP returns an error, delivery retries automatically according to your settings.
Status and reason
The history shows success, partial delivery, or an error with its reason.
No blind retries
When your ERP does not respond in time, we mark the delivery as uncertain and do not retry it blindly.
Delivery history of an SFTP integration with the status and duration of each run in the SmartDocTO app
SFTP delivery history with status and duration

Frequently asked questions

Does SmartDocTO post the invoice itself?

No. The platform prepares and checks the data. Posting happens in your system.

In what format do we receive the data?

Through REST API in JSON or XML, based on your mapping. On SFTP and SharePoint, we store the original or a PDF, the data in JSON, and optionally Excel and CSV.

Can a person retry a delivery?

Yes. An owner or administrator retries it from the document page. Integrations that already received the data are skipped.

Written by David Máj

Try it on your own documents

A pilot we set up together with you, based on samples of your documents.