-
Notifications
You must be signed in to change notification settings - Fork 38
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
一个月出现复数次汇率变化后报错:账目不匹配 #82
Comments
你可以查看下账本的源文件,是类似这种吗,这个看上去应该是记录的时候,没有识别到 USD 的汇率信息。 你可以手动尝试修改为:
|
这个可能是你相关的外币账户 删除这个 https://beancount.github.io/docs//how_inventories_work.html#fifo-and-lifo-booking |
您好,我删除了FIFO后依然出现报错 2024-06-20 * "还信用卡" |
基本报错信息:
/data/beancount/364dcf1d38a5de6a98030f449d62a129b298d81d/month/2024-06.bean:307: No position matches "Posting(account='Liabilities:Life:中国银行信用卡', units=3.19 USD, cost=CostSpec(number_per=Decimal('7.2789'), number_total=None, currency='CNY', date=None, label=None, merge=False), price=None, flag=None, meta={'filename': '/data/beancount/364dcf1d38a5de6a98030f449d62a129b298d81d/month/2024-06.bean', 'lineno': 310})" against balance (-3.19 USD {7.242 CNY, 2024-06-02})
经查询后发现,在6月出现两次外币交易,两次外币交易的汇率不一致,分别为7.2789和7.242,但是我一旦修改汇率,整月的汇率都会统一,从而导致 No position matches 错误
请问该如何解决报错?
The text was updated successfully, but these errors were encountered: