← All posts Article · Oct 5, 2026

Import Document Automation: Check the Whole Shipment File

Lennard Kooy·Oct 5, 2026·12 min read
Import Document Automation: Check the Whole Shipment File

Import document automation reads every document in an incoming shipment file, from the bill of lading to the commercial invoice, packing list and certificate of origin, and checks them against each other and against your purchase order. At Lleverage we think the value is in that cross-check, not in lifting fields off one document at a time.

Picture the import desk of a food or consumer goods importer on a Tuesday morning. A container is due in Rotterdam on Thursday, the forwarder wants the customs data by tomorrow, and the file sits in four email threads: a scanned bill of lading, a supplier invoice in dollars, a packing list with carton counts, and an origin certificate that may or may not carry the right HS code. Someone opens them side by side and compares weights, quantities and consignee names line by line, because one mismatch means a query from customs or a hold at the terminal. This article explains what an import shipment file contains, why checking it is still manual, how the common approaches compare and where an AI agent changes the work.

That view comes from working with manufacturers, wholesalers and importers whose back offices run on documents that arrive from suppliers, carriers and forwarders in every format imaginable. We build AI agents that read those documents, compare them with the record in your ERP and hold the exceptions for a person, the same cross-check our shipping document agents run on outgoing papers. If you want to see it on your own shipment files, book a demo.

What is import document automation?

Import document automation is the automatic reading of the documents that come with an inbound shipment, extracting the data a customs declaration and a goods receipt need, and verifying that the documents agree. Basic products extract fields. Better ones compare the whole file against itself and against the purchase order before anyone relies on it.

Most products sold under this label today are extraction products. They take a bill of lading or an invoice, find the shipper, consignee, container number, weights and line items, and push them into a transport or customs system. That is useful work, and for a freight forwarder handling thousands of bills of lading a week, it is most of the job.

An importer's job is different. The importer owns the goods, pays the supplier, carries the customs liability and has to put the stock into the ERP. For that reader, one clean bill of lading proves very little. What matters is whether the bill of lading, the invoice, the packing list and the origin papers describe the same shipment, and whether that shipment is the one that was ordered. We think import document automation that stops at extraction has automated the typing and left the checking, which is where the risk sits.

Which documents are in an import shipment file?

A typical import shipment file holds a transport document (bill of lading, sea waybill or air waybill), a commercial invoice, a packing list, and depending on the goods a certificate of origin, health or phytosanitary certificates and product certificates. Your own purchase order and the arrival notice complete the set the import desk has to reconcile.

The volume is larger than most people outside trade assume. The International Chamber of Commerce and the World Trade Organization reported in March 2022 that a typical trade transaction requires the exchange of 36 documents and 240 copies, and that fewer than 1% of trade documents were fully digitised. An importer does not handle all 36, but the handful that land on the import desk arrive from different parties, in different layouts and at different times.

DocumentIssued byWhat the import desk checks
Bill of lading or sea waybillCarrier or forwarderConsignee, container and seal numbers, packages, gross weight, port of discharge
Commercial invoiceSupplierGoods description, quantities, unit prices, currency, Incoterms, invoice total
Packing listSupplierCartons or pallets, net and gross weights, marks, per-line quantities
Certificate of origin or origin statementSupplier or chamber of commerceCountry of origin, HS code, whether preferential duty can be claimed
Health, phytosanitary or product certificatesAuthority or accredited bodyBatch or lot references, validity, that they cover these goods
Purchase orderYouOrdered items, quantities, agreed prices and delivery terms

The paper bill of lading is not disappearing quickly. The Digital Container Shipping Association, whose member carriers include MSC, Maersk and CMA CGM, reported that only 1.2% of bills of lading were electronic in 2021. In February 2023 its members committed to issuing 50% of bills of lading electronically within 5 years and 100% by 2030. Until then, most importers keep receiving scans and PDFs, which is why import document automation has to read paper as well as data.

Why is checking an import shipment file still manual?

Checking stays manual because the risk is in the relationships between documents, and each document comes from a different party with its own layout. Extraction products read one document at a time. The comparison that catches a wrong weight, a missing carton or an origin claim that does not hold is still done by a person with the documents open side by side.

