---
title: "Changes to Generate invoice PDF"
method: POST
path: "/invoices/{id}/generate"
---

# Changes to Generate invoice PDF

`POST /invoices/{id}/generate`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 5 revisions.

- **2026-10-01** `d0319ad57804`: 3 breaking, 1 warning, 10 info

## Changes

- **2026-10-01** `d0319ad57804`: 3 breaking, 1 warning, 10 info
  - request property `locale` was restricted to a list of enum values
  - the `version` request property's minLength was increased from `0` to `2`
  - added the pattern `^(?:v\d+[a-z]*)$` to the request property `version`
  - the `version` request property's maxLength was set to `16`
  - added the new optional request property `overrides/invoice`
  - the request property `locale` became nullable
  - the request property `overrides` became nullable
  - the `testMode` request property default value `false` was removed
  - the `version` request property default value `v1l` was removed
  - added the new `de` enum value to the request property `locale`
  - added the new `en` enum value to the request property `locale`
  - added the new `fr` enum value to the request property `locale`
  - added the new `it` enum value to the request property `locale`
  - added the new `undefined` enum value to the request property `locale`

---

[Operation](https://skmtc.dev/vocal/apis/magic-heidi-invoicing-software-api/docs/invoices/:id/generate/post.md) - [API](https://skmtc.dev/vocal/apis/magic-heidi-invoicing-software-api.md) - [Page](https://skmtc.dev/vocal/apis/magic-heidi-invoicing-software-api/changes/invoices/:id/generate/post)
