---
title: "Changes to Recalculate invoice (voided invoice)"
method: POST
path: "/invoices/{id}/recalculate"
---

# Changes to Recalculate invoice (voided invoice)

`POST /invoices/{id}/recalculate`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 3 of 12 revisions.

- **2026-05-18** `f62d8a5fe7cf` — 6 warning
- **2026-04-06** `4ded3711f401` — 6 warning, 12 info
- **2026-03-20** `bc91c95fbb1a` — 1 breaking, 1 warning, 1 info

## Changes

- **2026-05-18** `f62d8a5fe7cf` — 6 warning
  - removed the optional property `details` from the response with the `400` status
  - removed the optional property `details` from the response with the `404` status
  - removed the optional property `details` from the response with the `500` status
  - added the new `too_many_requests` enum value to the `code` response property for the response status `400`
  - added the new `too_many_requests` enum value to the `code` response property for the response status `404`
  - added the new `too_many_requests` enum value to the `code` response property for the response status `500`
- **2026-04-06** `4ded3711f401` — 6 warning, 12 info
  - removed the optional property `error` from the response with the `400` status
  - removed the optional property `error` from the response with the `404` status
  - removed the optional property `error` from the response with the `500` status
  - removed the optional property `success` from the response with the `400` status
  - removed the optional property `success` from the response with the `404` status
  - removed the optional property `success` from the response with the `500` status
  - added the optional property `code` to the response with the `400` status
  - added the optional property `code` to the response with the `404` status
  - added the optional property `code` to the response with the `500` status
  - added the optional property `details` to the response with the `400` status
  - added the optional property `details` to the response with the `404` status
  - added the optional property `details` to the response with the `500` status
  - added the optional property `http_status_code` to the response with the `400` status
  - added the optional property `http_status_code` to the response with the `404` status
  - added the optional property `http_status_code` to the response with the `500` status
  - added the optional property `message` to the response with the `400` status
  - added the optional property `message` to the response with the `404` status
  - added the optional property `message` to the response with the `500` status
- **2026-03-20** `bc91c95fbb1a` — 1 breaking, 1 warning, 1 info
  - removed the success response with the status `200`
  - deleted the `query` request parameter `finalize`
  - added the success response with the status `202`

---

[Operation](https://skmtc.dev/flexprice/apis/flexprice-api-2/docs/invoices/:id/recalculate/post.md) · [API](https://skmtc.dev/flexprice/apis/flexprice-api-2.md) · [Page](https://skmtc.dev/flexprice/apis/flexprice-api-2/changes/invoices/:id/recalculate/post)
