What is the max limit of line items in a single invoice

We have a scenario of consolidated invoices where we will have big number of line items. How many line items could be accommodated in a single invoice?

Anyone came through an answer for this question?

There is no limit to line items, although one invoice size cannot be more than 10MB.