Skip to main content
Solved

How to pass NextCheckNumber in Process Payments/Print Checks Using Rest Api

  • November 8, 2022
  • 3 replies
  • 131 views

Forum|alt.badge.img

How to pass NextCheckNumber in Process Payments/Print Checks Using Rest Api.

when I call processAll entity show that message--

 

Next Check Number is required to print AP Payments with 'Payment Ref.' empty.

 

Best answer by jinin

Hi @DharmandarKumar 

Can you change the configuration for the Check payment for the cash account? It will consider the NextCheckNumber from here.  And also use the Cash account in the request.



Try the JSON below

{
"entity": {},
"parameters": {
"PaymentMethod": {
"value": "CHECK"
},
"CashAccount": {
"value": "10200"
}
}
}

 

3 replies

jinin
Pro I
Forum|alt.badge.img+11
  • Pro I
  • November 8, 2022

Hi @DharmandarKumar 

Can you please share the API request and Url?


Forum|alt.badge.img

Hi  @jinin 

 

Url:--  https://Localhost/acumaticadb/entity/default/20.200.1/ProcessPayments/ProcessAll

request--

{

  "entity": {

    

  },

  "parameters":

   {

    "PaymentMethod" : {"value" : "CHECK"},

    "NextCheckNumber" : {"value" : "999999"}

  } 

}


jinin
Pro I
Forum|alt.badge.img+11
  • Pro I
  • Answer
  • November 8, 2022

Hi @DharmandarKumar 

Can you change the configuration for the Check payment for the cash account? It will consider the NextCheckNumber from here.  And also use the Cash account in the request.



Try the JSON below

{
"entity": {},
"parameters": {
"PaymentMethod": {
"value": "CHECK"
},
"CashAccount": {
"value": "10200"
}
}
}