Hi there,
The below file passes a "check -s". But I am looking for a check that forces me to uncomment the commented-out lines, such that the accounting equation actually balances. I can achieve this by simply removing the "@@" directives on the first two lines of the test transaction. But is there any other way to force this check while still having the "@@" lines?
Thanks,
Will
account assets
account revenues:capitalgain
account equity
account equity:conversion
commodity $1,000.00
commodity 1,000.00 ABC
commodity 1,000.00 XYZ
2023-11-12 Initial equity
assets 100 ABC
equity -100 ABC
2023-11-12 Test
assets -100 ABC @@ $5000
assets 50 XYZ @@ $6000
; equity:conversion 100 ABC
; equity:conversion -$5000
; equity:conversion -50 XYZ
; equity:conversion $6000
revenues:capitalgain -$1000 ; portion that is a capital gain (negative) or loss (positive) on the disposed ABC