List of external software interfaces
From GnuCash
This article lists past and present external software interfaces of GnuCash, and suggests possible additional interfaces. It was started to figure out how one can "plug in" to gnucash.
This article is just descriptive, and neither normative nor authoritative.
- Warning
- Most of this page is still from 2006.
Current interfaces
- QIF/OFX/HBCI import (src/import-export (1.8); src/import-export (current))
- From files: There are two different implementations of importing possibilities in gnucash. One is for QIF, the other for OFX and HBCI/AqBanking.
- CSV/TSV/XLS/ODS → QIF conversion (see FAQ#Q: How do I convert from CSV, TSV, XLS (Excel), or SXC (!OpenOffice.org Calc) to a QIF?)
- See bugs for QIF import: - QIF&resolution=---
- OFX import from file
- bugs for OFX import: - OFX&resolution=---
- libofx
- OFX Direct Connect via AqBanking library https://aquamaniac.de/aqbanking. Aqbanking has also additional import/export facilities which are currently not yet implemented in gnucash, but are almost finished for a MT940 file import. (Note: HBCI and Aqbanking are used interchangeably because the predecessor of Aqbanking only supported the German online banking protocol HBCI, but Aqbanking now supports not only this but additionally other means of online banking protocols plus file importing.)
- HBCI
- Bugs for general import, including HBCI/AqBanking import issues - AqBanking&resolution=---
- From files: There are two different implementations of importing possibilities in gnucash. One is for QIF, the other for OFX and HBCI/AqBanking.
- direct data manipulation
- XML (GnuCash XML format)
- "The new [1.6] version uses XML (making it much easier to write independent tools to manipulate GnuCash files) …" [GnuCash 1.6 User Manual]
- "[modifying the XML is] risky and not recommended" (see FAQ)
- SQL: A generalized backend that supports SQLite3, MySQL, and PostgresQL. This still has some issues with not saving all data in a few corner cases, largely due to flaws in GnuCash's data layer design. Directly querying the database is difficult for anything but the simplest queries, and correctly updating the database without using the GnuCash API is nearly impossible.
- XML (GnuCash XML format)
- custom reports (in the programming language Scheme)
-
Finance::Quote
- python-gnucash, a set of Python bindings to the GnuCash libraries
- gnucash-perl, experimental Perl modules to interface the GnuCash file
- jgnucashlib, Java library for manipulating the GnuCash file
- PyGncLib, python xml bindings and scripts for manipulating the GnuCash xml file
Legacy/unsupported interfaces
These interfaces were supported in prior versions of GnuCash.
- jgnucashlib, Original version of jgnucashlib by Marcus Wolschon, last update in 2013
- RPC (back-end source (1.8)) - bitrotted [1]
- Perl bindings (bitrotted [2])