# Duplicate payments

> Same vendor, same amount, close in time — plus the same reference whatever the date.

Source: https://lopifi.com/tools/duplicates
Part of: Lopifi — US GAAP books on autopilot, reviewed by a CPA (https://lopifi.com)

---

- **Group:** Reconcile

## Inputs

- `rows` — Payments
- `window` — Window (days) (Kept under a month on purpose: rent and subscriptions repeat every 30 days and are not duplicates.)
- `currency` — Currency (ISO 4217 code — sets the decimals: JPY 0, USD 2, KWD 3.)

Runs entirely in the browser: no network call, no data leaves the page. The same definition powers the Lopifi Tools Chrome extension.
