A collection of beancount plugins
Project description
beancount-nblock
A collection of beancount plugins.
unlinked_documents: find missing links between documents and transactions
It might be desireable to enforce a link between certain kind of documents and a corresponding transaction. Typical use cases are incoming and outgoing invoices where a receipt (referenced via a document directive) should have a matching transaction.
The following is valid, according to this plugin:
2019-01-01 * "Payee" "A description" ^ER-some-id
Assets:Bank:Checking 300.00 EUR
Expenses:Home
2019-01-01 document Assets:Bank:Checking "/path/to/receipt.pdf" ^ER-some-id
An error is generated in case either of the above directives is missing.
Usage
Add the following to your beancount file:
plugin "beancount_nblock.unlinked_documents"
The default list of patterns is: AR-*
, ER-*
. A custom list of patterns may
be configured via:
plugin "beancount_nblock.unlinked_documents" "PATTERN-FOO-*,PATTERN-BAR-*
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
beancount-nblock-0.0.2.tar.gz
(2.3 kB
view hashes)
Built Distribution
Close
Hashes for beancount_nblock-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e034517db2fd4fedda7fe6736f2ed68ab5a766bcc924eff53e18f510ae2f734 |
|
MD5 | 9e96bf0af614ce8d918e0bfeedbea5aa |
|
BLAKE2b-256 | a839ae4d48df9e5cca51d912cc08d4164f8cc32d28c7f28827ac90efc7dbc4e7 |