What double-entry accounting libraries are available for Java?
A:
I've seen JMoney used with custom plug-ins. What are you trying to do?
zevra0
2010-09-04 01:08:14
JMoney is more an application than a library. I was thinking of a Java library that would enable a client application to record transactions that conform to the balance sheet equation (see http://en.wikipedia.org/wiki/Accounting_equation). The transaction "record" would be some in-memory representation that an application could store to the file system or to a relational database. These alternative storage options need not be the responsibility of the library, however. The focus of the library would be to correctly represent basic double-entry accounting transactions.
Derek Mahar
2010-09-05 05:46:35
+1
A:
Well, I am not aware of any such libraries. Personally me thinks that double entry accounting framework would boil down to couple of interfaces and minimal code to ensure equation invariants. Hence no libs for that: try to bite a relevant code snippet from JMoney or something like that... ;)
Anton S. Kraievoy
2010-09-05 15:35:54
What would make it interesting is if it had support for the different accounting plans/schemes used throughout the world, e.g. EU BAS 97, EU BAS 2003 which are popular in Sweden and I would guess within EU... :-) Also you could imagine support balance sheet reports, profits reports, closing of books etc. There is a lot more to double accounting than just keeping the accounts balanced.
Christoffer Soop
2010-09-07 06:19:37
oh, these details of course make a lot of difference... reporting feels for me more like a complete application, not a framework. as for the plans/schemes - this might be a good idea for a library, but this would be a pain to implement and test...
Anton S. Kraievoy
2010-10-13 04:57:08
+2
A:
There's a Swedish project called fribok.org (free (as in GNU free) accounting). It's an application too, but might be componentized and contain what you look for (given that GPL is a viable option for you).
Fredrik Wendt
2010-09-05 16:41:55
Thanks for the tip, looks good! (At least if you work towards the Swedish market...)
Christoffer Soop
2010-09-07 06:22:11