# US 2024/0177244 A1 · Systems and methods for automatically recommending account codes

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

- Number: US 2024/0177244 A1
- Document ID: US20240177244A1
- Status: Published application
- Kind: A1
- Application number: 18/070,930
- Filed: 2022-11-29
- Published: 2024-05-30
- Earliest claimed: 2022-11-29
- Assignees: Coupa Software Incorporated
- Applicants: Coupa Software Incorporated
- Inventors: Hongyang Yu; Sandip Mandlecha; Tim Durkin; Neha Arora; Rebecca Mengell; Shashank Dass; Keeyoung Kim
- Web page: https://patentgrep.com/patent/US20240177244A1

## CPC

- G06Q 40/12: Accounting
- G06Q 30/04: Billing or invoicing
- 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

## Abstract

A computer implemented method comprising receiving invoice data comprising at least one of invoice descriptions and invoice characters from user computers, each of the invoice descriptions and invoice characters defines contexts and patterns, wherein each of the invoice data comprising a supplier-customer information that corresponds to a supplier-customer transaction; analyzing the at least one of the invoice descriptions and the invoice characters with corresponding contexts and patterns; determining that amount of the invoice characters is more than a threshold number of characters, for performing: matching invoice data, invoice characters with predefined historical invoice data that corresponds to the same supplier-customer information; computing a similarity score for each of the invoice data; and displaying recommendations including first account codes to map the one or more first account codes to each of the one or more invoice data based on the similarity score; determining that amount of the invoice characters is not more than the threshold number of characters, for performing: filtering the invoice descriptions of the invoice data based on predetermined constraints to extract filtered invoice data comprising filtered description lines; identifying categories associated with each of the filtered description lines of the filtered invoice data; matching each of the identified categories, including corresponding contexts and patterns that is associated with a supplier-customer information with one or more predefined historical categories associated with predefined invoice description of the one or more predefined historical invoice data that corresponds to the same supplier-customer information, wherein each of the contexts and the patterns are matched with predefined contexts and patterns of the predefined historical invoice data that corresponds to the same supplier-customer information; computing a categorical similarity score for each of the categories associated with the supplier-customer information; and displaying on the graphical user interface, second recommendations including second account codes based on the computed categorical similarity score of each of the categories to map the second account codes to the invoice data.

## Claims

### Claim 1

A computer implemented method of detecting account codes and displaying the detected account codes on a graphical user interface comprising:
receiving, by a recommendation engine of a recommendation system communicatively coupled over a data communication network, one or more invoice data comprising at least one of one or more invoice descriptions and one or more invoice characters from one or more user computers, each of the one or more invoice descriptions and the one or more invoice characters defines contexts and patterns, wherein each of the one or more invoice data comprising a supplier-customer information that corresponds to a supplier-customer transaction;
analyzing, by the recommendation engine, the at least one of the one or more invoice descriptions and the one or more invoice characters associated with the corresponding contexts and patterns;
determining, by the recommendation engine, that an amount of the one or more invoice characters is more than a preset threshold number of characters based on the analysis, for performing:
matching, by the recommendation engine, each of the one or more invoice data, comprising the one or more invoice characters, that is associated with a supplier-customer information with one or more predefined historical invoice data that corresponds to the same supplier-customer information, wherein each of the contexts and the patterns associated with each of the one or more invoice data is matched with one or more predefined contexts and patterns of the one or more predefined historical invoice data that corresponds to the same supplier-customer information;
computing, by the recommendation engine, a similarity score for each of the one or more invoice data associated with the supplier-customer information based on the matching with the one or more predefined historical invoice data that corresponds to the same supplier-customer information; and
displaying, by the recommendation engine on the graphical user interface, one or more first recommendations including one or more first account codes based on the computed similarity score of each of the one or more invoice data that is corresponding supplier-customer information to map the one or more first account codes to each of the one or more invoice data based on the similarity score;
determining, by the recommendation engine, that an amount of the one or more invoice characters is not more than the preset threshold number of characters based on the analysis, for performing:
filtering, by the recommendation engine, the one or more invoice descriptions of the one or more invoice data based on predetermined constraints to extract one or more filtered invoice data comprising filtered description lines;
identifying, by the recommendation engine, one or more categories associated with each of the filtered description lines of the one or more filtered invoice data;
matching, by the recommendation engine, each of the identified one or more categories, including corresponding contexts and patterns that is associated with a supplier-customer information with one or more predefined historical categories associated with predefined invoice description of the one or more predefined historical invoice data that corresponds to the same supplier-customer information, wherein each of the contexts and the patterns associated with each of the filtered description lines of the one or more filtered invoice data is matched with one or more predefined contexts and patterns of the one or more predefined historical invoice data that corresponds to the same supplier-customer information;
computing, by the recommendation engine, a categorical similarity score for each of the one or more categories associated with the supplier-customer information based on the matching with the one or more predefined historical categories associated with the predefined invoice description that corresponds to the same supplier-customer information; and
displaying, by the recommendation engine on the graphical user interface, one or more second recommendations including one or more second account codes based on the computed categorical similarity score of each of the one or more categories to map the one or more second account codes to the one or more invoice data.

