---
title: "Update invoice series"
method: PUT
path: "/v1/invoice-series/{id}"
tags: ["InvoiceSeries"]
---

# Update invoice series

`PUT /v1/invoice-series/{id}`

Updates an existing invoice series. Counter can only be increased, not decreased. Organization ownership can be reassigned: pass an organizationId to share the series with that organization, or null to make it personal. The caller must hold admin or invoicing permission on both the current and the target organization.

## Path parameters

- `id` string, required

## Request body

- InvoiceSeriesUpdateDto
  - `organizationId` string
  - `name` string
  - `pattern` string
  - `prefix` string
  - `resetBehavior` string
  - `active` boolean
  - `setCounterTo` integer

## Response `200`

Invoice series updated successfully

- InvoiceSeriesDto
  - `id` string
  - `user` string
  - `lastUpdate` integer
  - `created` integer
  - `deleted` boolean
  - `organizationId` string
  - `name` string
  - `pattern` string
  - `prefix` string
  - `currentCounter` integer
  - `resetBehavior` string
  - `lastResetYear` integer
  - `lastResetMonth` integer
  - `active` boolean
  - `lastInvoiceNumber` string
  - `lastUsedTimestamp` integer

## Other responses

- `400` — Invalid data or counter decrease attempted
- `401` — Not authorized
- `403` — No access to this invoice series
- `404` — Invoice series not found

---

[API](https://skmtc.net/timesheet/apis/timesheet-api.md) · [All operations](https://skmtc.net/timesheet/apis/timesheet-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/timesheet/timesheet-api/revisions/fbe59bacb638/schema)
