Commit graph

15 commits

Author SHA1 Message Date
Brett Smith
9d9254b69a template: Nicer formatting of account split lines.
This provides nicer output when the whole line can fit in the desired width,
even if the account name or amount are unusually long.
2017-12-17 21:05:22 -05:00
Brett Smith
93fffe6666 importers: New importer for North Bay Python invoices.
This probably has no use outside Conservancy.
2017-12-17 20:46:00 -05:00
Brett Smith
e3ec03cf19 template: Don't output accounts that end up having no amount. 2017-12-16 13:10:49 -05:00
Brett Smith
a1f815c60b template: Improve error detection and reporting in amount expressions. 2017-11-09 17:39:24 -05:00
Brett Smith
093834dd15 template: Support variables in account names. 2017-11-09 16:18:03 -05:00
Brett Smith
e5a0089eb9 importers: Add an importer for Stripe payments. 2017-11-09 16:18:03 -05:00
Brett Smith
f8a68c3a2e importers: Refactor out a base CSV importer class.
I'm going to build the Stripe importer on top of this.
2017-11-09 16:18:03 -05:00
Brett Smith
3b821cbbee template: Template amounts are now written with fuller expressions.
This makes it possible to support transactions that divide funds in
ways other than a simple percentage split.  For example, there
might be tax withheld, or a flat fee expense on each transaction.
2017-11-09 16:17:58 -05:00
Brett Smith
cebd1481ec patreon: Import VAT withholdings. 2017-10-26 12:56:29 -04:00
Brett Smith
6295952a08 main: Remove "None" from error message about importing stdin. 2017-10-26 12:05:57 -04:00
Brett Smith
cc8da9392e errors: Add UserInputError.__str__.
This makes messages look nicer in logs.
2017-10-26 12:04:44 -04:00
Brett Smith
ab9c65d20d import2ledger: Support only importing entries in a date range. 2017-10-22 16:10:17 -04:00
Brett Smith
f888b13c56 hooks.add_entity: Better handle common name prefix parts.
Keep these with the name they're attached to, rather than breaking the name
in the middle.
2017-10-22 14:05:56 -04:00
Brett Smith
f0dafcaed9 hooks.add_entity: ASCIIfy stroke characters. 2017-10-22 13:58:18 -04:00
Brett Smith
5c73c40bcc import2ledger: First version.
This is a pretty feature-complete version 1.
I don't know why I waited this long to commit anything.
2017-10-22 13:40:20 -04:00