bettersorted Logo
Invoices and documents on a desk – symbolic image of incoming invoices
AI Automation

Automate incoming invoices: from mailbox to posting without manual entry

AuthorMuhamed Alahmed
Published on
Updated on
Reading time8 min

Image: 2H Media / Unsplash

In short

An automated incoming invoice process collects invoices from mailbox and scan, extracts the data using AI, checks it against the purchase order and delivery note, and forwards it for approval and posting. Since the e-invoicing requirement in B2B, structured data has been added that can be processed directly.

The essentials at a glance

  • Invoices are collected centrally, read by AI, checked, approved, and posted.
  • Since 1 January 2025 companies in B2B receive e-invoices must be able to.
  • Accounting records have to be retained for eight years since 2025 – in an audit-proof manner.
  • Detect validation rules Duplicates and changed bank details.

Automating invoice receipt means: invoices are automatically collected from mailbox, portal or scan, their data read by AI, checked against purchase order and delivery note, and handed over to accounting via an approval workflow. Only exception handling remains manual.

The five stages of automated invoice processing

1. Consolidate incoming invoices

A central invoice mailbox, supplier portals and scanned paper invoices are brought together in one place. Nothing is left sitting in personal inboxes anymore.

2. Extract data

For PDF and paper invoices, AI identifies the supplier, invoice number, date, amounts, tax rates, bank details and, where necessary, individual line items. For e-invoices (XRechnung, ZUGFeRD), this data is already available in structured form and is transferred directly.

3. Review

Are all mandatory details complete? Has the invoice already been received once? Does it match the purchase order and goods receipt? Has the supplier’s bank details changed — a typical warning sign of attempted fraud?

4. Approve

The invoice is automatically sent to the responsible person, depending on the cost center and amount. Reminders prevent cash discount deadlines from expiring.

5. Posting and archiving

Approved invoices are transferred to the accounting software with a posting proposal and archived in a revision-proof manner.

Invoices are scanned in the office

E-invoicing: Tailwind for automation

Since 1 January 2025, companies in Germany in the B2B sector must receive e-invoicescan; the obligation to send will be introduced gradually by 2028. An e-invoice within the meaning of the law is a structured data format – a simple PDF does not count. For automated incoming processing, this is an advantage: structured data no longer has to be read out. For the transition period, AI recognition for PDFs and paper will still be necessary. Binding details on deadlines and formats can be found at the Federal Ministry of Finance or from your tax advisor.

For invoices between domestic companies, the following deadlines apply (as of October 2026, the basis is § 27 Abs. 38 UStG):

Period

Receipt

Issue

since 1 January 2025

All companies must be able to receive e-invoices.

Paper invoices or PDFs are still permitted; PDFs only with the recipient's consent.

2027

unchanged

E-invoicing mandatory – except for a total turnover in the previous year of no more than €800,000 or when using the EDI procedure.

from 1 January 2028

unchanged

E-invoicing mandatory for all invoices between domestic companies.

Excluded are small-value invoices up to €250: May be transmitted after § 33 UStDV at any time as an ordinary invoice, i.e. on paper or as a PDF.

What automation brings

  • Time: Typing and searching are eliminated; accounting handles exceptions.
  • Cash discount: Faster approvals make it easier to meet cash discount deadlines.
  • Security: Duplicate invoices and changed bank details are flagged.
  • Overview: Outstanding liabilities are visible at all times.

Calculation example: How much time does automation save?

Example with assumed values, no measured values from a customer project – calculate using your own figures:


Without automation

With automation

Incoming invoices per month

150

150

Time per invoice (receipt, entry, checking, forwarding)

8 minutes

2 minutes (review and exceptions)

Time per month

20 hours

5 hours

In this example, around 15 hours per month remain free, about 180 hours per year. In addition, there are effects that are harder to quantify: used cash discounts, fewer payment reminders, and fraud attempts that stand out because of a changed bank account.

How you can quantify the benefit concretely is shown by Calculate the ROI of process automation – incoming invoices are the example used here.

How to proceed

  1. Record invoice volume and current processing time.
  2. Define approval rules: Who approves which cost centers and amounts?
  3. Check which interfaces accounting and merchandise management offer – see Interface automation.
  4. Start with a subset of suppliers, check recognition quality, then scale up.

How we implement such workflows: Process automation. The Consulting before an automation project is eligible for funding: The BAFA consulting grant subsidizes consulting costs up to €3,500 by 50% or 80% (new federal states, Lüneburg and Trier regions) – for applications submitted by 31/12/2026. The INQA-Coaching supports 80% of a longer, guided change process nationwide. Which path is the right one is shown by the Funding check.

Concrete: incoming invoices with Paperless-ngx and n8n

