-- basic adding of user (along with group) now in code
[bkell-clj.git] / etc / xml / default.bookkeeping.xml
blob4be20d2b60b056000f4ead60810a405a204ac7fc
1 <?xml version='1.0' encoding='UTF-8'?>
2 <bookkeeping 
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' > 
8         
9         
10         
11         <!--
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 
16         --> 
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>
24         
25         
26         <!-- 1. account types are: asset, liability, expense, revenue
27              2. each account has a given counter weight
28                 
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" />
33         -->
34         <account:accounts id='main.accounts' >  
35         </account:accounts>  
36         
37         <journal:journals id='main.journals' >
38             <journal:journal id='generalledger' name='generalledger' type='' balance=''>  
39                         <journal:entries id='main.entries'  >  
40                         </journal:entries> 
41             </journal:journal>  
42         </journal:journals>
43 </bookkeeping>