CRM Service Calls

Get Invoices Updated

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).

get/crm/invoices/updated

Request

Query parameters

match_filter_dictstring
start_datestring nullable

Start of date range in ISO 8601 format. Defaults to now − 4 hours.

end_datestring nullable

End of date range in ISO 8601 format. Defaults to now.

Response

Successful Response

idstring required
namestring nullable
stagestring nullable
descriptionstring nullable
invoice_numstring nullable
total_amountstring nullable
invoice_datestring nullable
created_tsstring nullable
created_ts_datestring nullable
updated_tsstring nullable
updated_ts_datestring nullable
contactstring nullable
opportunitystring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.