Blog
Billing and reconciliation
Automated invoice processing in freight: a step-by-step guide

Reading, checking and reconciling freight invoices by hand is slow and costly. Here's how to automate the process step by step, without changing your ERP.

At a freight forwarder, the accounts team can receive thousands of supplier invoices a month: shipping lines, airlines, road hauliers, destination agents, warehouses. Each one with its own format, charges and surcharges. Checking them against what was agreed, allocating them to the right shipment file and posting them to the ERP eats hours that add nothing for the customer.

Automated invoice processing promises to end that work. This guide explains how it works end to end, what it takes to make it work well with freight invoices and what results to expect.

Why freight invoices are a hard case

Automating invoices from an office-supplies vendor is simple: few charges, fixed prices and a format that never changes. Freight invoices are a different story, for several reasons:

  • Highly varied formats: every shipping line, airline or haulier invoices its own way, often across several pages and languages.
  • Variable rates: freight that depends on route, chargeable weight or container type.
  • Surcharges (fuel, congestion, security, THC…) that change frequently and weren't always in the quote.
  • Link to the shipment file: every line must be allocated to the right shipment to calculate its margin.

That's why generic OCR falls short and reconciliation almost always ends up in an intermediate spreadsheet that someone maintains by hand.

How automated processing works, step by step

A truly efficient automation workflow doesn't need to be complicated with countless steps; full savings and control come from three key stages, each ending with the invoice reconciled and posted without friction.

1. AI extraction and smart capture

The first step is simple and flexible: the system captures and extracts data directly from the user's own mailbox or from a shared folder, adapting to each team's way of working.

This is where our specialised engine, Kaiona K-Scan, comes in. Our artificial intelligence isn't a generic model: it's trained on thousands upon thousands of logistics and customs documents, which means it speaks the freight forwarder's language exactly.

It understands the technical complexity of international freight and can easily process documents in multiple languages (including Chinese, Vietnamese and any other key language on global routes) to extract supplier, dates, amounts, charges and cross-references (BL, AWB, container) with surgical precision, without relying on rigid per-supplier templates. (If you want to dig deeper into how we apply this day to day, we cover it in our article AI in logistics: real use cases today.)

‍

2. Automatic reconciliation against rate and shipment file

This is, without doubt, one of the points where the whole process generates the greatest return. Each invoice line is compared automatically and simultaneously with the agreed rate and with the shipment file data in the TMS.

Why is this a turning point? Because at the sheer volume freight forwarders, customs brokers and importers/exporters handle, checking line by line by hand is physically impossible. No human team can check every single charge on every invoice against its contracts.

Automation breaks that barrier: if everything matches, the invoice moves on automatically; if there are discrepancies, based on the criteria and priorities each customer configures, the system isolates them and flags them as exceptions with the exact reason, for quick review.

‍

3. Posting to the ERP/TMS

Once the previous checks are passed, invoices are posted directly to the ERP/TMS and automatically allocated to their shipment file. Thanks to connectors such as K-Plug, this step runs natively on the ERP/TMS your company already uses, with no complex migrations or disruption to operations.

‍

94% of invoices processed automatically. The team only reviews the exceptions.

A real case: a shipping line invoice

A shipping line issues a three-page invoice covering several containers across different shipment files. It mixes freight, a fuel surcharge, terminal handling at origin and destination, and a congestion surcharge that wasn't included in the original quote.

  • Processed by hand: someone in operations has to find each container, look up its shipment file in the TMS, open the agreed rate, compare charge by charge and split the amounts manually. If a detail like the congestion surcharge slips through, the result is critical: you overpay without passing it on to the customer or disputing it with the shipping line in time.
  • Processed automatically with Kaiona: the whole invoice is read and each line is immediately matched to the right container and shipment file. Freight, fuel and terminal charges match the rate and go through with no human intervention. The unexpected congestion surcharge is caught instantly, isolated as an exception and clearly shows the affected shipment file and the reason. The accounts team decides in a single click whether to absorb it, pass it on to the customer or dispute it with the supplier.

Now take it to the extreme: parcel and road groupage

If handling this for a shipping line is already a challenge, imagine reviewing invoices from parcel services or small road groupage loads: endless lists with hundreds or thousands of lines for individual parcels and shipment files. Doing that by hand is simply unworkable; with automation, it's resolved in seconds.

