Invoice & payment import script

Reuben Cummings reubano at
Fri Feb 17 09:43:35 EST 2012

On Fri, Feb 17, 2012 at 5:01 PM, Derek Atkins <warlord at> wrote:
> Hi,
> Reuben Cummings <reubano at> writes:

>> I wasn't aware of an api. Where would I find out how to convert my
>> scripts to use the api? I found
>> is that the
>> best source?
> Right now the best source is probably the source code.  The URL you
> quote might be a starting point, but none of the bindings docs are
> "complete", because the bindings are automated.  There are no
> e.g. Scheme or Python binding API docs.

Do you have a link? Or instructions on how I can find what I should be reading?

>>> And apart from that, to me the bi-importer plugin seems to do a similar thing.
>>> It's not built by default though, so you will have to build gnucash yourself.
>>> Have you considered using this plugin or is it doing something totally
>>> different ?
>> I've tried with little success. Using the example from
>> I was
>> only able to import about half of the entries. Also, the resulting
>> invoice is un-posted and you still have to manually enter the
>> payments. I want to import posted invoices as well as the associated
>> payments.
> Well, I still recommend you start from here and work with that base
> rather than writing into the DB.  Fix the code to import the rest of
> your data.  As for posting; there is a lot more to posting than just
> creating the transaction.
> Why are you trying to import a posted invoice, anyways? At best you
> would do it once.  But you could still automated the process by calling
> the Post API directly.

Ok, any tips on how to call the Post API?

More information about the gnucash-devel mailing list