Phase C · Application Architecture
Hero Screen — Interactive Mockup
SCR-PAY-001Payment Queue — Dual Authorization
agent:aib-operationsOperations Officer
Officer 2 due2026-06-11 11:14
4h escalation2026-06-11 13:14
SEPA Instant ceiling10s e2e
Pending authorization — BankG Art. 35 two-person gate
TxDirCounterpartyAmountRailAML ScreenInitiated ByStatus
SIM-TX-016OUTImmobilien Treuhand Zürich AGCHF 240’000SWIFT MT103clearedagent:aib-operationsawaiting 2nd auth
SIM-TX-017OUTRaiffeisen Bank AustriaEUR 75’000SWIFT MT103clearedagent:aib-rmawaiting 1st auth
SIM-TX-018OUTEuropäische Stiftung AGEUR 98’500SEPA Instantpendingagent:aib-operationsAML screen running
SIM-TX-019OUTBVI Bank InternationalEUR 250’000SEPAflaggedagent:aib-rmblocked — compliance
Selected payment — SIM-TX-016
Amount
CHF 240’000
Debit Account
SIM-A-002 · Anna Müller
Value Date
2026-06-11
Purpose
Property purchase escrow
Beneficiary IBAN
CH44 0076 2011 6238 5295 8
Beneficiary BIC
ZKBKCHZZ80A
Reference
MT103-2026-0611
AML Screen
cleared · SIM-SCR-021
SWIFT Trace (UETR)
97ed4827-7b6f-4491-a06f-b3f1d9c4e210
Travel Rule (TFR 2023/1113)
originator + beneficiary complete
Dual authorization
1st authorization: agent:aib-operations ✓ 2026-06-11 09:14signed
2nd authorization required — initiator ≠ authorizer (BankG Art. 35)your signature
System rejects auth_2_by = auth_1_by · SWIFT message generated only after both signatures
Simulation — mock data (SIM-*)Agents propose · humans dispose (P11)

SCR-PAY — Payments & Reconciliation Screens

Version: 1.0 · Date: 2026-06-11 · Owner: COO Related: PROC-008, PROC-009, aib-operations-service-api.md, aib-aml-service-api.md Primary agent(s): agent:aib-operations, agent:aib-aml · Human roles: Payments Officer (×2, dual control), Head of Operations, COO, FX / Treasury Officer, Treasurer

Function Overview

Payments & Reconciliation covers outbound/inbound payment processing with the two-person authorization gate (BankG Art. 35; PROC-008), SWIFT/ISO 20022 message tracing with gpi tracking, PSD2 strong customer authentication evidence, EU travel-rule data (TFR 2023/1113), nostro account reconciliation against MT940/MT950 statements, and break management with P1–P4 severity classification (PROC-009; migration 0002 recon_break). SEPA Instant obligations under EU Reg 2024/886 impose a 10-second hard ceiling on eligible EUR payments.

agent:aib-operations creates bank_transaction records, runs AML pre-screen via agent:aib-aml (large-amount, high-risk-jurisdiction, sanctions checks per SPG Art. 9), generates SWIFT messages after final authorization, ingests nostro statements, performs the daily auto-match, and classifies breaks. Humans hold the two authorization signatures — the gate the agent can never pass alone — plus break-resolution decisions, write-offs, and SSI validation. Agents propose, humans dispose (P11).

Transaction and message records are retained 10 years (SPG Art. 22; retain_until columns); nothing is hard-deleted.

Screen Map

SCR-PAY-001 — Payment Queue & Dual Authorization

Purpose: Work queue of payments awaiting authorization; enforces the two-person gate (Officer 1 ≠ Officer 2) before any SWIFT routing. Personas: Payments Officer 1 and 2 (authorizers), Head of Operations (timer escalations), COO (>8h escalations via CRO chain).

Data Sources

TableRole in screen
bank_transactionprimary record (amount, status, auth fields)
sca_eventclient-side SCA evidence for portal-initiated payments
sanctions_screen (via aml_screen_id)AML screen result lookup
travel_rule_messageoriginator/beneficiary data completeness
accountdebit account context and balance

CRUD Matrix

Tableagent:aib-operations (via API)Payments Officer (1 & 2)Head of Operations
bank_transactionC R U (create, screen, route)R U (authorize/reject)R U (timer escalation, cancel)
sca_eventC RRR
travel_rule_messageC R URR

(D never — SPG Art. 22 10-year retention via retain_until)

