FedEx Electronic Trade Documents Upload
Overview
Simplify your international shipping by electronically submitting customs documents after creating your shipping label. With FedEx Electronic Trade Documents, you can streamline customs processing and avoid manual paperwork.
Key Benefits
✅ Avoid Customs Delays – Submit customs documents early for broker review, preventing delays and rejections.
✅ Ensure Timely Delivery – Get packages delivered on time with a smoother customs process.
✅ Flexible Submission – Upload documents before, during, or after shipment to match your workflow.
✅ Focus on Packing – Let your shipping team concentrate on preparing shipments while customs documents are processed digitally.
How It Works
📤 Submit Customs Documents via API
Endpoint:
{
"testing": false,
"auth_company": "company",
"carrier_code": "FDXE",
"form_code": "",
"tracking_number": "794606723637",
"shipment_date": "2024-02-22T12:05:45+00:00",
"origin_country_code": "US",
"destination_country_code": "IN",
"origin_location_code" : "",
"destination_location_code" : "",
"documents": [
{
"ship_document_type": "COMMERCIAL_INVOICE",
"filename" : "text.txt",
"content_type" : "text/plain",
"base_64_document": "Base64_text"
}
]
}
Notes
- origin_location_code, destination_location_code, and form_code fields are not required.
- ship_document_type can be one of the following:
- CERTIFICATE_OF_ORIGIN
- COMMERCIAL_INVOICE
- DANGEROUS_GOODS_SHIPPERS_DECLARATION
- CERTIFICATE_OF_ORIGIN
- OP_900
- PRO_FORMA_INVOICE
- RETURN_INSTRUCTIONS
Documentation
For detailed information about this endpoint, refer to the FedEx API Documentation.
Response
The response provides details such as document type, document ID, folder ID, customer transaction ID, file name, and success status for each uploaded document.
[
{
"output": {
"meta": {
"documentType": "CI",
"docId": "EGfWYE9BxLBZ7Dzn",
"folderId": "Ac7JnEwPoUm1I3M2"
}
},
"customerTransactionId": "",
"file": "text.txt",
"success": true
},
{
"output": {
"meta": {
"documentType": "CI",
"docId": "BQH8o1FI73ZnQOg6",
"folderId": "Ac7JnEwPoUm1I3M2"
}
},
"customerTransactionId": "",
"file": "text.txt",
"success": true
}
]