Skip to main content
GET
/
invoices
/
{invoice_id}
/
pdf
Download invoice PDF
curl --request GET \
  --url https://logistics.api.smartcp.org/v1/invoices/{invoice_id}/pdf \
  --header 'Authorization: Bearer <token>' \
  --header 'directory: <api-key>'
"<string>"

Documentation Index

Fetch the complete documentation index at: https://docs.smartcp.org/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Client secret key sent as a bearer token.

directory
string
header
required

Client directory identifier.

Path Parameters

invoice_id
integer
required

Invoice ID.

Query Parameters

locale
string

Two-letter document language code. Default: en.

Required string length: 2
Example:

"en"

duplicate
boolean
default:false

When set to true, marks the document as a duplicate copy.

Response

PDF file generated successfully

The response is of type file.