acumaticaacumatica-kb

Can I create and release Invoices in one API / REST call?


We've used the Acumatica REST API previously to create an invoice in one step (a PUT) and then releasing it directly after that (a POST). - so essentially a two-step process.

We have a client that is wondering if it is possible to do this all in one call to increase the efficiency of the process.

Is this possible?

Thanks...


Solution

  • You can't insert a record (create invoice) and call an action (release invoice) in a single API call.

    That said you can create and call a custom action. This action can create and release invoice in a single call. The action can take custom parameters. Use those parameters to pass invoice values.

    Reference for calling custom action with REST API: https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=f01f3b8b-56c4-48ab-a043-dcbb10e3bfb3