On Sat, May 17, 2014 at 1:37 PM, Harshad RJ <[email protected]> wrote:

>
> On Sat, May 17, 2014 at 10:40 PM, Lifepillar <[email protected]>wrote:
>
>> 2013/05/17 * Myself
>>     Assets:Checking:Myself          $3500.00
>>     Income:Salary:Family Allowance  $-100.00
>>     Income:Salary:Taxable:Net
>>     [Expenses:Taxes:Salary]         $1700.00
>>     [Income:Salary:Taxable:Taxes]  $-1700.00
>>
>
> ​Balanced virtual transactions can be implemented by using tags. Just add
> a tag say, virtual:salary.
>
> I find tags a better solution for that case because they are more
> general.​ You can slice and dice them along many dimensions instead of just
> real v/s virtual.
>

That's also what I use when I need to slice and dice. For example, the
Beancount web interface has a link for each tag, that allows you to view
balance sheet, income statement, etc. for the subset of transactions with
that tag (e.g. expenses during a trip or for a project).

Just to be clear, what you mean is having two transactions, one tagged and
one untagged:

 2013/05/17 * Myself
    Assets:Checking:Myself          $3500.00
    Income:Salary:Family Allowance  $-100.00
    Income:Salary:Taxable:Net

2013/05/17 * Booking taxes  #taxes
    Expenses:Taxes:Salary         $1700.00
    Income:Salary:Taxable:Taxes  $-1700.00

so you could view summaries of the transactions including or excluding
those with a #taxes tag. This has the advantage of not breaking the
balancing rules.

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to