DOCUPIPE

    Solutions

    Resources

    Pricing

Make sense of any

Commercial Invoice

Generate accurate and consistent data from any document, any layout.

UC Berkeley logoMuleSoft logoLX Pantos logoWorkato logoGLP logoBardavon logoHuliot Group logoInfinya logoPolitical Financial Management logoDomos logoDeck logoLevel logoSmile America Partners logoTurn2 Specialty Companies logoMars Electric logoEmpirys logoLendWell logoOneCarNow logoThe Upright Project logo
Hash Data logo
FCB Italia logo
UC Berkeley logoMuleSoft logoLX Pantos logoWorkato logoGLP logoBardavon logoHuliot Group logoInfinya logoPolitical Financial Management logoDomos logoDeck logoLevel logoSmile America Partners logoTurn2 Specialty Companies logoMars Electric logoEmpirys logoLendWell logoOneCarNow logoThe Upright Project logo
Hash Data logo
FCB Italia logo
Customs & Trade

The world's best commercial invoice extraction

Automate customs clearance and trade compliance. Extract HS codes, Incoterms, country of origin, and line-item values from international shipping invoices. Built-in validation ensures total value matches line item sums to prevent customs rejection.

commercial-invoice.pdf

Viewer

JSON

invoice_number

CI-2024-00892

invoice_date

2024-01-20

shipper_name

Shanghai Electronics Co., Ltd

shipper_address

88 Industrial Road, Pudong, Shanghai, China

consignee_name

Tech Distributors Inc.

consignee_address

1200 Commerce Blvd, Los Angeles, CA 90012

country_of_origin

CN

incoterm_code

FOB

incoterm_place

Shanghai

currency_code

USD

Line_items

2 items

description

hs_code

quantity

unit_price

total_value

LED Display Modules

8528.59.00

500

45

22,500

Power Adapters

8504.40.00

500

8.5

4,250

total_customs_value

26750

total_gross_weight_kg

850

total_packages

25

{ "invoice_number": "CI-2024-00892", "invoice_date": "2024-01-20", "shipper_name": "Shanghai Electronics Co., Ltd", "shipper_address": "88 Industrial Road, Pudong, Shanghai, China", "consignee_name": "Tech Distributors Inc.", "consignee_address": "1200 Commerce Blvd, Los Angeles, CA 90012", "country_of_origin": "CN", "incoterm_code": "FOB", "incoterm_place": "Shanghai", "currency_code": "USD", "line_items": [ { "description": "LED Display Modules", "hs_code": "8528.59.00", "quantity": 500, "unit_price": 45, "total_value": 22500 }, { "description": "Power Adapters", "hs_code": "8504.40.00", "quantity": 500, "unit_price": 8.5, "total_value": 4250 } ], "total_customs_value": 26750, "total_gross_weight_kg": 850, "total_packages": 25 }

commercial-invoice.pdf

Viewer

JSON

invoice_number

CI-2024-00892

invoice_date

2024-01-20

shipper_name

Shanghai Electronics Co., Ltd

shipper_address

88 Industrial Road, Pudong, Shanghai, China

consignee_name

Tech Distributors Inc.

consignee_address

1200 Commerce Blvd, Los Angeles, CA 90012

country_of_origin

CN

incoterm_code

FOB

incoterm_place

Shanghai

currency_code

USD

Line_items

2 items

description

hs_code

quantity

unit_price

total_value

LED Display Modules

8528.59.00

500

45

22,500

Power Adapters

8504.40.00

500

8.5

4,250

total_customs_value

26750

total_gross_weight_kg

850

total_packages

25

{ "invoice_number": "CI-2024-00892", "invoice_date": "2024-01-20", "shipper_name": "Shanghai Electronics Co., Ltd", "shipper_address": "88 Industrial Road, Pudong, Shanghai, China", "consignee_name": "Tech Distributors Inc.", "consignee_address": "1200 Commerce Blvd, Los Angeles, CA 90012", "country_of_origin": "CN", "incoterm_code": "FOB", "incoterm_place": "Shanghai", "currency_code": "USD", "line_items": [ { "description": "LED Display Modules", "hs_code": "8528.59.00", "quantity": 500, "unit_price": 45, "total_value": 22500 }, { "description": "Power Adapters", "hs_code": "8504.40.00", "quantity": 500, "unit_price": 8.5, "total_value": 4250 } ], "total_customs_value": 26750, "total_gross_weight_kg": 850, "total_packages": 25 }

What is a commercial invoice?

A commercial invoice is the invoice a seller issues to a buyer in an international sale, and it doubles as the main document customs uses to value and classify the goods. It names the seller, the buyer and often a separate consignee, describes each item with its quantity, unit price and country of origin, and states the currency, payment terms and Incoterm. Customs in the importing country uses it to calculate duty, and banks examine it when the sale is paid by letter of credit.

Customs brokers build import entries from commercial invoices, freight forwarders use them to prepare export filings, and buyers' accounts payable teams book them like any supplier invoice. Trade compliance teams pull HS codes, origin and values from each line to check classification, duty and trade agreement claims.

Searchers may mean a proforma invoice, sent before shipment as a quote or to support an import permit, which is not a demand for payment. A customs invoice is a format some importing countries prescribe. A packing list carries quantities and weights without prices and usually travels with the commercial invoice.

Fields to extract from a commercial invoice

