Skip to Content
Menu
This question has been flagged

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


Avatar
Discard

Hi. I'm looking for the same thing, were you able to fix it?

Author

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.

Related Posts Replies Views Activity
1
Jun 23
1602
0
Mar 16
2619
1
Jul 24
241
2
Apr 24
1040
2
Feb 24
3259