Beyond time savings: real-time visibility

This kind of operation also shows a key but less visible strategic advantage: because each line is automatically allocated to its shipment file at that very moment, the real margin of every shipment is known instantly, not weeks later at month-end.

That lets management and the sales team spot in time which routes or customers are seeing their profitability eroded by unexpected surcharges, so they can act and pass them on before the problem quietly repeats across dozens of shipments.

‍

What data is extracted from a freight invoice

For reconciliation to be automatic, extraction has to go well beyond the header. A well-trained engine captures at least four blocks of information:

  • Header: supplier, tax ID, invoice number and date, currency and due date.
  • Shipment references: BL or AWB number, container, booking, customer or shipment file reference.
  • Charge lines: freight, surcharges, origin and destination charges, with amount and taxes.
  • Calculation bases: gross and chargeable weight, volume, number of containers or packages, route.

With that data structured, comparing against rate and shipment file stops being manual work and becomes a rule applied the same way to every invoice.

‍

Exceptions and mistakes to avoid

The quality of an automated invoice system is decided by how it treats what doesn't match. Good exception design is the difference between a team that reviews ten invoices a day and one that still reviews them all.

How to handle exceptions

Four practices make the difference day to day:

  • Set tolerances: small differences from rounding or exchange rates that are accepted without review, so the team isn't swamped with false alerts.
  • Classify by reason: an unagreed surcharge isn't the same as a missing shipment file or a duplicate invoice. Each type has its owner and its response.
  • Close the loop with the supplier: repeated discrepancies with the same shipping line or carrier are useful input for the next rate negotiation.
  • Review the rules regularly: if an exception keeps appearing and is always accepted, the rule or the reference rate probably needs updating.

Common mistakes when automating

  1. The first is stopping at reading: dumping data into a spreadsheet or a system saves almost nothing if someone then has to key in, check and reconcile it all by hand. The real value starts when the system connects and cross-checks the information on its own.
  2. The second is thinking you need complex rate systems: believing rates have to sit in a rigid or highly advanced database. At Kaiona we know the reality of the industry is different: the rates freight forwarders, importers and exporters work with live in spreadsheets, and our system can reconcile and check data directly against those spreadsheets.
  3. And the third is testing only with clean invoices: evaluating AI only with your tidiest suppliers is a mistake. The real value of a good engine shows day to day, dealing with small suppliers, complex invoices and the oddest formats.

‍

Mandatory e-invoicing: one more reason to get ready

Spain has already approved the regulation that develops mandatory electronic invoicing between businesses: Royal Decree 238/2026, published in the Spanish Official Gazette (BOE). It will take effect once a subsequent ministerial order is issued and will be phased in: first for companies with turnover above €8 million and, a year later, for everyone else.

For a freight forwarder this cuts two ways. The good news: a growing share of domestic invoices will arrive in a structured format that's easier to process. The realistic view: many invoices will still arrive as PDFs, especially those from shipping lines, airlines and foreign agents that aren't subject to Spanish rules. Intelligent document reading will still be needed; what changes is that reconciliation and posting must be ready to handle both formats side by side.

Which KPIs to track and what results to expect

Before you start, set a baseline with four indicators: the straight-through processing rate (invoices posted with no intervention), average time per invoice, discrepancies caught before payment and the monthly close time for supplier reconciliation. Measuring them before and after is the most direct way to prove the return.

A Kaiona client handling 90,000 invoices a year automated their processing. The result: €141,000 in annual savings. That's the underlying logic of the whole process: the team's hours go into resolving discrepancies, not typing amounts.

€141,000 saved per year on a volume of 90,000 invoices.

‍

How to get started

Gather one month of invoices from your ten main suppliers, together with the agreed rates. That's enough to estimate a realistic automation rate and the savings before committing to anything. Billing is usually the best first step in a broader logistics digitalization project, because the savings are easy to measure and the team feels them from the first month.

// AUTOR
Kaiona Tech
The Kaiona Tech team: 20+ years in supply chain, applying AI to the paperwork of freight forwarders, customs brokers and logistics operators.
Related blog posts
No items found.