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

# PATCH /invoices

`PATCH /invoices`

| Permissions |
| ------- |
| 10213   |

## Request body

- InvoicePartial — this model represents an invoice with the amount and period generated for a tenant in the system (tsType: Partial<Invoice>, schemaOptions: { partial: true })
  - `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 — start date for the period this invoice is generated for
  - `endDate` string — end date for the period this invoice is generated for
  - `amount` number — total amount for the invoice
  - `currencyCode` string — currency for the invoice
  - `invoiceFile` string — option reference to the generated file of the invoice
  - `dueDate` string — due date for the invoice
  - `status` number — status of the invoice - 0(PENDING), 1(PAID), 2(CANCELLED)
  - `tenantId` string — id of the tenant this invoice is generated for

## Response `200`

Invoice PATCH success

- Invoice — this model represents an invoice with the amount and period generated for a tenant in the system
  - `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

---

[API](https://skmtc.net/sourcefuse/apis/tenant-mgmt-service.md) · [All operations](https://skmtc.net/sourcefuse/apis/tenant-mgmt-service/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sourcefuse/tenant-mgmt-service/revisions/788b2c08f36d/schema)
