views:

173

answers:

3

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
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
+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
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
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
+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
Thanks for the tip, looks good! (At least if you work towards the Swedish market...)
Christoffer Soop