The SVN-version of the jGnucashViewer contains a bugfix, that prefents a hickup when loading invoices with comments or discounts.
You cannot yet edit them but existing ones are kept.
(For safety-reasons unknown elements prevent the file from being loaded. This happens so nothing can get damaged by this library.)