---
title: "Get Invoices Updated"
method: GET
path: "/crm/invoices/updated"
tags: ["CRM Service Calls"]
---

# Get Invoices Updated

`GET /crm/invoices/updated`

## Request

- Base URL: `https://fapi.ambivo.com` (the document declares no server; this is the origin it was published from)
- URL: `https://fapi.ambivo.com/crm/invoices/updated`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/ambivo/apis/ambivo-api/docs/crm/invoices/updated/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieve invoices updated within a time window (default: last 4 hours).

Returns invoices whose `updated_ts` falls within the specified date range. Captures
stage changes (e.g., draft → open → paid), amount adjustments, or any other modifications.

**Time-based filtering (start_date / end_date):**

- Format: `YYYY-MM-DDTHH:MM:SSZ` or `YYYY-MM-DD`
- Default window (no params): last 4 hours

**Example requests:**

- Invoices updated in the last 4 hours (default):
  `GET /invoices/updated`
- Invoices updated in the last 7 days:
  `GET /invoices/updated?start_date=2026-03-22T00:00:00Z&end_date=2026-03-29T23:59:59Z`
- Recently paid invoices this month:
  `GET /invoices/updated?start_date=2026-03-01&match_filter_dict={"stage": "paid"}`

**Other Query Parameters:**

- **match_filter_dict** *(optional)*: JSON-encoded MongoDB filter for non-date fields.
  Filterable fields: `stage`, `invoice_type`, `total_amount`, `account_id`, `contact_id`.

**Response:** Array of invoice objects (same schema as GET /invoices).

## Query parameters

- `match_filter_dict` string
- `start_date` string, nullable: Start of date range in ISO 8601 format. Defaults to now − 4 hours.
- `end_date` string, nullable: End of date range in ISO 8601 format. Defaults to now.

## Response `200`

Successful Response

- InvoiceResponse[]
  - `id` string, required
  - `name` string, nullable
  - `stage` string, nullable
  - `description` string, nullable
  - `invoice_num` string, nullable
  - `total_amount` string, nullable
  - `invoice_date` string, nullable
  - `created_ts` string, nullable
  - `created_ts_date` string, nullable
  - `updated_ts` string, nullable
  - `updated_ts_date` string, nullable
  - `contact` string, nullable
  - `opportunity` string, nullable

## Other responses

- `422`: Validation Error

## Changes

- **2026-08-06** `165a6d16a9a0`: 2 info
  - added the new optional `query` request parameter `end_date`
  - added the new optional `query` request parameter `start_date`

[Operation history](https://skmtc.dev/ambivo/apis/ambivo-api/changes/crm/invoices/updated/get.md)

---

[API](https://skmtc.dev/ambivo/apis/ambivo-api.md) - [All operations](https://skmtc.dev/ambivo/apis/ambivo-api/llms.txt) - [OpenAPI document](https://skmtc.dev/ambivo/apis/ambivo-api/revisions/165a6d16a9a0?raw)
