Přeskočit na hlavní obsah
For any questions, feel free to contact our integrations team at integrations@packeta.com

Invoice data exporting

This guide provides information on using our API endpoints to export invoice data in various formats.

Authentication​

Remember to authenticate to each endpoint with the following parameters:

ParameterRequiredConstraintsDescription
keyyesstringyour API key
passwordyesstringyour API password

Specification of API endpoints​

List of invoices in CSV​

A list of available invoices, their numbers and corresponding data.

You can access it via following URL:

https://www.zasilkovna.cz/api/invoice.csv

Example:
https://www.zasilkovna.cz/api/invoice.csv?key=API_KEY&password=API_PASSWORD&version=2&from=2026-10-01
tip

Are you getting 500 internal server error when calling the endpoint? Add the parameter from (see example above) to limit the amount of loaded invoices.

ParameterRequiredConstraintsDescription
langnostring ['cs', 'sk', ...]language for proper decimal values formatting
versionnoint [1, 2]version of the exported data (see below)
fromnodate [yyyy-mm-dd]issue date from which to export invoices
tonodate [yyyy-mm-dd]issue date to which to export invoices

CSV version 1​

ColumnCS field nameEN field name
1MenaCurrency
2Datum vystaveniIssue date
3Datum splatnostiDue date
4Cislo fakturyInvoice number
5Uctovane sluzbyCharged services
6Sluzby s DPHServices with VAT
7Vybrane dobirkyCollected CODs
8OstatniOther

CSV version 2​

ColumnCS field nameEN field name
1MenaCurrency
2Datum vystaveniIssue date
3Datum splatnostiDue date
4Cislo dokladuInvoice number
5Uctovane sluzbyCharged services
6Sluzby s DPHServices with VAT
7Vybrane dobirkyCollected CODs
8Nahrada skodyCompensation

Single invoice in PDF​

Invoice exported as PDF file. Particular invoice is specified by GET parameter.

You can access it via following URL:

https://www.zasilkovna.cz/api/invoice.pdf?...

Example:
https://www.zasilkovna.cz/api/invoice.pdf?key=xxxxx&password=xxxxxyyyyy&number=1234567890

You have to specify required GET parameter:

ParameterRequiredConstraintsDescription
numberyes (or var_symbol)stringnumber of an invoice
var_symbolyes (or number)intvariable symbol of an invoice

Single invoice in CSV​

Invoice exported as CSV file in which one row corresponds to one packet. Particular invoice is specified by GET parameter.

You can access it via following URL:

https://www.zasilkovna.cz/api/invoice-packet.csv?...

Example:
https://www.zasilkovna.cz/api/invoice-packet.csv?key=xxxxx&password=xxxxxyyyyy&number=1234567890&lang=cs

You have to specify required GET parameter and may use the optional ones to specify the result:

ParameterRequiredConstraintsDescription
numberyesstringnumber of an invoice
langnostring ['cs', 'sk', ...]language for proper decimal values formatting
versionnoint [2, 3, 4, 5, 6, 7, 8, 9]version of the exported data (see below)
cod_daynoint [1,2,3,4,5]COD collected at day (from version 9 is replaced by cod_date)
only_codnoint [0,1]list only packets with COD
cod_datenostring (yyyy-mm-dd) [2024-09-18]COD will be sent at date. (available from version 9, replaces cod_day)

CSV version 2​

ColumnCS field nameEN field name
1Váš e-shopYour eshop
2Datum vloženíData entry date
3Vyzvednutí či vráceníDelivery or return date
4Vaše obj. č.Your order number
5JménoName
6PříjmeníSurname
7Čárový kódBarcode
8MěnaCurrency
9Účtované službyInvoiced services
10DPH %VAT %
11Služby s DPHServices with VAT
12Vybraná dobírkaCollected COD
13Náhrada škodyCompensation
14PoznámkaNote
15SSCOD day
16Měna účtovaných služebCurrency of invoiced services

CSV version 3​

ColumnCS field nameEN field name
1Váš e-shopYour eshop
2Datum vloženíData entry date
3Datum podáníConsign date
4Vyzvednutí či vráceníDelivery or return date
5Vaše obj. č.Your order number
6JménoName
7PříjmeníSurname
8Čárový kódBarcode
9Účtované službyInvoiced services
10DPH %VAT %
11Služby s DPHServices with VAT
12Měna účtovaných služebCurrency of invoiced services
13Vybraná dobírkaCollected COD
14Měna dobírkyCOD currency
15SSCOD day
16PoznámkaNote
17StatusStatus

CSV version 4​

