Alfred workflow to modify beancount file with account/payee auto-complete. Thanks to beancount, Alfred-Workflow and iconmonstr. Please remember to modify the corresponding regex in
beancount.json to match your entry format.
Instruction for 1st Run
Download the workflow from latest release. You will need to change
beancount.json from the workflow directory. The regexes will catch histrorical transactions correctly most time. However, if anything went wrong, modify them to match your file may solve the problem. Output of
bean-add function is defined by
body_format, if you want different format, that's where you should refer to.
Append a new entry to existing beancount file
bean-add FROM_ACCOUNT TO_ACCOUNT '[PAYEE]' AMOUNT '[TAGS]' '[COMMENT]'
Workflow will list all the possible outcomes for the last parameter, while using the best fit for the rest. For example, if user input is
bean-add Slate RES, the best match for
Liabilities:US:Chase:Slate, so the program will use that account as fund source. Meanwhile, all the possible matches for
RES will be listed out.
Rebuild account and payee caches
Clear an transaction by adding #clear tag