Forum Discussion

astutepayroll's avatar
astutepayroll
Contributing User
5 years ago

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.

 

 

 

  • Neil_M's avatar
    Neil_M
    Former Staff

    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

    • astutepayroll's avatar
      astutepayroll
      Contributing User

      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's avatar
        Neil_M
        Former Staff

        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.