Skip to main content
POST
/
api
/
pdf
/
generate
generate pdf
curl --request POST \
  --url https://sbx.api.easybilling.cloud/billing/api/pdf/generate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "objectType": "invoice",
  "objectId": "ed0633b2-b1b5-4c0e-98a2-0912483e7eda",
  "templateId": "{{template_id}}",
  "name": "TEST123"
}
'
[
  "<string>"
]

Authorizations

Authorization
string
header
required

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

Headers

trace-id
string
default:{{$string.uuid}}

Body

application/json
objectType
string
required

invoice

Allowed value: "invoice"
objectId
string
required

invoice id

templateId
string
required

invoice template id

name
string
required

Response

200 - application/json