Poojesshwaran V
Poojesshwaran V

Reputation: 11

Document AI Bank Statement Processor

In Document AI's bank statement processor the output json gives info about the fields detected. Since it's bank statement it's possible to have two accounts in same statement. The AI is able to detect the accounts and their respective beginning and ending balances but it's in a linear fashion where one account data is followed by other not sure whether the balance of one account will be after the other.

eg: the output entities are like

"beginning_balance": 2344 USD
"ending_balance": 7578 USD
"account_type": "type2"
"beginning_balance": 3455 USD
"ending_balance": 4578 USD

not sure which balance belongs to which account until I visually take a look at the document.

Is there a way the output can be parsed in a structured manner or just I need to use my own logic to map balance which comes first to first account type

Upvotes: 0

Views: 904

Answers (1)

Holt Skinner
Holt Skinner

Reputation: 2234

Would you be able to provide a sample document that contains multiple account statements?

The Bank Statement Parser is intended to handle a single statement with each request.

If it's possible to split by pages, then you can use the Lending Splitter & Classifier to identify page split points and process them separately.

If both statements are on the same page, then you would need to create post-processing logic to map each statement to the particular account. You can also look into creating a Custom Document Extractor to handle this specific format of document.

Upvotes: 1

Related Questions