Skip to main content
GET
/
api
/
v1
/
invoice
/
{invoice_uuid}
/
pdf
Invoice Pdf Get Api
curl --request GET \
  --url https://api.justpaid.io/api/v1/invoice/{invoice_uuid}/pdf \
  --header 'Authorization: Bearer <token>'
{
  "invoice_uuid": "123e4567-e89b-12d3-a456-426614174000",
  "pdf_url": "https://api.justpaid.ai/invoices/123.pdf",
  "generated_at": "2024-03-21T10:00:00Z"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

invoice_uuid
string
required

Response

PDF URL retrieved successfully

Response schema for PDF endpoint.

invoice_uuid
string
required

Invoice UUID

Example:

"123e4567-e89b-12d3-a456-426614174000"

pdf_url
string | null

URL to download PDF

Example:

"https://api.justpaid.ai/invoices/123.pdf"

generated_at
string<date-time> | null

When PDF was generated

Example:

"2024-03-21T10:00:00Z"