### Claim 2 (depends on 1)

The method of claim 1, wherein the categorical similarity score is computed using Kullback-Liebler (KL) divergence of each of the one or more categories of each of filtered description lines, associated with the corresponding supplier-customer information, with the one or more predefined historical categories with the predefined invoice description that corresponds to the same supplier-customer information.

### Claim 3 (depends on 1)

The method of claim 1, further comprising ranking the one or more first recommendations including the one or more first account codes and the one or more second recommendations including the one or more second account codes according to one or more parameters comprising most recently used account codes, favorites of account codes, prior account codes that are used, a frequency of account codes being used, flagged account codes, highlighted account codes, prioritized account codes, labelled account codes, pointer account codes, tagged account codes, or a combination thereof.

### Claim 4 (depends on 3)

The method of claim 3, further comprising:
ranking, by the recommendation engine via ranking application, the one or more first recommendations including the one or more first account codes according to the similarity score for each of the one or more invoice data that is associated with the corresponding supplier-customer information; and
displaying, by the recommendation engine on the graphical user interface, the ranking of the one or more first recommendations including the one or more first account codes.

### Claim 5 (depends on 3)

The method of claim 3, further comprising:
ranking, by the recommendation engine via the ranking application, the one or more second recommendations including the one or more second account codes according to the categorical similarity score for each of the one or more categories of the one or more filtered invoice description lines of the one or more filtered invoice data that is associated with the corresponding supplier-customer information; and
displaying, by the recommendation engine on the graphical user interface, the ranking of the one or more second recommendations including the one or more second account codes.

### Claim 6 (depends on 1)

The method of claim 1, wherein the identification of the one or more categories associated with each of the filtered description lines of the one or more filtered invoice data comprising classifying each text of the one or more filtered description lines into the one or more categories based on the contexts and patterns associated with each text of the one or more descriptions.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
receiving, by the recommendation engine, a new invoice data comprising invoice descriptions and invoice characters associated with a new supplier-customer information corresponding to a new supplier-customer transaction, wherein each of the invoice descriptions and the one or more invoice characters defines contexts and patterns;
filtering, by the recommendation engine, the invoice descriptions of the new invoice data based on the predetermined constraints to extract a new filtered invoice data comprising description lines;
identifying, by the recommendation engine, categories associated with each of the description lines of the new filtered invoice data;
matching, by the recommendation engine, each of the identified categories, including corresponding contexts and patterns that is associated with the new supplier-customer information with the one or more predefined historical categories associated with predefined invoice descriptions of the one or more predefined historical invoice data that corresponds to one or more predetermined supplier-customer information, wherein each of the contexts and the patterns associated with each of the invoice descriptions of the new invoice data is matched with one or more predefined contexts and patterns of the one or more predefined historical invoice data that corresponds to the one or more predetermined supplier-customer information;
computing, by the recommendation engine, a categorical similarity score for each of the matched categories associated with the new supplier-customer information with the one or more predefined historical categories associated with the predefined invoice description that corresponds to the one or more predetermined supplier-customer information; and
displaying, by the recommendation engine on the graphical user interface, recommendations including account codes based on the computed categorical similarity score of each of the categories to map the account codes to the new invoice data.

### Claim 8 (depends on 1)