Key Flows

  1. Payment initiated (client portal / RM) → agent creates bank_transaction, computes amount_chf, sets dual_auth_required = 1 when amount ≥ auth_threshold_chf, and requests AML screening (PROC-008: >CHF 100k alert, high-risk jurisdiction, sanctions freeze).
  2. AML block → aml_status = 'blocked', status blocked; queue shows reason (aml_flag_reason); only Compliance can release (off-screen, SCR-AML domain).
  3. AML clear → status awaiting_dual_auth. Officer 1 reviews details + client relationship, approves (auth_1_by, auth_1_at). Officer 2 — enforced different user — gives final approval (auth_2_by, auth_2_at); status → processing and agent generates the SWIFT message (SCR-PAY-002).
  4. Timer: dual auth not complete within 4h → auto-escalation to Operations Manager; >8h → CRO (PROC-008). Resolution: extend or cancel.
  5. SEPA Instant lane: eligible EUR payments ≤ EUR 100,000 bypass the queue when below dual-auth threshold; hard 10s end-to-end (EU Reg 2024/886) — agent-only path, sampled post-hoc by Officer review.

States & Gates

  • bank_transaction.status: pending → awaiting_dual_auth → processing → completed; alternatives failed, reversed, blocked.
  • Gate: dual authorization (BankG Art. 35) — two distinct human signatures; system rejects auth_2_by = auth_1_by. Initiating RM can never be an authorizer.
  • Gate: AML screen must be cleared before any authorization button is enabled (aml_status in screen header).
  • SLA: Officer 1 within 2h, Officer 2 within 2h of Officer 1; total 4h (PROC-008).

Validation

  • tx_type CHECK in 17 values ('swift_mt103', 'swift_mt202', 'swift_mt202cov', 'sepa_credit_transfer', … 'cash_withdrawal'); direction in ('debit','credit').
  • aml_status CHECK in ('pending','cleared','flagged','blocked'); authorization blocked unless cleared.
  • dual_auth_required = 1 ⇒ both (auth_1_by,auth_1_at) and (auth_2_by,auth_2_at) set before processing; auth_2_by ≠ auth_1_by.
  • sca_event.authentication_method CHECK requires two-factor combinations ('knowledge_possession', 'knowledge_inherence', 'possession_inherence', 'knowledge_possession_inherence') for payment initiation unless exemption_applied ≠ 'no_exemption' (PSD2 SCA; tra_risk_score shown for 'transaction_risk_analysis' exemption).
  • travel_rule_message.originator_name, beneficiary_name NOT NULL; threshold_triggered = 1 for transfers ≥ EUR 1,000 (TFR 2023/1113 Art. 4–5).

SCR-PAY-002 — Transaction Detail (SWIFT Trace)

Purpose: Single-transaction drill-down: full payment record, SWIFT/ISO 20022 message chain with gpi status, recall handling, and audit trail. Personas: Payments Officer, Head of Operations, FX / Treasury Officer, Internal Audit (read-only).

Data Sources

TableRole in screen
bank_transactionprimary record
swift_message_logmessage chain (MT103/MT202/pacs.008), gpi tracking, recalls
sca_eventSCA evidence for the initiation
travel_rule_messagetransmitted originator/beneficiary payload
audit_logimmutable authorization and change trail

CRUD Matrix

Tableagent:aib-operations (via API)Payments OfficerHead of Operations
bank_transactionR U (status from ACK/gpi)RR U (reversal decision)
swift_message_logC R U (send, ACK, gpi update)RR U (initiate recall)
audit_logCRR

Key Flows

  1. After final authorization the agent generates the SWIFT message (message_type MT103 or ISO 20022 is_iso20022 = 1), logs it with uetr and end_to_end_reference, sends, and tracks delivery_status: sent → acknowledged; rejection captures rejection_reason.
  2. gpi-enabled messages stream tracking (gpi_status: processing → credited, gpi_credited_at); credited → agent sets bank_transaction.status = 'completed'.
  3. Recall: Head of Operations initiates (recall_flag = 1, recall_reason); agent sends recall message and records recall_outcome (accepted/rejected/pending); accepted recall → transaction reversed.
  4. Inbound messages (MT103 received, MT910 confirmations) are matched to expected credits; unmatched inbound flows to SCR-PAY-003 as a pending-credit item.

States & Gates

  • swift_message_log.delivery_status: sent → acknowledged | rejected; inbound: received → confirmed_credited; recall path recalled.
  • Gate: recall initiation is human-only (Head of Operations); the agent executes and records the outcome.
  • Reversals require a second sign-off mirroring the original dual-auth pair (different individuals from the original authorizers where staffing allows).

