Validate 6-10 digit Harmonized System codes, ISO-2 origin countries, and ICC Incoterms 2020 freight and insurance line alignment across EXW, FCA, FOB, CFR, CIF, CIP, DAP, and DDP.
Commercial Invoices require 6-10 numeric HS/HTS digits, 2-letter ISO-2 country of origin codes, and Incoterms 2020 alignment (e.g., CIF/CIP require freight & insurance visibility; FOB/EXW exclude main ocean freight from seller obligation).
| Incoterm 2020 | Full Name | Seller Pays Main Freight | Seller Pays Insurance | Seller Clears Import Duty |
|---|---|---|---|---|
| EXW / FCA | Ex Works / Free Carrier | No | No | No |
| FOB | Free On Board (Ocean) | No | No | No |
| CFR | Cost and Freight (Ocean) | Yes | No | No |
| CIF / CIP | Cost Insurance Freight / Carriage & Insurance Paid | Yes | Yes | No |
| DAP | Delivered at Place | Yes | No | No |
| DDP | Delivered Duty Paid | Yes | No | Yes |
Scenario: Supplier issues a CIF Los Angeles invoice listing $12,000 goods subtotal with $0 freight and $0 insurance.
Before: Missing freight/insurance breakdown under CIF causes destination customs valuation queries and delays entry clearance.
After: POST /v1/customs-docs validates 6-10 digit HS formatting, ISO-2 origin codes, and Incoterm cost structure before generating the final HTML/JSON/CSV customs packet.
Zero registration needed · Flat prepaid packs ($29 / $99 / $249) · Zero percentage split · 0% commission on treg hub · $0 on HTTP 422.
curl -fsSL -X POST "https://ship.fastmesh.dev/v1/customs-docs" \
-H "Content-Type: application/json" \
-d '{
"invoice_number": "INV-2026-CIF-02",
"incoterm": "CIF",
"currency": "USD",
"freight_usd": 1450.0,
"insurance_usd": 85.0,
"shipper": {
"name": "Ningbo Lighting Co.",
"address": "12 Port Rd, Ningbo",
"country_iso2": "CN"
},
"consignee": {
"name": "Harbor Retail Supply",
"address": "900 Pier Ave, Los Angeles, CA",
"country_iso2": "US"
},
"line_items": [
{
"sku": "LED-TASK-09",
"description": "Aluminum LED Desk Task Lamp 12V",
"hs_code": "9405210000",
"origin_country_iso2": "CN",
"quantity": 500,
"unit_price": 24.0,
"net_weight_kg": 350.0,
"gross_weight_kg": 395.0
}
]
}'
International WCO standards require at least 6 digits for Harmonized System classification, and US/EU import entries typically require 8 to 10 digits (HTS/TARIC).
US CBP and EU ICS2 pre-arrival screening automatically flag vague goods descriptions ('parts', 'gift', 'goods', 'misc') for manual inspection holds.