Finance & RegTech

Incoming e-invoices for Unit4 ERP

Key achievements

E-invoicing complianceAI document extractionERP integrationProcess automation
featuring_image

"Their dedication and hands-on approach have made a real difference to the success of our projects."

Marina Spohr, Senior Project Manager, ACE Solutions

Client

company_logo

ACE Solutions is a Unit4 Business Software (formerly Agresso) consulting and implementation partner and Hotovo's partner since 2017. Besides implementing Unit4 ERP for its customers, ACE offers its own product extensions that solve recurring finance processes on top of the platform. Invoice2UBW, ACE's extension that captures e-invoices for Unit4, runs in production at multiple ACE customers, both on-premise and in Unit4 Cloud.

INV2UBW ACE Solutions case study
INV2UBW ACE Solutions case study

Case study

The need

Accounts payable teams at ACE's customers received supplier invoices by email and SFTP, as plain PDFs, ZUGFeRD/XRechnung hybrid files or UBL XML, and keyed them into Unit4 by hand. From 1 January 2025, the German B2B e-invoicing mandate required every business to be able to receive structured e-invoices. ACE needed a product that reads every incoming invoice format, pre-fills the data and posts it straight into Unit4 with the original documents attached. Without it, customers would face slower closing, entry errors and compliance gaps.

Core issue

  1. Hard deadline – the e-invoicing mandate took effect on 1 January 2025, so the first customer release had to be live before the end of 2024.
  2. Legacy starting point – the product grew out of the existing Invoice2Agresso extension. It had to be renamed, made installable side by side with the original and refactored without disrupting customers.
  3. Format and channel diversity – invoices arrived as ZUGFeRD 1.0, 2.1 and 2.1.1, XRechnung, UBL 2.1 with embedded PDFs, or PDFs with no structured data at all, through IMAP and Microsoft 365 (OAuth) mailboxes and SFTP folders.
  4. Deep ERP integration – everything had to live inside Unit4: the screen extension, server process, EI02 import web service, Document Archive, PO matching, account rules and tax codes. And all of it had to run both on-premise and in Unit4 Cloud.
  5. Customer-specific setups – each customer posts invoices differently (dimensions, accounts, payment terms, workflow), so the product had to be configurable rather than forked per customer.

Our solution

Hotovo took full ownership of Invoice2UBW, from solution design with ACE consultants through development, testing and packaging to releases deployed in customers' Unit4 environments.

The team built an inbox-to-voucher workflow inside Unit4. Invoices are collected automatically. Structured data is read directly from the e-invoice standard where there is one, and AI extraction covers plain PDFs. Accountants review the pre-filled data on a single screen, and the invoice is then posted through Unit4's standard EI02 interface and archived with the voucher.

Key technical capabilities delivered:

  1. Multi-channel invoice intake – IMAP and Microsoft 365 mailboxes (Graph API, OAuth 2.0), SFTP and local folders, with attachment de-duplication by content hash.
  2. Native e-invoice parsing – ZUGFeRD 1.0, 2.1 and 2.1.1 (incl. XRechnung) and UBL 2.1, including PDFs with embedded XML and UBL files with embedded PDFs.
  3. AI extraction for plain PDFs – invoices without machine-readable data are sent to an AI extraction service and returned as structured invoice data, with configurable timeout and error handling.
  4. Automatic pre-fill – supplier identified by IBAN, name or sender address; PO lines bring account, tax code and descriptions; payment method, period and due date are filled with defaults.
  5. Configurable dynamic fields – per-customer field mapping, flexi fields and AI mapping defaults. New requirements are configured, not coded.
  6. Review and validation screen – human-readable XML and PDF preview, PDF merging, drafts, record locking against concurrent editing, and validation before posting (mandatory fields, dates, valid order IDs).
  7. Automated posting and archiving – a Unit4 server process imports each invoice via the EI02 web service, finds the created voucher, and uploads the invoice and original email to Unit4 Document Archive with end-to-end status tracking.
  8. Cloud-ready packaging – one install package for on-premise and Unit4 Cloud, versioned database scripts and a scripted release process.
  9. Automated test coverage – 157 unit tests (NUnit, Moq) covering e-invoice standards, data mapping, email clients and AI responses.

AI extraction and quality controls:

  1. Standards first, AI second – structured data is always read directly from ZUGFeRD, XRechnung or UBL. AI is used only when an invoice has no machine-readable data.
  2. Human in the loop – every AI-extracted invoice is reviewed on screen before posting, and validation blocks values that do not exist in Unit4 (e.g. an AI-suggested order ID missing from the PO list).
  3. Grounded supplier matching – AI-extracted IBAN and supplier name are matched against Unit4 supplier master data instead of being trusted blindly.
  4. Regression test data – real AI service responses are kept as fixtures in the automated test suite.
  5. Resilience – AI timeouts and errors are logged and shown to the user. An invoice can always be completed manually, so AI outages never stop the AP process.

