You may run into the following error when shipping to/from certain countries when using FedEx:
{"error":{"code":"SHIPMENT.POSTAGE.FAILURE","message":"FedEx returned error: The COMMERCIAL_INVOICE requires an electronic LETTER_HEAD.","errors":[]}}
To move past this, you will need to provide EasyPost with a Signature image and also a Letterhead image. To get these images to EasyPost, email them to support@easypost.com and the EasyPost support team can get the process started for uploading them to your account.
Image Sizing
To ensure this process goes smoothly, the sizing of these images will need to be within the following:
- Max width of 700px
- Max height of 50px
Necessary Options to Pass
Once the images have been uploaded to your EasyPost account, you will need to pass a couple of options to the options
object in order to avoid this error.
"options": { "commercial_invoice_signature": "IMAGE_1", "commercial_invoice_letterhead": "IMAGE_2" }
This "options" object can be found within the "shipment" object. To see other options available for your shipments, visit the "Options" section of our documentation.
If you have any questions about this, feel free to reach out to the EasyPost support team at support@easypost.com.