Duplicate Vendor Invoice Finder avatar

Duplicate Vendor Invoice Finder

Pricing

$0.20 / 1,000 valid invoice revieweds

Go to Apify Store
Duplicate Vendor Invoice Finder

Duplicate Vendor Invoice Finder

Review CSV and XLSX invoice exports for exact duplicates and separately flagged candidates. Export row evidence and amounts for review by currency.

Pricing

$0.20 / 1,000 valid invoice revieweds

Rating

0.0

(0)

Developer

AFK Digital

AFK Digital

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

12 days ago

Last modified

Categories

Features

Limited permissions

Share

Review accounts-payable invoice exports for duplicate payment risk. Upload a CSV or XLSX and get exact duplicate groups, separate review candidates, source-row evidence and amounts grouped by currency. No accounting connection is required.

Quick start

Run with {} for a synthetic demo. For a real file, upload it into your Apify key-value store, copy its signed HTTPS record link, and supply it as invoiceFile.url. Treat this link as a secret and keep the run and its storage private. You can also supply a UTF-8 CSV string in invoiceFile.csvText or base64 XLSX in invoiceFile.xlsxBase64. Supply one source only.

{
"invoiceFile": {"format":"csv","csvText":"Vendor,Number,Total,Currency\nV-12,INV-1024,100.00,USD\nV-12,INV-1024,100.00,USD"},
"columnMapping": {"supplier_id":"Vendor","invoice_number":"Number","amount":"Total","currency":"Currency"},
"dateToleranceDays": 5,
"amountTolerance": 0,
"maxInvoices": 5000
}

Map supplier ID, invoice number, invoice amount and three-letter currency. Optional mappings include invoice_id (a row ID), invoice_date (ISO YYYY-MM-DD or a native XLSX date), document_type and status. Keep identifiers as text in Excel to preserve leading zeros. Use plain decimals without separators or symbols. An absent row ID falls back to row-N. CSV accepts comma, semicolon, tab or pipe via invoiceFile.delimiter. For a multi-sheet workbook, provide invoiceFile.sheet. Export literal cell values. The limit is 5 MiB and up to 5,000 invoice rows per run. A file above its row limit fails before producing results. Invalid rows are identified by source row and excluded from billing.

How matching works

  • exact_duplicate requires the same supplier ID, case-sensitive invoice number after outer trimming, exact decimal amount and currency. Dates do not gate this rule.
  • needs_review separates punctuation/case variants and near-number candidates. Near-number candidates require a close date, similar invoice numbers and an amount within tolerance. Same invoice numbers with an amount difference also require a close date and the amount tolerance. The default amount tolerance is zero. Both tolerances use absolute values. For equal amounts, distinct numbers on three dates with weekly, fortnightly or monthly spacing are reported as possible recurring activity. Batches of four or more distinct numbers on the same day are also reported separately. These patterns suppress fuzzy-number matches between affected rows. Exact and format matches take precedence.
  • Map type and status to identify positive credit notes, cancelled/voided entries and explicitly recurring invoices. Negative and zero amounts are excluded. Exclusions and invalid rows appear separately in the Summary with source row references.
  • Exact groups take precedence. Among remaining rows, formatting pairs take precedence, then date-dependent pairs in source order. Each row belongs to at most one group. Overlapping candidate pairs are counted separately in the Summary. Consecutive invoice numbers issued near one another can still produce a review candidate. Verify findings against your ledger.

Outputs and billing

The default Dataset exports JSON and CSV with group ID, supplier, invoice IDs, match status, reasons, currency, review amount and evidence rows. Evidence row numbers are 1-based and include the header. CSV counts logical records, including any quoted multiline fields as one record. Use the linked spreadsheet-safe CSV when opening results in spreadsheet software. This export includes column headers even when the Dataset contains zero groups. The Summary records the input sheet, exclusions, invalid rows, successful review count and amounts by currency.

An exact group's review amount is the total of copies after the first row. A review pair uses the lower amount. Review amounts represent records to investigate. They do not establish a payment, overpayment or savings. Currency totals are never combined.

The proposed Store model uses one proportional Pay per Event charge per valid customer invoice reviewed, expressed per 1,000 invoices. Classification of a valid credit, cancellation or recurring row counts as review. Findings and the built-in demo carry no Actor event fee. On paid runs, the charge limit must cover all valid rows. Apify stores the input and outputs under its storage retention settings. The Actor does not log invoice records or signed links.

Local tests

python -m unittest discover -s tests -v
docker build -t newapi81:1.0.0 .