Zaslat dokumentace
Zaslat API v1

Objednávka celní zásilky

Rozšířená specifikace

Jedná se o rozšířenou specifikaci endpointu https://www.zaslat.cz/api/v1/shipments/create — viz Vytvoření objednávky zásilek v API Referenci.

Specifikace pro celní deklarace

Oproti dokumentaci je pro celní řízení potřeba dále uvést objekt customs.

ParametrTypPopisPovinný
reasonenumhodnoty viz Důvod reasonano
invoiceenumhodnoty create, ownano
invoice_filesarray[]pole file tokenůne*
customs_representation_filestringfile tokenne
currencyenumhodnoty CZK, EUR, USDano
itemsarray[]pole položek, viz Objekt itemsano
additional_infoarray[]pole additional_info, viz Objekt additional_infone**

* Povinné, pokud negenerujeme fakturu na naší straně (invoice = own).

** Pokud to nevyžaduje druh přepravovaného zboží.

Objekt items

ParametrTypPopisPovinný
namestringpopisano
countrystringkód země ISO 3166-1 alpha-2ano
quantitystringmnožstvíano
valuestringhodnota za jednotkuano
hs_codestringHS Code

Objekt additional_info

ParametrTypPopisPovinný
typeenumtyp, viz Další informace additional_infoano
valuestringhodnotaano

Číselník

Důvod reason

KódPopis
commercialKomerční zboží
documentsObálka s dokumenty (nepodléhá celnímu řízení)
giftsDárky osobní nebo nekomerční
samplesVzorky
returnsVratky

Další informace additional_info

KódPopis
eoriEORI číslo
vatnoDIČ identifikátor
pref_statement_gbvýchozí hodnota:
The exporter of the products covered by this document declares that, except where otherwise clearly indicated, these products are of GB preferential origin.
pref_statement_euvýchozí hodnota:
The exporter of the products covered by this document declares that, except where otherwise clearly indicated, these products are of EU preferential origin.
otherostatní

Příklad dotazu

Příklad těla požadavku metodou POST:

JSONCode
{ "payment_type": "ONLINE", "currency": "CZK", "payer": { "id": null, "country": "CZ", "company": "Zaslat s.r.o.", "tin": "", "vatin": "", "firstname": "Aleš", "surname": "Vomáčka", "phone": "+420777888999", "phone_number": { "prefix": "420", "number": "777888999" }, "email": "ales@example.com", "street": "Sukova 49/4", "city": "Brno", "zip": "602 00", "type": "sender" }, "shipments": [ { "from": { "id": null, "country": "CZ", "company": "Zaslat s.r.o.", "tin": "", "vatin": "", "firstname": "Aleš", "surname": "Vomáčka", "phone": "+420777888999", "phone_number": { "prefix": "420", "number": "777888999" }, "email": "zejda@zaslat.cz", "street": "Sukova 49/4", "city": "Brno", "zip": "602 00" }, "to": { "id": null, "country": "US", "company": "", "tin": "", "vatin": "", "firstname": "Brandon", "surname": "Walsch", "phone": "+420777888999", "phone_number": { "prefix": "420", "number": "777888999" }, "email": "brandon@walsch.com", "street": "Lincoln st 1", "city": "Beverly Hills", "zip": "90210" }, "type": "ONDEMAND", "reference": "Export", "packages": [ { "type": 0, "weight": 1, "width": 1, "height": 1, "length": 1 } ], "currency": "CZK", "pickup_date": "2023-11-30", "customs": { "reason": "commercial", "invoice": "create", "invoice_files": [], "customs_representation_file": null, "currency": "EUR", "items": [ { "name": "Commercial goods 1", "country": "CZ", "quantity": "1", "value": "10", "hs_code": "0102" }, { "name": "Commercial goods 1", "country": "SK", "quantity": "1", "value": "10", "hs_code": "0102" } ], "additional_info": [ { "type": "eori", "value": "1458" }, { "type": "vatno", "value": "IC4545" }, { "type": "pref_statement_gb", "value": "The exporter of the products covered by this document declares that, except where otherwise clearly indicated, these products are of GB preferential origin." }, { "type": "pref_statement_eu", "value": "The exporter of the products covered by this document declares that, except where otherwise clearly indicated, these products are of EU preferential origin." }, { "type": "other", "value": "Other custom valeu" } ] }, "services": [] } ] }
Last modified on