Let me take a crack at this one. Assuming you are using V3 of ledger, you actually did not assign any tags to those postings. You assigned three different commodities. You need to bury tags inside a comment:
2011-11-30 * Test A 10.00 GBP B -10.00 GBP ; :test: 2011-11-30 * Test A 10.00 GBP B -9.00 GBP ; :test: C -1.00 GBP ; :abc: The colons around the tag specify that it is a valueless tag. If you want to give it a value do something like this: 2011-11-30 * Test A 10.00 GBP B -9.00 GBP ; test: any string value here C -1.00 GBP ; test: another string value maybe Hope that clears things up a bit. Craig On Wed, Nov 30, 2011 at 12:49, Martin Michlmayr <t...@cyrius.com> wrote: > John, can you clarify the significance of lot tags? I thought they > were essentially just meta information carried along but meaningless > for the actual transaction. However, this doesn't appear to be the > case because the 2nd transaction leads to the following error. I > solved it in the 3rd transaction by telling ledger that 1 GBP (xx) is > the same as 1 GBP, but shouldn't ledger know that? > > Unbalanced remainder is: > 10.00 GBP > -1.00 GBP (abc) > -9.00 GBP (test) > Amount to balance against: > 10.00 GBP > Error: Transaction does not balance > > 2011-11-30 * Test > A 10.00 GBP > B -10.00 GBP (test) > > 2011-11-30 * Test > A 10.00 GBP > B -9.00 GBP (test) > C -1.00 GBP (abc) > > 2011-11-30 * Test > A 10.00 GBP > B -9.00 GBP (test) @ 1.00 GBP > C -1.00 GBP (abc) @ 1.00 GBP > > -- > Martin Michlmayr > http://www.cyrius.com/ -- Craig, Corona De Tucson, AZ enderw88.wordpress.com