recurring_expenses
#
Lunch Money - Recurring Expenses
https://lunchmoney.dev/#recurring-expenses
RecurringExpenseParamsGet
#
Bases: LunchableModel
https://lunchmoney.dev/#get-recurring-expenses
Parameters:
Name | Type | Description | Default |
---|---|---|---|
start_date |
date
|
|
required |
debit_as_negative |
bool | None
|
|
None
|
Source code in lunchable/models/recurring_expenses.py
RecurringExpensesClient
#
Bases: LunchMoneyAPIClient
Lunch Money Recurring Expenses Interactions
Source code in lunchable/models/recurring_expenses.py
get_recurring_expenses(start_date=None, debit_as_negative=None)
#
Get Recurring Expenses
DEPRECATED - Use LunchMoney.get_recurring_items() instead.
Retrieve a list of recurring expenses to expect for a specified period.
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.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
start_date |
Optional[date]
|
Date to search. By default will return the first day of the current month |
None
|
debit_as_negative |
Optional[bool]
|
Pass in true if you'd like expenses to be returned as negative amounts and credits as positive amounts. |
None
|
Returns:
Type | Description |
---|---|
List[RecurringExpensesObject]
|
|
Source code in lunchable/models/recurring_expenses.py
RecurringExpensesObject
#
Bases: LunchableModel
Recurring Expenses Object
https://lunchmoney.dev/#recurring-expenses-object
Parameters:
Name | Type | Description | Default |
---|---|---|---|
id |
int
|
Unique identifier for recurring expense |
required |
start_date |
date | None
|
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 |
None
|
end_date |
date | None
|
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 |
None
|
cadence |
str
|
One of: [monthly, twice a month, once a week, every 3 months, every 4 months, twice a year, yearly] |
required |
payee |
str
|
Payee of the recurring expense |
required |
amount |
float
|
Amount of the recurring expense in numeric format to 4 decimal places |
required |
currency |
str
|
Three-letter lowercase currency code for the recurring expense in ISO 4217 format |
required |
description |
str | None
|
If any, represents the user-entered description of the recurring expense |
None
|
billing_date |
date
|
Expected billing date for this recurring expense for this month in ISO 8601 format |
required |
type |
str
|
This can be one of two values: cleared (The recurring expense has been reviewed by the user), suggested (The recurring expense is suggested by the system; the user has yet to review/clear it) |
required |
original_name |
str | None
|
If any, represents the original name of the recurring expense as denoted by the transaction that triggered its creation |
None
|
source |
str
|
This can be one of three values: manual (User created this recurring expense manually from the Recurring Expenses page), transaction (User created this by converting a transaction from the Transactions page), system (Recurring expense was created by the system on transaction import). Some older recurring expenses may not have a source. |
required |
plaid_account_id |
int | None
|
If any, denotes the plaid account associated with the creation of this " recurring expense (see Plaid Accounts) |
None
|
asset_id |
int | None
|
If any, denotes the manually-managed account (i.e. asset) associated with the creation of this recurring expense (see Assets) |
None
|
category_id |
int | None
|
If any, denotes the unique identifier for the associated category to this recurring expense |
None
|