Validation

  • swift_message_log.delivery_status CHECK in ('sent','acknowledged','rejected','pending','received','confirmed_credited','recalled'); gpi_status in ('processing','credited','returned','cancelled').
  • UNIQUE (message_id, direction) — no duplicate message ingestion; sender_bic, receiver_bic NOT NULL.
  • recall_outcome CHECK in ('accepted','rejected','pending'); recall_reason required when recall_flag = 1.
  • retain_until NOT NULL on swift_message_log (10y); display countdown only, never a purge action.

SCR-PAY-003 — Nostro Reconciliation Workbench

Purpose: Daily reconciliation of nostro balances and statement lines against internal transactions; source of matched confirmations and detected breaks. Personas: FX / Treasury Officer, Head of Operations, Treasurer (balance limits).

Data Sources

TableRole in screen
nostro_accountaccount register (correspondent, currency, purpose, limits)
nostro_balancedaily statement balances (MT940/MT950)
nostro_reconciliationreconciliation items per run
bank_transactioninternal side of the match (internal_ref)
recon_breakclassified breaks raised from unmatched items

CRUD Matrix

Tableagent:aib-operations (via API)FX / Treasury OfficerHead of Operations
nostro_accountRR U (limits proposal)R U (open/close approval)
nostro_balanceC R U (ingest, match)RR
nostro_reconciliationC R U (auto-match)R U (manual match, resolve)R U (escalate)
recon_breakC R (classify)RR

Key Flows

  1. Overnight: agent ingests MT940/MT950 per nostro (nostro_balance.source), then auto-matches statement lines to bank_transaction by reference, amount, value date; matched balance rows get matched_to_internal = 1, matched_at.
  2. Unmatched items become nostro_reconciliation rows typed break, pending_credit, pending_debit, unidentified or timing_difference; unreconciled_count rolls up to the balance row.
  3. Agent classifies each open break into recon_break with P1–P4 severity (SCR-PAY-004 for workflow).
  4. FX / Treasury Officer performs manual matches (links internal_ref ↔ bank_ref), marks resolved with notes; days_outstanding ages automatically.
  5. KPI strip: 99.5% match within 24h (operations API SLA); balances outside min_operating_balance/max_balance corridor flagged to Treasurer.

States & Gates

  • nostro_reconciliation.status: open → matched | resolved | escalated | written_off.
  • Gate: written_off requires Head of Operations approval with resolution_notes; agents cannot write off.
  • Gate: nostro account opening/closing is human-approved (COO line); agent has read-only on nostro_account.
  • SLA: daily reconciliation complete before 10:00 (PROC-009); items open >5 business days auto-escalate.

Validation

  • nostro_balance.source CHECK in ('mt940','mt950','manual','swift_api'); UNIQUE (nostro_account_id, balance_date) — one statement per day.
  • nostro_reconciliation.item_type CHECK in ('break','pending_credit','pending_debit','unidentified','timing_difference'); amount, currency NOT NULL.
  • nostro_account.account_purpose CHECK in ('payments','securities','fx','collateral','margin'); bic_swift NOT NULL.
  • Opening/closing balance continuity: opening_balance must equal the prior day's closing_balance — discontinuity raises a P1 break.

SCR-PAY-004 — Recon Break Manager

Purpose: Severity-driven break workflow (P1–P4) with SLA-breach flagging and resolution audit; the newest control layer (migration 0002). Personas: Head of Operations (P1/P2), FX / Treasury Officer (P4), Operations staff (P3), COO (SLA breaches).

Data Sources

TableRole in screen
recon_breakprimary record (severity, SLA, resolution)
nostro_reconciliationparent recon run/item (recon_run_id)
nostro_accountaccount context (account_id)
bank_transactioncandidate internal matches

CRUD Matrix

Tableagent:aib-operations (via API)Head of OperationsFX / Treasury Officer
recon_breakC R U (detect, classify, SLA flag)R U (resolve P1/P2, write off)R U (resolve P4)
nostro_reconciliationR U (sync status)RR

Key Flows

  1. Agent classifies every unmatched item: P1_HARD (no counterpart in any system — immediate escalation), P2_SOFT (amount difference within tolerance — ops investigation), P3_TIMING (date mismatch ≤ T+2 — standard review), P4_FX (FX conversion variance within rate tolerance — treasury review). Classification rationale lands in description.
  2. P1 breaks page Head of Operations immediately (escalated_to, escalation_at); all other severities enter the worklist sorted by age and amount.
  3. Resolver records outcome: MATCHED (late counterpart found), REVERSED, ESCALATED, or WRITTEN_OFF (Head of Operations only) with resolution_note; resolved_at stamps closure.
  4. Agent monitors per-severity SLA clocks and sets breach_sla = 1 on expiry (P1: same day; P2: 2 business days; P3: T+2; P4: 5 business days); breached items roll up to a COO daily digest and the break-rate alert (>1% → Head of Ops + CRO, PROC-009).

