Export PDF files in zip
Except mentioned parameters used other ones which are related to particular type
Headers
-
TARGET-ORGANIZATION-ID
integer(int32) ID of organization, for which the operation must be performed
-
WEAL-TOKEN
string Required API token (can be retrieved from account settings)
Query parameters
-
departmentId
integer(int32) departmentId
-
direction
string direction
Values are
ASC
orDESC
. -
organizationId
integer Required organizationId
-
sortingField
string sortingField
-
type
string Required type
Values are
SALES_INVOICE
,LATE_NOTICE
,SALARY_SLIP
,MY_SALARY_SLIP
,SALES_ORDER
,VAT_REPORT
,DELIVERY_NOTE
, orGENERAL_LEDGER
. -
useLetterhead
boolean useLetterhead
GET
/api-v1/generate-pdfs
curl \
--request GET 'http://wyzio.app/api-v1/generate-pdfs?organizationId=42&type=SALES_INVOICE' \
--header "TARGET-ORGANIZATION-ID: 42" \
--header "WEAL-TOKEN: string"
Response examples (200)
string