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" >
7 <!-- accounts is a singleton in the system with a collection
8 of all accounts in the system -->
9 <account:accounts id="" >
11 <!-- 1. account types are: asset, liability, expense, revenue
12 2. each account has a given counter weight
14 <account:account type="asset" id="" name="" counterWeight="debit" />
15 <account:account type="expense" id="" name="" counterWeight="debit" />
16 <account:account type="liability" id="" name="" counterWeight="credit"/>
17 <account:account type="revenue" id="" name="" counterWeight="credit" />
20 <account:account id='1' name='office equipment' type='asset' counterWeight='debit' >
21 <account:debit id='' amount='' entryid='' accountid='' />
22 <account:credit id='' amount='' entryid='' accountid='' />
25 <account:account id='2' name='tax' type='expense' counterWeight='debit' />
26 <account:account id='3' name='bank' type='asset' counterWeight='debit' />
27 <account:account id='4' name='loan account' type='expense' counterWeight='debit' />
32 <journal:journals id='' >
33 <journal:journal id='' name='generalledger' type='' balance='' >