Templates & Recurring Transactions
Templates and recurring transactions help automate common transaction patterns in Ledgerly.
Transaction Templates
A template is a saved transaction structure that you can reuse. Instead of manually entering the same transaction repeatedly, you can create a template and apply it.
When to Use Templates
- Frequent transactions: Same transaction structure used often
- Complex transactions: Multi-entry transactions that are tedious to recreate
- Standard patterns: Common transaction types in your workflow
Creating a Template
- Go to Templates → New Template
- Enter:
- Name: Descriptive name (e.g., "Monthly Rent Payment")
- Description: What this template is for
- Entries: Define the account entries (same as a transaction)
-
Recurring: Check if this should be recurring
-
Save the template
Applying a Template
- Go to Templates
- Click the Apply button (▶) on a template
- Enter the date for the transaction
- The transaction is created automatically
Example Template
Name: "Monthly Rent Payment"
Entries:
When applied, this creates a transaction with these entries on the specified date.
Recurring Transactions
A recurring transaction automatically creates transactions from a template on a schedule.
Creating a Recurring Transaction
- Create or select a template
- Go to Recurring → New Recurring Transaction
- Configure:
- Template: Which template to use
- Next Date: When to create the first transaction
- Frequency: Daily, Weekly, Monthly, Quarterly, Yearly
-
End Date: Optional - when to stop (leave empty for indefinite)
-
Save
Frequencies
- Daily: Every day
- Weekly: Every week (same day of week)
- Monthly: Every month (same day of month)
- Quarterly: Every 3 months
- Yearly: Every year (same date)
How Recurring Transactions Work
- The system tracks the next date for each recurring transaction
- When you execute a recurring transaction:
- A transaction is created from the template
- The next date is calculated based on frequency
- If an end date is set and passed, the recurring transaction becomes inactive
Executing Recurring Transactions
Recurring transactions can be executed:
- Manually: Click "Execute" on a recurring transaction
- Automatically: (Future feature - scheduled execution)
Managing Recurring Transactions
- Activate/Deactivate: Toggle
is_activeto pause/resume - Edit: Change frequency, next date, or end date
- Delete: Remove the recurring transaction (doesn't delete past transactions)
Best Practices
Templates
- Name clearly: Use descriptive names that indicate purpose
- Document: Add descriptions explaining when to use the template
- Test first: Apply a template manually before making it recurring
- Keep simple: Templates should represent one logical transaction
Recurring Transactions
- Set end dates: For temporary recurring items (e.g., loan payments)
- Review regularly: Check that recurring transactions are still accurate
- Deactivate, don't delete: If pausing, deactivate instead of deleting
- Verify execution: Check that executed transactions are correct
Example Workflows
Monthly Rent
- Create template "Monthly Rent" with rent payment entries
- Create recurring transaction:
- Template: "Monthly Rent"
- Frequency: Monthly
- Next Date: First of next month
- End Date: End of lease
Weekly Grocery Shopping
- Create template "Grocery Shopping" with typical entries
- Apply manually each week (don't make recurring - amounts vary)
Salary Payment
- Create template "Salary" with income entry
- Create recurring transaction:
- Frequency: Monthly
- Next Date: Next payday
- No end date (ongoing)
Limitations
- Fixed amounts: Templates use fixed amounts (can't vary by date)
- Manual execution: Currently requires manual execution (automation coming)
- No conditions: Can't set conditions (e.g., "only if balance > X")
These limitations may be addressed in future versions.