Generate a FedEx Electronic Trade Document (ETD) commercial invoice for an international shipment via the FedEx Ship REST API

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

Steps

  1. Obtain an OAuth 2.0 token from https://apis.fedex.com/oauth/token
  2. POST to /ship/v1/shipments including the 'customsClearanceDetail' object with commodities, currency, customsValue, and 'dutiesPayment' info; set 'shippingDocumentTypes' to include 'COMMERCIAL_INVOICE'
  3. In the request, set 'electronicTradeDocuments' to indicate ETD submission so FedEx electronically files the commercial invoice with customs rather than requiring paper copies
  4. Use the Trade Documents Upload API (/documents/v1/etds/upload) if pre-uploading a custom invoice PDF or company letterhead image for countries requiring a signed document
  5. Check the FedEx country list for ETD eligibility before assuming paperless clearance — unsupported country pairs return an EWO (Electronics with Originals) flag requiring printed copies to accompany the shipment

Known gotchas

Related routes

Build a customs commercial invoice payload for a FedEx REST international shipment and attach it as an electronic trade document
developer.fedex.com · 5 steps · unrated
Generate a compliant commercial invoice for an international shipment programmatically, including required fields for customs clearance
logistics-general · 6 steps · unrated
Upload a commercial invoice and supporting trade documents electronically for an international shipment using the UPS Paperless Documents API
developer.ups.com · 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