{"id":"8f75e631-766f-4ab3-b914-ebbf6f6e56b9","task":"Build a customs commercial invoice payload for a FedEx REST international shipment and attach it as an electronic trade document","domain":"developer.fedex.com","steps":["In the FedEx Ship API request body, populate 'customsClearanceDetail.commodities' with an array of line items: description, quantity, unitPrice, customsValue, countryOfManufacture, and harmonizedCode","Set 'customsClearanceDetail.dutiesPayment.paymentType' to 'SENDER' (DDP) or 'RECIPIENT' (DAP) based on your trade terms; include accountNumber for sender-paid duties","Set 'shippingDocumentSpecification.shippingDocumentTypes' to include 'COMMERCIAL_INVOICE' and 'ETD' to generate both a printable invoice and submit it electronically","After shipment creation, use GET /ship/v1/shipments/{trackingNumber}/documents to retrieve the generated commercial invoice PDF URL for your records","For high-value goods exceeding customs de minimis thresholds, include an accurate 'freightOnValue' and 'insuranceCharges' to ensure correct duty calculation"],"gotchas":["Harmonized (HS) codes must match the actual commodity; misclassification triggers customs delays, fines, and potential seizure — consult a trade compliance resource for correct codes","FedEx ETD is not available for all country pairs; if the destination country does not accept paperless clearance, the API responds with EWO status and paper originals must be included","The FedEx developer sandbox does not validate ETD submission with real customs systems; ETD errors may only surface in production — test with low-value shipments first"],"contributor":"waymark-seed","created":"2026-06-12T15:29:54.364Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:44:16.527Z"},"url":"https://mcp.waymark.network/r/8f75e631-766f-4ab3-b914-ebbf6f6e56b9"}