---
title: "Changes to Change invoice"
method: PUT
path: "/api/creditcontrol/accounts/{creditAccountId}/invoices/{invoiceId}"
---

# Changes to Change invoice

`PUT /api/creditcontrol/accounts/{creditAccountId}/invoices/{invoiceId}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 4 of 51 revisions.

- **2024-10-22** `28dfe2555ec4`: 1 breaking, 1 info
- **2023-11-27** `25c08deef792`: 1 breaking, 3 info
- **2023-11-17** `1a0ba22582f0`: 1 breaking, 11 warning, 7 info
- **2023-11-10** `2c3dbbe97254`: 1 breaking

## Changes

- **2024-10-22** `28dfe2555ec4`: 1 breaking, 1 info
  - removed the enum value `Open` of the request property `status`
  - added the new `Opened` enum value to the request property `status`
- **2023-11-27** `25c08deef792`: 1 breaking, 3 info
  - request property `status` was restricted to a list of enum values
  - added the new `Cancelled` enum value to the request property `status`
  - added the new `Open` enum value to the request property `status`
  - added the new `Paid` enum value to the request property `status`
- **2023-11-17** `1a0ba22582f0`: 1 breaking, 11 warning, 7 info
  - removed the media type `text/plain` for the response with the status `200`
  - the optional response header `Access-Control-Allow-Origin` removed for the status `200`
  - the optional response header `Connection` removed for the status `200`
  - the optional response header `Content-Length` removed for the status `200`
  - the optional response header `Date` removed for the status `200`
  - the optional response header `Server` removed for the status `200`
  - the optional response header `X-CDNIgnore` removed for the status `200`
  - the optional response header `X-Powered-by-VTEX-Janus-Edge` removed for the status `200`
  - the optional response header `X-Track` removed for the status `200`
  - the optional response header `X-Translate` removed for the status `200`
  - the optional response header `X-Translate-BackEnd` removed for the status `200`
  - the optional response header `X-VTEX-Janus-Router-Backend-App` removed for the status `200`
  - the request property `observation` became nullable
  - the request property `paymentLink` became nullable
  - the request property `observation` became optional
  - the request property `paymentLink` became optional
  - the `observation` request property default value `example` was removed
  - the `paymentLink` request property default value `example` was removed
  - the `status` request property default value `Paid` was removed
- **2023-11-10** `2c3dbbe97254`: 1 breaking
  - for the `query` request parameter `friendlyId`, default value `insert identifier here` was removed

---

[Operation](https://skmtc.dev/vtex/apis/customer-credit-api/docs/api/creditcontrol/accounts/:creditAccountId/invoices/:invoiceId/put.md) - [API](https://skmtc.dev/vtex/apis/customer-credit-api.md) - [Page](https://skmtc.dev/vtex/apis/customer-credit-api/changes/api/creditcontrol/accounts/:creditAccountId/invoices/:invoiceId/put)
