v1

latestOpenAPI 3.1.02026-07-24770322.0 KB

List Invoice Templates

This API endpoint lists all the invoice templates for the workspace.

get/v1/invoice-templates

Query parameters

limitinteger

Max number of records to fetch

nextTokenstring

Next token for pagination

Response

200

Example response

{
  "data": [
    {
      "id": "81108543-bc52-4202-83de-71ad52a74df9",
      "object": "invoiceTemplate",
      "createdAt": "2024-06-25T21:34:52.436152Z",
      "updatedAt": "2024-06-25T21:34:52.436152Z",
      "name": "Test template1",
      "memo": "this subscription has a product and one off item.",
      "currency": "usd",
      "lineItems": [
        {
          "amount": 1000,
          "description": "item a",
          "quantity": 3
        }
      ]
    }
  ]
}