How many invoices can be included inside Sale/CustomerPayment api

This thread is now closed to new comments.
Some of the links and information provided in this thread may no longer be available or relevant.
If you have a question please start a new post.
astutepayroll
Contributing User
5 Posts
Contributing User
Contributing User

5Posts

0Kudos

0Solutions

How many invoices can be included inside Sale/CustomerPayment api

Hi,

 

Anyone knows that how many invoices can be included inside Sale/CustomerPayment api? or are there any limit to the Invoices node? what would happen if 1000 more invoices are included? will myob api return gateway timedout?

 

I am unable to find it from API doc.

 

Cheers.

 

 

 

3 REPLIES 3
Neil_M
13,473 Posts
Former Staff
Former Staff

13,473Posts

0Kudos

1,916Solutions

Re: How many invoices can be included inside Sale/CustomerPayment api

Hi @astutepayroll 

 

My understanding is that there is a time limit on all calls made through the API and if the call exceeds this time limit then you will encounter a timeout error. For more assistance on the API, I recommend reaching out to the API team through the Contact Us page on the developers website

Regards,
Neil

MYOB Community Support

Online Help| Forum Search| my.MYOB| Download Page

Did my answer help?

Mark it as a SolutionHelpful? Leave a to tell others

astutepayroll
Contributing User
5 Posts
Contributing User
Contributing User

5Posts

0Kudos

0Solutions

Re: How many invoices can be included inside Sale/CustomerPayment api

Hi Neli_M

 

Thanks for response.

 

several our clients are facing this issues at the moment, and I have sent out email day before yesterday (20/07-2020) to developers@myob.com , but unfortunately I didn't receive any response just yet.

 

One of our client was trying to export one payment with 254 invoices included via Sale/CustomerPayment, and received 504 gateway timeout.

 

Is there a way to increase this limit?

 

And also I found that it is now not very easy to export payrun/invoice/payment to MYOB within daytime (9am~5pm). The success rate is quit low, I have tried with our myob dev account, sending one payment 10 times, only 3 of them can actually go through, all others were failed as 500 or 504 randomly.

 

Cheers,

 

Neil_M
13,473 Posts
Former Staff
Former Staff

13,473Posts

0Kudos

1,916Solutions

Re: How many invoices can be included inside Sale/CustomerPayment api

Hi @astutepayroll 

 

I’ve asked the team who look after that email address to keep an eye out for that email to respond to it to provide you with assistance.

 

My understanding is that the 120 second time limit is hard coded and cannot be changed within the API. Instead you’d need to ensure that the app reflected this limit.  For further assistance I recommend waiting until our specialist team provide assistance from your email inquiry.

Regards,
Neil

MYOB Community Support

Online Help| Forum Search| my.MYOB| Download Page

Did my answer help?

Mark it as a SolutionHelpful? Leave a to tell others

Didn't find your answer here?

Try using advanced search to find a post more easily Advanced Search
or
Get the conversation started and make a new post Start a Post