Key results

  1. Ready for the mandate – first customer release shipped on 16 December 2024, 8 weeks after kickoff and 16 days before the German e-invoicing mandate took effect.
  2. No more re-keying – invoice data is pre-filled from e-invoices or AI, reviewed on one screen and posted through Unit4's standard interface with documents archived to the voucher.
  3. In production at multiple customers – running in both on-premise and Unit4 Cloud installations from a single codebase.
  4. Continuous delivery – 46 versions in two years, each with documented release notes and a versioned install package, from a team of two developers working with Claude Code.
  5. Fully automated processing next – the next phase lets invoices that pass all validations flow into Unit4 without manual touch, leaving accountants to handle only the exceptions.

Hotovo remains ACE Solutions' development partner for Unit4 extensions, a collaboration running since 2017.

Tech stack

  1. UI: Unit4 TopGen screen extension, C#, PDF Clown (PDF preview and merge)
  2. Backend: C#, .NET Framework 4.8, Unit4 server process, EI02 ImportService and DocumentArchive web services (SOAP), SQL Server, ZUGFeRD-csharp, UblSharp
  3. QA & Testing: NUnit, Moq, real-world e-invoice test fixtures, UAT with ACE consultants
  4. AI / LLM: AI invoice-extraction REST service returning ZUGFeRD-structured data [ CONFIRM: model / provider ]
  5. AI Dev Tooling: Visual Studio + Claude Code
  6. Infrastructure: Unit4 Cloud and on-premise, Microsoft 365 Graph API (OAuth 2.0), IMAP (MailKit), SFTP (SSH.NET), Git, Jira, Confluence

Team size

Hotovo team:

  1. 2 Full-Stack Developers – Unit4 (Agresso) extensions in C#/.NET, TopGen UI, server processes, e-invoicing standards, AI integration

On client side:

  1. ACE Solutions consultants – business requirements, customer setup, user acceptance testing

The developers use Claude Code for analysis, implementation, code review and release automation.

Explore other projects

AI assistant for ERM workflows

Protecht

AI assistant for ERM workflows

View case study
AiderDesk: AI orchestration platform

Software engineers

AiderDesk: AI orchestration platform

View case study
Multi-tenant hotel booking software

hivr.ai

Multi-tenant hotel booking software

View case study
From audit to platform takeover

HCS Safety

From audit to platform takeover

View case study
AI assistant for faster energy insights

Energy intelligence provider

AI assistant for faster energy insights

View case study
AI copilot for insurance underwriting

g-Xperts

AI copilot for insurance underwriting

View case study
API platform development

PolyAPI

API platform development

View case study
ERM migration powered by AI

Protecht

ERM migration powered by AI

View case study
Kubernetes OperatorHub rebuild

Red Hat

Kubernetes OperatorHub rebuild

View case study
Fintech payment modernization

ACE Solutions

Fintech payment modernization

View case study
Wastewater treatement systems

WTR Global

Wastewater treatement systems

View case study
Smart city civic engagement platform

Adaptie

Smart city civic engagement platform

View case study
Risk analytics for motor fleets

g-Xperts

Risk analytics for motor fleets

View case study
Braille to text OCR desktop tool

DotSight

Braille to text OCR desktop tool

View case study
MuleSoft connector development

MuleSoft

MuleSoft connector development

View case study
Jira reporting app built for acquisition

Old Street Solutions

Jira reporting app built for acquisition

View case study
BNPL platform development

credi2

BNPL platform development

View case study
Oracle Integration Cloud recipes

Oracle

Oracle Integration Cloud recipes

View case study
Enterprise risk management platform

Protecht

Enterprise risk management platform

View case study
Audio software modernization

Audinate

Audio software modernization

View case study
Seed management with modern digital tools

SeedBin

Seed management with modern digital tools

View case study
Braille translation desktop app

Braillee

Braille translation desktop app

View case study
Competition management software for climbing

Verti

Competition management software for climbing

View case study
Mobile app redesign for marketing platform

Seismic

Mobile app redesign for marketing platform

View case study
Call analytics platform and Wallboard app

Akixi

Call analytics platform and Wallboard app

View case study
Mobility and insurance app development

Mobly

Mobility and insurance app development

View case study
Contact us

Let's talk