Export PDF report
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
-
API token (can be retrieved from account settings)
Query parameters
-
departmentId integer(int32)
departmentId
-
direction string
direction
Values are
ASC
orDESC
. -
entityId integer(int32)
entityId
-
exportData boolean
exportData
-
organizationId
-
preview boolean
preview
-
sortingField string
sortingField
-
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-pdf
curl \
-X GET http://wyzio.app/api-v1/generate-pdf?organizationId=42&type=SALES_INVOICE \
-H "TARGET-ORGANIZATION-ID: 42" \
-H "WEAL-TOKEN: string"
Response examples (200)
string