Ledger-cli alias for a Virtual Account
I'm new to Ledger and have set up an envelope budget using virtual accounts as described in this blog post
For most of my real accounts, I have been able to set up aliases to shorthand my postings, but if I try to do this with my virtual accounts (to simplify transferring money between budget categories) Ledger errors out.
This works:
alias Checking=Assets:Checking
This does not:
alias Virtual Checking=[Assets:Checking]
The error when I attempt to post a transaction using the Virtual Ally Checking alias is:
Error: Posting with null amount's account may be misspelled:
"[Assets:Checking]"
Is it possible to have an alias to a virtual account defined? If so, how would I go about doing it?
Thanks!
9 comments · 100% upvoted · other discussions
What happens if you use the working Checking alias with virtual-account square brackets at time-of-use?
NeilHummus [OP] 2 points · Feb 2022
This worked! Thank you!