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"
}
'