The method of claim 1, wherein the graphical user interface is communicatively connected to the one or more user computers, one or more enterprise resource planning (ERP) computer systems, one or more third-party systems and the recommendation system, each of the one or more user computers, the one or more ERP computer systems, and the one or more third-party systems is communicatively coupled to the data communication network.

### Claim 9 (depends on 1)

The method of claim 1, wherein the one or more invoice data being an expense reports, invoice processing, purchase orders, requisitions, accounts payable, and any supplier-customer related transactions.

### Claim 10 (depends on 1)

The method of claim 1, wherein each of the supplier-customer information, the one or more predefined historical invoice data, the one or more predefined contexts and patterns of the one or more predefined historical invoice data, the preset threshold number of characters, the predetermined constraints and the one or more parameters are stored in a memory of the recommendation system.

### Claim 11

A computer implemented method of detecting account codes and displaying the detected account codes on a graphical user interface comprising:
receiving, by a recommendation engine of a recommendation system communicatively coupled over a data communication network, one or more invoice data comprising at least one of one or more invoice descriptions and one or more invoice characters from one or more user computers, each of the one or more invoice descriptions and the one or more invoice characters defines contexts and patterns, wherein each of the one or more invoice data comprising a supplier-customer information that corresponds to a supplier-customer transaction;
filtering, by the recommendation engine, the one or more invoice descriptions of the one or more invoice data based on predetermined constraints to extract one or more filtered invoice data comprising filtered description lines;
identifying, by the recommendation engine, one or more categories associated with each of the filtered description lines of the one or more filtered invoice data;
matching, by the recommendation engine, each of the identified one or more categories, including corresponding contexts and patterns that is associated with a supplier-customer information with one or more predefined historical categories associated with predefined invoice description of the one or more predefined historical invoice data that corresponds to the same supplier-customer information, wherein each of the contexts and the patterns associated with each of the filtered description lines of the one or more filtered invoice data is matched with one or more predefined contexts and patterns of the one or more predefined historical invoice data that corresponds to the same supplier-customer information;
computing, by the recommendation engine, a categorical similarity score for each of the one or more categories associated with the supplier-customer information based on the matching with the one or more predefined historical categories associated with the predefined invoice description that corresponds to the same supplier-customer information; and
displaying, by the recommendation engine on the graphical user interface, one or more second recommendations including one or more second account codes based on the computed categorical similarity score of each of the one or more categories to map the one or more second account codes to the one or more invoice data.

### Claim 12 (depends on 11)

The method of claim 11, wherein the categorical similarity score is computed using Kullback-Liebler (KL) divergence of each of the one or more categories of each of filtered description lines, associated with the corresponding supplier-customer information, with the one or more predefined historical categories with the predefined invoice description one or more predefined historical invoice data that corresponds to the same supplier-customer information.

### Claim 13 (depends on 11)

The method of claim 11, further comprising ranking the one or more second recommendations including the one or more second account codes according to one or more parameters comprising most recently used account codes, favorites of account codes, prior account codes that are used, a frequency of account codes being used, flagged account codes, highlighted account codes, prioritized account codes, labelled account codes, pointer account codes, tagged account codes, or a combination thereof.

### Claim 14 (depends on 13)

The method of claim 13, further comprising:
ranking, by the recommendation engine via the ranking application, the one or more second recommendations including the one or more second account codes according to the categorical similarity score for each of the one or more categories of the one or more filtered invoice description lines of the one or more filtered invoice data that is associated with the corresponding supplier-customer information; and
displaying, by the recommendation engine on the graphical user interface, the ranking of the one or more second recommendations including the one or more second account codes.

### Claim 15 (depends on 11)

The method of claim 11, wherein the identification of the one or more categories associated with each of the filtered description lines of the one or more filtered invoice data comprising classifying each text of the one or more filtered description lines into the one or more categories based on the contexts and patterns associated with each text of the one or more descriptions.

### Claim 16 (depends on 11)

The method of claim 11, wherein the one or more invoice data being an expense reports, invoice processing, purchase orders, requisitions, accounts payable, and any supplier-customer related transactions.

### Claim 17

