Skip to content

AI invoice automation from Gmail

Case studyProcess automation, Integration

Automation in accounting: the system reads PDF invoices from Gmail and writes them into SuperFaktura. One invoice went from 10-15 minutes to under 1 minute.

AccountingProject

A scanned invoice on the left and the fields AI read from it on the right: supplier, company ID, date, amount, VAT and due date with checksA scanned invoice on the left and the fields AI read from it on the right: supplier, company ID, date, amount, VAT and due date with checks

How it started: invoices were retyped from PDF files by hand · Duration: running since June 2024

Overview

We created a time-saving automation. Invoices arriving in Gmail are processed and recorded in SuperFaktura. This workflow adds an AI extraction step. It removes manual data entry.

The system detects new invoice emails. AI extracts key fields from attachments. It creates the expense in SuperFaktura. No migration required. It is easy to adapt per vendor.

Fields the AI read from an invoice, with checks before it goes to the books

The challenge

PDF data was retyped by hand. We needed a solution for varied invoice layouts. GPT-4o Vision handled it well. Slovak specifics like ICO and DIC required explicit handling.

What went wrong along the way

The first version ignored multi-page PDFs. Vendor matching also caused duplicates. We fixed this by matching by ICO instead of name. Identifiers are more reliable than names.

A three-page PDF read to the last page and the supplier matched by company ID (IČO)

What we did

  • AI Data Extraction
  • Gmail Integration
  • SuperFaktura API
  • Workflow Automation
Processing one invoice
10-15 min → <1 min
Invoices with no person involved
70%
Running since
06/2024

Service

Process automation

Invoices and retyping between systems in minutes

Results

More projects

AI agents, Customer support

AI support agent: replies in under 5 minutes

An AI email agent for customer support at a client that sells online. Replies in under 5 minutes instead of hours. Customer support now handles only the complex cases.

Custom software, Excel replacement

A shared Excel in freight forwarding: a system that works like Excel

The freight forwarder KIABA planned requests and orders in a shared Excel file. We built a system that works like their workbook and turned the rules hidden in cell colors into statuses.