Lido extracts line items, HS codes, unit values, total declared values, incoterms, currency, seller and buyer details, and country of origin from commercial invoices for international shipments, and delivers structured data ready for customs entry preparation, duty calculation, and trade compliance review. From any seller, in any format.

.png)
.png)



The commercial invoice is the primary document for customs entry, duty payment, and trade finance in international trade. Getting every line item right. HS code, declared value, country of origin, incoterms, is critical for compliance and for avoiding CBP holds and duty errors. Manually extracting 40-line invoices from foreign sellers is where most keying errors enter the customs process. Lido extracts the invoice and structures the data before the entry is filed.
Commercial invoices are emailed by foreign sellers or freight forwarders as PDF attachments in advance of shipment. Some arrive via trade finance platforms, B2B portals, or EDI feeds. Lido processes all input types in the same extraction pipeline. PDF is the most common format, but image attachments and scanned invoices are handled with the same extraction accuracy.
From the invoice header: seller name and full address, country of export, buyer name and address, importer of record if different from buyer, invoice number, invoice date, payment terms, currency, incoterms and named place (e.g., FOB Shanghai, CIF Los Angeles), country of origin, port of loading, and port of destination. These header fields populate the customs entry and trade finance record.
For each line item on the commercial invoice: description of goods, HS code or HTS code as stated by the seller, quantity, unit of measure, unit price in invoice currency, total line value in invoice currency, country of origin if per-line, and manufacturer or producer name where stated. Lines without HS codes, common on invoices from sellers not required to provide tariff codes, are extracted without the HS field and flagged for broker classification.
Line-item values are summed and compared against the invoice total. Discrepancies, where the sum of lines does not match the stated total, are flagged with the variance amount. Payment terms are extracted and structured: T/T 30 days, L/C at sight, D/A 60 days, open account net 30. Prepaid freight and insurance amounts listed on the invoice are extracted separately for CIF value calculation.
The extraction output is a line-item dataset with all fields required for customs entry preparation, seller, buyer, incoterms, HS code per line, declared value per line, quantity, country of origin, and currency. The output maps to your customs management system's entry prep template or to your broker's ACE data entry format. Each line is traceable to the source invoice page and line number for audit support.
Upload a batch and get structured output in minutes.
Multi-line commercial invoices from manufacturers and trading companies in any country. Any layout, any currency, any language for numeric fields, all extracted.
Pro forma invoices used for import permits, letters of credit, and advance customs declarations. Same field extraction as final commercial invoices.
Country-specific customs invoice formats with mandatory fields for the importing country's customs authority. Standard and country-specific fields both extracted.
Single documents serving as both commercial invoice and packing list. Commercial invoice fields and packing list carton detail extracted separately.
Commercial invoices prepared to comply with letter of credit terms. L/C number, document requirements, and compliance fields extracted alongside standard commercial invoice data.
Invoices between related entities for goods transferred across borders. Transfer price per unit, total transaction value, and related-party indicator extracted for customs valuation and transfer pricing audit.
A customs broker's entry prep specialist receives a commercial invoice from a Chinese manufacturer for a shipment of 12 different product lines, 40 rows total, with different HS codes for each product category. The specialist reads each line, types the HS code into the ACE entry, enters the declared value in USD (converting from the CNY invoice price), and enters the country of origin. On line 17, the seller has listed an HS code that is 8 digits instead of 10 — an incomplete subheading. The entry is filed with the incomplete code. CBP flags the entry for additional review, the goods sit in exam, and the importer pays $1,400 in demurrage before the hold is resolved.
Lido extracts every line item, HS code, and declared value from the 40-line invoice and validates the HS code format against the expected 10-digit structure. Line 17's 8-digit code is flagged for broker review before ACE submission. The broker corrects the subheading in the entry prep stage, not during a CBP hold. The entry is filed correctly and the goods clear without exam.
| Feature | Lido | Manual 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 | ✓ | ✓ |
Extract commercial invoice line items with format validation, catch classification errors before ACE submission.
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.
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.
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.
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.