---
title: "Changes to Retrieve invoice by ID"
method: GET
path: "/api/creditcontrol/accounts/{creditAccountId}/invoices/{invoiceId}"
---

# Changes to Retrieve invoice by ID

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

> Every recorded change to this operation, newest first.

## Timeline

Changed in 5 of 51 revisions.

- **2023-12-21** `0cfe5b381175`: 8 warning
- **2023-11-27** `c812a194b17d`: 1 breaking
- **2023-11-27** `7dfddf64951f`: 1 warning, 1 info
- **2023-11-27** `25c08deef792`: 3 warning
- **2023-11-17** `1a0ba22582f0`: 4 breaking, 9 info

## Changes

- **2023-12-21** `0cfe5b381175`: 8 warning
  - 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-VTEX-Janus-Router-Backend-App` removed for the status `200`
- **2023-11-27** `c812a194b17d`: 1 breaking
  - the `orderId` response's property type changed from `number` to `string` for status `200`
- **2023-11-27** `7dfddf64951f`: 1 warning, 1 info
  - added the new `Opened` enum value to the `status` response property for the response status `200`
  - removed the `Open` enum value from the `status` response property for the response status `200`
- **2023-11-27** `25c08deef792`: 3 warning
  - added the new `Cancelled` enum value to the `status` response property for the response status `200`
  - added the new `Open` enum value to the `status` response property for the response status `200`
  - added the new `Paid` enum value to the `status` response property for the response status `200`
- **2023-11-17** `1a0ba22582f0`: 4 breaking, 9 info
  - removed the required property `checkingAccountId` from the response with the `200` status
  - removed the required property `description` from the response with the `200` status
  - removed the required property `observation` from the response with the `200` status
  - removed the required property `paymentLink` from the response with the `200` status
  - media type `application/json; charset=utf-8` was changed to `application/json` for the response status `200`
  - added the required property `accountId` to the response with the `200` status
  - added the required property `creditAccountId` to the response with the `200` status
  - added the required property `creditValue` to the response with the `200` status
  - added the required property `friendlyId` to the response with the `200` status
  - added the required property `installment` to the response with the `200` status
  - added the required property `numberOfInstallments` to the response with the `200` status
  - added the required property `orderId` to the response with the `200` status
  - added the required property `transactionId` to the response with the `200` status

---

[Operation](https://skmtc.dev/vtex/apis/customer-credit-api/docs/api/creditcontrol/accounts/:creditAccountId/invoices/:invoiceId/get.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/get)
