Export PDF files in zip

GET /api-v1/generate-pdfs

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 or DESC.

  • 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, or GENERAL_LEDGER.

  • useLetterhead boolean

    useLetterhead

Responses

  • 200 */*

    OK

  • 400

    400 Bad Request

  • 401

    401 Unauthorized

  • 403

    403 Access Denied

  • 404

    404 Not Found

  • 500

    500 Internal Server Error

GET /api-v1/generate-pdfs
curl \
 --request GET 'https://wyzio.app/api-v1/generate-pdfs?organizationId=42&type=SALES_INVOICE' \
 --header "TARGET-ORGANIZATION-ID: 42" \
 --header "WEAL-TOKEN: string"
Response examples (200)
string