Hello, I am being asked with xmlrpc to retrieve the precise amount of a payment attributed to an invoice.
I saw that I could recover the payments linked to it using the invoice object, but I would like to recover the precise amount attributed to this invoice for each payment.
For example :
Invoice 1 (1000€) is linked with payment 1 (500€) and payment 2(1500€ )
For payment 2, only 500€ of the payment total is allocated to the invoice, this is the amount I am looking to recover.
I have little knowledge of accounting so I have a little trouble locating myself between all the models. (invoice-move-payment etc)
Sorry in advance if my English is approximate
Can you help me ?
Thanks very much
Hi. I'm looking for the same thing, were you able to fix it?
Hello,
I succeeded by retrieving the corresponding lettering from an invoice. (account.full.reconcile). From there, we can quite easily identify the amount attributed to each invoice.