EARS: When the Clearance Manager sends a clearing, the system shall make its total, and the bank transfer for it, the amounts settled less the amounts clawed back.
Story: As a settlement payee, I want each clearing's total to match the bank transfer I receive, so that I can reconcile the transfer clearance by clearance.
Acceptance criteria:
-
ONE-806.1: When the Clearance Manager sends a clearing to a settlement payee, the system shall make its total the amounts settled for clearances marked Fully Settled, Partially Settled or Final Settlement, less the amounts clawed back.
-
ONE-806.2: When the Clearance Manager sends a clearing to a remittance payer, the system shall list its EasyPay clearances and leave them out of the total.
-
ONE-806.3: The system shall never make the total of a clearing to a settlement payee negative.
The bank transfer is the total; the model does not separate the two.