Retainage is simple to calculate and easy to release against the wrong job or billing period. Start with the approved job record, not the payment batch.
A usable subcontractor retainage releases 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.