A portion of the disclosure of this patent document contains material which is subject to copyright protection. The copyright owner has no objection to the facsimile reproduction by anyone of the patent document or the patent disclosure, as it appears in the Patent and Trademark Office patent file or records, but otherwise reserves all copyright or rights whatsoever. © 2019-2020 Coupa Software Incorporated.
One technical field of the present disclosure is computer-implemented detection of duplicate invoices using a spend management system. Another field is computer-implemented duplicate invoice management using a spend management system. Yet another technical field is computer-implemented electronic presentation of duplicate invoice data via a user interface.
The approaches described in this section are approaches that could be pursued, but not necessarily approaches that have been previously conceived or pursued. Therefore, unless otherwise indicated, it should not be assumed that any of the approaches described in this section qualify as prior art merely by virtue of their inclusion in this section. Further, it should not be assumed that any of the approaches described in this section are well-understood, routine, or conventional merely by virtue of their inclusion in this section.
Computer-implemented software-as-a-service (SaaS) systems are now available for a variety of data processing applications. These systems typically offer complex, sophisticated internal data processing applications. For example, e-procurement or spend management systems have been developed to assist enterprises in tracking and planning purchasing and sourcing operations at high volume. When buyers use these systems to order goods or services, suppliers create digital electronic invoices that they transmit to buyers for payment. However, these invoices—which may arrive at the spend management system in large quantities, such as thousands or millions—may include multiple instances of a given invoice, or “duplicate invoices,” that are received by the spend management system and subsequently stored into database records.
A supplier may, either advertently or inadvertently, create duplicate invoices for a single instance of a product or service provided from the supplier to a buyer. For example, a supplier may inadvertently, or unwittingly, generate duplicate invoices for a buyer due to improper bookkeeping indicating an incorrect payment status of an invoice for which a payment was previously received from the buyer. This may result in additional instances of the invoice being sent to the buyer for payment. In another example, a supplier may inadvertently generate duplicate invoices for a buyer due to a financial incentive to expedite the payment process resulting in multiple instances of the same invoice being sent to the buyer. In yet another example, a supplier may advertently, or willfully, generate duplicate invoices for a buyer in a malicious attempt to receive multiple payments for a single instance of a product or service provided by the supplier.
In some instances, these duplicate invoices may be detected and mitigated by the buyer before duplicate payments are made. However, in an environment involving thousands to millions of invoices originating from different suppliers for various products or services, all stored in digital electronic form but using different formats and content, merely detecting the duplicate invoices becomes a time-consuming, complex problem. Wide variances in invoice structure, format, fields or attributes, and terminology mean that software inspection of individual invoice documents is difficult and typically consumes large amounts of CPU cycles, storage, memory, network bandwidth, and other resources. Furthermore, both buyer computers and supplier computers demand real-time response from the spend management system in the face of large-scale datasets. Thus, there is a need for ways to substantially reduce the time and complexity involved in detecting and managing duplicate invoices stored in database records of a spend management system.
The appended claims may serve as a summary of the invention.
In the drawings:
In the following description, for the purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the present invention. It will be apparent, however, that the present invention may be practiced without these specific details. In other instances, well-known structures and devices are shown in block diagram form in order to avoid unnecessarily obscuring the present invention. Embodiments are described herein in sections according to the following outline:
1. General Overview
2. Structural Overview
3. Functional Overview
4. Implementation Example—Hardware Overview
5. Benefits; Extensions and Alternatives
1. General Overview
Techniques for detecting and managing duplicate invoices are described herein. According to an embodiment, a duplicate invoice detection subsystem may access, in a digital storage device, invoices associated with a buyer computer. From the invoices, the duplicate invoice detection subsystem identifies candidate invoices having similar attributes and creates nodes representing the candidate invoices to be stored in computer memory. The duplicate invoice detection subsystem may determine that at least two of the candidate invoices are likely to be duplicate invoices and may generate an edge between nodes representing the at least two candidate invoices. The edge indicates that the at least two candidate invoices are likely to be duplicate invoices. The duplicate invoice detection subsystem may programmatically apply a set of filters to the at least two candidate invoices using the candidate invoices as inputs. The duplicate invoice detection subsystem may determine that the at least two candidate invoices are duplicate invoices based on an output of the set of filters and may send a notification to the buyer computer indicating that the at least two candidate invoices are duplicate invoices.
In an embodiment, a method comprises, using a duplicate invoice detection subsystem of a spend management system, accessing in a digital storage device a plurality of invoices that are associated with a buyer computer, each of the invoices comprising a digitally stored electronic document; identifying, from the plurality of invoices, a plurality of candidate invoices, each of the plurality of candidate invoices having similar attributes with respect to one another; creating and storing in computer memory a plurality of nodes representing the plurality of candidate invoices, each of the nodes representing a different candidate invoice of the plurality of candidate invoices; determining that at least two candidate invoices of the plurality of candidate invoices are likely to be duplicate invoices, the at least two candidate invoices being represented by at least two nodes of the plurality of nodes; generating an edge between the at least two nodes, the edge indicating that the at least two candidate invoices are likely to be duplicate invoices, the edge and the at least two nodes forming a graph data structure that is digitally stored in the computer memory; programmatically applying a set of filters using the at least two candidate invoices as inputs; determining that the at least two candidate invoices are the duplicate invoices based on an output of the set of filters; and in response to determining that the at least two candidate invoices are the duplicate invoices, executing one or more of: programmatically instructing the digital storage device to delete one of the two candidate invoices; sending a notification to the buyer computer that identifies the at least two candidate invoices and indicates that the at least two candidate invoices are the duplicate invoices.
2. Structural Overview
2.1 Example Distributed Computer System
Computer executable instructions described herein may be in machine executable code in the instruction set of a CPU and may have been compiled based upon source code written in JAVA, C, C++, OBJECTIVE-C, or any other human-readable programming language or environment, alone or in combination with scripts in JAVASCRIPT, other scripting languages and other programming source text. In another embodiment, the programmed instructions also may represent one or more files or projects of source code that are digitally stored in a mass storage device such as non-volatile RAM or disk storage, in the systems of
The computing devices such as the supplier computers 150 and buyer computers 160 may comprise a desktop computer, laptop computer, tablet computer, smartphone, or any other type of computing device that allows access to the spend management system 100. In one embodiment, the supplier computers 150 may generate invoices for products or services provided by respective suppliers for buyers associated with buyer computers 160 (e.g., companies, private entities, business enterprises, and the like). Specifically, supplier computers 150 may generate invoices electronically and provide the electronic documents to spend management system 100 (e.g., via network 140) such that spend management system 100 may electronically present the invoices to buyers for payment. The buyers may access the spend management system 100 using respective buyer computers 160 to make payments on the invoices accordingly. In one embodiment, supplier computers 150 may generate duplicate invoices for buyers associated with buyer computers 160. That is, a supplier may, either advertently or inadvertently, create duplicate invoices for a single instance of a product or service provided from the supplier to a buyer.
In one embodiment, the spend management system 100 may be programmed or configured for generating electronic pages, alerts, notifications, hyperlinks, recommendations, or application protocol messages to output to the computing devices such as the supplier computers 150 or buyer computers 160. For example, spend management system 100 may be programmed to generate dynamic web pages that implement an application as a software-as-a-service (SaaS) application that the supplier computer 150 and buyer computer 160 may access using a web browser hosted at the computing device. In one embodiment, the spend management system 100 may be programmed to generate a dynamic web page used to electronically present invoice data (e.g., presented in PDF format) to supplier computers 150 and/or buyer computers 160. Specifically, spend management system 100 may be programmed to detect duplicate invoices from invoices generated by respective supplier computers 150 (e.g., stored in invoice database 110) and electronically present the duplicate invoices to buyer computers 160. In one embodiment, the spend management system 100 may be implemented using a server-class computer or other computers having one or more processor cores, co-processors, or other computers. Spend management system 100 may be a physical server computer and/or a virtual server instance stored in a data center, such as through cloud computing.
In one embodiment, the invoice database 110 may comprise a system, device, or apparatus generally operable to digitally store invoices generated by the supplier computers 150. The invoice database 110 may be managed by the spend management system 100 and may include transactional information on one or more suppliers as well as associated details on the suppliers. The invoice database 110 may also include, for each supplier, one or more records of orders or transactions between the buyer and a respective supplier. In one embodiment, the invoice database 110 may be or include a relational database in which invoices generated by the supplier computers 150 are stored as entries. In other embodiments, invoice database 110 may be or include a centralized database, distributed database, commercial database, operational database, and/or any other database management system suitable for storing invoices generated by the supplier computers 150.
In one embodiment, the duplicate invoice detection subsystem 120 may comprise a system, device, or apparatus executing stored program instructions that are programmed to detect and manage duplicate invoices generated by supplier computers 150. Specifically, duplicate invoice detection subsystem 120 may be programmed to access invoices associated with a buyer computer 160 that are digitally stored in invoice database 110 of the spend management system 100. In one embodiment, each invoice may be digitally stored in the invoice database 110 as an electronic document (e.g., PDF document). In another embodiment, the spend management system 100 may be programmed to extract invoice data from the electronic document such that the invoice data may be accessed directly by the duplicate invoice detection subsystem 120. The duplicate invoice detection subsystem 120 may be programmed to identify candidate invoices from the invoices that share similar attributes with respect to one another (e.g., similar supplier, similar charge amount, similar currency, and the like). In an embodiment, a similar supplier may be obtained by calling a supplier normalization service that is programmed to find similar suppliers and group them. General data normalization techniques are well known in the art. In one approach, a series of fuzzy matching tests and/or regular expressions are formed based on a first entity name or data, then used to match multiple other supplier entity records that have similarities in the name and/or one or more other attributes, such as commodity, address or location, other identifier, prices of past purchases, or other values. In some cases, records of multiple suppliers can be consolidated or used as a basis to suggest one particular supplier record that appears more frequently used or more accurate. Techniques for consolidating supplier records based upon detecting similarities, which can be used as a basis of normalization and determining similar suppliers, are described in application Ser. No. 15/840,936, filed Dec. 13, 2017, US Pat. Pub. No. US-2019-0180294-A1. In one embodiment, the duplicate invoice detection subsystem 120 may be programmed to store the candidate invoices in duplicate invoice database 130 for further processing.
In one embodiment, the duplicate invoice detection subsystem 120 may be programmed to assemble one or more groupings, or “candidate invoice clusters,” of candidate invoices from the invoices digitally stored in the invoice database 110. Each candidate invoice cluster includes candidate invoices having similar attributes. The duplicate invoice detection subsystem 120 may be programmed to determine that at least two candidate invoices within a candidate invoice cluster of candidate invoices are likely to be duplicate invoices. In one embodiment, the duplicate invoice detection subsystem 120 may apply various machine matching techniques (e.g., software implementations of a fuzzy matching algorithm, Levenshtein algorithm, and the like, executed by computer) to determine whether candidate invoices are likely to be duplicate invoices. The duplicate invoice detection subsystem 120 may be programmed to programmatically apply a set of filters to the at least two candidate invoices to determine whether the candidate invoices are duplicate invoices. That is, the duplicate invoice detection subsystem 120 may be programmed to apply the set of filters using candidate invoice clusters as inputs and may determine whether the candidate invoices are duplicate invoices based on an output of the set of filters.
In one embodiment, the duplicate invoice detection subsystem 120 may be programmed to execute one or more mitigation strategies upon determining that candidate invoices are duplicate invoices. For example, the duplicate invoice detection subsystem 120 may be programmed to send a notification to a buyer computer 160 identifying the duplicate invoices, block payment for each of the duplicate invoices, and/or delete duplicates of the original invoice from the invoice database 110. In another embodiment, the duplicate invoice detection subsystem 120 may be programmed to store the candidate invoices in duplicate invoice database 130 and electronically present the duplicate invoices to buyer computers 160. The duplicate invoice detection subsystem 120 is described in further detail with respect to
In one embodiment, the duplicate invoice database 130 may comprise a system, device, or apparatus executing stored program instructions to digitally store duplicate invoices detected by the duplicate invoice detection subsystem 120. Each candidate invoice identified by the duplicate invoice detection subsystem 120 may be digitally stored in the duplicate invoice database 130 for processing. The duplicate invoice detection subsystem 120 may be programmed to determine whether the candidate invoices stored in duplicate invoice database 130 are duplicate invoices as described above. In one embodiment, each candidate invoice may be represented as a node within a graph data structure digitally stored in the duplicate invoice database 130. The duplicate invoice detection subsystem 120 may be programmed to generate an edge between at least two nodes representing at least two candidate invoices, indicating that the at least two candidate invoices are likely to be duplicate invoices. In other embodiments, candidate invoices having similar attributes may be stored in the duplicate invoice database 130 within an array, list, binary tree, heap, multiway tree, hash-based structure, and/or any other data structure suitable for grouping candidate invoices. In one embodiment, the duplicate invoice database 130 may comprise or have programmatic access to a relational database in which duplicate invoices detected by the duplicate invoice detection subsystem 120 are stored as entries. In other embodiments, the duplicate invoice database 130 may be or include a centralized database, distributed database, commercial database, operational database, and/or any other database management system suitable for storing duplicate invoices. The duplicate invoice database 130 is described in further detail with respect to
Network 140 may be implemented by any medium or mechanism that provides for the exchange of data between the various elements of
2.2 Invoices, Invoice Clusters, Graphs, Filters, Duplicate Detection
In the embodiment illustrated in
To form the candidate invoice clusters 200, 210, and 220 of candidate invoices illustrated in
For each candidate invoice cluster, the duplicate invoice detection subsystem 120 may be programmed to create and store nodes representing the candidate invoices comprising the candidate invoice cluster. Specifically, the duplicate invoice detection subsystem 120 may be programmed to create a node for each candidate invoice identified and may store the nodes in the duplicate invoice database 130 for further processing. Referring to
In one embodiment, the duplicate invoice detection subsystem 120 may be programmed to apply a fuzzy matching algorithm to compare the number of alphanumeric characters of respective invoice numbers. If two or more candidate invoices within the candidate invoice cluster have the same number of alphanumeric characters comprising their respective invoice numbers, the duplicate invoice detection subsystem 120 may be programmed to determine that the candidate invoices are recurring invoices created for installment payments. For example, the candidate invoices represented by nodes A1 and A2 of
In one embodiment, the fuzzy matching algorithm may be programmed to identify a Levenshtein distance between invoice numbers having different numbers of alphanumeric characters. If the Levenshtein distance between the invoice numbers is greater than an adjustable threshold distance (e.g., a Levenshtein distance of 3 or more), or if one invoice number is a subset of the other invoice number, the duplicate invoice detection subsystem 120 may determine that the two candidate invoices are not recurring invoices. For example, if the candidate invoices represented by nodes A3 and A4 of
Upon determining that at least two candidate invoices with a candidate invoice cluster are likely duplicate invoices, the duplicate invoice detection subsystem 120 may be programmed to generate an edge 230 between the nodes representing the at least two candidate invoices, thereby forming a graph data structure digitally stored in the duplicate invoice database 130 or in main memory. As illustrated in
In one embodiment, the duplicate invoice detection subsystem 120 may be programmed to determine whether at least two candidate invoices within a candidate invoice cluster are duplicate invoices by programmatically applying a set of filters to the candidate invoices. In particular, the duplicate invoice detection subsystem 120 may be programmed to apply a set of filters to candidate invoices represented by respective nodes within a candidate invoice cluster. The duplicate invoice detection subsystem 120 may programmatically apply the set of filters using the candidate invoice clusters as inputs and may determine whether the candidate invoices within each respective candidate invoice cluster are duplicate invoices of one another based on an output of the set of filters.
In one embodiment, the duplicate invoice detection subsystem 120 may programmatically apply the set of filters to candidate invoices within a candidate invoice cluster having a threshold number of nodes. For example, the duplicate invoice detection subsystem 120 may programmatically apply the set of filters to candidate invoices within a candidate invoice cluster having greater than, or equal to, two nodes and fewer than, or equal to, four nodes, such as candidate invoice clusters 200 and 220 illustrated in
In one embodiment, the duplicate invoice detection subsystem 120 may programmatically apply a credit note filter to candidate invoices within a candidate invoice cluster. Specifically, the credit note filter may identify one or more candidate invoices within a candidate invoice cluster for which a credit note has previously been generated (e.g., by a supplier computer 150 via the spend management system 100). Here, a credit note may indicate to the duplicate invoice detection subsystem 120 that a buyer has previously identified that the one or more candidate invoices are duplicate invoices and has notified the supplier and/or spend management system 100 of the duplicate invoices accordingly. If the credit note filter identifies that a credit note has previously been generated for a candidate invoice within a candidate invoice cluster stored in duplicate invoice database 130, the duplicate invoice detection subsystem 120 may remove the candidate invoice from the candidate invoice cluster. For example, the duplicate invoice detection subsystem 120 may remove the candidate invoice represented by node A1 from candidate invoice cluster 200 if the credit note filter identifies that a credit note has previously been generated for the candidate invoice represented by node A1. Upon removing such candidate invoices, the duplicate invoice detection subsystem 120 may programmatically apply additional filters if the number of candidate invoices within a candidate invoice cluster is greater than one invoice.
In one embodiment, the duplicate invoice detection subsystem 120 may programmatically apply a purchase order mismatch filter to candidate invoices within a candidate invoice cluster. The purchase order mismatch filter may identify one or more candidate invoices of the candidate invoice cluster that are not associated with the same purchase order. That is, candidate invoices that are not associated with the same purchase order may indicate to the duplicate invoice detection subsystem 120 that the candidate invoices were created in response to a buyer making separate purchases, thus indicating that the candidate invoices are not duplicate invoices created for the same purchase. In one embodiment, the purchase order mismatch filter may access transactional information on one or more suppliers and/or one or more records of orders or transactions between a buyer and a respective supplier (e.g., stored in invoice database 110) to identify whether at least two invoices within a candidate invoice cluster are associated with the same purchase order. In another embodiment, the spend management system 100 may be programmed to extract purchase order data from invoices stored in invoice database 110 such that the purchase order data may be accessed directly by the purchase order mismatch filter. If the purchase order mismatch filter identifies that separate purchase orders have been created for at least two candidate invoices within a candidate invoice cluster stored in duplicate invoice database 130, the duplicate invoice detection subsystem 120 may be programmed to remove the candidate invoices having separate purchase orders from the candidate invoice cluster. For example, the duplicate invoice detection subsystem 120 may be programmed to remove the candidate invoice represented by node C2 from candidate invoice cluster 220 if the purchase order mismatch filter identifies that a purchase order created for the candidate invoice represented by node C2 does not match a purchase order created for the candidate invoice represented by node C3 within the same candidate invoice cluster 220. Upon removing such candidate invoices, the duplicate invoice detection subsystem 120 may programmatically apply additional filters if the number of candidate invoices within a candidate invoice cluster is greater than one invoice.
In one embodiment, the duplicate invoice detection subsystem 120 may programmatically apply a line description mismatch filter to candidate invoices within a candidate invoice cluster. Each invoice stored in invoice database 110 may include a line description that describes various attributes associated with the purchase for which the invoice was created. Specifically, each invoice electronically presented on the spend management system 100 may include a line description comprised of a free-form text field in which a supplier may manually enter a description of the item that was purchased. For example, a line description appearing on an invoice may indicate a month, day, and year in which the purchase was made. In another example, each line description may indicate a part number or serial number of the item, or items, purchased. By programmatically applying the line description mismatch filter to candidate invoices within a candidate invoice cluster, the duplicate invoice detection subsystem 120 may ensure that recurring invoices created for installment payments on a single purchase are not falsely identified as being duplicate invoices of one another. In one embodiment, the line description mismatch filter may be or include a fuzzy matching algorithm that compares line descriptions of respective candidate invoices. In other embodiments, the line description mismatch filter may be or include a Knuth-Morris-Pratt algorithm, a Boyer-Moore string-search algorithm, a two-way string-matching algorithm, and/or any other algorithm suitable for comparing line descriptions of respective candidate invoices.
To evaluate line descriptions for each of the at least two candidate invoices within a candidate invoice cluster, the line description mismatch filter may divide, or otherwise partition, the electronic data comprising the line descriptions of each candidate invoice within a candidate invoice cluster into a critical parts section and a remaining string. In one embodiment, the critical parts section of a line description may include a month name, or an abbreviation thereof, indicating a month in which the purchase was made. For example, a critical parts section of a line description for a candidate invoice may include a month name or abbreviation such as “Jan.,” “February,” “March,” “Dec.,” and the like. In another embodiment, the critical parts section may include any alphanumeric characters comprising a part number, serial number, and/or single digits appearing within the line description of a candidate invoice. For example, the line description mismatch filter may divide a single digit of “5” appearing in a line description of a candidate invoice into the critical parts section given that the single digit may indicate a day within a month on which the purchase was made.
In one embodiment, the remaining string of a line description may include text and/or any other electronic data appearing in the line description that is not included in the critical parts section. Here, the line description mismatch filter may identify a Levenshtein distance between the remaining strings of line descriptions of respective candidate invoices within a candidate invoice cluster. If the Levenshtein distance between the remaining strings is greater than an adjustable threshold distance (e.g., a Levenshtein distance of 3 or more) and the critical parts sections of the respective candidate invoices are an exact match, the line description mismatch filter may determine that the candidate invoices are duplicate invoices. However, if the Levenshtein distance between the remaining strings is less than the adjustable threshold and/or if the critical parts sections of the respective candidate invoices are not an exact match, the line description mismatch filter may determine that the candidate invoices are not duplicate invoices and are likely recurring invoices created for installment payments. In one embodiment, the duplicate invoice detection subsystem 120 may remove the candidate invoices having different line descriptions from the candidate invoice cluster. Upon removing such candidate invoices, the duplicate invoice detection subsystem 120 may determine that the remaining candidate invoices within a candidate invoice cluster are duplicate invoices if the number of candidate invoices within the candidate invoice cluster is greater than one invoice.
In one embodiment, the duplicate invoice detection subsystem 120 may be programmed to generate a score, or an “audit priority score,” for each group of duplicate invoices detected. That is, the duplicate invoice detection subsystem 120 may be programmed to generate an audit priority score for each group of duplicate invoices detected using the set of filters described above. Here, the audit priority score may indicate a certainty associated with determining that candidate invoices within a candidate invoice cluster are duplicate invoices. To determine an audit priority score for a group of duplicate invoices, the duplicate invoice detection subsystem 120 may be programmed to identify one or more additional attributes associated with each duplicate invoice within the group. In one embodiment, example additional attributes associated with a duplicate invoice may include an invoice filename, invoice file size, invoice file type (e.g., indicated by filename extension), invoice date, invoice amount, etc., associated with each duplicate invoice. If the additional attributes match across duplicate invoices with the group, the duplicate invoice detection subsystem 120 may be programmed to assign a high audit priority score for the group indicating that the duplicate invoices are determined to be duplicates with a high certainty. In contrast, if the additional attributes do not match across duplicate invoices, or match across a subset of duplicate invoices, within the group, the duplicate invoice detection subsystem 120 may be programmed to assign a lower audit priority score for the group indicating that the duplicate invoices are determined to be duplicates with a lower certainty in relation to groups of duplicate invoices having high audit priority scores.
2.3 User Interface Example
In one embodiment, the spend management system 100 may be programmed to rank groups of duplicate invoices based, in part, on the respective audit priority scores associated with each group. Specifically, the spend management system 100 may manage groups of duplicate invoices by electronically presenting (e.g., via user interface 300) groups of duplicate invoices having high audit priority scores above groups of duplicate invoices having medium or low audit priority scores. That is, the spend management system 100 may be programmed to ensure that groups of duplicate invoices having high audit priority scores are more prominently presented on a buyer computer 160 for a buyer than duplicate invoices having lower audit priority scores. This is shown in
In the example shown in
In the examples illustrated in
In one embodiment, the duplicate invoice window may prompt a buyer to provide feedback regarding each duplicate invoice detected by the duplicate invoice detection subsystem 120. That is, a buyer may indicate to the spend management system 100 whether an invoice has been correctly or falsely detected as being a duplicate invoice by the duplicate invoice detection subsystem 120. In the examples shown in
If the buyer determines that the duplicate invoice is compliant as shown in
If the buyer determines that the duplicate invoice is non-compliant as shown in
3. Functional Overview
As an overview, the process of
At step 420, the process may be programmed to identify candidate invoices from the invoices stored in the digital storage device. Each of the candidate invoices may have similar attributes with respect to one another. For example, the duplicate invoice detection subsystem 120 may be programmed to identify candidate invoices having similar attributes for each invoice stored in the invoice database 110 illustrated in
At step 430, the process may create and store in computer memory nodes representing the candidate invoices. Each of the nodes may represent a different candidate invoice of the identified candidate invoices. For example, the duplicate invoice detection subsystem 120 may be programmed to create and store nodes representing candidate invoices comprising the candidate invoice clusters 200, 210, and 220 of candidate invoices shown in
At step 440, the process may determine that at least two candidate invoices are likely to be duplicate invoices. The at least two candidate invoices may be represented by at least two nodes of the nodes created for each candidate invoice identified. For example, the duplicate invoice detection subsystem 120 may be programmed to identify an invoice number associated with a candidate invoice for each candidate invoice within a candidate invoice cluster as described above with respect to
At step 450, the process may generate an edge between the at least two nodes. The edge may indicate that the at least two candidate invoices represented by the at least two nodes are likely to be duplicate invoices. For example, the duplicate invoice detection subsystem 120 may be programmed to generate edges 230 between nodes A1 and A2, nodes A2 and A3, and nodes A3 and A4 as shown in
At step 460 and step 470, the process may programmatically apply a set of filters using the at least two candidate invoices as inputs and may determine that the at least two candidate invoices are duplicate invoices based on an output of the set of filters. For example, the duplicate invoice detection subsystem 120 may programmatically apply a set of filters to candidate invoices represented by respective nodes within a candidate invoice cluster. Specifically, duplicate invoice detection subsystem 120 may programmatically apply the set of filters using candidate invoice clusters as inputs. As described above with respect to
At step 480, the process may send a notification to the buyer computer in response to determining that the at least two candidate invoices are duplicate invoices. The notification may identify the at least two candidate invoices and indicate that the at least two candidate invoices are duplicate invoices. For example, the duplicate invoice detection subsystem 120 may be programmed to execute one or more mitigation strategies upon determining that candidate invoices are duplicate invoices, such as sending a notification to a buyer computer 160 identifying the duplicate invoices, blocking payment for each of the duplicate invoices, and/or deleting duplicates of the original invoice from the invoice database 110 as described above with respect to
4. Implementation Example—Hardware Overview
Computer system 500 includes an input/output (I/O) subsystem 502 which may include a bus and/or other communication mechanism(s) for communicating information and/or instructions between the components of the computer system 500 over electronic signal paths. The I/O subsystem 502 may include an I/O controller, a memory controller and at least one I/O port. The electronic signal paths are represented schematically in the drawings, for example as lines, unidirectional arrows, or bidirectional arrows.
At least one hardware processor 504 is coupled to I/O subsystem 502 for processing information and instructions. Hardware processor 504 may include, for example, a general-purpose microprocessor or microcontroller and/or a special-purpose microprocessor such as an embedded system or a graphics processing unit (GPU) or a digital signal processor or ARM processor. Processor 504 may comprise an integrated arithmetic logic unit (ALU) or may be coupled to a separate ALU.
Computer system 500 includes one or more units of memory 506, such as a main memory, which is coupled to I/O subsystem 502 for electronically digitally storing data and instructions to be executed by processor 504. Memory 506 may include volatile memory such as various forms of random-access memory (RAM) or other dynamic storage device. Memory 506 also may be used for storing temporary variables or other intermediate information during execution of instructions to be executed by processor 504. Such instructions, when stored in non-transitory computer-readable storage media accessible to processor 504, can render computer system 500 into a special-purpose machine that is customized to perform the operations specified in the instructions.
Computer system 500 further includes non-volatile memory such as read only memory (ROM) 508 or other static storage device coupled to I/O subsystem 502 for storing information and instructions for processor 504. The ROM 508 may include various forms of programmable ROM (PROM) such as erasable PROM (EPROM) or electrically erasable PROM (EEPROM). A unit of persistent storage 510 may include various forms of non-volatile RAM (NVRAM), such as FLASH memory, or solid-state storage, magnetic disk or optical disk such as CD-ROM or DVD-ROM and may be coupled to I/O subsystem 502 for storing information and instructions. Storage 510 is an example of a non-transitory computer-readable medium that may be used to store instructions and data which when executed by the processor 504 cause performing computer-implemented methods to execute the techniques herein.
The instructions in memory 506, ROM 508 or storage 510 may comprise one or more sets of instructions that are organized as modules, methods, objects, functions, routines, or calls. The instructions may be organized as one or more computer programs, operating system services, or application programs including mobile apps. The instructions may comprise an operating system and/or system software; one or more libraries to support multimedia, programming or other functions; data protocol instructions or stacks to implement TCP/IP, HTTP or other communication protocols; file format processing instructions to parse or render files coded using HTML, XML, JPEG, MPEG or PNG; user interface instructions to render or interpret commands for a graphical user interface (GUI), command-line interface or text user interface; application software such as an office suite, internet access applications, design and manufacturing applications, graphics applications, audio applications, software engineering applications, educational applications, games or miscellaneous applications. The instructions may implement a web server, web application server or web client. The instructions may be organized as a presentation layer, application layer and data storage layer such as a relational database system using structured query language (SQL) or no SQL, an object store, a graph database, a flat file system or other data storage.
Computer system 500 may be coupled via I/O subsystem 502 to at least one output device 512. In one embodiment, output device 512 is a digital computer display. Examples of a display that may be used in various embodiments include a touch screen display or a light-emitting diode (LED) display or a liquid crystal display (LCD) or an e-paper display. Computer system 500 may include other type(s) of output devices 512, alternatively or in addition to a display device. Examples of other output devices 512 include printers, ticket printers, plotters, projectors, sound cards or video cards, speakers, buzzers or piezoelectric devices or other audible devices, lamps or LED or LCD indicators, haptic devices, actuators or servos.
At least one input device 514 is coupled to I/O subsystem 502 for communicating signals, data, command selections or gestures to processor 504. Examples of input devices 514 include touch screens, microphones, still and video digital cameras, alphanumeric and other keys, keypads, keyboards, graphics tablets, image scanners, joysticks, clocks, switches, buttons, dials, slides, and/or various types of sensors such as force sensors, motion sensors, heat sensors, accelerometers, gyroscopes, and inertial measurement unit (IMU) sensors and/or various types of transceivers such as wireless, such as cellular or Wi-Fi, radio frequency (RF) or infrared (IR) transceivers and Global Positioning System (GPS) transceivers.
Another type of input device is a control device 516, which may perform cursor control or other automated control functions such as navigation in a graphical interface on a display screen, alternatively or in addition to input functions. Control device 516 may be a touchpad, a mouse, a trackball, or cursor direction keys for communicating direction information and command selections to processor 504 and for controlling cursor movement on output device 512. The input device may have at least two degrees of freedom in two axes, a first axis (e.g., x) and a second axis (e.g., y), that allows the device to specify positions in a plane. Another type of input device is a wired, wireless, or optical control device such as a joystick, wand, console, steering wheel, pedal, gearshift mechanism or other type of control device. An input device 514 may include a combination of multiple different input devices, such as a video camera and a depth sensor.
In another embodiment, computer system 500 may comprise an internet of things (IoT) device in which one or more of the output device 512, input device 514, and control device 516 are omitted. Or, in such an embodiment, the input device 514 may comprise one or more cameras, motion detectors, thermometers, microphones, seismic detectors, other sensors or detectors, measurement devices or encoders and the output device 512 may comprise a special-purpose display such as a single-line LED or LCD display, one or more indicators, a display panel, a meter, a valve, a solenoid, an actuator or a servo.
When computer system 500 is a mobile computing device, input device 514 may comprise a global positioning system (GPS) receiver coupled to a GPS module that is capable of triangulating to a plurality of GPS satellites, determining and generating geo-location or position data such as latitude-longitude values for a geophysical location of the computer system 500. Output device 512 may include hardware, software, firmware and interfaces for generating position reporting packets, notifications, pulse or heartbeat signals, or other recurring data transmissions that specify a position of the computer system 500, alone or in combination with other application-specific data, directed toward host 524 or server 530.
Computer system 500 may implement the techniques described herein using customized hard-wired logic, at least one ASIC or FPGA, firmware and/or program instructions or logic which when loaded and used or executed in combination with the computer system causes or programs the computer system to operate as a special-purpose machine. According to one embodiment, the techniques herein are performed by computer system 500 in response to processor 504 executing at least one sequence of at least one instruction contained in main memory 506. Such instructions may be read into main memory 506 from another storage medium, such as storage 510. Execution of the sequences of instructions contained in main memory 506 causes processor 504 to perform the process steps described herein. In alternative embodiments, hard-wired circuitry may be used in place of or in combination with software instructions.
The term “storage media” as used herein refers to any non-transitory media that store data and/or instructions that cause a machine to operation in a specific fashion. Such storage media may comprise non-volatile media and/or volatile media. Non-volatile media includes, for example, optical or magnetic disks, such as storage 510. Volatile media includes dynamic memory, such as memory 506. Common forms of storage media include, for example, a hard disk, solid state drive, flash drive, magnetic data storage medium, any optical or physical data storage medium, memory chip, or the like.
Storage media is distinct from but may be used in conjunction with transmission media. Transmission media participates in transferring information between storage media. For example, transmission media includes coaxial cables, copper wire and fiber optics, including the wires that comprise a bus of I/O subsystem 502. Transmission media can also take the form of acoustic or light waves, such as those generated during radio-wave and infrared data communications.
Various forms of media may be involved in carrying at least one sequence of at least one instruction to processor 504 for execution. For example, the instructions may initially be carried on a magnetic disk or solid-state drive of a remote computer. The remote computer can load the instructions into its dynamic memory and send the instructions over a communication link such as a fiber optic or coaxial cable or telephone line using a modem. A modem or router local to computer system 500 can receive the data on the communication link and convert the data to a format that can be read by computer system 500. For instance, a receiver such as a radio frequency antenna or an infrared detector can receive the data carried in a wireless or optical signal and appropriate circuitry can provide the data to I/O subsystem 502 such as place the data on a bus. I/O subsystem 502 carries the data to memory 506, from which processor 504 retrieves and executes the instructions. The instructions received by memory 506 may optionally be stored on storage 510 either before or after execution by processor 504.
Computer system 500 also includes a communication interface 518 coupled to network 522. Communication interface 518 provides a two-way data communication coupling to network link(s) 520 that are directly or indirectly connected to at least one communication networks, such as a network 522 or a public or private cloud on the Internet. For example, communication interface 518 may be an Ethernet networking interface, integrated-services digital network (ISDN) card, cable modem, satellite modem, or a modem to provide a data communication connection to a corresponding type of communications line, for example an Ethernet cable or a metal cable of any kind or a fiber-optic line or a telephone line. Network 522 broadly represents a local area network (LAN), wide-area network (WAN), campus network, internetwork or any combination thereof. Communication interface 518 may comprise a LAN card to provide a data communication connection to a compatible LAN, or a cellular radiotelephone interface that is wired to send or receive cellular data according to cellular radiotelephone wireless networking standards, or a satellite radio interface that is wired to send or receive digital data according to satellite wireless networking standards. In any such implementation, communication interface 518 sends and receives electrical, electromagnetic or optical signals over signal paths that carry digital data streams representing various types of information.
Network link 520 typically provides electrical, electromagnetic, or optical data communication directly or through at least one network to other data devices, using, for example, satellite, cellular, Wi-Fi, or BLUETOOTH technology. For example, network link 520 may provide a connection through a network 522 to a host computer 524.
Furthermore, network link 520 may provide a connection through network 522 or to other computing devices via internetworking devices and/or computers that are operated by an Internet Service Provider (ISP) 526. ISP 526 provides data communication services through a world-wide packet data communication network represented as internet 528. A server computer 530 may be coupled to internet 528. Server 530 broadly represents any computer, data center, virtual machine or virtual computing instance with or without a hypervisor, or computer executing a containerized program system such as DOCKER or KUBERNETES. Server 530 may represent an electronic digital service that is implemented using more than one computer or instance and that is accessed and used by transmitting web services requests, uniform resource locator (URL) strings with parameters in HTTP payloads, API calls, app services calls, or other service calls. Computer system 500 and server 530 may form elements of a distributed computing system that includes other computers, a processing cluster, server farm or other organization of computers that cooperate to perform tasks or execute applications or services. Server 530 may comprise one or more sets of instructions that are organized as modules, methods, objects, functions, routines, or calls. The instructions may be organized as one or more computer programs, operating system services, or application programs including mobile apps. The instructions may comprise an operating system and/or system software; one or more libraries to support multimedia, programming or other functions; data protocol instructions or stacks to implement TCP/IP, HTTP or other communication protocols; file format processing instructions to parse or render files coded using HTML, XML, JPEG, MPEG or PNG; user interface instructions to render or interpret commands for a graphical user interface (GUI), command-line interface or text user interface; application software such as an office suite, internet access applications, design and manufacturing applications, graphics applications, audio applications, software engineering applications, educational applications, games or miscellaneous applications. Server 530 may comprise a web application server that hosts a presentation layer, application layer and data storage layer such as a relational database system using structured query language (SQL) or no SQL, an object store, a graph database, a flat file system or other data storage.
Computer system 500 can send messages and receive data and instructions, including program code, through the network(s), network link 520 and communication interface 518. In the Internet example, a server 530 might transmit a requested code for an application program through internet 528, ISP 526, local network 522 and communication interface 518. The received code may be executed by processor 504 as it is received, and/or stored in storage 510, or other non-volatile storage for later execution.
The execution of instructions as described in this section may implement a process in the form of an instance of a computer program that is being executed and consisting of program code and its current activity. Depending on the operating system (OS), a process may be made up of multiple threads of execution that execute instructions concurrently. In this context, a computer program is a passive collection of instructions, while a process may be the actual execution of those instructions. Several processes may be associated with the same program; for example, opening up several instances of the same program often means more than one process is being executed. Multitasking may be implemented to allow multiple processes to share processor 604. While each processor 604 or core of the processor executes a single task at a time, computer system 600 may be programmed to implement multitasking to allow each processor to switch between tasks that are being executed without having to wait for each task to finish. In an embodiment, switches may be performed when tasks perform input/output operations, when a task indicates that it can be switched, or on hardware interrupts. Time-sharing may be implemented to allow fast response for interactive user applications by rapidly performing context switches to provide the appearance of concurrent execution of multiple processes simultaneously. In an embodiment, for security and reliability, an operating system may prevent direct communication between independent processes, providing strictly mediated and controlled inter-process communication functionality.
5. Benefits; Extensions and Alternatives
Embodiments provide the benefit of a technical solution to the technical problems identified in the Background in at least the following manner. First, the security and resistance to fraud of a spend management system, e-procurement system, or invoice processing system are improved because the automatic stored program techniques described herein will block or reduce the number of duplicate invoices that a supplier can willfully generate in an attempt to receive multiple payments for a single instance of a product or service provided by the supplier. Second, reductions in the number of CPU cycles, memory, storage, network bandwidth, and other resources are achieved because the automatic stored program techniques described herein may block or prevent the storage and incorrect processing of duplicate invoices that have been created in a spend management system, e-procurement system, or invoice processing system erroneously or intentionally. Third, system response time to user requests may be reduced because incorrect duplicate invoices are reduced or eliminated, so that lists, tables, and databases of all invoices associated with a particular supplier are smaller, load faster, and display in less screen real estate or space. Fourth, representing respective candidate invoices as nodes within candidate invoice clusters, and digitally storing the candidate invoice clusters in computer memory as respective graph data structures, affords the spend management system, e-procurement system, or invoice processing system a simplified process for programmatically applying a set of filters to candidate invoices within candidate invoice clusters, thereby reducing the time and complexity associated with managing duplicate invoices for buyers.
In the foregoing specification, embodiments of the invention have been described with reference to numerous specific details that may vary from implementation to implementation. The specification and drawings are, accordingly, to be regarded in an illustrative rather than a restrictive sense. The sole and exclusive indicator of the scope of the invention, and what is intended by the applicants to be the scope of the invention, is the literal and equivalent scope of the set of claims that issue from this application, in the specific form in which such claims issue, including any subsequent correction.
Number | Date | Country | Kind |
---|---|---|---|
202111003619 | Jan 2021 | IN | national |