RE: How can I batch invoices into customer payments using the REST API?
Hi all,
Having trouble creating/transforming invoices into customer payments using the REST API. I have no issue transforming an invoice into a customer payment like so:
POST {{REST_SERVICES}}/record/v1/invoice/4960/!transform/customerpayment
However I’d like to add multiple invoices to a customer payment in one API call, and I’m not sure how to do that. When I structure my request like this;
I get the following error:
Thanks a lot Chris!
One of the reasons I want to try 2020.2 is I had issues with updating the apply sublist. I may have gotten the calls incorrect, but i kept getting the error in my first post whether I created a new cust payment or transformed a cust to a cust payment.
They added a “doc” field to the apply sublist in 2020.2, so I might use that if invoice grouping doesn’t work.

arod861230
Hi