1 <?xml version='1.0' encoding='UTF-8'?>
2 <system xmlns='com/interrupt/bookkeeping'
3 xmlns:users='com/interrupt/bookkeeping/users'
4 xmlns:bkell='com/interrupt/bookkeeping/cc/bkell'
5 xmlns:command='com/interrupt/bookkeeping/cc/bkell/command'
6 xmlns:interpret='com/interrupt/bookkeeping/interpret'
7 xmlns:aauth='com/interrupt/bookkeeping/cc/bkell/aauth'
10 <users:groups id="main.groups" >
11 <users:group id="webkell" name="Webkell" owner="root" >
13 <users:profileDetails id='group.details' >
14 <users:profileDetail id='defaultCurrency' name='defaultCurrency' value='USD' />
15 </users:profileDetails>
18 xmlns='com/interrupt/bookkeeping'
19 xmlns:account='com/interrupt/bookkeeping/account'
20 xmlns:journal='com/interrupt/bookkeeping/journal'
21 xmlns:currency='com/interrupt/bookkeeping/currency'
22 id='main.bookkeeping' >
26 1. no 2 currencies can have the same 'id'
27 2. An account MUST specify in which currency it is denominated
28 3. Entry(s) should balance in the default currency unless otherwise specified
29 4. DebitPointer(s) / Debit(s) must be put in Account(s) of the same currency
31 <currency:currencies id='main.currencies' default='CDN' >
32 <currency:currency id='CDN' name='Canadian Dollar' />
33 <currency:currency id='USD' name='US Dollar' />
34 <currency:currency id='BP' name='British Pound' />
35 <currency:currency id='EUR' name='Euoropean Euro' />
36 <currency:currency id='JPN' name='Japanese Yen' />
37 </currency:currencies>
40 <!-- 1. account types are: asset, liability, expense, revenue
41 2. each account has a given counter weight
43 <account:account type="asset" id="" name="" counterWeight="debit" />
44 <account:account type="expense" id="" name="" counterWeight="debit" />
45 <account:account type="liability" id="" name="" counterWeight="credit"/>
46 <account:account type="revenue" id="" name="" counterWeight="credit" />
48 <account:accounts id='main.accounts' >
49 <account:account type="asset" id="" name="" counterWeight="debit" />
52 <journal:journals id='main.journals' >
53 <journal:journal id='generalledger' name='generalledger' type='' balance=''>
54 <journal:entries id='main.entries' >
56 <journal:entry id='qwertySTUB' entrynum='' state='' journalid='generalledger' date='' currency='CDN' >
57 <account:debit id='dtS' amount='120.00' entryid='qwertySTUB' accountid='05' account='' currency='CDN' />
58 <account:credit id='crS' amount='120.00' entryid='qwertySTUB' accountid='06' account='' currency='CDN' />
71 <users:groups id="group.attic" >