How to catch invoice amounts reserved in two active collection batches
When a collection batch can be edited, copied or replaced, the same open invoice may be present in more than one batch. Before exporting the next batch, compare its requested amount with the open balance left after other active allocations.
Records to pull
- Open invoice export at a common cutoff
- Collection batch lines with status and supersession
- Proposed batch lines
Run the check
Match on customer, invoice ID and currency. Define which batch statuses still reserve an open amount, exclude canceled or superseded lines, and keep batch IDs so retries can be linked. If a collection already reduced the open balance, exclude that settled amount from the reservation total to avoid subtracting it twice.
Work through a synthetic example
| Record | Amount | Treatment |
|---|---|---|
| Invoices row 2 · INV-100 | Open $100 | Starting balance |
| Batches row 2 · active B-20 | $70 | Reserve against INV-100 |
| Batches row 3 · superseded B-18 | $50 | Exclude after confirming replacement |
| Proposed row 2 · B-21 | $60 | Exceeds the remaining $30 by $30 |
If a batch status is unknown, ask the owner whether it still reserves money before releasing the proposed line. This is a pre-export workbook check. Any collection decision belongs in the billing workflow.
Further reading. Holded collection-batch release note.