List invoice templates
Invoice templates (layout and standard texts) with their IDs.
GET https://cotlet.dev/api/v1/e-boekhouden/invoice-templates
read
Returns the templates you made in e-Boekhouden. create_invoice needs one template_id, so call this first. Each item has an ID and a name.
Parameters
No parameters.
Request
curl https://cotlet.dev/api/v1/e-boekhouden/invoice-templates \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("e-boekhouden", "list_invoice_templates") const result = await cotlet.call('e-boekhouden', 'list_invoice_templates'); cotlet call e-boekhouden list_invoice_templates Example response
{
"templates": [
{
"template_id": 3,
"name": "Standard invoice"
},
{
"template_id": 5,
"name": "Invoice with payment QR"
}
]
}