Extracts transactions from the document items by identifying the relevant range.
The array of document items to process.
A filtered array of document items containing transactions.
An error if the document items are not of the expected type.
Extracts transactions from the document items by identifying the relevant range.