API for Pay multiple invoices through single payment?

Hi,

Is there any API for Pay multiple invoices through single payment.

Thanks
Vikas.

Hi Vikas,

If the payment is included in your FreeAgent account as a single bank
transaction, you can create multiple transaction explanations to allocate
it against your outstanding invoices.

For example, a £100 Money In transaction (ID 1234) can be allocated against
an £80 invoice and a £20 invoice as follows:

POST api.freeagent.com/v2/invoices
“bank_transaction”: "https://api.freeagent.com/v2/bank_transactions/1234”,
“paid_invoice” : “https://api.freeagent.com/v2/invoices/1”,
“gross_value” : 80.0

POST api.freeagent.com/v2/invoices
“bank_transaction”: "https://api.freeagent.com/v2/bank_transactions/1234”,
“paid_invoice” : “https://api.freeagent.com/v2/invoices/2”,
“gross_value” : 20.0

Hope this helps.
Dave JOn 25 June 2015 at 11:15, vikaskhairnar@commusoft.co.uk wrote:

Hi,

Is there any API for Pay multiple invoices through single payment.

Thanks
Vikas.


You received this message because you are subscribed to the Google Groups
“FreeAgent API” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to freeagent_api+unsubscribe@googlegroups.com.
To post to this group, send email to freeagent_api@googlegroups.com.
Visit this group at http://groups.google.com/group/freeagent_api.
For more options, visit https://groups.google.com/d/optout.

David Jones
Senior Support Engineer

FreeAgent