Banks have been strict about this for decades. Under the ICC's Uniform Customs and Practice for Documentary Credits (UCP 600), article 14(d), data in a document need not be identical to, but must not conflict with, data in any other stipulated document. The ICC Banking Commission's own example is a model number shown as "123" on one document and "321" on another: that is a conflict, and the presentation fails. An importer paying by letter of credit meets this rule directly. Everyone else meets its customs equivalent when a declaration built from one document is contradicted by another.

The mismatches that cause trouble are rarely dramatic. A packing list gives the net weight where the bill of lading gives the gross weight. A supplier invoices 1,200 units while the packing list adds up to 1,140 because one pallet missed the container. The invoice shows a HS code that differs at the sixth digit from the one on the origin certificate. A consignee name on the bill of lading still carries last year's legal entity. Each one takes a minute to spot if you are looking, which is what import document automation should be doing, and days to resolve if customs spots it first.

There is also a timing problem. Documents for one shipment arrive over days: the invoice with the supplier's shipping advice, the bill of lading when the vessel sails, the origin certificate when the chamber of commerce has issued it. Most import desks wait until the file is complete and then check everything at once, often a day before arrival, which leaves no time to get a corrected document from a supplier on the other side of the world.

How do import document automation approaches compare?

There are 4 common ways to handle import documents: manual checking, template-based extraction, intelligent document processing that extracts from any layout, and an AI agent layer that extracts and then verifies the whole file against the purchase order. Only the last one changes who does the cross-check.

Manual checkingTemplate extractionIntelligent document processingAI agent layer
New supplier layoutRead by a personNew template neededRead without a templateRead without a template
Unit of workThe whole file, by eyeOne documentOne documentThe whole shipment file
Cross-document checkBy the person, if time allowsNoneUsually none, or basic field rulesEvery document against the others and the PO
When checking startsWhen the file is completeWhen a document arrivesWhen a document arrivesWhen each document arrives, re-checked as the file fills
ExceptionsFound late, often by customsNot detectedLow-confidence fields flaggedMismatches held with the evidence for a person
Best fitVery low volumeFew suppliers, fixed layoutsForwarders keying data into a TMSImporters who own the goods, the payment and the customs risk

Our reading of it is this. If your problem is typing, intelligent document processing solves it, and a good extraction product is the right purchase. If your problem is the shipment that arrives with papers that do not agree, extraction alone moves the error from the keyboard to the ERP faster. The reconciliation has to be automated too.

What does an AI agent add to import document automation?

An AI agent reads each document as it arrives, extracts the data, and checks it against the rest of the file and the purchase order. When everything agrees, it prepares the data for the customs declaration and the goods receipt. When something conflicts, it holds the file and shows a person the exact fields that disagree, with the documents they came from.

The closest published proof for this pattern is not from an importer. Solifi, which builds software for secured finance lenders, worked with Lleverage on document validation where contracts, invoices, bank details and identity documents have to agree with the transaction before funds move. The capability evaluates documents as they arrive instead of waiting for the file to be complete, and every result comes back with the supporting evidence and the reason for an exception. The domain is different, but the problem has the same shape as an import file: several documents from several parties that must all describe one transaction.

The extraction side is proven closer to home. At Microtechniek, a precision manufacturer, around 60 purchase orders a week land in the ERP without anyone typing them, measured in August 2026, including the ones matched to an existing quote. At Topa Bathroom Products, more than 90% of incoming orders are processed straight into Business Central by an agent. Import documents are different documents, but reading a supplier's layout reliably and matching it to a record already in your ERP is the same capability.

"The order is in the system immediately. We're no longer dependent on when someone has time to process that email." Martin Barnas, ERP Administrator, Microtechniek

For an import desk, "no longer dependent on when someone has time" means the invoice is checked against the purchase order the day it arrives, not the day before the vessel does. A price or quantity difference then goes back to the supplier while there is still time to fix it, which is the same logic as matching invoices to orders and receipts in accounts payable.

What should the agent check on every shipment?

A useful starting set of import document automation checks for an importer, each of which the agent runs automatically and a person can switch on, off or tighten:

  1. Consignee and notify party on the bill of lading match your legal entity and your forwarder.
  2. Package count and gross weight agree between the bill of lading and the packing list, within a tolerance you set.
  3. Quantities per line agree between the invoice, the packing list and the purchase order.
  4. Unit prices and currency on the invoice match the purchase order, and the Incoterm matches what was agreed.
  5. The HS code and origin on the certificate match the invoice and your item master, so a preferential duty claim holds up.
  6. Batch or lot numbers on health and product certificates match the goods on the packing list.

Which supplier always ships 2% over, which forwarder writes weights in pounds, which product family needs a phytosanitary certificate: that knowledge sits in a company knowledge layer your team can read and correct, instead of in the head of the one person who has done imports for 12 years.

How do you keep a person in control of customs data?

You keep control by setting where the agent may act on its own and where a person must decide, and by keeping a record of what it read and why. Clean files flow through to the declaration data and the goods receipt. Conflicts, missing documents and anything touching duty or origin claims go to a named person first.

Customs liability does not move to an agent, however good the import document automation behind it. The importer, or the customs representative acting for it, remains responsible for the declaration, so the design question is what the agent is allowed to finish. In our setup a threshold decides what it completes alone and what waits for review, and every action is logged with the documents and fields it used. That control and audit trail is also what you show an auditor who asks how a declaration was built.

For import files we recommend a conservative line at the start:

  • Any conflict between documents holds the file and alerts the import desk, with the fields side by side.
  • A missing document is chased with the supplier or forwarder by email, drafted by the agent and sent by a person until you trust the wording.
  • Anything that changes duty, such as a preferential origin claim or a different HS code, is always decided by a person.
  • The goods receipt is only prepared once the file is clean, so stock never enters the ERP on a document that was contradicted elsewhere.

With import document automation, the line moves as the agent proves itself on your suppliers. Most teams start with everything reviewed, then let clean files through once the checks have been right for a few weeks. We describe that pattern in more detail in our piece on supervised agents versus background automation.

Which import documentation approach fits an importer?

The right approach depends on volume, the number of suppliers and how much of your risk sits in mismatches. A few suppliers with fixed layouts can live with templates. Many suppliers, several origins and preferential duty claims justify an agent that reads and cross-checks the whole file, because that is where the hours and the customs queries come from.

A practical test takes an hour. Take the last 20 import shipments and count three things: how many had at least one document that disagreed with another, how many of those were found before arrival, and how many hours the import desk spent chasing corrections. If the first number is higher than you expected and the second is lower, extraction will not fix it, and import document automation that cross-checks the whole file will. Inbound documents and inbound orders often share the same suppliers, customer rules and ERP, which is why importers who start with one frequently add the other.

Frequently asked questions

What documents are required to import goods into the EU?

An EU import normally needs a transport document such as a bill of lading or air waybill, a commercial invoice, and a packing list, plus the customs declaration itself. Depending on the goods you may also need a certificate or statement of origin for preferential duty, and health, phytosanitary or conformity certificates. Your customs representative confirms the exact set.

Can import document automation handle scanned or photographed documents?

Yes, provided the scan is legible. Modern extraction reads scanned PDFs and photographs without a template per supplier, which matters because most bills of lading are still paper or PDF. Poor scans lower confidence, and a well-configured agent flags a low-confidence field for a person instead of guessing, so a blurred weight never reaches the declaration.

Does import document automation replace a customs broker?

No. A customs broker or representative lodges the declaration and carries professional responsibility for it. Import document automation prepares clean, cross-checked data for that declaration and for your own ERP, and catches conflicts before they reach the broker. Brokers usually welcome it, because they receive fewer incomplete or contradictory files.

What is the difference between a bill of lading and a sea waybill?

A bill of lading is a receipt for the goods, evidence of the contract of carriage and, when negotiable, a document of title that must be presented to collect the cargo. A sea waybill is a receipt and contract but not a document of title, so the named consignee collects the goods without presenting an original.

See it on your own shipment files

The quickest test is a file that caused trouble. Bring 3 or 4 recent import shipment files, including one where the papers did not agree, and we will show the agent reading every document, checking them against each other and your purchase order, and holding the conflicts for your import desk. Book a demo and we will set it up with the person who runs your imports.

Give your back office an AI workforce.