Case study · Enterprise integration & AI

SAP integration and invoice-reading AI across six countries

Illovo Sugar Africa, Africa's largest sugar producer, was reconnecting dozens of payroll, farming, logistics and tax systems to SAP across six countries. I wrote the technical specifications for the programme, including the AI that now reads supplier invoices into SAP.

Client
Illovo Sugar Africa (ABF)
Employer
Elula Online
Role
Systems Integration Consultant
Period
Apr 2024 – Feb 2025

Programme scale

90+Integration workflows tracked on one platform
130+Interface objects across six countries
100+Change requests through the client's change process

My contribution

11Technical specifications authored
2Operating procedures: ELK monitoring and AI invoice processing
50%Faster change approval cycles

The programme

Illovo, part of Associated British Foods, was moving onto SAP S/4HANA and SuccessFactors, so every surrounding system had to be reconnected: payroll and time and attendance, cane management and laboratories, weighbridges and logistics, plant sensors, and the e-invoicing systems of national tax authorities.

Elula Online built the connections on Flowgear, an integration platform that runs each one as a managed workflow. Every change to production went through the client's Change Advisory Board, and every workflow logged its runs to an ELK monitoring stack.

Integration landscape: SAP S/4HANA and SuccessFactors connect through Flowgear to six groups of systems (payroll and time, agriculture, logistics, plant maintenance, tax authorities and AI invoice processing), with every workflow logging to ELK monitoring. Core Integration Connected systems SAP S/4HANA SuccessFactors Flowgear 90+ WORKFLOWS ELK monitoring EVERY RUN LOGGED Payroll & timePaySpace, Kronos, Saflec AgricultureCanePro, CaneLab LogisticsTMS, weighbridges Plant maintenancePI AF, vibration sensors Tax authoritiese-invoicing, ZM · TZ · MW AI invoice captureAzure Document AI
IllustrativeSimplified view of the integration landscape, grouped by business area. It contains no client configuration or data.

What I was responsible for

I turned each functional design into a technical specification that developers, testers and the client's architects could all work from. I wrote eleven of them, covering payroll (PaySpace), time and attendance (Kronos, Saflec), learning, agriculture (CanePro, CaneLab), logistics, cost tracking, plant maintenance (PI AF) and AI invoice processing. Each set out the workflow logic, triggers, field mappings, error handling and monitoring, and was signed off by the client's integration, infrastructure and architecture leads.

I worked alongside seven lead developers, took part in unit, integration and acceptance testing, built the test evidence for each change request, and wrote or updated the operating procedures for ELK monitoring and AI invoice processing.

The invoice-reading AI

Supplier invoices arrive as PDFs in the accounts payable inboxes of six Illovo companies. My specification defines how they reach SAP without anyone retyping them.

AI invoice flow: six country inboxes forward to a central mailbox; Flowgear extracts the PDFs; a classifier separates invoices from statements; Azure Document Intelligence reads the fields; the data is mapped to SAP's invoice format and posted to S/4HANA. Failed documents return to the sending inbox and every run is logged to ELK. 01Six country AP inboxes 02Central AP mailbox 03Flowgear extracts the PDFs 04Classify: invoice or statement 05Document AI reads the fields 06Mapped to SAP invoice formatPosted to SAP S/4HANA If a document fails it is returned to the sending company's inbox for action Every run logged success and error events sent to ELK monitoring AI step Custom-trained Azure Document Intelligence model extracts vendor, dates, totals, tax and line items
IllustrativeThe invoice processing flow, redrawn from the technical design. Mailboxes, endpoints and model details are omitted.

Invoices are separated from supplier statements first, so each follows its own path. A custom-trained Azure Document Intelligence model reads the vendor, dates, totals, tax and line items, and the workflow maps them to SAP's invoice format. Anything it can't process goes back to the inbox it came from, so no invoice disappears silently. It is live in production.

Seeing failures early

With more than 90 workflows touching payroll and finance, failures had to surface fast. Every workflow posted a success or error event to ELK. For time and attendance, errors were logged against the employee, retried every hour and cleared automatically by a "sweeper" workflow once the source record was fixed. I documented these mechanisms and prepared the change request that took ELK error tracking into production.

Getting changes approved faster

Change requests reached the Change Advisory Board in different shapes, so reviewers kept sending them back for more detail, across six countries. I standardised the package: every request arrived with a current specification, a test evidence pack and a rollback plan, so it could be assessed in one pass.

Before and after: previously, incomplete change requests looped back from the CAB for more information; with a standard package, requests pass review in one cycle. Before Changerequest CAB review Questions,missing info Approval RESUBMIT · REPEAT CYCLES After Changerequest Standardpackage CAB review Approval SCOPE · IMPACT · TESTS · ROLLBACK ONE PASS
IllustrativeHow standard change packages removed the resubmission loop.

Approval cycles ran 50% faster, with full audit compliance throughout.

If I did it again

I'd push earlier for components shared across the six countries. Many workflows existed in one version per country or per mill. Some local differences were real, such as payroll calendars and legal entities, but much of the logic was common, and shared building blocks would have cut duplicated build, documentation and testing.

← Previous caseGetting trade fair leads into the CRM Next case →Moving customers from licences to subscriptions