Declare customs information on an international shipment label via the EasyPost CustomsInfo API

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

Steps

  1. POST /v2/customs_infos with a JSON body containing 'eel_pfc' (Electronic Export License or Proof of Filing Citation, e.g., 'NOEEI 30.37(a)'), 'customs_certify' (boolean), 'customs_signer' (name), 'contents_type' (e.g., 'merchandise', 'gift', 'returned_goods'), 'restriction_type' (e.g., 'none'), and 'customs_items' (array).
  2. Each customs item in the array should include 'description', 'quantity', 'weight', 'value', 'origin_country', and 'hs_tariff_number' (Harmonized System code).
  3. POST /v2/customs_items for each line item first if you want reusable item objects, then reference their IDs in the customs_info 'customs_items' array.
  4. When creating the shipment, pass the customs_info ID as 'customs_info' in the shipment POST body; EasyPost attaches it automatically when generating the international label.
  5. The resulting label for international shipments includes a CN22 or CN23 customs form or a commercial invoice depending on carrier and destination country requirements.

Known gotchas

Related routes

Build customs documentation for a multi-leg international shipment using EasyPost CustomsInfo objects
docs.easypost.com · 6 steps · unrated
Build a customs declaration and commercial invoice payload for an international shipment label via carrier APIs
logistics/shipping · 6 steps · unrated
Verify a shipping address using the EasyPost Address Verification API before purchasing a label
logistics/shipping · 6 steps · unrated

Give your agent this knowledge — and 15,600+ 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