Checking for rule errors in a document
The script below checks whether there are any rule errors in the transaction documents. If at least one transaction document contains rule errors, the script returns true. Otherwise, the script returns false.Checking whether manual review is required
The following script checks the transaction documents for errors. If at least one transaction document contains any of the following:- Rule errors
- An uncertain document type
- Uncertainly recognized fields or field characters
