How PredictPostings and PredictPayees work
mainThe smart_importer package provides two primary machine learning tools:
PredictPostings: Predicts the list of postings (accounts) for a transaction.PredictPayees: Predicts the payee of a transaction.
Requirements for use:
- Importer Interface: Your importer's
extractmethod must follow the latestbeangulpinterface and include anexisting_entriesargument. - Single-legged Postings: The tool only works by appending to incomplete single-legged postings. It will not work on postings that already have accounts like
Expenses:TODOassigned.