One or more non-transitory computer-readable storage media storing instructions which when executed cause one or more processors to perform a method of detecting account codes and displaying the detected account codes on a graphical user interface, the method comprising:
receiving one or more invoice data comprising at least one of one or more invoice descriptions and one or more invoice characters from one or more user computers, each of the one or more invoice descriptions and the one or more invoice characters defines contexts and patterns, wherein each of the one or more invoice data comprising a supplier-customer information that corresponds to a supplier-customer transaction;
analyzing the at least one of the one or more invoice descriptions and the one or more invoice characters associated with the corresponding contexts and patterns;
determining that an amount of the one or more invoice characters is more than a preset threshold number of characters based on the analysis, to perform:
matching, by the recommendation engine, each of the one or more invoice data, comprising the one or more invoice characters, that is associated with a supplier-customer information with one or more predefined historical invoice data that corresponds to the same supplier-customer information, wherein each of the contexts and the patterns associated with each of the one or more invoice data is matched with one or more predefined contexts and patterns of the one or more predefined historical invoice data that corresponds to the same supplier-customer information;
computing, by the recommendation engine, a similarity score for each of the one or more invoice data associated with the supplier-customer information based on the matching with the one or more predefined historical invoice data that corresponds to the same supplier-customer information; and
displaying, by the recommendation engine on the graphical user interface, one or more first recommendations including one or more first account codes based on the computed similarity score of each of the one or more invoice data that is corresponding supplier-customer information to map the one or more first account codes to each of the one or more invoice data based on the similarity score;
determining, by the recommendation engine, that an amount of the one or more invoice characters is not more than a preset threshold number of characters based on the analysis, to perform:
filtering, by the recommendation engine, the one or more invoice descriptions of the one or more invoice data based on predetermined constraints to extract one or more filtered invoice data comprising filtered description lines;
identifying, by the recommendation engine, one or more categories associated with each of the filtered description lines of the one or more filtered invoice data;
matching, by the recommendation engine, each of the identified one or more categories, including corresponding contexts and patterns that is associated with a supplier-customer information with one or more predefined historical categories associated with predefined invoice description of the one or more predefined historical invoice data that corresponds to the same supplier-customer information, wherein each of the contexts and the patterns associated with each of the filtered description lines of the one or more filtered invoice data is matched with one or more predefined contexts and patterns of the one or more predefined historical invoice data that corresponds to the same supplier-customer information;
computing, by the recommendation engine, a categorical similarity score for each of the one or more categories associated with the supplier-customer information based on the matching with the one or more predefined historical categories associated with the predefined invoice description that corresponds to the same supplier-customer information; and
displaying, by the recommendation engine on the graphical user interface, one or more second recommendations including one or more second account codes based on the computed categorical similarity score of each of the one or more categories to map the one or more second account codes to the one or more invoice data.

### Claim 18

One or more non-transitory computer-readable storage media storing instructions which when executed cause one or more processors to perform a method of detecting account codes and displaying the detected account codes on a graphical user interface, the method comprising:
receiving, by a recommendation engine of a recommendation system communicatively coupled over a data communication network, one or more invoice data comprising at least one of one or more invoice descriptions and one or more invoice characters from one or more user computers, each of the one or more invoice descriptions and the one or more invoice characters defines contexts and patterns, wherein each of the one or more invoice data comprising a supplier-customer information that corresponds to a supplier-customer transaction;
filtering, by the recommendation engine, the one or more invoice descriptions of the one or more invoice data based on predetermined constraints to extract one or more filtered invoice data comprising filtered description lines;
identifying, by the recommendation engine, one or more categories associated with each of the filtered description lines of the one or more filtered invoice data;
matching, by the recommendation engine, each of the identified one or more categories, including corresponding contexts and patterns that is associated with a supplier-customer information with one or more predefined historical categories associated with predefined invoice description that corresponds to the same supplier-customer information, wherein each of the contexts and the patterns associated with each of the filtered description lines of the one or more filtered invoice data is matched with one or more predefined contexts and patterns of the one or more predefined historical invoice data that corresponds to the same supplier-customer information;
computing, by the recommendation engine, a categorical similarity score for each of the one or more categories associated with the supplier-customer information based on the matching with the one or more predefined historical categories associated with the predefined invoice description that corresponds to the same supplier-customer information; and
displaying, by the recommendation engine on the graphical user interface, one or more second recommendations including one or more second account codes based on the computed categorical similarity score of each of the one or more categories to map the one or more second account codes to the one or more invoice data.
