# US 2018/0024983 A1 · System and method for reporting based on electronic documents

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2018/0024983 A1
- Document ID: US20180024983A1
- Status: Published application
- Kind: A1
- Application number: 15/669,236
- Filed: 2017-08-04
- Published: 2018-01-25
- Earliest claimed: 2015-11-29
- Assignees: Vatbox, Ltd.
- Applicants: Vatbox, Ltd.
- Inventors: Noam GUZMAN; Isaac SAFT
- Web page: https://patentgrep.com/patent/US20180024983A1

## CPC

- G06Q 10/10: Office automation; Time management
- G06F 16/5846: {using extracted text}
- G06F 16/93: Document management systems
- G06F 40/186: Templates
- G06Q 40/123: {Tax preparation or submission}
- G06V 30/412: Layout analysis of documents structured with printed lines or input boxes, e.g. business forms or tables
- G06V 30/416: Extracting the logical structure, e.g. chapters, sections or page numbers; Identifying elements of the document, e.g. authors
- G06V 30/418: Document matching, e.g. of document images
- G06Q 40/12: Accounting
- G06V 30/10: Character recognition
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

A system and method for reporting based on a first electronic document and at least one second electronic document. The method includes analyzing the first electronic document to determine at least one transaction parameter for each of at least one expense item, the first electronic document indicating the at least one expense item, wherein the first electronic document includes at least partially unstructured data; creating at least one template for the first electronic document, wherein each first electronic document template is a structured dataset including the determined at least one transaction parameter; retrieving, based on the at least one first electronic document template, the at least one second electronic document; and generating a report when the at least one second electronic document matches the at least one expense item, wherein the report indicates the at least one expense item and includes the at least one second electronic document.

## Claims

### Claim 1

A method for reporting based on a first electronic document and at least one second electronic document, comprising:
analyzing the first electronic document to determine at least one transaction parameter for each of at least one expense item, the first electronic document indicating the at least one expense item, wherein the first electronic document includes at least partially unstructured data;
creating at least one template for the first electronic document, wherein each first electronic document template is a structured dataset including the determined at least one transaction parameter;
retrieving, based on the at least one first electronic document template, the at least one second electronic document; and
generating a report when the at least one second electronic document matches the at least one expense item, wherein the report indicates the at least one expense item and includes the at least one second electronic document.

### Claim 2 (depends on 1)

The method of claim 1, wherein determining the at least one transaction parameter further comprises:
identifying, in the first electronic document, at least one key field and at least one value;
creating, based on the first electronic document, a dataset, wherein the created dataset includes the at least one key field and the at least one value; and
analyzing the created dataset, wherein the at least one transaction parameter is determined based on the analysis.

### Claim 3 (depends on 2)

The method of claim 2, wherein identifying the at least one key field and the at least one value further comprises:
analyzing the first electronic document to determine data in the first electronic document; and
extracting, based on a predetermined list of key fields, at least a portion of the determined data, wherein the at least a portion of the determined data matches at least one key field of the predetermined list of key fields.

### Claim 4 (depends on 3)

The method of claim 3, wherein analyzing the first electronic document further comprises:
performing optical character recognition on the first electronic document.

### Claim 5 (depends on 4)

The method of claim 4, further comprising:
performing a cleaning process on the extracted at least a portion of the determined data.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
creating a template for each of the at least one second electronic document, wherein each second electronic document template is a structured dataset including data of the respective second electronic document;
comparing the at least one first electronic document template and the at least one second electronic document template, wherein the at least one second electronic document matches the at least one expense item when the at least one first template matches the at least one second template above a predetermined threshold.

### Claim 7 (depends on 6)

The method of claim 6, wherein comparing at least one first electronic document template and the at least one second electronic document template further comprises:
comparing at least one portion of the first electronic document template to a corresponding portion of the at least one second electronic document template.

### Claim 8 (depends on 1)

The method of claim 1, wherein the first electronic document is an expense report electronic document, wherein each second electronic document is an image showing at least one of: an invoice, a receipt, and a purchase number record.

### Claim 9 (depends on 1)

The method of claim 1, wherein the at least one transaction parameter includes an expense amount and an expense description, wherein the at least one second electronic document matches the first electronic document when the expense amount equals a total amount indicated in the at least one second electronic document.

### Claim 10

A non-transitory computer readable medium having stored thereon instructions for causing a processing circuitry to perform a process for reporting based on a first electronic document and at least one second electronic document, the process comprising:
analyzing the first electronic document to determine at least one transaction parameter for each of at least one expense item, the first electronic document indicating the at least one expense item, wherein the first electronic document includes at least partially unstructured data;
creating at least one template for the first electronic document, wherein each first electronic document template is a structured dataset including the determined at least one transaction parameter;
retrieving, based on the at least one first electronic document template, the at least one second electronic document; and
generating a report when the at least one second electronic document matches the at least one expense item, wherein the report indicates the at least one expense item and includes the at least one second electronic document.

### Claim 11

A system for reporting based on a first electronic document and at least one second electronic document, comprising:
a processing circuitry; and
a memory, the memory containing instructions that, when executed by the processing circuitry, configure the system to:
analyze the first electronic document to determine at least one transaction parameter for each of at least one expense item, the first electronic document indicating the at least one expense item, wherein the first electronic document includes at least partially unstructured data;
create at least one template for the first electronic document, wherein each first electronic document template is a structured dataset including the determined at least one transaction parameter;
retrieve, based on the at least one first electronic document template, the at least one second electronic document; and
generate a report when the at least one second electronic document matches the at least one expense item, wherein the report indicates the at least one expense item and includes the at least one second electronic document.

### Claim 12 (depends on 11)

The system of claim 11, wherein the system is further configured to:
identify, in the first electronic document, at least one key field and at least one value;
create, based on the first electronic document, a dataset, wherein the created dataset includes the at least one key field and the at least one value; and
analyze the created dataset, wherein the at least one transaction parameter is determined based on the analysis.

### Claim 13 (depends on 12)

The system of claim 12, wherein the system is further configured to:
analyze the first electronic document to determine data in the first electronic document; and
extract, based on a predetermined list of key fields, at least a portion of the determined data, wherein the at least a portion of the determined data matches at least one key field of the predetermined list of key fields.

### Claim 14 (depends on 13)

The system of claim 13, wherein the system is further configured to:
perform optical character recognition on the first electronic document.

### Claim 15 (depends on 14)

The system of claim 14, wherein the system is further configured to:
perform a cleaning process on the extracted at least a portion of the determined data.

### Claim 16 (depends on 14)

The system of claim 14, wherein the system is further configured to:
check if each piece of data of the extracted at least a portion of the determined data is completed; and
for each piece of data that is not completed, perform at least one of: querying at least one external source, and correlating the determine data with data of at least one previously analyzed electronic document.

### Claim 17 (depends on 11)

The system of claim 11, wherein the system is further configured to:
create based on the second electronic document, a second template, wherein the second template is a structured dataset including data of the second electronic document;
compare the first template and the second template, wherein determining whether the request is verified is based on the comparison.

### Claim 18 (depends on 17)

The system of claim 17, wherein the system is further configured to:
compare each portion of the first template to a corresponding portion of the second template; and
determine whether each portion of the first template matches the corresponding portion of the second template.

### Claim 19 (depends on 11)

The system of claim 11, wherein the first electronic document is an image showing a value-added tax reclaim request, wherein the second electronic document is an image showing at least one of: an invoice, a receipt, and a purchase number record.
