This endpoint has been deprecated in favor of Recurring Items
| Attribute | Type | Nullable | Description |
|---|---|---|---|
| id | number | false | Unique identifier for recurring expense |
| start_date | string | true | Denotes when recurring expense starts occurring in ISO 8601 format. If null, then this recurring expense will show up for all time before end_date |
| end_date | string | true | Denotes when recurring expense stops occurring in ISO 8601 format. If null, then this recurring expense has no set end date and will show up for all months after start_date |
| cadence | string | false | One of:
|
| payee | string | false | Payee of the recurring expense |
| amount | number | false | Amount of the recurring expense in numeric format to 4 decimal places |
| currency | string | false | Three-letter lowercase currency code for the recurring expense in ISO 4217 format |
| description | string | true | If any, represents the user-entered description of the recurring expense |
| billing_date | string | false | Expected billing date for this recurring expense for this month in ISO 8601 format |
| type | string | false | This can be one of two values:
|
| original_name | string | true | If any, represents the original name of the recurring expense as denoted by the transaction that triggered its creation |
| source | string | false | This can be one of three values:
|
| plaid_account_id | number | true | If any, denotes the plaid account associated with the creation of this recurring expense (see Plaid Accounts) |
| asset_id | number | true | If any, denotes the manually-managed account (i.e. asset) associated with the creation of this recurring expense (see Assets) |
| category_id | number | true | If any, denotes the unique identifier for the associated category to this recurring expense |
| created_at | string | false | The date and time of when the recurring expense was created (in the ISO 8601 extended format). |
It is no longer recommended to use this endpoint to retrieve a list of recurring expenses to expect for a specified period. Use the GET /v1/recurring_items endpoint instead.
Every month, a different set of recurring expenses is expected. This is because recurring expenses can be once a year, twice a year, every 4 months, etc.
If a recurring expense is listed as “twice a month”, then that recurring expense will be returned twice, each with a different billing date based on when the system believes that recurring expense transaction is to be expected. If the recurring expense is listed as “once a week”, then that recurring expense will be returned in this list as many times as there are weeks for the specified month.
In the same vein, if a recurring expense that began last month is set to “Every 3 months”, then that recurring expense will not show up in the results for this month.
GET https://api.lunchmoney.dev/v1/recurring_expenses
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| start_date | string | false | First day of the current month | Accepts a string in ISO-8601 short format. Whatever your start date, the system will automatically return recurring expenses expected for that month. For instance, if you input 2020-01-25, the system will return recurring expenses which are to be expected between 2020-01-01 to 2020-01-31. |
| debit_as_negative | boolean | false | false | Pass in true if you’d like expenses to be returned as negative amounts and credits as positive amounts. |
Example 200 Response
Returns a list of Recurring Expense objects
{
"recurring_expenses": [
{
"id": 264,
"start_date": "2020-01-01",
"end_date": null,
"cadence": "twice a month",
"payee": "Test 5",
"amount": "-122.0000",
"currency": "cad",
"created_at": "2020-01-30T07:58:43.944Z",
"description": null,
"billing_date": "2020-01-01",
"type": "cleared",
"original_name": null,
"source": "manual",
"plaid_account_id": null,
"asset_id": null
},
{
"id": 262,
"start_date": "2020-01-01",
"end_date": null,
"cadence": "monthly",
"payee": "Test 2",
"amount": "-32.4500",
"currency": "usd",
"created_at": "2020-01-30T07:58:43.921Z",
"description": "Test description 2",
"billing_date": "2020-01-03",
"type": "cleared",
"original_name": null,
"source": "manual",
"plaid_account_id": null,
"asset_id": null
},
{
"id": 264,
"start_date": "2020-01-01",
"end_date": null,
"cadence": "twice a month",
"payee": "Test 5",
"amount": "-122.0000",
"currency": "cad",
"created_at": "2020-01-30T07:58:43.944Z",
"description": null,
"billing_date": "2020-01-15",
"type": "cleared",
"original_name": null,
"source": "manual",
"plaid_account_id": null,
"asset_id": null
}
]
}
Example 404 Response
{ "error": "Invalid start_date. Must be in format YYYY-MM-DD" }