---
title: "GET /invoices"
method: GET
path: "/invoices"
tags: ["InvoiceController"]
---

# GET /invoices

`GET /invoices`

| Permissions |
| ------- |
| 10215   |

## Response `200`

Array of Invoice model instances

- InvoiceWithRelations[]
  - `deleted` boolean
  - `deletedOn` string, date-time, nullable
  - `deletedBy` string, nullable
  - `createdOn` string, date-time
  - `modifiedOn` string, date-time
  - `createdBy` string
  - `modifiedBy` string
  - `id` string
  - `startDate` string, required — start date for the period this invoice is generated for
  - `endDate` string, required — end date for the period this invoice is generated for
  - `amount` number, required — total amount for the invoice
  - `currencyCode` string, required — currency for the invoice
  - `invoiceFile` string — option reference to the generated file of the invoice
  - `dueDate` string, required — due date for the invoice
  - `status` number, required — status of the invoice - 0(PENDING), 1(PAID), 2(CANCELLED)
  - `tenantId` string, required — id of the tenant this invoice is generated for
  - `tenant` Tenant — main model of the service that represents a tenant in the system, either pooled or siloed
    - `deleted` boolean
    - `deletedOn` string, date-time, nullable
    - `deletedBy` string, nullable
    - `createdOn` string, date-time
    - `modifiedOn` string, date-time
    - `createdBy` string
    - `modifiedBy` string
    - `id` string
    - `name` string, required — name of the tenant
    - `status` 0 | 1 | 2 | 3 | 4 | 5, required — status of a tenant, it can be - 0(active), 1(provisioning),2(deprovisioning),3(inactive)
    - `key` string, required — a short string used to identify a tenant. This is also used as the namespace and subdomain for this particular tenant
    - `spocUserId` string — user id of the admin user who acts as a spoc for this tenant.
    - `domains` string[], required
    - `leadId` string — id of the lead from which this tenant was generated. this is optional as a tenant can be created without this lead.
    - `addressId` string — id of the address of the tenant
  - `foreignKey` unknown

---

[API](https://skmtc.dev/sourcefuse/apis/tenant-management-service.md) · [All operations](https://skmtc.dev/sourcefuse/apis/tenant-management-service/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/sourcefuse/tenant-management-service/revisions/0dce7cf133e9/schema)
