Currently, when processing large invoice files in Invoice Capture (IC), if the invoice contains more than 999 lines, the system encounters a limitation that causes processing to fail during the reading step. Even for "Header Only" invoices, the system still attempts to read the entire file before classification, leading to failures.
We propose an enhancement to improve the processing logic for handling large invoices. Specifically, IC should have a more efficient method of managing large files, such as optimizing the reading process, implementing a more scalable approach, or allowing partial file processing to avoid failures.
Additionally, the error message should be clearer, explicitly informing users that the failure is due to exceeding the 999-line limit. This would help users quickly identify the issue and take appropriate action, reducing troubleshooting time.
This improvement would prevent disruptions and reduce the need for workarounds, such as splitting files manually or sending only the first page of the invoice for processing before reattaching the remaining pages in Finance and Operations (FO).