> For the complete documentation index, see [llms.txt](https://docs.shortcutco.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.shortcutco.com/developers/api-reference/reference/objects/credit-memo.md).

# The credit memo object

The credit memo object in the Shortcut API - every field, an example, and the endpoints that return it.

A credit that lowers what a customer owes on an invoice.

## Fields

| Field       | Type            | Description                |
| ----------- | --------------- | -------------------------- |
| `id`        | id              | The credit memo's id.      |
| `object`    | `"credit_memo"` | Always `credit_memo`.      |
| `invoiceId` | id              | The invoice it lowers.     |
| `number`    | integer         | The credit memo's number.  |
| `amount`    | number          | The credit, in US dollars. |
| `status`    | string          | Its status.                |

## Example

```json
{
  "id": "e9ca0c3d-e614-4784-825e-82cbdea8be12",
  "object": "credit_memo",
  "invoiceId": "ef2752b8-eb71-4dff-87bb-c946e406048d",
  "number": 1042,
  "amount": 129.5,
  "status": "Example status"
}
```

## Endpoints

| Endpoint                         | What it does      |
| -------------------------------- | ----------------- |
| `POST /v1/invoices/{id}/credits` | Credit an invoice |
