curl --request POST \
--url https://sbx.api.easybilling.cloud/billing/api/pdf/preview \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"objectType": "invoice",
"objectId": "ed0633b2-b1b5-4c0e-98a2-0912483e7eda",
"content": "<div>{{invoice.number}}</div>",
"name": "INV-123"
}
'