Hey everyone,

I would like to render my invoice using the python bindings but I am having
two issues.

The main issue I am having is getting the tax values of an invoice per tax
table. Something like this:
*VAT 21%      *€152.00
*VAT 6%        *€23.00
I found the method: Invoice.GetTotalTaxList() which is expected to return
an AccountValueList. Unfortunately in the python bindings it returns a list
of _gnc_monetary, which I think is a wrong/incomplete typing.
Does anyone know how I can fetch the tax values per table for an invoice in
Python?

The second issue is retrieving the "general" information about my business
(name, address, tax number, etc). I think the term for this data is slots.
So the question is, how/can I read slots through the python bindings?

Thank you.

Sincerely,
Tim van Osch.
_______________________________________________
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to