X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=bin%2Fhomebank2ledger;h=1139928ea98c30dd8b8bdc86ef4f5a94e3903f09;hb=9a270ef9470db7ca110c2ad60fcd13f8674fdf63;hp=d4a433fe7609ad4a0d11170f9eee625e2784a5b8;hpb=2752b344bcd543f73fceea80dcdbb11c20dc592a;p=chaz%2Fhomebank2ledger diff --git a/bin/homebank2ledger b/bin/homebank2ledger index d4a433f..1139928 100644 --- a/bin/homebank2ledger +++ b/bin/homebank2ledger @@ -4,12 +4,11 @@ =head1 SYNOPSIS - homebank2ledger --input FILEPATH [--output FILEPATH] - [--version|--help|--manual] - [--format FORMAT] [--account-width NUM] + homebank2ledger --input FILEPATH [--output FILEPATH] [--format FORMAT] + [--version|--help|--manual] [--account-width NUM] [--accounts|--no-accounts] [--payees|--no-payees] [--tags|--no-tags] [--commodities|--no-commodities] - [--opening-date DATE] [--default-account STR] + [--opening-date DATE] [--rename-account STR]... [--exclude-account STR]... =head1 DESCRIPTION @@ -18,12 +17,14 @@ C converts L files to a form L. It can also convert directly to the similar L format. -This software is B. I wrote it because I have been maintaining my own personal -finances using HomeBank (which is awesome) and I wanted to investigate using plain text accounting -programs which have great support for commodities. It works well enough for my data, but you may be -using HomeBank features that I don't so there may be cases this doesn't handle well or at all. Feel -free to file a bug report. This script does NOT try to modify the original HomeBank files it -converts from, so there won't be any crazy data loss bugs... but no warranty. +This software is B, in early development. Its interface may change without notice. + +I wrote C because I have been maintaining my own personal finances using HomeBank +(which is awesome) and I wanted to investigate using plain text accounting programs. It works well +enough for my data, but you may be using HomeBank features that I don't so there may be cases this +doesn't handle well or at all. Feel free to file a bug report. This script does NOT try to modify +the original HomeBank files it converts from, so there won't be any crazy data loss bugs... but no +warranty. =head2 Features @@ -32,9 +33,9 @@ converts from, so there won't be any crazy data loss bugs... but no warranty. * Retains HomeBank metadata, including payees and tags. * Offers some customization of the output ledger, like account renaming. -There aren't really any features I think this program is missing -- actually it may have too many -features -- but if there is anything you think this program could do to be even better, feedback is -welcome; just file a bug report. Or fork the code and have fun! +This program is feature-complete in my opinion (well, almost -- see L), but if there is +anything you think it could do to be even better, feedback is welcome; just file a bug report. Or +fork the code and have fun! =head2 Use cases @@ -116,6 +117,15 @@ Enables commodity declarations. Defaults to enabled; use C<--no-commodities> to disable. +=head2 --budget + +Enables budget transactions. + +Budget transactions are only supported by the Ledger format (for now). This option is silently +ignored otherwise. + +Defaults to enabled; use C<--no-budget> to disable. + =head2 --opening-date DATE Specify the opening date for the "opening balances" transaction. This transaction is created (if @@ -123,12 +133,6 @@ needed) to support HomeBank's ability to configure accounts with opening balance Date must be in the form "YYYY-MM-DD". Defaults to the date of the first transaction. -=head2 --default-account STR - -Specify the account to use for one-sided transactions (if any). Defaults to "Expenses:No Category". - -A default account may be necessary because with Ledger all transactions are double-entry. - =head2 --rename-account STR Specifies a mapping for renaming accounts in the output. By default C tries to come @@ -200,6 +204,13 @@ it's just plain text. # Run the balances report: bean-report ledger.beancount balances +=head1 CAVEATS + +=for :list +* I didn't intend to make this a releasable robust product, so it's lacking tests. +* Scheduled transactions are not (yet) converted. +* There are some minor formatting tweaks I will make (e.g. consolidate transaction tags and payees) + =cut use warnings;