Repository navigation
Conversation
Add new report types to match Python beancount functionality: - balsheet: Balance sheet (Assets, Liabilities, Equity) - income: Income statement (Income and Expenses) - journal: Transaction journal/register with filtering - holdings: Investment holdings with cost basis - networth: Net worth over time (daily/weekly/monthly/yearly) These reports close the gap with Python beancount's bean-report command and provide essential financial analysis capabilities. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
Add -f/--format flag to rledger-report command supporting text (default), csv, and json output formats. All reports now support these formats: - balances: account balances with currency - accounts: list of accounts - commodities: list of commodities - prices: price history - balsheet: balance sheet with sections - income: income statement with sections - journal: transaction register - holdings: positions with cost basis - networth: net worth over time 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
Add new rustledger-importer crate with: - Importer trait for extensible import framework - CSV importer with configurable columns/formats - ImporterRegistry for managing multiple importers - rledger-extract and bean-extract CLI commands Features: - Flexible column mapping (by name or index) - Support for combined or separate debit/credit columns - Configurable date formats - Currency specification - Sign inversion option - Warning collection for parse errors Example usage: rledger-extract bank.csv --account Assets:Bank:Checking 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
Welcome to Codecov 🎉Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests. ℹ️ You can also turn on project coverage checks and project coverage reporting on Pull Request comment Thanks for integrating Codecov - We've got you covered ☂️ |
Add support for importing transactions from OFX (Open Financial Exchange) and QFX (Quicken Financial Exchange) files commonly exported by banks. Features: - Parse bank and credit card transaction lists - Extract date, amount, payee, and memo from transactions - Automatic currency detection from statement - Create balanced transactions with Unknown expense/income accounts - Support for both .ofx and .qfx file extensions Uses the ofxy crate for robust OFX parsing. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
Contributor
Benchmark ResultsComparing Legend
|
Implement rledger-price/bean-price CLI tool to fetch current prices from Yahoo Finance API for commodities defined in beancount files. Features: - Fetch prices for stock symbols (AAPL, MSFT, VTI, etc.) - Support for cryptocurrency via symbol mapping (-m BTC:BTC-USD) - Output as beancount price directives (-b flag) - Read commodities from beancount files (-f flag) - Configurable base currency (-c flag) - Custom date support (-d flag) Example usage: rledger-price AAPL MSFT -b rledger-price -f ledger.beancount -b rledger-price -m BTC:BTC-USD,ETH:ETH-USD BTC ETH -b 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
Implement JSON REST API server for accessing ledger data, enabling web UIs and external tool integration. API Endpoints: - GET /health - Server health check - GET /api/v1/accounts - List all accounts with open dates - GET /api/v1/accounts/:account/balance - Get account balance - GET /api/v1/balances - Get all account balances (filterable) - GET /api/v1/transactions - List transactions (paginated, filterable) - GET /api/v1/commodities - List declared commodities - GET /api/v1/prices - List all price directives Features: - Configurable port and host binding - Optional CORS support for browser access - Query parameters for filtering by account, date range - JSON responses with proper error handling Example usage: rledger-web ledger.beancount --cors -p 3000 curl http://localhost:3000/api/v1/balances?account=Assets 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
Add Fava JSON API compatibility to rledger-web server: - /api/ledger_data - ledger metadata (accounts, currencies, tags, etc.) - /api/balance_sheet - hierarchical asset/liability/equity tree - /api/income_statement - income and expense summary - /api/journal - all transactions and directives - /api/query - BQL query execution endpoint - /api/commodities - commodity list with prices - /api/events - event directives - /api/errors - parsing and validation errors This enables Fava (or Fava-compatible frontends) to connect to rustledger as a backend, providing a familiar web interface for beancount users migrating to rustledger. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
Fava reads beancount files directly, so the API isn't needed for Fava integration. Can be re-added later if custom frontends are desired. This reverts commit eef5254. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
CLI tools and Fava cover all use cases. The REST API can be re-added later if custom frontends are needed. This reverts commit 1b290de. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
Member
Author
robcohen
added a commit
that referenced
this pull request
Nov 27, 2026
… from beancount Beancount booking regroups a transaction postings by the currency each weighs in. rledger keeps the written order: compatibility.md #22, and the semantic gate counts such a ledger as the currency-group-posting-order deviation (only when regrouping reproduces beancount order exactly). Maintainer decision on question 4 of #3071. Co-Authored-By: Claude Opus 5.5 <[email protected]>
robcohen
added a commit
that referenced
this pull request
Nov 28, 2026
… from beancount Beancount booking regroups a transaction postings by the currency each weighs in. rledger keeps the written order: compatibility.md #22, and the semantic gate counts such a ledger as the currency-group-posting-order deviation (only when regrouping reproduces beancount order exactly). Maintainer decision on question 4 of #3071. Co-Authored-By: Claude Opus 5.5 <[email protected]>
robcohen
added a commit
that referenced
this pull request
Nov 28, 2026
… from beancount Beancount booking regroups a transaction postings by the currency each weighs in. rledger keeps the written order: compatibility.md #22, and the semantic gate counts such a ledger as the currency-group-posting-order deviation (only when regrouping reproduces beancount order exactly). Maintainer decision on question 4 of #3071. Co-Authored-By: Claude Opus 5.5 <[email protected]>
robcohen
added a commit
that referenced
this pull request
Nov 28, 2026
… from beancount Beancount booking regroups a transaction postings by the currency each weighs in. rledger keeps the written order: compatibility.md #22, and the semantic gate counts such a ledger as the currency-group-posting-order deviation (only when regrouping reproduces beancount order exactly). Maintainer decision on question 4 of #3071. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds significant new functionality to bring rustledger closer to feature parity with Python beancount:
Phase 1: Core Reports
balsheet): Assets, Liabilities, Equity with net worthincome): Income and Expenses with net incomejournal): Transaction list with optional filtering and limitholdings): Investment positions with cost basisnetworth): Track net worth by period (daily/weekly/monthly/yearly)Export Formats
All reports now support multiple output formats via
-f/--format:text(default): Human-readable text tablescsv: Machine-readable CSV for spreadsheetsjson: Structured JSON for programmatic usePhase 2: Import System
rustledger-importercrate with extensible import frameworkExample Usage
Test plan
🤖 Generated with Claude Code