Skip to main content
GET
/
api
/
v1
/
invoices
/
{id}
/
pdf
Generate PDF for invoice
curl --request GET \
  --url https://dev-billing-api.iqraa.ai/api/v1/api/v1/invoices/{id}/pdf \
  --header 'Authorization: Bearer <token>' \
  --header 'X-Preferred-Language: <x-preferred-language>'
"<string>"

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-Preferred-Language
enum<string>
required

Language for the PDF

Available options:
ar,
en

Path Parameters

id
string
required

Invoice ID

Response

PDF generated successfully

The response is of type file.