NAME
App::HomeBank2Ledger::Formatter::Beancount - Beancount formatter
VERSION
version 0.010
DESCRIPTION
This is a formatter for Beancount.
METHODS
format_header
@lines = $formatter->format_header;
Get formatted header. For example,
; Name: My Finances
; File: path/to/finances.xhb
format_accounts
@lines = $formatter->format_accounts($ledger);
Get formatted accounts. For example,
2003-02-14 open Assets:Bank:Credit-Union:Savings
2003-02-14 open Assets:Bank:Credit-Union:Checking
...
format_commodities
@lines = $formatter->format_commodities($ledger);
Get formattted commodities. For example,
2003-02-14 commodity USD
name: "US Dollar"
...
format_transactions
@lines = $formatter->format_transactions($ledger);
Get formatted transactions. For example,
2003-02-14 * "Opening Balance"
Assets:Bank:Credit-Union:Savings 458.21 USD
Assets:Bank:Credit-Union:Checking 194.17 USD
Equity:Opening-Balances
...
SEE ALSO
App::HomeBank2Ledger::Formatter
BUGS
Please report any bugs or feature requests on the bugtracker website https://github.com/chazmcgarvey/homebank2ledger/issues
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
AUTHOR
Charles McGarvey <chazmcgarvey@brokenzipper.com>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2019 by Charles McGarvey.
This is free software, licensed under:
The MIT (X11) License