---
title: "Create invoice series"
method: POST
path: "/v1/invoice-series"
tags: ["InvoiceSeries"]
---

# Create invoice series

`POST /v1/invoice-series`

Creates a new invoice series. The pattern must contain at least one counter placeholder ({N}, {NNN}, {NNNN}, or {NNNNN}). Supported placeholders: {YYYY}, {YY}, {MM}, {DD}, {PREFIX}, {N}, {NNN}, {NNNN}, {NNNNN}.

## Request body

- InvoiceSeriesCreateDto
  - `organizationId` string
  - `name` string
  - `pattern` string
  - `prefix` string
  - `startingCounter` integer
  - `resetBehavior` string

## Response `200`

Invoice series created 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 invoice series data
- `401` — Not authorized
- `403` — Caller lacks admin or invoicing permission on the specified organization

---

[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/5bc49bf02dad/schema)
