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
curl https://cotlet.dev/api/v1/e-boekhouden/invoice-templates \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("e-boekhouden", "list_invoice_templates")
Node.js
const result = await cotlet.call('e-boekhouden', 'list_invoice_templates');
CLI
cotlet call e-boekhouden list_invoice_templates

Example response

JSON

{
  "templates": [
    {
      "template_id": 3,
      "name": "Standard invoice"
    },
    {
      "template_id": 5,
      "name": "Invoice with payment QR"
    }
  ]
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.