【发布时间】:2023-01-26 08:02:47
【问题描述】:
我是文本文件复式记账的忠实粉丝,使用 beancount:https://github.com/beancount/beancount 使用 beancount 查询语言,我可以轻松地从我的文本文件创建报告(例如税收)。
在 beancount 中,可以在交易报表中添加文档链接(例如收据的 PDF),如
2020-02-04 * "Google" "Server" #tax
document: "2020-02-04 3688657551.pdf"
Liabilities:ErsteBank:Credit -30.40 EUR
Expenses:Professional:Server 30.40 EUR
在年底,我使用以下查询获取所有与税收相关的费用:
SELECT
account, date, number as value, currency, description
FROM
year = 2020
WHERE
account ~ "Expenses:"
AND 'tax' IN tags
ORDER BY date, account, betrag
是否可以在查询中包含文档指令的文件名,即“2020-02-04 3688657551.pdf”?
【问题讨论】:
标签: accounting beancount