-- added fancybox 1.3.1 to project, initially for showing screenshots. See documentat...
[Bookkeeping.git] / xml / bookkeeping.1.bookkeeping.xml
blobd473f833c466fe0a389d9c1b580516582c3e9402
1 <?xml version='1.0' encoding='UTF-8'?>
2 <bookkeeping id="" 
3     xmlns="com/interrupt/bookkeeping"
4     xmlns:account="com/interrupt/bookkeeping/account"
5     xmlns:journal="com/interrupt/bookkeeping/journal" >
6     
7     <!-- accounts is a singleton in the system with a collection 
8          of all accounts in the system -->
9     <account:accounts id="" >
10         
11                 <!-- 1. account types are: asset, liability, expense, revenue
12                  2. each account has a given counter weight
13                 
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" />
18                 -->
19                 
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='' />  
23                 </account:account>
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' />
28     
29     </account:accounts>
30     
31     
32         <journal:journals id='' >
33     <journal:journal id='' name='generalledger' type='' balance='' >
34     </journal:journal>
35         </journal:journals>
36     
37     
38 </bookkeeping>