Phase 3 runs against a controlled batch of 10 to 15 historical invoices that are already settled. Live credentials are active but no reminders are delivered to real clients during this phase. The batch is selected to include a mix of full payments, partial payments, and previously escalated accounts to exercise all code paths.
ID
Scenario
Test Data
Steps Exercised
Expected Outcome
Pass Criteria
E2E-01
Standard overdue invoice full lifecycle
Historical invoice: $2,400, 5 days overdue at test time, full payment on record
Chase Scheduler Agent, Reminder Sender Agent, Payment Reconciliation Agent
Reminder staged and logged; payment matched; invoice marked reconciled; team notified
All four activity log records present; Xero status PAID; notification delivered
E2E-02
Partial payment lifecycle
Historical invoice: $3,600, partial payment of $1,800 on record
Chase Scheduler Agent, Reminder Sender Agent, Payment Reconciliation Agent
Tier 1 reminder sent; partial payment logged; updated balance visible; follow-up reminder staged
Partial balance correct in queue; second reminder scheduled; no premature reconciliation
E2E-03
Escalated overdue account
Historical invoice: $900, 35 days overdue, no payment received
Chase Scheduler Agent (tier 3), escalation routing
Tier 3 reminder suppressed; escalation flag set; practice manager notification delivered
No email sent to client; escalation notification present; invoice flagged in queue
E2E-04
Client reply detection
Historical invoice with a logged reply on record; reply injected into test Gmail inbox
Reminder Sender Agent reply detection, human routing
Reply detected; bookkeeper notification created; no further automated reminders for that invoice
Notification delivered within 5 minutes; reminder queue entry marked held
E2E-05
Batch of 10 invoices processed simultaneously
10 historical invoices across tiers 1, 2, and 3
All three agents across all 10 invoices
All 10 invoices correctly tiered, reminded or escalated, and reconciled where payment exists
10 of 10 invoices have correct status; no errors in run log; processing completes within 15 minutes
E2E-06
Payment match rate validation
Batch containing 10 invoices with known payment records
Payment Reconciliation Agent across full batch
At least 9 of 10 invoices (96% or above) correctly matched without manual intervention
Match rate 96% or above; any unmatched invoice has a corresponding alert and log entry
E2E-07
Audit trail completeness
Any invoice processed end-to-end in Phase 3
All three agents plus logging
Full audit trail recoverable: trigger timestamp, schedule record, send record, reconciliation record
Four sequential log entries retrievable by invoice_id for every processed invoice
All requirements below must be satisfied before the automation is switched to live production traffic. The developer and process owner independently confirm each row. Any requirement marked amber at sign-off must have a documented mitigation and acceptance note.
Requirement
Test IDs
Status
All Phase 1 unit test cases pass with zero blocking failures
U-CSA-01 to U-CSA-06, U-RSA-01 to U-RSA-05, U-PRA-01 to U-PRA-05
To confirm
All Phase 2 integration tests pass with no dropped events across 10 consecutive Xero webhook tests
I-01 to I-07
To confirm
All Phase 2 edge cases return defined fallback behaviour with no silent data loss
E-01 to E-07
To confirm
Phase 3 end-to-end batch of 10 to 15 invoices processes correctly with all expected outcomes met
E2E-01 to E2E-07
To confirm
Payment auto-match rate is 96% or above across the Phase 3 test batch
E2E-06
To confirm
Average days-to-reconcile target of 31 days confirmed achievable based on Phase 3 data
E2E-01, E2E-05
To confirm
Reminders sent on time in 100% of non-disputed, non-escalated test cases
U-RSA-01, I-01, I-06, E2E-01, E2E-05
To confirm
Disputed and sensitive account suppression confirmed: no automated reminder sent to flagged invoices
U-RSA-04, E-06
To confirm
Full audit trail recoverable by invoice_id for every invoice processed in Phase 3
U-RSA-05, U-PRA-05, I-07, E2E-07
To confirm
Idempotency confirmed: no duplicate reminders or reconciliations triggered by repeated events
U-CSA-06, E-05
To confirm
All amber Phase 2 edge cases reviewed with process owner and accepted or mitigated
E-01, E-02, E-04, E-06, E-07
To confirm
Reminder tone, timing, and escalation thresholds confirmed by process owner prior to go-live
U-CSA-01 to U-CSA-03, E-06
To confirm
Both signatories confirm that all go-live pass criteria in Section 05 have been reviewed, all test phases have been completed, and any accepted risks have been documented. Signing authorises the automation to process live invoice data.