FieldWhat it holds
Invoice number and dateThe seller's invoice reference and issue date.
Seller or exporterName, address and tax or export registration of the seller.
Buyer and consigneeWho is paying and, if different, who receives the goods.
Item descriptionWhat each line is, in enough detail for customs classification.
HS codeThe tariff classification for each line, at 6 digits or more.
Country of originWhere each item was made.
Quantity and unitHow many units, kilograms or other units per line.
Unit price and line totalPrice per unit and the extended amount per line.
CurrencyThe currency the invoice is priced in.
Incoterm and named placeThe delivery term, such as FOB Shanghai or DAP Chicago.
Freight and insuranceTransport and insurance charges, when shown separately.
Invoice totalThe total amount due for the shipment.
Payment termsWhen and how the buyer pays, such as open account or letter of credit.
Declaration and signatureThe exporter's statement that the invoice is true and correct, with signature.

What makes a commercial invoice hard to process

  • No two exporters use the same template, and many invoices come from small accounting tools, spreadsheets or typed forms.
  • Line tables run across pages with subtotals, discounts and freight lines mixed in among the goods.
  • Descriptions are often abbreviated or in the seller's language, and HS codes may be given at 6 digits or with the exporting country's national extension.
  • Number formats differ by country, so 1.250,00 and 1,250.00 have to be read as the same amount.

Checks to run on extracted commercial invoice data

  • Quantity times unit price equals each line total, and the lines plus freight, insurance and other charges equal the invoice total.
  • HS codes have at least 6 digits and the description fits the heading.
  • The Incoterm is a recognized rule such as FOB, CIF or DAP, and a named place is given.
  • Quantities and weights agree with the packing list and bill of lading for the same shipment.
  • Every line has a country of origin, since customs needs it to apply the right duty rate.

Common questions about a commercial invoice

What is the difference between a commercial invoice and a proforma invoice?

A proforma invoice is a preliminary document sent before the goods ship, often as a quote, to support a letter of credit application or to let the buyer obtain an import license. A commercial invoice is the final bill issued at shipment, and it is the one customs uses to value the goods. The figures on the two can differ if the order changed in between.

Does a commercial invoice need HS codes?

It depends on the importing country. Many customs authorities do not require the exporter to print HS codes on the invoice, but including them helps the broker classify the goods and speeds up clearance. The importer is still responsible for the classification declared to customs, whatever the invoice says.

Why does customs care about the Incoterm on a commercial invoice?

The Incoterm tells customs which costs are included in the invoice price. Countries that value imports on a CIF basis add freight and insurance when the invoice is FOB, while the United States uses a transaction value that generally excludes international freight and insurance, so those are deducted from a CIF price. A missing Incoterm makes the declared value hard to verify.

Extraction you control

Define your rules. Extract exactly what you need. Define intelligent document extraction pipelines

Integrations

Connect Commercial invoices across your stack

DocuPipe captures commercial invoices from supplier portals, EDI feeds, or email. Extract shipper, consignee, HS codes, Incoterms, and customs values, then sync directly to customs filing systems, warehouse management, or your TMS.

Secure and Compliant

Fully secure. Always.

Your documents are your own and never shared for any reason. DocuPipe encrypts all documents in transit and at rest, and has undergone formal certification to become ISO 27001 certified. This ensures that the highest standards of information security are met. DocuPipe is both GDPR and HIPAA compliant.

Visit our security page
GDPR Compliant
HIPAA Ready
ISO 27001
On-prem and private cloud

Run DocuPipe inside your own network.

Install the full DocuPipe stack in your own AWS, Azure or Google Cloud account, or on any Kubernetes cluster you run, from OpenShift to bare metal in your own datacenter. Documents, credentials and results stay on infrastructure you own, nothing needs to reach the internet, and DocuPipe has no access to your data. It is the same web app and API as our cloud, so schemas, extraction and webhooks work the same way.

Runs on
Your cloud account, or any Kubernetes cluster you run
Internet at runtime
Not required
Our access to your data
None
Install check
A real document, end to end, before it reports success
Upgrades
Rerun one command, or change one image reference

Public internet

outside your network

No outbound connection required

Your network

Web app and API

Your team signs in over your own network

OCR and extraction

Run inside the deployment

Database and storage

Your database, your buckets

Model calls

Inside your account, or to an endpoint you host

Your cloud account

AWS, Azure or Google Cloud, installed with one command

Any Kubernetes cluster

OpenShift or other Kubernetes, on any cloud provider, installed with Helm

Your own datacenter

Bare metal, designed for air-gapped networks

Over 1 billion pages processed, and counting

Trusted by customers big and small across every industry
G2 Best Support
G2 High Performer
G2 Users Love Us
G2 Most Likely to Recommend
G2 Easiest To Do Business With

Rated 4.9/5 on G2 verified reviews

 

Related documents:

Related documents:

Air Waybill

Purchase Order

Bon de Livraison

Cargo Manifest

Lieferschein

Sales Order Acknowledgment

Sales Order

Customs Declaration

Certificate of Analysis

CII Invoice

SAD Form

CT-e

Export License

Quote

Delivery Docket

Packing Slip

Sanitary Certificate

EDI 856 ASN

Delivery Receipt

MSDS / Safety Data Sheet

Shipping Label

Hatchusho

Dangerous Goods Declaration

Bestellung

Bill of Entry

More documents

More Logistics documents