v1
latestOpenAPI 3.0.02026-07-26866217.8 KBQuery Incomes & Expenses
Query income and expense entries (also known as transactions) recorded against the operator, properties or reservations.
The response provides each entry with its categorization (item_id / item_name) and payment method (payment_method_id / payment_method_name). The values of item_id and payment_method_id reference the dictionaries returned by GET /income_items, GET /expense_items, GET /income_methods and GET /expense_methods (which dictionary applies depends on direction).
Query parameters
Internal id of a specific transaction entry. When supplied, returns at most one matching entry under the current operator; start_date and end_date may then be omitted.
Start of the action time range, inclusive. Format YYYY-MM-DD. Interpreted in the operator's configured timezone. Required unless id is supplied.
End of the action time range, inclusive. Format YYYY-MM-DD. Interpreted in the operator's configured timezone. The range from start_date to end_date cannot exceed 366 days. Required unless id is supplied.
The starting point from which to begin returning results.
The maximum number of results to return. The maximum value is 100.
Filter entries linked to the given property id (either directly recorded against the property, or indirectly through a reservation on this property).
Filter entries linked to the given stay (the stay_code returned by GET /reservations).
Filter by direction: income for money received, expense for money spent.
Filter by item id (the categorization of the entry). For income entries the id refers to GET /income_items; for expense entries it refers to GET /expense_items.
Filter by payment method id. For income entries the id refers to GET /income_methods; for expense entries it refers to GET /expense_methods.
Filter by currency code. See Supported Currencies for more information.
Substring match on the entry note.
Response
A list of transaction entries with their details.
Example response
{
"error_msg": "Done."
}