Currently, the maximum amount of line items allowed on a document is 99,899 lines.