ColumnCS field nameEN field name
1Váš e-shopYour eshop
2Datum vloženíData entry date
3Datum podáníConsign date
4Vyzvednutí či vráceníDelivery or return date
5Vaše obj. č.Your order number
6JménoName
7PříjmeníSurname
8Čárový kódBarcode
9Účtované službyInvoiced services
10DPH %VAT %
11Služby s DPHServices with VAT
12Měna účtovaných služebCurrency of invoiced services
13Vybraná dobírkaCollected COD
14Měna dobírkyCOD currency
15SSCOD day
16PoznámkaNote
17StavStatus
18HmotnostWeight
19Základní cenaBase price
20DobírkaC.O.D. fee
21PojištěníInsurance fee
22Palivový příplatekFuel fee
23Mýtný příplatekToll fee
24Platba kartouCard fee
25Pod.mimo depoNon-depot
26Příplatek za vratkuReturn Fee
27OstatníOther

CSV version 5​

ColumnCS field nameEN field name
1Váš e-shopYour eshop
2Datum vloženíEntry Date
3Datum podáníDate of posting
4Vyzvednutí či vráceníDate of Delivery or Return
5Vaše obj. č.Order Number
6JménoName
7PříjmeníSurname
8Čárový kódBarcode
9Účtované službyBilled service
10DPH %VAT %
11Služby s DPHService Incl VAT
12Měna účtovaných služebCurrency of billed services
13Vybraná dobírkaCOD amount
14Měna dobírkyCOD currency
15SSSpecific symbol
16PoznámkaNote
17StavStatus
18HmotnostWeight
19Základní cenaBase price
20DobírkaCOD surcharge
21PojištěníInsurance
22Palivový příplatekFuel surcharge
23Mýtný příplatekToll surcharge
24Platba kartouCard payment surcharge
25Pod.mimo depoNon depot posting
26Příplatek za vratkuReturned package fee
27OstatníOther
28Hodnota vybrané dobírky v místní měněCOD Amount in local currency
29Měna vybrané dobírkyCOD currency
30Cílová zeměDestination country
31DopravceCarrier
32Uživatelská poznámkaUser note
33Trasovací číslo ext. dopravceExternal tracking code

CSV versions 6-9​

Difference between version 6 and 7 is in rounding values of services and fees.

  • Version 7 - precision was increased from 2 decimal to 4 decimal places.
  • Version 8 - adds Final Carrier column.
  • Version 9 - adds COD Date column, updates filter - cod_day removed, cod_date added.
ColumnCS field nameEN field name
1Váš e-shopYour eshop
2Datum vloženíEntry Date
3Datum podáníDate of posting
4Vyzvednutí či vráceníDate of Delivery or Return
5Vaše obj. č.Order Number
6JménoName
7PříjmeníSurname
8Čárový kódBarcode
9Účtované službyBilled service
10DPH %VAT %
11Služby s DPHService Incl VAT
12Měna účtovaných služebCurrency of billed services
13Vybraná dobírkaCOD amount
14Měna dobírkyCOD currency
15SSSpecific symbol
16PoznámkaNote
17StavStatus
18HmotnostWeight
19Základní cenaBase price
20DobírkaCOD surcharge
21PojištěníInsurance
22Pod.mimo depoNon depot posting
23Příplatek za vratkuReturned package fee
24OstatníOther
25Dopravné celkem bez DPHTransport without VAT
26Palivový příplatekFuel surcharge
27Mýtný příplatekToll surcharge
28Platba kartouCard payment surcharge
29Hodnota vybrané dobírky v místní měněCOD Amount in local currency
30Měna vybrané dobírkyCOD currency
31Cílová zeměDestination country
32DopravceCarrier
33Finální dopravceFinal Carrier
34Uživatelská poznámkaUser note
35Datum odeslání dobírkyCOD will be sent at date
36Trasovací číslo ext. dopravceExternal tracking code
37Poplatek za přesměrování z důvodu nadrozměrné zásilkyOversize surcharge
38ZBox velikost schránkyZ-BOX slot size

Single invoice in CSV for Pohoda economic system​

Invoice exported as CSV file in Pohoda economic system format. Particular invoice is specified by GET parameter.

You can access it via following URL:

https://www.zasilkovna.cz/api/invoice-packet-pohoda-payU.csv?...

Example:
https://www.zasilkovna.cz/api/invoice-packet-pohoda-payU.csv?key=xxxxx&password=xxxxxyyyyy&number=1234567890&lang=cs

You have to specify required GET parameter and may use the optional ones to specify the result:

ParameterRequiredConstraintsDescription
numberyes (or var_symbol)stringnumber of an invoice
var_symbolyes (or number)intvariable symbol of an invoice
langnostring ['cs', 'sk', ...]language for proper decimal values formatting