Hi All:
I have an invoice and payment file (see example below for your reference). My end goal is to find if there was a duplicate invoice #, duplicate vendor # or duplicate payment were made throughput the year.
My issue in that the file list all invoices on a header level. What does this mean is that same invoice number appears multiple time due to the fact that the invoice was breakdown by line by line item (different products purchased within the same invoice number) (see below table for your reference):
Thank you in advance.
| Vendor Name | Vendor # | Invoice number | INVOICE DATE | INVOICE_AMOUNT | Payment amount | Line type |
| A | 200073 | 50103116 | 2020-11-30 | 100 | 100 | L1 |
| A | 200073 | 50103116 | 2020-11-30 | 100 | 100 | L2 |
| A | 200073 | 50103116 | 2020-11-30 | 100 | 100 | L3 |
| | | | | | | |
| B | 15 | 20 | 2020-5-25 | 200 | 200 | L1 |
| B | 15 | 20 | 2020-5-25 | 200 | 200 | L2 |
| B | 15 | 20 | 2020-5-25 | 200 | 200 | L3 |