One invoice can produce several gateway attempts and only one successful collection. Matching by amount alone can make a retry look like a duplicate sale.
A usable SaaS payment failures and retries file identifies the entity, period, currency, source systems, cutoff, preparer, and reviewer. Those details sound routine. They are also what let someone reopen the file next month without relying on memory.