This is a minor issue, easy to work around, but I'm wondering if I'm
missing something.

How should I assert that an account's balance was 0 after it closed?
I'd like to be able to write

2020-11-09 close Liabilities:Scotiabank:Visa
2020-11-10 balance Liabilities:Scotiabank:Visa 0 CAD

but beancount complains: "Invalid reference to inactive account
'Liabilities:Scotiabank:Visa'".

I can't change the balance date to 2020-11-09 because I have a
transaction on the closing date.

I have worked around it with

2020-11-10 close Liabilities:Scotiabank:Visa
  note: "Actually closed 2020-11-09."
2020-11-10 balance Liabilities:Scotiabank:Visa 0 CAD

but that seems messy.

James

-- 
You received this message because you are subscribed to the Google Groups 
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/CAHpmPOAXYX0UCTQhq%2B5VVzOXWnw-n97Vp7%3D2WZ8DoU36g43jcw%40mail.gmail.com.

Reply via email to