---
title: "Changes to Generate new expense reference"
method: POST
path: "/expenses/generate"
---

# Changes to Generate new expense reference

`POST /expenses/generate`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 4 of 10 revisions.

- **2026-10-12** `45544bcb4e8a`: 1 info
- **2025-09-26** `110fa3fb56d4`: 2 breaking, 2 warning, 2 info
- **2024-08-26** `64c683372c45`: 1 info
- **2024-08-26** `a2d864f3a8db`: 1 breaking

## Changes

- **2026-10-12** `45544bcb4e8a`: 1 info
  - added the non-success response with the status `401`
- **2025-09-26** `110fa3fb56d4`: 2 breaking, 2 warning, 2 info
  - the `name` request property's minLength was increased from `0` to `3`
  - added the pattern `^[a-f0-9]{32}$` to the request property `md5`
  - the `name` request property's maxLength was set to `255`
  - removed the optional property `data/fileId` from the response with the `200` status
  - added the new optional request property `private`
  - added the optional property `data/invoiceId` to the response with the `200` status
- **2024-08-26** `64c683372c45`: 1 info
  - endpoint added
- **2024-08-26** `a2d864f3a8db`: 1 breaking
  - api path removed without deprecation

---

[Operation](https://skmtc.dev/altera-co/apis/altera-api/docs/expenses/generate/post.md) - [API](https://skmtc.dev/altera-co/apis/altera-api.md) - [Page](https://skmtc.dev/altera-co/apis/altera-api/changes/expenses/generate/post)
