Postal customs declarations

CN22

Infos to get CN22 document

POST https://api.transiteo.io/v1/pdf/generate/cn22/en

This endpoint allows you to get the CN22 document using by the posts.

Headers

NameTypeDescription

Content-Type*

string

application/json

Authorization*

string

id token

{
    "id": string,
    "signed_url": url,
    "lang": string,
    "expireTime": timestamp,
    "date": timestamp
}

JSON Request Format

{
    "product_weight_kg_1": number,
    "product_weight_kg_2": number,
    "product_weight_kg_3": number,
    "product_weight_kg_4": number,
    "product_price_total_1": number,
    "product_price_total_2": number,
    "product_price_total_3": number,
    "product_price_total_4": number,
    "product_hscode_1": string,
    "product_from_country_1": string,
    "product_value_1": string,
    "product_value_2": string,
    "product_value_3": string,
    "product_value_4": string,
    "date": string,
    "signature": string
}

JSON Response Format

{
    "id": string,
    "signed_url": url,
    "lang": string,
    "expireTime": timestamp,
    "date": timestamp
}

View of CN22 in english (pdf)

CN23

Infos to get CN23 document

POST https://api.transiteo.io/v1/pdf/generate/cn23/en

The endpoint allows you to get the CN23 document using by the posts.

Headers

NameTypeDescription

Content-Type

string

application/json

Authorization

string

id token

{
    "id": "sub_X7jrrEj6qXLhgckHk5",
    "signed_url": "https://services.transiteo.io/templates/template-id/sub_X7jrrEj6qXLhgckHk5.pdf?Expires=1603906395&Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9zZXJ2aWNlcy5kZXYudHJhbnNpdGVvLmlvL3RlbXBsYXRlcy9yZWZ1bmQvc3ViX1g3anJyRWo2cVhMaGdja0hrNS5wZGYiLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE2MDM5MDYzOTV9fX1dfQ__&Signature=l9FRSZm5UaEw3OA0QGtyOo4DqJnxj~7R0A-1o234ez-DiEENIye86R-RsE3ik5sF2B8BjlT~0HgHhN8CJ4MEjQt5XW-LgHDlpaXXoYTJhb7b9YUjhK-HPL9f-mPkTzKuYy6NyUwDBauSl-WDo9d12tAYHIbpu9rTBgimOWdn~y2q5wIEb7-NkQCRyct5oU6Mpx~OL4c35dmo-hl-umPIk-sC9T73kwGL92vzw4S9KfgTs8r9Jsa6B4WKEOxa6dudLPqaYa0xsqCmY42laDWgGU0TsWC7AlxC~~UspUd7C9ZcUvh2PDnbfQWWnVssSTAZs6I42YhUfaDNGug8ttaofg__&Key-Pair-Id=K1740UKS2KNTMI",
    "lang": "fr",
    "expireTime": 1603906395278,
    "date": 1603819995278
}

JSON Request Format

{
    "name_sender": string,
    "company_name_sender": string,
    "eori_id_sender": string,
    "adress_sender": string,
    "zipcode_sender": string,
    "city_sender": string,
    "country_sender": string,
    "name_receiver": string,
    "company_name_receiver": string,
    "adress_receiver": string,
    "phone_receiver": string,
    "email_receiver": string,
    "zipcode_receiver": string,
    "city_receiver": string,
    "country_receiver": string,
    "product_value_1": string,
    "product_quantity_1": number,
    "product_weight_kg_1": number,
    "product_price_total_1": number,
    "product_hscode_1": string,
    "product_from_country_1": string,
    "product_value_2": string,
    "product_quantity_2": number,
    "product_weight_kg_2": number,
    "product_price_total_2": number,
    "product_hscode_2": string,
    "product_from_country_2": string,
    "product_value_3": string,
    "product_quantity_3": number,
    "product_weight_kg_3": number,
    "product_price_total_3": number,
    "product_hscode_3": string,
    "product_from_country_3": string,
    "product_value_4": string,
    "product_quantity_4": number,
    "product_weight_kg_4": number,
    "product_price_total_4": number,
    "product_hscode_4": string,
    "product_from_country_4": string,
    "product_value_5": string,
    "product_quantity_5": number,
    "product_weight_kg_5": number,
    "product_price_total_5": number,
    "product_hscode_5": string,
    "product_from_country_5": string,
    "products_weight_total": number,
    "products_price_total": number,
    "transport_amount_total": number,
    "category_gift": boolean,
    "category_document": : boolean,
    "category_sample": : boolean,
    "category_reverse_sale": boolean,
    "category_other": : boolean,
    "not_returnable_mail_item": boolean,
    "category_detail": string,
    "observations": string,
    "total_packages": number,
    "vat_id_receiver": string,
    "vat_id": string,
    "seller_brand": string,
    "date": string,
    "signature_sender": string // URL of a picture (png, jpg, svg)
}

JSON Response Format

{
    "id": string,
    "signed_url": url,
    "lang": string,
    "expireTime": timestamp,
    "date": timestamp
}

View of CN23 in english (pdf)

Last updated