This is what an automated incoming invoice process with open-source tools on your own servers can look like:

  1. A central invoice mailbox receives all invoices; n8n retrieves new emails regularly.
  2. If the attachment contains an XRechnung or ZUGFeRD file, n8n reads the structured data directly. For PDF and paper invoices, the text recognition from Paperless-ngx and an AI model handle the extraction.
  3. Validation rules compare supplier, bank details and invoice number with the master data and detect duplicates.
  4. Paperless-ngx files the invoice with correspondent, document type and cost center – searchable and together with the original.
  5. The responsible person receives an approval request by email or chat and approves it with one click.
  6. Approved invoices are sent with a booking suggestion to the accounting software or to the tax advisor.

The article Paperless-ngx workflows shows how workflows in Paperless-ngx assign and forward documents; the automation platform itself provides n8n before.

Archiving and retention

Invoices are accounting records. Since January 1, 2025, the retention period for them is eight years (previously ten), shortened by the Fourth Bureaucracy Relief Act. During this period, the records must be immutable and retrievablestored. E-invoices must be retained in their original structured format. More on this in the article Digital archiving in the company.

Approval workflow in detail

  1. Assignment to the cost center based on purchase order, supplier, or content.
  2. Automatic forwarding to the responsible person.
  3. Reminder after a defined period; escalation if cash discount is at risk of being lost.
  4. Four-eyes principle above a defined amount.
  5. Log of every approval – who, when, with which comment.

Typical pitfalls

  • Incomplete vendor master data: Without clean master data, automatic assignment fails.
  • Invoices in personal mailboxes: A central invoice mailbox is mandatory.
  • Too many special rules: Every exception makes the workflow more complicated – simplify first.
  • Lack of coordination with tax advisors: Clarify early how data will be transferred.

From practice

Two examples from our own work: For WINGS, the distance learning provider of Wismar University of Applied Sciences, manual processing of application documents was replaced by a digital application assistant with automatic data transfer. For the Caritas integration support documentation, scheduling, and the management of paper and Excel were converted to digital workflows – together with the people who do the work every day.

What a good solution must be able to do

  • Process e-invoices (XRechnung, ZUGFeRD) and PDF invoices
  • Mark uncertain fields instead of guessing
  • Control approvals by cost center and amount
  • Detect duplicates and changed bank details
  • Transfer data to the accounting software
  • Archive in an audit-proof manner

How long does implementation take?

This depends mainly on the number of systems and the quality of the supplier master data. A pilot with a subset of suppliers is usually up and running quickly; full coverage grows with the number of invoice formats recognized.

Data protection and security in automations

Automations move data between systems – often personal data as well. That is why some basic rules are part of every project:

  • Processing location:Operate workflows and AI steps as much as possible on servers in Germany or the EU.
  • Contracts:For each service involved, a data processing agreement.
  • Minimum permissions:Each connection receives only the access it needs.
  • Logs:Each run is logged in a traceable way.
  • Documentation:What the workflow does is documented – including for the record of processing activities.

About bettersorted

bettersorted is an AI consulting and automation company based in Schwerin. We are a BAFA-registered consultant, an authorized INQA coach, and co-founder of the KI|werk MV network; our practical experience comes from the social sector, skilled trades, and SMEs. Our solutions run on servers in Germany, with transparent workflows instead of a black box.

Frequently asked questions

How does automated invoice receipt work?

Invoices are collected centrally, read by AI or from the e-invoice format, automatically checked, routed to the responsible person for approval, and then posted and archived.

Does my company need to be able to receive e-invoices?

Yes. Since January 1, 2025, companies in Germany must be able to receive e-invoices in the B2B sector. The obligation to send them applies in stages until 2028.

How reliably does AI read invoices?

For clearly legible PDFs, very reliably. Uncertain fields are marked and checked by a person. Structured e-invoices do not need to be read at all.

How long do invoices have to be retained?

Since January 1, 2025, eight years, as invoices are considered accounting records. The retention period was reduced from ten to eight years by the Fourth Bureaucracy Relief Act.

What does it cost to automate invoice intake?

That depends mainly on invoice volume, the number of systems, and approval rules. Cost drivers are the connection to accounting and inventory management, the quality of supplier master data, and ongoing operations. With open-source tools such as Paperless-ngx and n8n, there are no license costs; the initial consulting is eligible for funding.

Do I need new accounting software for this?

Usually not. Automated invoice intake sits in front of accounting and passes on checked documents with a booking proposal. What matters is which import or interface options your accounting software or tax advisor offers.

Will my company have to issue e-invoices from 2027?

If your company’s total revenue in 2026 exceeded €800,000, then yes: from 2027, invoices to other domestic companies must generally be issued as e-invoices. Below this threshold, the requirement applies from 1 January 2028. Small-value invoices up to €250 are exempt.

As of: October 2026.

Portrait of Muhamed Alahmed, founder of bettersorted
About the author

Muhamed Alahmed

With over 10 years’ experience in IT, I develop solutions that not only work from a technical perspective, but also create real added value and open up new possibilities.

More about bettersorted →

More articles

Newsletter

Stay up to date on AI topics

Short updates on AI automation, funding programs and new posts — no spam, unsubscribe anytime.

We use Brevo as our marketing platform. By submitting, you agree that your data will be transferred according to Brevo's privacy policy .

CallEmailContact formSEO/GEO Check