Skip to content
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

Old entry trimmer hook. #127

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Old entry trimmer hook. #127

wants to merge 2 commits into from

Conversation

umangv
Copy link

@umangv umangv commented Mar 9, 2024

This hook excludes entries in the import that occurred prior to the last existing balance entry (that is already in the beancount ledger). Since these imported transactions should already be accounted for, the output of bean-extract becomes a lot smaller and easier to read. This is especially useful for financial institutions that do not allow customizing the date range of exported transactions.

By default, we only trim entries already marked duplicate (e.g., by DuplicateDetector). If you do not use DuplicateDetector or want to trim old entries regardless of the "duplicate" metadata, set only_trim_duplicates to False.

This hook excludes entries in the import that occurred prior to the last
existing balance entry (that is already in the beancount ledger). Since these
imported transactions should already be accounted for, the output of
bean-extract becomes a lot smaller and easier to read. This is especially useful
for financial institutions that do not allow customizing the date range of
exported transactions.

By default, we only trim entries already marked duplicate (e.g., by
`DuplicateDetector`). If you do not use `DuplicateDetector` or want to trim old
entries regardless of the "duplicate" metadata, set `only_trim_duplicates` to
`False`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants