<- View all workflow automations

Turn trade invoices into customs broker-ready data

Lido reads commercial invoices for international shipments and extracts line items, values, HS codes, and trade terms for your customs broker or compliance system.

  • Any exporter format. Commercial invoices from any country or exporter layout extract without per-supplier templates.
  • Line-item detail. Each item with description, quantity, unit price, total value, HS code, and country of origin.
  • Incoterms and trade details. Payment terms, incoterms, and freight charges are captured alongside line items.
Trusted by thousands of finance and operations teams

How commercial invoice extraction works in Lido

Lido extracts every line item, HS code, and declared value from any seller invoice for customs entry prep.

1. Invoices arrive

Commercial invoices arrive as PDF email attachments from foreign sellers or freight forwarders, or via trade finance platforms and EDI feeds. Scanned and image formats are handled identically.

2. Header fields extracted

Seller, buyer, importer of record, invoice number, date, payment terms, currency, incoterms and named place, country of origin, and ports are extracted to populate the customs entry and trade finance record.

3. Line items extracted

Per line: goods description, HS/HTS code, quantity, unit price, total value, country of origin, and manufacturer. Lines missing HS codes are flagged for broker classification. One output row per invoice line.

4. Totals validated

Line values are summed against the invoice total and discrepancies flagged. Payment terms are structured. Prepaid freight and insurance amounts are extracted separately for CIF value calculation.

5. Data delivered

Output is a line-item dataset with seller, buyer, incoterms, HS code, value, quantity, origin, and currency, mapped to your ACE entry template or customs management system. Each line traces to the source page.

Try it free

See this workflow run on your documents

Upload a batch and get structured output in minutes.

Commercial invoice types Lido extracts from

Standard commercial invoices from foreign sellers

Multi-line invoices from manufacturers and trading companies. Any layout, currency, or language for numeric fields.

Pro forma invoices for customs and trade finance

Pro formas used for import permits, letters of credit, and advance customs declarations. Same extraction as final invoices.

Customs invoices (Canadian CI1 and others)

Country-specific formats with mandatory fields for the importing country's customs authority. All fields extracted.

Invoice-packing list combined documents

Combined documents with commercial invoice and packing list data extracted separately from a single file.

Letter of credit (L/C) drawing invoices

Invoices prepared for L/C compliance. L/C number and document requirement fields extracted alongside standard data.

Intercompany transfer pricing invoices

Related-entity invoices with transfer price, transaction value, and related-party indicator for customs valuation audit.

Why manual commercial invoice entry is the highest-error step in the customs process

The 40-line invoice entered one field at a time

  • An entry prep specialist manually types HS codes, declared values, and origin for each of 40 line items.
  • The seller lists an 8-digit HS code on line 17 instead of the required 10-digit HTS code for ACE entry.
  • Currency conversion from CNY to USD is done manually per line, introducing rounding and transposition errors.
  • The incomplete HS code is discovered during a CBP hold, delaying clearance and triggering an exam.

Lido extracts all 40 lines and flags the incomplete HS code before the entry is filed

  • Lido extracts every line item, HS code, and declared value from the 40-line invoice in one pass.
  • HS code format is validated against the expected 10-digit structure — 8-digit codes are flagged before ACE submission.
  • The broker corrects the subheading in entry prep, not during a CBP hold.
  • The entry is filed correctly and goods clear without exam or liquidation delay.

Lido vs manual commercial invoice entry for customs

FeatureLidoManual keying
Extract all line items, HS codes, and values from any seller invoice format
Validate HS code format completeness per importing country requirements
Cross-reference line totals against invoice grand total
Handle multi-currency invoices with currency field preserved per line
Output ACE-ready structured data mapped to your entry prep format
Read each invoice line and type every field into the ACE entry by hand
Trade document automation

A single incomplete HS code on line 17 of 40 can trigger a CBP exam that costs more than the entry

Extract commercial invoice line items with format validation, catch classification errors before ACE submission.

Common use cases

Customs Broker

Accelerate ACE entry preparation from multi-line commercial invoices

A licensed customs broker prepares 60 formal entries per week for import clients ranging from consumer electronics to industrial components. Commercial invoices average 25 line items across multiple HS classifications. Lido extracts each invoice and delivers ACE-ready structured data, reducing entry prep time per shipment from 50 minutes to under 12.

Importer / Retailer

Validate foreign seller HS codes before submitting to customs broker

A specialty goods importer sources from 60 foreign sellers across 15 countries. Sellers list their own HS codes on commercial invoices, accuracy varies widely. Lido extracts the seller-stated HS codes from each invoice and flags incomplete or format-invalid codes before documents reach the broker, reducing broker amendment fees and CBP inquiry risk.

Trade Finance Team

Extract commercial invoice data for letter of credit document verification

A trade finance team at an importer verifies that commercial invoices presented for letter of credit drawing comply with L/C terms, correct goods description, unit price within tolerance, correct incoterms, and required markings. Lido extracts the commercial invoice fields for automated L/C compliance checking against the terms in the L/C document.

Freight Forwarder

Compile customs document packages from commercial invoices and packing lists

A freight forwarder prepares customs document packages for 80 client shipments per week. Each package requires extracted data from the commercial invoice and packing list to complete the broker hand-off summary and verify that invoice and packing list quantities agree before documents are submitted for entry. Lido extracts both documents and cross-references quantities automatically.

Stop entering commercial invoice line items into your customs system by hand

Try Lido free. Upload a commercial invoice and see all line items, HS codes, declared values, incoterms, and currency extracted into customs broker-ready structured data in minutes.