Voila Shipping Documentation – Fast & Reliable Shipping Solutions Worldwide Skip to main content

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:  api/couriers/v1/Fedex/add-customs-documents

{ 
    "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" 
        } 
    ] 
}

NotesRequired Fields:

  • origin_location_code,ship_document_type: destination_location_code,Choose and form_code fields are not required.
  • ship_document_type can be one of the following:from:
    • CERTIFICATE_OF_ORIGIN
    • COMMERCIAL_INVOICE
    • DANGEROUS_GOODS_SHIPPERS_DECLARATION
    • CERTIFICATE_OF_ORIGINOP_900
    • OP_900PRO_FORMA_INVOICE
    • PRO_FORMA_INVOICE
    • RETURN_INSTRUCTIONS

Notes: origin_location_code, destination_location_code, and form_code are Documentationoptional.

For detailed information about this endpoint, refer to the FedEx API Documentation.

Response

TheOnce submitted, the response providesincludes:

details
    such
  • Document asType.
  • document
  • Document type,ID document& ID,Folder folderID.
  • ID,
  • Customer customerTransaction transactionID.
  • ID,
  • File fileName.
  • name,
  • Success andStatus.
  • 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 
    } 
]

📚 For detailed API specifications, visit the FedEx API Documentation.


🚀 Start automating your customs clearance today!