Good day.
I am trying to modify an invoice so that it acts as a receipt. In so doing I would like to add the amount paid and the amount owed in the case of a partial payment. I would like to know how do I point to the "debit/credit" fields from the "account.invoice.payment" table so that I can add the values in the invoice.odt file.
Thanks