Create a Shippo customs declaration object and attach it to an international shipment to generate compliant customs paperwork

domain: goshippo.com · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Create one or more Customs Items describing each product being shipped: description, quantity, value, weight, origin country, and tariff/HS code if available.
  2. POST to the Customs Declarations endpoint with contents_type, certify, certify_signer, eel_pfc, and incoterm fields, plus either inline items or references to previously created Customs Item object_ids.
  3. Include the returned customs_declaration object_id in your Shipment creation call alongside the standard address_from/address_to/parcel fields for an international shipment.
  4. Retrieve Rates for the shipment as usual, then purchase the label/transaction — Shippo generates the necessary customs forms (e.g., CN22/CN23 or commercial invoice, depending on carrier and value) from the declaration data.
  5. Verify the generated label/customs documents before handoff to the carrier, confirming declared values and HS codes match your actual commercial invoice to avoid customs holds.

Known gotchas

Related routes

Build a customs declaration and commercial invoice payload for an international shipment label via carrier APIs
logistics/shipping · 6 steps · unrated
Generate a compliant commercial invoice for an international shipment programmatically, including required fields for customs clearance
logistics-general · 6 steps · unrated
Implement international customs documentation (commercial invoice, HS codes, incoterms) for a cross-border shipment API
logistics-general · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans