1 <?xml version='1.0' encoding='UTF-8'?>
3 xmlns='com/interrupt/bookkeeping'
4 xmlns:account='com/interrupt/bookkeeping/account'
5 xmlns:journal='com/interrupt/bookkeeping/journal'
6 xmlns:currency='com/interrupt/bookkeeping/currency'
7 id='main.bookkeeping' >
12 1. no 2 currencies can have the same 'id'
13 2. An account MUST specify in which currency it is denominated
14 3. Entry(s) should balance in the default currency unless otherwise specified
15 4. DebitPointer(s) / Debit(s) must be put in Account(s) of the same currency
17 <currency:currencies id='main.currencies' default='CDN' >
18 <currency:currency id='CDN' name='Canadian Dollar' />
19 <currency:currency id='USD' name='US Dollar' />
20 <currency:currency id='BP' name='British Pound' />
21 <currency:currency id='EUR' name='Euoropean Euro' />
22 <currency:currency id='JPN' name='Japanese Yen' />
23 </currency:currencies>
26 <!-- 1. account types are: asset, liability, expense, revenue
27 2. each account has a given counter weight
29 <account:account type="asset" id="" name="" counterWeight="debit" />
30 <account:account type="expense" id="" name="" counterWeight="debit" />
31 <account:account type="liability" id="" name="" counterWeight="credit"/>
32 <account:account type="revenue" id="" name="" counterWeight="credit" />
34 <account:accounts id='main.accounts' >
37 <journal:journals id='main.journals' >
38 <journal:journal id='generalledger' name='generalledger' type='' balance=''>
39 <journal:entries id='main.entries' >