-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add multiple postings to imported transaction #199
Comments
Have your importer generate multiple postings, for FIXME:A, FIXME:B etc. |
That's a decent workaround, but it's not always possible to know the number of postings ahead of time. For example, if my company sends travel reimbursements to my checking account in a lump sum but it should get booked to multiple expense accounts (restaurants, lodging, transportation, etc). I can't know in advance which accounts will be involved. Also, the signature of the transaction (in a downloaded CSV) might look identical to my regular paycheck (which doesn't contain any reimbursements), so the importer wouldn't have any distinguishing factors (other than amount which isn't reliable month-to-month) to determine if the placeholder reimbursement postings should be added. Things would be a lot easier if the UI had a "add/remove posting" button or similar to dynamically alter the transaction. Is there a reason this feature couldn't be on the roadmap? |
Another way this can be accomplished currently is to use "Shift+Enter" to accept a candidate but immediately focus it in the editor view for editing. Then you can edit the postings as you like. It seems that if we supported editing postings in the candidate view it would ultimately require full text editing which would be difficult to integrate, and it isn't clear that it would be better than the existing solution. Another thing to consider: you could in separate transactions add each reimbursable expense to an |
I'll try switching to the editor window, that seems like a reasonable workflow especially with the keyboard shortcut. Thanks! |
@jbms The |
I'm using several
generic_importer_source
data sources which parse CSV data using a basic beancount importer. As expected, each transaction shows up with two postings - one for the source account and anotherFIXME
. The UI lets me enter the appropriateFIXME
account which is great. However, there doesn't seem to be support for adding multiple postings. For instance, if my importer providesI want the UI to let me write the following to my output beancount file
This would be very useful for dividing an expense across multiple accounts
The text was updated successfully, but these errors were encountered: