Overview
Transactions are the core of Your Finance App. Every income, expense, or transfer is recorded as a transaction, allowing you to track your financial activity across all your accounts.Multi-Currency Support
Track transactions in ARS, USD, and EUR with automatic currency enforcement
Smart Categorization
Organize transactions with flexible categories for better insights
Soft Delete
Deleted transactions can be recovered and don’t break your balance history
Balance Tracking
Real-time balance updates across all accounts and currencies
Transaction Types
Your Finance App supports three types of transactions:- INCOME: Money coming into your accounts (salary, gifts, refunds)
- EXPENSE: Money going out of your accounts (purchases, bills, fees)
- TRANSFER: Moving money between your own accounts
Creating a Transaction
To create a transaction, send a POST request to/transactions:
Request Parameters
Transaction type:
INCOME, EXPENSE, or TRANSFERTransaction amount (must be greater than 0, up to 2 decimal places)
UUID of the account where this transaction occurs
Optional description (max 500 characters)
Optional UUID of the category for organization
Optional ISO date string (defaults to current time)
Optional currency code (ARS, USD, EUR). Must match account currency
Automatic Currency Validation: The transaction currency must match the account’s currency. If you try to create a USD transaction on an ARS account, you’ll receive an error.
Balance Protection
Your Finance App includes overdraft protection. When creating an expense or transfer, the system validates that you have sufficient funds:Filtering Transactions
Retrieve transactions with powerful filtering options:Available Query Parameters
Available Query Parameters
- page (number): Page number for pagination (default: 1)
- limit (number): Results per page (default: 20)
- type (enum): Filter by INCOME, EXPENSE, or TRANSFER
- accountId (string): Filter by specific account
- categoryId (string): Filter by specific category
- startDate (string): ISO date for range start
- endDate (string): ISO date for range end
- month (number): Filter by month (1-12)
- year (number): Filter by year
- search (string): Search in description or category name
Response Format
Transactions are returned with pagination:Calculating Your Balance
Get your current balance across all accounts, grouped by currency:Updating Transactions
Update an existing transaction with PATCH/transactions/:id:
Category Validation
The system validates that transaction types match their categories:- An INCOME transaction can only use categories of type
INCOMEorBOTH - An EXPENSE transaction can only use categories of type
EXPENSEorBOTH - TRANSFER transactions automatically use the “Transferencia” category
Soft Delete
Deleting a transaction marks it as deleted without removing it from the database:Soft-deleted transactions:
- Are excluded from queries and reports
- Have their balance impact reversed
- Maintain referential integrity in your database
- Can be recovered by support if needed
Best Practices
Always Set Categories
Always Set Categories
While categories are optional, they’re essential for budgeting and reporting. Make it a habit to categorize every transaction.
Use Descriptive Descriptions
Use Descriptive Descriptions
Clear descriptions help you remember transactions months later. “Starbucks” is better than “Coffee”.
Respect Currency Boundaries
Respect Currency Boundaries
Each account has one currency. To convert between currencies, use transfers between accounts with different currencies (future feature).
Monitor Your Balance
Monitor Your Balance
Use the
/transactions/balance endpoint regularly to track your net worth across currencies.