Upcoming October 15th, the invoice specification endpoint will return 25k lines instead of the former 110k lines, in order to prepare for the season. The change will apply to both version 3 and version 4 and should not impact your process. However, this may vary depending on the way you implemented your connection with us. Therefore always verify if this change does not affect your connection.
Please take a look at this post for more information.