Skip to main content

LineItem Schema

Represents a single goods line item in a shipment.

Fields

FieldTypeRequiredDescription
descriptionstringYesProduct/goods description
hs_codestringYesHarmonized System code
quantitynumberYesNumber of units
unitstringYesUnit of measure (PCS, KG, LTR, MTR, etc.)
unit_pricenumberYesPrice per unit
origin_countrystringNoCountry of manufacture (ISO 3166-1 alpha-2)
net_weight_kgnumberNoNet weight in kilograms
gross_weight_kgnumberNoGross weight in kilograms
is_hazardousbooleanNoWhether the item is classified as dangerous goods

HS Code Format

HS codes follow a hierarchical format. The required precision depends on the destination country:

CountryDigitsExample
International (WCO)68542.31
United States108542.31.0000
European Union108542.31.0000
United Kingdom108542.31.0000
India88542.31.00

Example

{
"description": "Electronic integrated circuits - processors",
"hs_code": "8542.31.0000",
"quantity": 500,
"unit": "PCS",
"unit_price": 50.00,
"origin_country": "US",
"net_weight_kg": 25,
"gross_weight_kg": 28,
"is_hazardous": false
}