# Invoices, estimates and expenses

See what the invoice, estimate and expense endpoints return. The API does not read or write these records. The time tracker has no invoices, estimates or expenses. These endpoints answer so that a Harvest client that calls them keeps working: lists return no records, a single record returns 404 and a write returns 422.

HTML version: https://t.momentic.studio/docs/api/not-available

## Endpoints

- `GET /api/v2/invoices`: [List invoices](https://t.momentic.studio/docs/api/not-available#get-invoices)
- `GET /api/v2/invoices/{invoice_id}`: [Retrieve one](https://t.momentic.studio/docs/api/not-available#get-invoices-invoice-id)
- `POST /api/v2/invoices`: [Create](https://t.momentic.studio/docs/api/not-available#post-invoices)
- `PATCH /api/v2/invoices/{invoice_id}`: [Update](https://t.momentic.studio/docs/api/not-available#patch-invoices-invoice-id)
- `DELETE /api/v2/invoices/{invoice_id}`: [Delete](https://t.momentic.studio/docs/api/not-available#delete-invoices-invoice-id)
- `POST /api/v2/invoices/{invoice_id}/send_e_invoice`: [Send an e-invoice](https://t.momentic.studio/docs/api/not-available#post-invoices-invoice-id-send-e-invoice)
- `GET /api/v2/invoices/{invoice_id}/e_invoice_status`: [E-invoice status](https://t.momentic.studio/docs/api/not-available#get-invoices-invoice-id-e-invoice-status)
- `GET /api/v2/invoices/{invoice_id}/e_invoice_document`: [E-invoice document](https://t.momentic.studio/docs/api/not-available#get-invoices-invoice-id-e-invoice-document)
- `GET /api/v2/invoices/{invoice_id}/messages`: [List invoice messages](https://t.momentic.studio/docs/api/not-available#get-invoices-invoice-id-messages)
- `POST /api/v2/invoices/{invoice_id}/messages`: [Create an invoice message](https://t.momentic.studio/docs/api/not-available#post-invoices-invoice-id-messages)
- `GET /api/v2/invoices/{invoice_id}/messages/new`: [New invoice message text](https://t.momentic.studio/docs/api/not-available#get-invoices-invoice-id-messages-new)
- `DELETE /api/v2/invoices/{invoice_id}/messages/{message_id}`: [Delete an invoice message](https://t.momentic.studio/docs/api/not-available#delete-invoices-invoice-id-messages-message-id)
- `GET /api/v2/invoices/{invoice_id}/payments`: [List invoice payments](https://t.momentic.studio/docs/api/not-available#get-invoices-invoice-id-payments)
- `POST /api/v2/invoices/{invoice_id}/payments`: [Create an invoice payment](https://t.momentic.studio/docs/api/not-available#post-invoices-invoice-id-payments)
- `DELETE /api/v2/invoices/{invoice_id}/payments/{payment_id}`: [Delete an invoice payment](https://t.momentic.studio/docs/api/not-available#delete-invoices-invoice-id-payments-payment-id)
- `GET /api/v2/invoice_item_categories`: [List invoice item categories](https://t.momentic.studio/docs/api/not-available#get-invoice-item-categories)
- `GET /api/v2/invoice_item_categories/{invoice_item_category_id}`: [Retrieve one](https://t.momentic.studio/docs/api/not-available#get-invoice-item-categories-invoice-item-category-id)
- `POST /api/v2/invoice_item_categories`: [Create](https://t.momentic.studio/docs/api/not-available#post-invoice-item-categories)
- `PATCH /api/v2/invoice_item_categories/{invoice_item_category_id}`: [Update](https://t.momentic.studio/docs/api/not-available#patch-invoice-item-categories-invoice-item-category-id)
- `DELETE /api/v2/invoice_item_categories/{invoice_item_category_id}`: [Delete](https://t.momentic.studio/docs/api/not-available#delete-invoice-item-categories-invoice-item-category-id)
- `GET /api/v2/estimates`: [List estimates](https://t.momentic.studio/docs/api/not-available#get-estimates)
- `GET /api/v2/estimates/{estimate_id}`: [Retrieve one](https://t.momentic.studio/docs/api/not-available#get-estimates-estimate-id)
- `POST /api/v2/estimates`: [Create](https://t.momentic.studio/docs/api/not-available#post-estimates)
- `PATCH /api/v2/estimates/{estimate_id}`: [Update](https://t.momentic.studio/docs/api/not-available#patch-estimates-estimate-id)
- `DELETE /api/v2/estimates/{estimate_id}`: [Delete](https://t.momentic.studio/docs/api/not-available#delete-estimates-estimate-id)
- `GET /api/v2/estimates/{estimate_id}/messages`: [List estimate messages](https://t.momentic.studio/docs/api/not-available#get-estimates-estimate-id-messages)
- `POST /api/v2/estimates/{estimate_id}/messages`: [Create an estimate message](https://t.momentic.studio/docs/api/not-available#post-estimates-estimate-id-messages)
- `DELETE /api/v2/estimates/{estimate_id}/messages/{message_id}`: [Delete an estimate message](https://t.momentic.studio/docs/api/not-available#delete-estimates-estimate-id-messages-message-id)
- `GET /api/v2/estimate_item_categories`: [List estimate item categories](https://t.momentic.studio/docs/api/not-available#get-estimate-item-categories)
- `GET /api/v2/estimate_item_categories/{estimate_item_category_id}`: [Retrieve one](https://t.momentic.studio/docs/api/not-available#get-estimate-item-categories-estimate-item-category-id)
- `POST /api/v2/estimate_item_categories`: [Create](https://t.momentic.studio/docs/api/not-available#post-estimate-item-categories)
- `PATCH /api/v2/estimate_item_categories/{estimate_item_category_id}`: [Update](https://t.momentic.studio/docs/api/not-available#patch-estimate-item-categories-estimate-item-category-id)
- `DELETE /api/v2/estimate_item_categories/{estimate_item_category_id}`: [Delete](https://t.momentic.studio/docs/api/not-available#delete-estimate-item-categories-estimate-item-category-id)
- `GET /api/v2/expenses`: [List expenses](https://t.momentic.studio/docs/api/not-available#get-expenses)
- `GET /api/v2/expenses/{expense_id}`: [Retrieve one](https://t.momentic.studio/docs/api/not-available#get-expenses-expense-id)
- `POST /api/v2/expenses`: [Create](https://t.momentic.studio/docs/api/not-available#post-expenses)
- `PATCH /api/v2/expenses/{expense_id}`: [Update](https://t.momentic.studio/docs/api/not-available#patch-expenses-expense-id)
- `DELETE /api/v2/expenses/{expense_id}`: [Delete](https://t.momentic.studio/docs/api/not-available#delete-expenses-expense-id)
- `POST /api/v2/expenses/{expense_id}/approve`: [Approve an expense](https://t.momentic.studio/docs/api/not-available#post-expenses-expense-id-approve)
- `POST /api/v2/expenses/{expense_id}/withdraw`: [Withdraw an expense approval](https://t.momentic.studio/docs/api/not-available#post-expenses-expense-id-withdraw)
- `GET /api/v2/expense_categories`: [List expense categories](https://t.momentic.studio/docs/api/not-available#get-expense-categories)
- `GET /api/v2/expense_categories/{expense_category_id}`: [Retrieve one](https://t.momentic.studio/docs/api/not-available#get-expense-categories-expense-category-id)
- `POST /api/v2/expense_categories`: [Create](https://t.momentic.studio/docs/api/not-available#post-expense-categories)
- `PATCH /api/v2/expense_categories/{expense_category_id}`: [Update](https://t.momentic.studio/docs/api/not-available#patch-expense-categories-expense-category-id)
- `DELETE /api/v2/expense_categories/{expense_category_id}`: [Delete](https://t.momentic.studio/docs/api/not-available#delete-expense-categories-expense-category-id)

## List invoices

`GET /api/v2/invoices`

Not supported. Scope: `reports:read`.

The time tracker has no invoices. Lists are empty, a single record is not found (404), and a write is refused (422).

Query parameters:

| Name            | Type     | Required | Description                                                                                                    |
| --------------- | -------- | -------- | -------------------------------------------------------------------------------------------------------------- |
| `client_id`     | integer  | no       | Client.                                                                                                        |
| `project_id`    | integer  | no       | Project.                                                                                                       |
| `updated_since` | datetime | no       | Only records changed at or after this ISO 8601 date-time. A value that is not a date-time is refused with 400. |
| `from`          | date     | no       | From.                                                                                                          |
| `to`            | date     | no       | To.                                                                                                            |
| `state`         | string   | no       | State.                                                                                                         |
| `page`          | integer  | no       | The page to return, from 1. Default 1. A page past the end returns no records.                                 |
| `per_page`      | integer  | no       | Records per page, 1 to 2000. Default 2000. Another value is refused with 400.                                  |

Returns 200 with a page of invoice ref objects under `invoices`.

Example request:

```bash
curl "https://t.momentic.studio/api/v2/invoices?from=2026-03-01&to=2026-03-31" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Harvest-Account-Id: $ACCOUNT_ID" \
  -H "User-Agent: MyApp (admin@example.com)"
```

Example response, status 200:

```json
{
  "invoices": [],
  "per_page": 2000,
  "total_pages": 1,
  "total_entries": 0,
  "next_page": null,
  "previous_page": null,
  "page": 1,
  "links": {
    "first": "https://t.momentic.studio/api/v2/invoices?page=1&per_page=2000&ref=first",
    "next": null,
    "previous": null,
    "last": "https://t.momentic.studio/api/v2/invoices?page=1&per_page=2000&ref=last"
  }
}
```

## Retrieve one

`GET /api/v2/invoices/{invoice_id}`

Not supported. Scope: `reports:read`.

The time tracker has no invoices. Lists are empty, a single record is not found (404), and a write is refused (422).

Returns 200 with a invoice ref object.

Example request:

```bash
curl "https://t.momentic.studio/api/v2/invoices/1" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Harvest-Account-Id: $ACCOUNT_ID" \
  -H "User-Agent: MyApp (admin@example.com)"
```

## Create

`POST /api/v2/invoices`

Not supported. Scope: `reports:read`.

The time tracker has no invoices. Lists are empty, a single record is not found (404), and a write is refused (422).

Returns 200 with no body.

Example request:

```bash
curl -X POST "https://t.momentic.studio/api/v2/invoices" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Harvest-Account-Id: $ACCOUNT_ID" \
  -H "User-Agent: MyApp (admin@example.com)"
```

## Update

`PATCH /api/v2/invoices/{invoice_id}`

Not supported. Scope: `reports:read`.

The time tracker has no invoices. Lists are empty, a single record is not found (404), and a write is refused (422).

Returns 200 with no body.

Example request:

```bash
curl -X PATCH "https://t.momentic.studio/api/v2/invoices/1" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Harvest-Account-Id: $ACCOUNT_ID" \
  -H "User-Agent: MyApp (admin@example.com)"
```

## Delete

`DELETE /api/v2/invoices/{invoice_id}`

Not supported. Scope: `reports:read`.

The time tracker has no invoices. Lists are empty, a single record is not found (404), and a write is refused (422).

Returns 200 with no body.

Example request:

```bash
curl -X DELETE "https://t.momentic.studio/api/v2/invoices/1" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Harvest-Account-Id: $ACCOUNT_ID" \
  -H "User-Agent: MyApp (admin@example.com)"
```

## Send an e-invoice

`POST /api/v2/invoices/{invoice_id}/send_e_invoice`

Not supported. Scope: `time:write`.

The time tracker has no invoices. Lists are empty, a single record is not found (404), and a write is refused (422).

Returns 200 with no body.

Example request:

```bash
curl -X POST "https://t.momentic.studio/api/v2/invoices/1/send_e_invoice" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Harvest-Account-Id: $ACCOUNT_ID" \
  -H "User-Agent: MyApp (admin@example.com)"
```

## E-invoice status

`GET /api/v2/invoices/{invoice_id}/e_invoice_status`

Not supported. Scope: `reports:read`.

The time tracker has no invoices. Lists are empty, a single record is not found (404), and a write is refused (422).

Returns 200 with no body.

Example request:

```bash
curl "https://t.momentic.studio/api/v2/invoices/1/e_invoice_status" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Harvest-Account-Id: $ACCOUNT_ID" \
  -H "User-Agent: MyApp (admin@example.com)"
```

## E-invoice document

`GET /api/v2/invoices/{invoice_id}/e_invoice_document`

Not supported. Scope: `reports:read`.

The time tracker has no invoices. Lists are empty, a single record is not found (404), and a write is refused (422).

Returns 200 with no body.

Example request:

```bash
curl "https://t.momentic.studio/api/v2/invoices/1/e_invoice_document" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Harvest-Account-Id: $ACCOUNT_ID" \
  -H "User-Agent: MyApp (admin@example.com)"
```

## List invoice messages

`GET /api/v2/invoices/{invoice_id}/messages`

Not supported. Scope: `reports:read`.

The time tracker has no invoices. Lists are empty, a single record is not found (404), and a write is refused (422). Each invoice is not found, so its messages are too.

Query parameters:

| Name       | Type    | Required | Description                                                                    |
| ---------- | ------- | -------- | ------------------------------------------------------------------------------ |
| `page`     | integer | no       | The page to return, from 1. Default 1. A page past the end returns no records. |
| `per_page` | integer | no       | Records per page, 1 to 2000. Default 2000. Another value is refused with 400.  |

Returns 200 with no body.

Example request:

```bash
curl "https://t.momentic.studio/api/v2/invoices/1/messages" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Harvest-Account-Id: $ACCOUNT_ID" \
  -H "User-Agent: MyApp (admin@example.com)"
```

## Create an invoice message

`POST /api/v2/invoices/{invoice_id}/messages`

Not supported. Scope: `time:write`.

The time tracker has no invoices. Lists are empty, a single record is not found (404), and a write is refused (422).

Returns 200 with no body.

Example request:

```bash
curl -X POST "https://t.momentic.studio/api/v2/invoices/1/messages" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Harvest-Account-Id: $ACCOUNT_ID" \
  -H "User-Agent: MyApp (admin@example.com)"
```

## New invoice message text

`GET /api/v2/invoices/{invoice_id}/messages/new`

Not supported. Scope: `reports:read`.

The time tracker has no invoices. Lists are empty, a single record is not found (404), and a write is refused (422).

Returns 200 with no body.

Example request:

```bash
curl "https://t.momentic.studio/api/v2/invoices/1/messages/new" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Harvest-Account-Id: $ACCOUNT_ID" \
  -H "User-Agent: MyApp (admin@example.com)"
```

## Delete an invoice message

`DELETE /api/v2/invoices/{invoice_id}/messages/{message_id}`

Not supported. Scope: `time:write`.

The time tracker has no invoices. Lists are empty, a single record is not found (404), and a write is refused (422).

Returns 200 with no body.

Example request:

```bash
curl -X DELETE "https://t.momentic.studio/api/v2/invoices/1/messages/1" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Harvest-Account-Id: $ACCOUNT_ID" \
  -H "User-Agent: MyApp (admin@example.com)"
```

## List invoice payments

`GET /api/v2/invoices/{invoice_id}/payments`

Not supported. Scope: `reports:read`.

The time tracker has no invoices. Lists are empty, a single record is not found (404), and a write is refused (422).

Query parameters:

| Name       | Type    | Required | Description                                                                    |
| ---------- | ------- | -------- | ------------------------------------------------------------------------------ |
| `page`     | integer | no       | The page to return, from 1. Default 1. A page past the end returns no records. |
| `per_page` | integer | no       | Records per page, 1 to 2000. Default 2000. Another value is refused with 400.  |

Returns 200 with no body.

Example request:

```bash
curl "https://t.momentic.studio/api/v2/invoices/1/payments" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Harvest-Account-Id: $ACCOUNT_ID" \
  -H "User-Agent: MyApp (admin@example.com)"
```

## Create an invoice payment

`POST /api/v2/invoices/{invoice_id}/payments`

Not supported. Scope: `time:write`.

The time tracker has no invoices. Lists are empty, a single record is not found (404), and a write is refused (422).

Returns 200 with no body.

Example request:

```bash
curl -X POST "https://t.momentic.studio/api/v2/invoices/1/payments" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Harvest-Account-Id: $ACCOUNT_ID" \
  -H "User-Agent: MyApp (admin@example.com)"
```

## Delete an invoice payment

`DELETE /api/v2/invoices/{invoice_id}/payments/{payment_id}`

Not supported. Scope: `time:write`.

The time tracker has no invoices. Lists are empty, a single record is not found (404), and a write is refused (422).

Returns 200 with no body.

Example request:

```bash
curl -X DELETE "https://t.momentic.studio/api/v2/invoices/1/payments/1" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Harvest-Account-Id: $ACCOUNT_ID" \
  -H "User-Agent: MyApp (admin@example.com)"
```

## List invoice item categories

`GET /api/v2/invoice_item_categories`

Not supported. Scope: `reports:read`.

The time tracker has no invoices. Lists are empty, a single record is not found (404), and a write is refused (422).

Query parameters:

| Name            | Type     | Required | Description                                                                                                    |
| --------------- | -------- | -------- | -------------------------------------------------------------------------------------------------------------- |
| `updated_since` | datetime | no       | Only records changed at or after this ISO 8601 date-time. A value that is not a date-time is refused with 400. |
| `page`          | integer  | no       | The page to return, from 1. Default 1. A page past the end returns no records.                                 |
| `per_page`      | integer  | no       | Records per page, 1 to 2000. Default 2000. Another value is refused with 400.                                  |

Returns 200 with a page of invoice ref objects under `invoice_item_categories`.

Example request:

```bash
curl "https://t.momentic.studio/api/v2/invoice_item_categories" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Harvest-Account-Id: $ACCOUNT_ID" \
  -H "User-Agent: MyApp (admin@example.com)"
```

Example response, status 200:

```json
{
  "invoice_item_categories": [],
  "per_page": 2000,
  "total_pages": 1,
  "total_entries": 0,
  "next_page": null,
  "previous_page": null,
  "page": 1,
  "links": {
    "first": "https://t.momentic.studio/api/v2/invoice_item_categories?page=1&per_page=2000&ref=first",
    "next": null,
    "previous": null,
    "last": "https://t.momentic.studio/api/v2/invoice_item_categories?page=1&per_page=2000&ref=last"
  }
}
```

## Retrieve one

`GET /api/v2/invoice_item_categories/{invoice_item_category_id}`

Not supported. Scope: `reports:read`.

The time tracker has no invoices. Lists are empty, a single record is not found (404), and a write is refused (422).

Returns 200 with a invoice ref object.

Example request:

```bash
curl "https://t.momentic.studio/api/v2/invoice_item_categories/1" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Harvest-Account-Id: $ACCOUNT_ID" \
  -H "User-Agent: MyApp (admin@example.com)"
```

## Create

`POST /api/v2/invoice_item_categories`

Not supported. Scope: `reports:read`.

The time tracker has no invoices. Lists are empty, a single record is not found (404), and a write is refused (422).

Returns 200 with no body.

Example request:

```bash
curl -X POST "https://t.momentic.studio/api/v2/invoice_item_categories" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Harvest-Account-Id: $ACCOUNT_ID" \
  -H "User-Agent: MyApp (admin@example.com)"
```

## Update

`PATCH /api/v2/invoice_item_categories/{invoice_item_category_id}`

Not supported. Scope: `reports:read`.

The time tracker has no invoices. Lists are empty, a single record is not found (404), and a write is refused (422).

Returns 200 with no body.

Example request:

```bash
curl -X PATCH "https://t.momentic.studio/api/v2/invoice_item_categories/1" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Harvest-Account-Id: $ACCOUNT_ID" \
  -H "User-Agent: MyApp (admin@example.com)"
```

## Delete

`DELETE /api/v2/invoice_item_categories/{invoice_item_category_id}`

Not supported. Scope: `reports:read`.

The time tracker has no invoices. Lists are empty, a single record is not found (404), and a write is refused (422).

Returns 200 with no body.

Example request:

```bash
curl -X DELETE "https://t.momentic.studio/api/v2/invoice_item_categories/1" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Harvest-Account-Id: $ACCOUNT_ID" \
  -H "User-Agent: MyApp (admin@example.com)"
```

## List estimates

`GET /api/v2/estimates`

Not supported. Scope: `reports:read`.

The time tracker has no estimates. Lists are empty, a single record is not found (404), and a write is refused (422).

Query parameters:

| Name            | Type     | Required | Description                                                                                                    |
| --------------- | -------- | -------- | -------------------------------------------------------------------------------------------------------------- |
| `client_id`     | integer  | no       | Client.                                                                                                        |
| `updated_since` | datetime | no       | Only records changed at or after this ISO 8601 date-time. A value that is not a date-time is refused with 400. |
| `from`          | date     | no       | From.                                                                                                          |
| `to`            | date     | no       | To.                                                                                                            |
| `state`         | string   | no       | State.                                                                                                         |
| `page`          | integer  | no       | The page to return, from 1. Default 1. A page past the end returns no records.                                 |
| `per_page`      | integer  | no       | Records per page, 1 to 2000. Default 2000. Another value is refused with 400.                                  |

Returns 200 with a page of invoice ref objects under `estimates`.

Example request:

```bash
curl "https://t.momentic.studio/api/v2/estimates?from=2026-03-01&to=2026-03-31" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Harvest-Account-Id: $ACCOUNT_ID" \
  -H "User-Agent: MyApp (admin@example.com)"
```

Example response, status 200:

```json
{
  "estimates": [],
  "per_page": 2000,
  "total_pages": 1,
  "total_entries": 0,
  "next_page": null,
  "previous_page": null,
  "page": 1,
  "links": {
    "first": "https://t.momentic.studio/api/v2/estimates?page=1&per_page=2000&ref=first",
    "next": null,
    "previous": null,
    "last": "https://t.momentic.studio/api/v2/estimates?page=1&per_page=2000&ref=last"
  }
}
```

## Retrieve one

`GET /api/v2/estimates/{estimate_id}`

Not supported. Scope: `reports:read`.

The time tracker has no estimates. Lists are empty, a single record is not found (404), and a write is refused (422).

Returns 200 with a invoice ref object.

Example request:

```bash
curl "https://t.momentic.studio/api/v2/estimates/1" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Harvest-Account-Id: $ACCOUNT_ID" \
  -H "User-Agent: MyApp (admin@example.com)"
```

## Create

`POST /api/v2/estimates`

Not supported. Scope: `reports:read`.

The time tracker has no estimates. Lists are empty, a single record is not found (404), and a write is refused (422).

Returns 200 with no body.

Example request:

```bash
curl -X POST "https://t.momentic.studio/api/v2/estimates" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Harvest-Account-Id: $ACCOUNT_ID" \
  -H "User-Agent: MyApp (admin@example.com)"
```

## Update

`PATCH /api/v2/estimates/{estimate_id}`

Not supported. Scope: `reports:read`.

The time tracker has no estimates. Lists are empty, a single record is not found (404), and a write is refused (422).

Returns 200 with no body.

Example request:

```bash
curl -X PATCH "https://t.momentic.studio/api/v2/estimates/1" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Harvest-Account-Id: $ACCOUNT_ID" \
  -H "User-Agent: MyApp (admin@example.com)"
```

## Delete

`DELETE /api/v2/estimates/{estimate_id}`

Not supported. Scope: `reports:read`.

The time tracker has no estimates. Lists are empty, a single record is not found (404), and a write is refused (422).

Returns 200 with no body.

Example request:

```bash
curl -X DELETE "https://t.momentic.studio/api/v2/estimates/1" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Harvest-Account-Id: $ACCOUNT_ID" \
  -H "User-Agent: MyApp (admin@example.com)"
```

## List estimate messages

`GET /api/v2/estimates/{estimate_id}/messages`

Not supported. Scope: `reports:read`.

The time tracker has no estimates. Lists are empty, a single record is not found (404), and a write is refused (422).

Query parameters:

| Name       | Type    | Required | Description                                                                    |
| ---------- | ------- | -------- | ------------------------------------------------------------------------------ |
| `page`     | integer | no       | The page to return, from 1. Default 1. A page past the end returns no records. |
| `per_page` | integer | no       | Records per page, 1 to 2000. Default 2000. Another value is refused with 400.  |

Returns 200 with no body.

Example request:

```bash
curl "https://t.momentic.studio/api/v2/estimates/1/messages" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Harvest-Account-Id: $ACCOUNT_ID" \
  -H "User-Agent: MyApp (admin@example.com)"
```

## Create an estimate message

`POST /api/v2/estimates/{estimate_id}/messages`

Not supported. Scope: `time:write`.

The time tracker has no estimates. Lists are empty, a single record is not found (404), and a write is refused (422).

Returns 200 with no body.

Example request:

```bash
curl -X POST "https://t.momentic.studio/api/v2/estimates/1/messages" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Harvest-Account-Id: $ACCOUNT_ID" \
  -H "User-Agent: MyApp (admin@example.com)"
```

## Delete an estimate message

`DELETE /api/v2/estimates/{estimate_id}/messages/{message_id}`

Not supported. Scope: `time:write`.

The time tracker has no estimates. Lists are empty, a single record is not found (404), and a write is refused (422).

Returns 200 with no body.

Example request:

```bash
curl -X DELETE "https://t.momentic.studio/api/v2/estimates/1/messages/1" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Harvest-Account-Id: $ACCOUNT_ID" \
  -H "User-Agent: MyApp (admin@example.com)"
```

## List estimate item categories

`GET /api/v2/estimate_item_categories`

Not supported. Scope: `reports:read`.

The time tracker has no estimates. Lists are empty, a single record is not found (404), and a write is refused (422).

Query parameters:

| Name            | Type     | Required | Description                                                                                                    |
| --------------- | -------- | -------- | -------------------------------------------------------------------------------------------------------------- |
| `updated_since` | datetime | no       | Only records changed at or after this ISO 8601 date-time. A value that is not a date-time is refused with 400. |
| `page`          | integer  | no       | The page to return, from 1. Default 1. A page past the end returns no records.                                 |
| `per_page`      | integer  | no       | Records per page, 1 to 2000. Default 2000. Another value is refused with 400.                                  |

Returns 200 with a page of invoice ref objects under `estimate_item_categories`.

Example request:

```bash
curl "https://t.momentic.studio/api/v2/estimate_item_categories" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Harvest-Account-Id: $ACCOUNT_ID" \
  -H "User-Agent: MyApp (admin@example.com)"
```

Example response, status 200:

```json
{
  "estimate_item_categories": [],
  "per_page": 2000,
  "total_pages": 1,
  "total_entries": 0,
  "next_page": null,
  "previous_page": null,
  "page": 1,
  "links": {
    "first": "https://t.momentic.studio/api/v2/estimate_item_categories?page=1&per_page=2000&ref=first",
    "next": null,
    "previous": null,
    "last": "https://t.momentic.studio/api/v2/estimate_item_categories?page=1&per_page=2000&ref=last"
  }
}
```

## Retrieve one

`GET /api/v2/estimate_item_categories/{estimate_item_category_id}`

Not supported. Scope: `reports:read`.

The time tracker has no estimates. Lists are empty, a single record is not found (404), and a write is refused (422).

Returns 200 with a invoice ref object.

Example request:

```bash
curl "https://t.momentic.studio/api/v2/estimate_item_categories/1" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Harvest-Account-Id: $ACCOUNT_ID" \
  -H "User-Agent: MyApp (admin@example.com)"
```

## Create

`POST /api/v2/estimate_item_categories`

Not supported. Scope: `reports:read`.

The time tracker has no estimates. Lists are empty, a single record is not found (404), and a write is refused (422).

Returns 200 with no body.

Example request:

```bash
curl -X POST "https://t.momentic.studio/api/v2/estimate_item_categories" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Harvest-Account-Id: $ACCOUNT_ID" \
  -H "User-Agent: MyApp (admin@example.com)"
```

## Update

`PATCH /api/v2/estimate_item_categories/{estimate_item_category_id}`

Not supported. Scope: `reports:read`.

The time tracker has no estimates. Lists are empty, a single record is not found (404), and a write is refused (422).

Returns 200 with no body.

Example request:

```bash
curl -X PATCH "https://t.momentic.studio/api/v2/estimate_item_categories/1" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Harvest-Account-Id: $ACCOUNT_ID" \
  -H "User-Agent: MyApp (admin@example.com)"
```

## Delete

`DELETE /api/v2/estimate_item_categories/{estimate_item_category_id}`

Not supported. Scope: `reports:read`.

The time tracker has no estimates. Lists are empty, a single record is not found (404), and a write is refused (422).

Returns 200 with no body.

Example request:

```bash
curl -X DELETE "https://t.momentic.studio/api/v2/estimate_item_categories/1" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Harvest-Account-Id: $ACCOUNT_ID" \
  -H "User-Agent: MyApp (admin@example.com)"
```

## List expenses

`GET /api/v2/expenses`

Not supported. Scope: `reports:read`.

The time tracker has no expenses. Lists are empty, a single record is not found (404), and a write is refused (422).

Query parameters:

| Name            | Type     | Required | Description                                                                                                    |
| --------------- | -------- | -------- | -------------------------------------------------------------------------------------------------------------- |
| `user_id`       | integer  | no       | Person.                                                                                                        |
| `client_id`     | integer  | no       | Client.                                                                                                        |
| `project_id`    | integer  | no       | Project.                                                                                                       |
| `is_billed`     | boolean  | no       | Billed.                                                                                                        |
| `updated_since` | datetime | no       | Only records changed at or after this ISO 8601 date-time. A value that is not a date-time is refused with 400. |
| `from`          | date     | no       | From.                                                                                                          |
| `to`            | date     | no       | To.                                                                                                            |
| `page`          | integer  | no       | The page to return, from 1. Default 1. A page past the end returns no records.                                 |
| `per_page`      | integer  | no       | Records per page, 1 to 2000. Default 2000. Another value is refused with 400.                                  |

Returns 200 with a page of invoice ref objects under `expenses`.

Example request:

```bash
curl "https://t.momentic.studio/api/v2/expenses?from=2026-03-01&to=2026-03-31" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Harvest-Account-Id: $ACCOUNT_ID" \
  -H "User-Agent: MyApp (admin@example.com)"
```

Example response, status 200:

```json
{
  "expenses": [],
  "per_page": 2000,
  "total_pages": 1,
  "total_entries": 0,
  "next_page": null,
  "previous_page": null,
  "page": 1,
  "links": {
    "first": "https://t.momentic.studio/api/v2/expenses?page=1&per_page=2000&ref=first",
    "next": null,
    "previous": null,
    "last": "https://t.momentic.studio/api/v2/expenses?page=1&per_page=2000&ref=last"
  }
}
```

## Retrieve one

`GET /api/v2/expenses/{expense_id}`

Not supported. Scope: `reports:read`.

The time tracker has no expenses. Lists are empty, a single record is not found (404), and a write is refused (422).

Returns 200 with a invoice ref object.

Example request:

```bash
curl "https://t.momentic.studio/api/v2/expenses/1" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Harvest-Account-Id: $ACCOUNT_ID" \
  -H "User-Agent: MyApp (admin@example.com)"
```

## Create

`POST /api/v2/expenses`

Not supported. Scope: `reports:read`.

The time tracker has no expenses. Lists are empty, a single record is not found (404), and a write is refused (422).

Returns 200 with no body.

Example request:

```bash
curl -X POST "https://t.momentic.studio/api/v2/expenses" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Harvest-Account-Id: $ACCOUNT_ID" \
  -H "User-Agent: MyApp (admin@example.com)"
```

## Update

`PATCH /api/v2/expenses/{expense_id}`

Not supported. Scope: `reports:read`.

The time tracker has no expenses. Lists are empty, a single record is not found (404), and a write is refused (422).

Returns 200 with no body.

Example request:

```bash
curl -X PATCH "https://t.momentic.studio/api/v2/expenses/1" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Harvest-Account-Id: $ACCOUNT_ID" \
  -H "User-Agent: MyApp (admin@example.com)"
```

## Delete

`DELETE /api/v2/expenses/{expense_id}`

Not supported. Scope: `reports:read`.

The time tracker has no expenses. Lists are empty, a single record is not found (404), and a write is refused (422).

Returns 200 with no body.

Example request:

```bash
curl -X DELETE "https://t.momentic.studio/api/v2/expenses/1" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Harvest-Account-Id: $ACCOUNT_ID" \
  -H "User-Agent: MyApp (admin@example.com)"
```

## Approve an expense

`POST /api/v2/expenses/{expense_id}/approve`

Not supported. Scope: `time:write`.

The time tracker has no expenses. Lists are empty, a single record is not found (404), and a write is refused (422).

Returns 200 with no body.

Example request:

```bash
curl -X POST "https://t.momentic.studio/api/v2/expenses/1/approve" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Harvest-Account-Id: $ACCOUNT_ID" \
  -H "User-Agent: MyApp (admin@example.com)"
```

## Withdraw an expense approval

`POST /api/v2/expenses/{expense_id}/withdraw`

Not supported. Scope: `time:write`.

The time tracker has no expenses. Lists are empty, a single record is not found (404), and a write is refused (422).

Returns 200 with no body.

Example request:

```bash
curl -X POST "https://t.momentic.studio/api/v2/expenses/1/withdraw" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Harvest-Account-Id: $ACCOUNT_ID" \
  -H "User-Agent: MyApp (admin@example.com)"
```

## List expense categories

`GET /api/v2/expense_categories`

Not supported. Scope: `reports:read`.

The time tracker has no expenses. Lists are empty, a single record is not found (404), and a write is refused (422).

Query parameters:

| Name            | Type     | Required | Description                                                                                                    |
| --------------- | -------- | -------- | -------------------------------------------------------------------------------------------------------------- |
| `is_active`     | boolean  | no       | true for active records only, false for archived only. Another value is ignored, as in Harvest.                |
| `updated_since` | datetime | no       | Only records changed at or after this ISO 8601 date-time. A value that is not a date-time is refused with 400. |
| `page`          | integer  | no       | The page to return, from 1. Default 1. A page past the end returns no records.                                 |
| `per_page`      | integer  | no       | Records per page, 1 to 2000. Default 2000. Another value is refused with 400.                                  |

Returns 200 with a page of invoice ref objects under `expense_categories`.

Example request:

```bash
curl "https://t.momentic.studio/api/v2/expense_categories" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Harvest-Account-Id: $ACCOUNT_ID" \
  -H "User-Agent: MyApp (admin@example.com)"
```

Example response, status 200:

```json
{
  "expense_categories": [],
  "per_page": 2000,
  "total_pages": 1,
  "total_entries": 0,
  "next_page": null,
  "previous_page": null,
  "page": 1,
  "links": {
    "first": "https://t.momentic.studio/api/v2/expense_categories?page=1&per_page=2000&ref=first",
    "next": null,
    "previous": null,
    "last": "https://t.momentic.studio/api/v2/expense_categories?page=1&per_page=2000&ref=last"
  }
}
```

## Retrieve one

`GET /api/v2/expense_categories/{expense_category_id}`

Not supported. Scope: `reports:read`.

The time tracker has no expenses. Lists are empty, a single record is not found (404), and a write is refused (422).

Returns 200 with a invoice ref object.

Example request:

```bash
curl "https://t.momentic.studio/api/v2/expense_categories/1" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Harvest-Account-Id: $ACCOUNT_ID" \
  -H "User-Agent: MyApp (admin@example.com)"
```

## Create

`POST /api/v2/expense_categories`

Not supported. Scope: `reports:read`.

The time tracker has no expenses. Lists are empty, a single record is not found (404), and a write is refused (422).

Returns 200 with no body.

Example request:

```bash
curl -X POST "https://t.momentic.studio/api/v2/expense_categories" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Harvest-Account-Id: $ACCOUNT_ID" \
  -H "User-Agent: MyApp (admin@example.com)"
```

## Update

`PATCH /api/v2/expense_categories/{expense_category_id}`

Not supported. Scope: `reports:read`.

The time tracker has no expenses. Lists are empty, a single record is not found (404), and a write is refused (422).

Returns 200 with no body.

Example request:

```bash
curl -X PATCH "https://t.momentic.studio/api/v2/expense_categories/1" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Harvest-Account-Id: $ACCOUNT_ID" \
  -H "User-Agent: MyApp (admin@example.com)"
```

## Delete

`DELETE /api/v2/expense_categories/{expense_category_id}`

Not supported. Scope: `reports:read`.

The time tracker has no expenses. Lists are empty, a single record is not found (404), and a write is refused (422).

Returns 200 with no body.

Example request:

```bash
curl -X DELETE "https://t.momentic.studio/api/v2/expense_categories/1" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Harvest-Account-Id: $ACCOUNT_ID" \
  -H "User-Agent: MyApp (admin@example.com)"
```
