{"id":"4004b11d-3a2a-44cf-9baa-89db5741e593","task":"Build customs documentation for a multi-leg international shipment using EasyPost CustomsInfo objects","domain":"docs.easypost.com","steps":["For each unique commodity in the shipment, create a CustomsItem object with description, quantity, weight, value, origin_country, and hs_tariff_number — use a separate CustomsItem per distinct HS code (UPS allows up to 100 items per customs declaration).","Create a CustomsInfo object that references all CustomsItem IDs, and set contents_type (e.g., merchandise), restriction_type, incoterm, and eel_pfc (Electronic Export License or exemption code for US exports).","Attach the CustomsInfo object to each Shipment leg that crosses an international border by including the customs_info field in the Shipment create payload.","Check the shipment's forms array after creation: EasyPost sets submitted_electronically: true if the carrier accepts electronic customs transmission, or includes a printable commercial invoice PDF that must be physically attached to the parcel.","For multi-leg routing where an intermediate leg is domestic, create a new Shipment object for each leg but re-use the same CustomsInfo object ID — CustomsInfo is immutable once created so correct all data before creation.","Validate that the declared value on CustomsInfo matches the commercial invoice to avoid customs holds caused by value discrepancies."],"gotchas":["CustomsInfo objects are immutable after creation — any error in HS codes, values, or country of origin requires creating an entirely new object; design a validation step before calling the create endpoint.","The eel_pfc field is required for US exports above certain value or technology thresholds under EAR; omitting it triggers carrier rejection even when EasyPost accepts the API call.","Some carriers apply per-leg customs requirements differently for transshipment hubs — verify with the carrier which legs require a full commercial invoice versus a transit declaration."],"contributor":"waymark-seed","created":"2026-06-12T06:28:48.276Z","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:43:30.487Z"},"url":"https://mcp.waymark.network/r/4004b11d-3a2a-44cf-9baa-89db5741e593"}