Skip to main content
Solved

Operate Process Invoice&Memo screen via rest api

  • April 24, 2026
  • 1 reply
  • 52 views

Forum|alt.badge.img+1

Hi All,

I want to release invoice on screen Process Invoice and Memo via REST API. I add screen and actions to the endpoint.

The problem is if I send POST request to {{baseUrl}}/ProcessSalesInvoices/ProcessAll. The endpoint asks Entity in the body. That means I only can process one invoice per request. 

If I send PUT request to {{baseUrl}}/ProcessSalesInvoices with body:

{

    "DocDetails": [

        {

            "RefNbr": {

                "value": "INV100031"

            },

            "Selected": {

                "value": true

            }

        },

        {

            "RefNbr": {

                "value": "INV100033"

            },

            "Selected": {

                "value": true

            }

        }

    ],

    "ScreenAction": {

        "value": "Release"

    },

    "Action":{

        "value":"Process"

    }

}.   Nothing happened. 

 

The reason I don’t use {{baseUrl}}/SalesInvoice/ReleaseSalesInvoice is I need to wait the invoice to release one by one. 

 

 

Best answer by Dmitrii Naumov

@larryly I’d not recommend doing that. 

If you are doing it via API anyways, you can just loop through the invoices on your app side. You’ll have better control of retrials, errors, etc. when releasing them one by one as well.

1 reply

Dmitrii Naumov
Community Manager
Forum|alt.badge.img+7
  • Community Manager
  • Answer
  • April 24, 2026

@larryly I’d not recommend doing that. 

If you are doing it via API anyways, you can just loop through the invoices on your app side. You’ll have better control of retrials, errors, etc. when releasing them one by one as well.