Volver al blog

Artificial Intelligence

Automating international trade documentation with AI

Invoices, packing lists and bills of lading: what extracts well, why cross-checking between documents matters more than extraction, and where the line is.

An international shipment generates a set of documents describing the same goods from different angles: the commercial invoice, the packing list, the bill of lading, the certificate of origin, the insurance policy.

The operational work consists of reading them, keying the data into systems and — this is the part that matters — checking that they say the same thing. When they do not, there is a problem better discovered before the goods arrive than after.

This article covers which part of that process automates well and why cross-checking between documents is worth more than extraction.

For the industry picture, AI for logistics companies has the map, and AI in logistics and transport covers the sector's other use cases.

What extracts well

Trade documents have one favourable characteristic: the format varies by issuer, but the structure is recognisable. A commercial invoice has the same sections whoever issues it.

What works:

  • Commercial invoice: issuer, consignee, goods description, quantities, unit and total values, terms of sale, currency.
  • Packing list: packages, weights, volumes, contents per package, marks.
  • Bill of lading: consignee, ports, vessel or flight, dates, containers.
  • Certificate of origin: country, origin criterion, issuer.
  • Insurance policy: cover, sum insured, validity.

What to assess separately before promising anything: degraded scans, documents with stamps over the text, handwritten notes in the margins, documents in other alphabets.

What is worth more: the cross-check

Here is the difference between a project that saves some keying time and one that changes the cost of the shipment.

Extracting invoice data saves minutes. Detecting that the invoice declares 480 units and the packing list 460, before the container arrives, avoids a delay. And delays in international trade do not cost time: they cost storage, container demurrage and, depending on the case, a shipment that becomes a customs problem.

The cross-checks worth automating:

Check Between which documents
Quantities and packages Invoice ↔ packing list ↔ bill of lading
Goods description Invoice ↔ certificate of origin
Values and currency Invoice ↔ insurance policy ↔ declared terms of sale
Consignee and notify party All documents
Dates and validity Certificates and policy against shipment date
Weights Packing list ↔ bill of lading

These are checks a person does today, reading documents side by side. It is exactly the kind of task where human error is frequent — not through lack of ability, but through volume and repetition — and where automated verification is reliable, because these are objective comparisons rather than interpretations.

The value is not that the system reads faster. It is that it never skips a check.


Not sure where to start? We review your operations and opportunities to recommend how to adopt AI effectively, at no cost or commitment. Write to us at info@whitespacetech.xyz.


Where the line is

Tariff classification.

The system can propose a code and show what it based that on, which is useful as a starting point for a repeat shipment. What it should not do is confirm it alone.

A wrong classification has consequences in the duties paid, in clearance timing and in potential penalties. The responsibility sits with an identifiable professional who has to be able to justify the criterion. It is the same reasoning that applies to other decisions with regulatory consequences: the system prepares, the person decides.

The same holds for any declaration filed with an authority: the content can be assembled automatically, the filing is done by someone who answers for it.

The two mechanisms that make it reliable

Every value traced to its source. The extracted value shows which document and page it came from. Verifying costs one click rather than opening the PDF and searching. Without this, reviewing costs as much as keying and the saving disappears.

The system says when it does not know. If a field is illegible, it has to be flagged as not found, not filled with a plausible value. In international trade, invented data is not caught in the office: it is caught at destination, when it is expensive.

Document automation develops the general mechanism, and how to stop AI from making things up the control.

What to measure

Baseline before starting, measured rather than estimated:

  • Keying time per shipment.
  • Discrepancies caught before arrival versus those caught after. The indicator that best reflects the value of cross-checking.
  • Delay costs: storage and demurrage attributable to documentary problems.
  • Shipments held over documentation inconsistencies.

The control pair: processing time and discrepancies caught. Speeding up keying by skipping checks makes the operation worse even when the first number improves.

Where to start

One shipment type, one group of suppliers. Pick the flow with the most volume and the most stable formats, measure on that, and only then extend to suppliers with more irregular documentation, which is where the system will need the most tuning.

One scoping detail worth fixing from the start: begin with the cross-checks, even if keying stays manual. Automated verification can run over manually keyed data and deliver most of the benefit before extraction is solved. It is a shorter path to the first result.


We support implementation end to end: assessment and plan, configuration and integration with your systems, and team training. To review your document process, write to us at info@whitespacetech.xyz or see AI for logistics companies. The initial assessment is free of charge.

Frequently asked questions

Which trade documents process well automatically?

Those with recognisable structure, even when the format varies by issuer: commercial invoices, packing lists, bills of lading, certificates of origin and insurance policies. Extraction works well on digital documents and on reasonable-quality scans. Degraded scans, documents with stamps over the text and handwritten notes are worth assessing separately.

Does it replace the customs broker?

No. Tariff classification and responsibility before customs are professional work with direct legal and financial consequences. What changes is where that judgement is applied: instead of keying data from documents, the broker concentrates on classification, exceptions and shipments that do not fit the usual pattern.

Can it suggest the tariff code?

It can propose one and show what it based that on, which is useful as a starting point. It should not confirm it alone: a wrong classification has consequences in duties, in timing and in potential penalties, and the responsibility sits with an identifiable person. The system proposes, the professional decides.

Where is the bigger saving, in extraction or in cross-checking?

In cross-checking. Extracting data from an invoice saves keying time. Detecting that the invoice quantity does not match the packing list, before the container arrives, avoids a delay. The second has a far larger effect on the total cost of the shipment.

What if the system misreads a value?

That is why every extracted value has to be linked to its source document and page, so verifying costs one click. And the system has to report when it could not find a value rather than filling it with something plausible: a flagged empty field gets resolved, a field with invented data is not caught until it causes a problem at destination.

Is it worth it for a company with low import volume?

The benefit grows with the number of shipments and with the variety of suppliers and formats. A company with a few shipments a year and one supplier handles that by hand. It pays off with sustained volume, many issuers in different formats, or when delays are expensive.

Todos los artículos

Innovemos juntos

Escribinos