Get an invoice PDF

Retrieves an invoice PDF

GET /manage/company/invoice/{invoiceId}/pdf

URI Parameters

Name In Required Type Description

invoiceId

path

True

integer

Numeric id of the invoice

Responses

Name Type Description

200 OK

byte[]

PDF invoice

Produces

  • application/pdf

Security

Every request requires a JWT access token for authentication in the Authorisation HTTP header. Please see the API authentication page for details about how to get a JWT token.

Authorization: Bearer {JWT_TOKEN}

Roles

  • Wenenu Owner

  • Wenenu Billing Admin

Sample request

GET /manage/company/invoice/29/pdf HTTP/1.1
Authorization: Bearer {jwt_token}

Sample Response

Status code: 200

The body is the PDF invoice in binary format