Hello all,

This project and community is excellent, thank you so much for it!

I'm entering some transactions for a small business where each invoice 
results in a "gross income tax" liability due to a regional business tax.   
In my specific case this is 0.4%.

I know I can write the formula directly e.g.:

2018-06-13 * "My Client" "invoice" ^2018-06-13-invoice-1 #MyProject
  Assets:AccountsReceivable                 1000.00 USD
  Income:Services:MyClient                   -1000.00 USD
  Expenses:Taxes:BusinessPrivilege     (1000.00 * 0.004) USD
  Liabilities:Taxes:BusinessPrivilege    -(1000.00 * 0.004) USD

I was wondering if there is any ability to define variables and reference 
those variables in transactions.

First: could I define the business privilege tax in a global event variable 
and reference that?

Second: could I even define that net billable "1000.00" in a transaction 
level metadata field that can be referenced in multiple places?

I also appreciate maybe the most explicit thing would be to simply do the 
calculation by hand as part of the entry, and so variable based stuff would 
be too complex and unpredictable, but wanted to ask just in case!

Best,
 - Dan


-- 
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 beancount+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/61220117-d536-4ccb-830e-a0c42464fd70n%40googlegroups.com.

Reply via email to