Hello all,
I am new to PTA and Beancount. I am trying to begin entering transactions 
and I get errors when I run bean-check and I am not sure why, I get invalid 
tokens on the line I list my Expenses:dentist, Expenses:auto:gas etc. 

I added the expense accounts to the list of open accounts and that did not 
solve my problem. I am using Emacs bean count mode and I did notice the 
Assets and Liabilities are bold however next to the open directive and also 
bold under my initial balance transaction. The getting started says have a 
section, but does not say to add the expenses with the open directive, I am 
just not sure what I am doing wrong.

Here is the contents of my file:

;; -*- mode: beancount; coding: utf-8; fill-column: 400; -*-
option "title" "My Personal Ledger"
option "operating_currency" "USD"


2022-05-06 open Assets:Checking   USD
2022-05-06 open Assets:Savings                      USD
2022-05-06 open Liabilities:Chase:Credit-Card  USD
2022-05-06 open Equity:Opening-Balances             USD
2022-05-06 open Expenses:date-night  USD
2022-05-06 open Expenses:medical:dental:  USD
2022-05-06 open Expenses:auto:gas:joseph  USD
2022-05-06 open Expenses:auto:gas:secundus  USD
2022-05-06 open Expenses:true-expenses:home-maintainence  USD

2022-05-09 * "Initial Balance"
  Equity:Opening-Balances                  USD
  Assets:Checking                          18,183.68 USD
  Liabilities:Chase:Credit-Card  -1160.88 USD

2022-05-08 ! "Ticketmaster" "concert"
    Expenses:date-night                                     50 USD
    Liabilities:Chase:Credit-Card                         -50 USD

2022-05-09 ! "Dentist" "invisalign"
    Expenses:medical:dental                     862.00 USD
    Liabilities:Chase:Credit-Card                     -862.00 USD

2022-05-09 ! "Gas Station" "Secundus"
    Expenses:auto:gas:secundus                          40.35 USD
    Liabilites:Chase:Credit-Card                       -40.35 USD

2022-05-09 note 'Expenses:auto:gas:secundus' tank 548.1 67.1 avg 82 empty 
8.51 gal at 4.73 gal

2022-05-09 ! "Gas Station" "Joseph"
    Expenses:auto:gas:joseph                            41.40 USD
    Liabilities:Chase:Credit-Card                      -41.40 USD

2022-05-09 ! "Amazon" "fly killing"
    Expenses:true-expenses:home-maintainence            13.02 USD
    Liabilities:Chase:Credit-Card                      -13.02 USD

Here are the errors I get when I run bean-check, I've since commented my 
note out. 

bean-check 1.beancount

/Users/travisarnold/1.beancount:10:      Invalid token: 
'Expenses:date-night'


/Users/travisarnold/1.beancount:11:      Invalid token: 
'Expenses:medical:dental:'


/Users/travisarnold/1.beancount:12:      Invalid token: 
'Expenses:auto:gas:joseph'


/Users/travisarnold/1.beancount:13:      Invalid token: 
'Expenses:auto:gas:secundus'


/Users/travisarnold/1.beancount:14:      Invalid token: 
'Expenses:true-expenses:home-maintainence'


/Users/travisarnold/1.beancount:22:      Invalid token: 
'Expenses:date-night'


/Users/travisarnold/1.beancount:26:      Invalid token: 
'Expenses:medical:dental'


/Users/travisarnold/1.beancount:30:      Invalid token: 
'Expenses:auto:gas:secundus'


/Users/travisarnold/1.beancount:33:      Invalid token: 
''Expenses:auto:gas:secundus''


/Users/travisarnold/1.beancount:33:      Invalid token: 'tank'


/Users/travisarnold/1.beancount:33:      Invalid token: 'avg'


/Users/travisarnold/1.beancount:33:      Invalid token: 'empty'


/Users/travisarnold/1.beancount:33:      Invalid token: 'gal'


/Users/travisarnold/1.beancount:33:      Invalid token: 'at'


/Users/travisarnold/1.beancount:33:      Invalid token: 'gal'


/Users/travisarnold/1.beancount:36:      Invalid token: 
'Expenses:auto:gas:joseph'


/Users/travisarnold/1.beancount:40:      Invalid token: 
'Expenses:true-expenses:home-maintainence'

-- 
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/7a37ead4-76bd-483e-88e8-9f727a048556n%40googlegroups.com.

Reply via email to