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 <account:accounts id='' >
9 <!-- 1. account types are: asset,liability,expense,revenue,capital
10 2. each account has a given counterWeight(debit or credit)
12 <account:account type='' id='' name='' counterWeight='' >
20 <journal:transactions id='' >
23 <!-- ** state can be 'open' or 'closed' -->
24 <journal:transaction id='' state='' journal='' date='' >
27 <!-- 1. each entry should have an 'entryid'
28 2. each debit/credit object has a reference to an 'entryid'
29 3. each debit/credit object has a reference to an 'accountid'
31 ** state can be 'open', 'closed', or 'reversed'
33 <journal:entries id='' >
34 <journal:entry id='' entrynum='' state='' journalid='' date='' >
35 <account:debit id='' amount='' entryid='' accountid='' />
36 <account:credit id='' amount='' entryid='' accountid='' />
39 </journal:transaction>
41 </journal:transactions>