Export methods
API export
Programmatic data export via REST API
CSV export
Export transactions and accounts as CSV
Command-line export
Bulk export using artisan commands
Database backup
Complete database backup for disaster recovery
API export
The Firefly III API provides comprehensive endpoints for exporting all your financial data.Available export endpoints
- Transactions
- Accounts
- Budgets
- Other resources
Export transactions with full details:Includes:
- Transaction details
- Splits
- Categories, budgets, tags
- Foreign amounts
- Notes and attachments
Pagination
API responses are paginated. To export all data:CSV export
Export transactions and accounts as CSV files for use in Excel, Google Sheets, or other applications.Transaction CSV export
CSV format
Exported CSV includes these columns:| Column | Description |
|---|---|
| ID | Transaction journal ID |
| Date | Transaction date |
| Description | Transaction description |
| Source account | Source account name |
| Destination account | Destination account name |
| Amount | Transaction amount |
| Currency | Currency code |
| Category | Category name |
| Budget | Budget name |
| Tags | Comma-separated tags |
| Notes | Transaction notes |
| External ID | External identifier |
CSV exports use semicolon (;) as separator by default. Configure in your user preferences.
Command-line export
For bulk exports and automation, use the artisan command:Command options
User ID to export data for
User’s access token for authentication
Start date for transaction export (YYYY-MM-DD)
End date for transaction export (YYYY-MM-DD)
Directory to save export files
Export transactions
Export accounts
Export budgets
Export categories
Export tags
Export recurring transactions
Export rules
Export bills/subscriptions
Export piggy banks
Overwrite existing export files
Output format
The command creates CSV files:Automated exports
Schedule regular exports using cron:Export for analysis
Export data for analysis in external tools:Excel/Google Sheets
- Export transactions as CSV
- Open in Excel/Sheets
- Use pivot tables and charts for analysis
- Create custom reports
Python/R analysis
Business Intelligence tools
Connect BI tools directly to Firefly III:- Power BI: Use API connector
- Tableau: Connect via API or database
- Metabase: Connect to PostgreSQL/MySQL database
- Grafana: Create custom dashboards with database queries
For direct database access, ensure you have read-only credentials and understand the database schema
Migration exports
Export data for migration to another system:Complete export
For full data portability:To other Firefly III instance
Use the Data Importer:- Export from source using command above
- Configure Data Importer with source Firefly III URL
- Authenticate and import data
- Verify imported data
Best practices
Regular backups
Regular backups
Schedule automated exports:
- Weekly transaction exports
- Monthly complete exports
- Store in multiple locations
- Test restoration periodically
Secure export files
Secure export files
Protect exported data:
- Encrypt sensitive exports
- Use secure storage locations
- Implement access controls
- Delete old exports securely
Verify exports
Verify exports
After exporting:
- Check file sizes are reasonable
- Verify data completeness
- Test import/restore process
- Keep export logs
Document export procedures
Document export procedures
Maintain documentation:
- Export schedule
- Storage locations
- Retention policies
- Recovery procedures
Troubleshooting
Export timeout
Export timeout
Problem: Large exports timing outSolutions:
- Export in smaller date ranges
- Increase PHP max_execution_time
- Use command-line instead of web interface
- Increase API pagination limit
Missing data in export
Missing data in export
Problem: Exported data incompleteSolutions:
- Check date range filters
- Verify account filters
- Ensure all export flags are enabled
- Check user permissions
- Review export logs for errors
CSV encoding issues
CSV encoding issues
Problem: Special characters corrupted in CSVSolutions:
- Ensure UTF-8 encoding
- Check CSV separator settings
- Try different CSV reader (Excel, LibreOffice)
- Export via API as JSON instead
Related documentation
Backup & restore
Complete backup procedures
Data import
Import data into Firefly III
API reference
API documentation for exports
Data operations
Bulk data operations via API