States & Gates

  • Implicit lifecycle: detected (detected_at) → optionally escalated → resolved (resolved_at + resolution_type). Open = resolved_at IS NULL.
  • Gate: WRITTEN_OFF restricted to Head of Operations; amounts above the ops write-off mandate route to COO.
  • Gate: SLA-breach flag is agent-set, never human-cleared — it stays on the record for audit even after resolution.

Validation

  • break_type CHECK in ('P1_HARD','P2_SOFT','P3_TIMING','P4_FX') — schema-enforced severity taxonomy.
  • currency CHECK length(currency) = 3 (ISO 4217); amount NOT NULL.
  • resolution_type CHECK in ('MATCHED','WRITTEN_OFF','ESCALATED','REVERSED', NULL); setting it requires resolved_at.
  • recon_run_id NOT NULL REFERENCES nostro_reconciliation(id) — every break traces to a reconciliation run; breach_sla tri-state (NULL = clock running, 0 = met, 1 = breached).

SCR-PAY-005 — SSI Register

Purpose: Register of standing settlement instructions per counterparty/asset class/currency with validation status and supersession history; reduces settlement fails from stale instructions. Personas: Settlement & Custody Officer (maintenance proposals), Head of Operations (validation), FX / Treasury Officer.

Data Sources

TableRole in screen
standing_settlement_instructionprimary record
counterpartycounterparty master data
settlementfails attributable to SSI issues (linkage view)
recon_breakbreaks with SSI root cause

CRUD Matrix

Tableagent:aib-operations (via API)Settlement & Custody OfficerHead of Operations
standing_settlement_instructionC R U (draft, confirm-cycle flags)R U (propose change)R U (validate, activate, suspend)
counterpartyRRR

Key Flows

  1. New/changed SSI arrives (counterparty notice, SWIFT bi-lateral confirmation) → agent drafts the record as pending_validation with custodian/sub-custodian/cash-correspondent legs.
  2. Head of Operations validates against an independent confirmation channel (confirmation_method), sets validated_by/validated_at, activates. Changes never edit in place: new row supersedes old (superseded_by_ssi_id), old row → superseded with effective_until.
  3. Agent runs an annual re-confirmation cycle (last_confirmed_with_counterparty); unconfirmed >12 months → review task; suspicious change patterns (e.g. cash account change without custodian change) auto-suspend pending callback verification.
  4. Settlement fails (SCR-TRD-003) and recon breaks with instruction root cause deep-link here for correction.

States & Gates

  • status: pending_validation → active → superseded | suspended.
  • Gate: activation requires human validation via an out-of-band channel — defense against SSI-fraud/business-email-compromise; agent drafting alone can never activate.
  • Gate: a suspended SSI blocks new settlement instructions to that counterparty/asset-class/currency until re-validated.

Validation

  • asset_class CHECK in ('equities','fixed_income','money_market','fx','derivatives','mutual_funds','cash','all'); settlement_location NOT NULL (SIX/EUROCLEAR/CLEARSTREAM/DTC/CREST per column comment).
  • custodian_bic, custodian_name, account_at_custodian NOT NULL.
  • confirmation_method CHECK in ('swift_bi_confirmation','phone_email_written','electronic_platform','not_confirmed'); 'not_confirmed' blocks activation.
  • UNIQUE (counterparty_id, asset_class, currency, settlement_location, effective_from) — no overlapping live instructions; dvp_flag default 1 (free-of-payment requires explicit override + note).

Access Control Notes

  • Strict segregation: payment initiator (RM/client) ≠ Officer 1 ≠ Officer 2; system-enforced on auth_1_by/auth_2_by. Payments Officers cannot edit SSIs; SSI validators cannot authorize payments against an SSI they validated the same day (cooling-off rule).
  • agent:aib-operations is approval-gated for payments (agent register: "sensitive actions (payments…) need explicit human sign-off + dual control") — it can stage everything but signatures.
  • FX / Treasury Officer: workbench + P4 breaks; no payment authorization. Head of Operations: full operational scope incl. write-offs; COO sees escalations and SLA digests.
  • Internal Audit: read-only on all five screens; audit_log append-only for everyone.

Cross-References

  • Processes: PROC-008 (payment & dual authorization), PROC-009 (settlement reconciliation & exception handling)
  • Service APIs: aib-operations-service-api, aib-aml-service-api (transaction screening), aib-identity-service-api (account lookup)
  • Governance: aib-recon-control-layer.md; data ownership: aib-data-ownership-matrix.md (bank_transaction, nostro_*: aib-operations R/A, 10y)

References

Referenced by