Synthetic demo data · Read-only · Run the full agent with approvals locally: npx closeloop-mcp
← Exception queue

Refund mismatch

Refund deducted at the wrong amount (open), ₹181.69. Rule stage1.refund_deduction_equals_refund; 4 record(s).
₹181.69Amount at riskopen8 Oct 2026refund rfnd_4GIjDFtYPrkzwu

Explanation

Generated from the read-only evidence below. It never changes a match or a record.

Deterministic template · LLM not used

The settlement deducted a different amount than the refund issued

Refund of ₹1,525.66 was deducted as ₹1,707.35.

Recommended action

Reconcile the refund with the gateway's refund report and book the difference.

Requires human reviewConfidence 60%· Cites 4 evidence ids, all verified to be in the bundle

Draft correcting entry

Refund over-deducted for rfnd_4GIjDFtYPrkzwu, recoverable

Pending approval · never auto-posted
AccountDebitCredit
Receivable from Gateway₹181.69
Gateway Settlement Clearing₹181.69
Total₹181.69₹181.69

Amounts come from the deterministic engine and always balance. Drafts are stored as pending_approval and are never posted to the ledger.

Evidence records

Read-only source records involved in this exception.

Refundrfnd_4GIjDFtYPrkzwu
payment id
pay_i0xcQecF6m9Eb4
amount
₹1,525.66
created at
2026-10-07T14:30:50+05:30
Paymentpay_i0xcQecF6m9Eb4
order id
order_QijO3o6mA73G2g
amount
₹2,009.00
method
upi
status
captured
captured at
2026-10-06T20:31:56+05:30
Settlement itemsitm_0002185
settlement id
setl_lwiK15tJ8PsXnJ
entity type
refund
entity id
rfnd_4GIjDFtYPrkzwu
gross
-₹1,707.35
fee
₹0.00
gst
₹0.00
net
-₹1,707.35
Settlementsetl_lwiK15tJ8PsXnJ
utr
AXISN26281911508
amount
₹1,09,683.62
settled at
2026-10-08
created at
2026-10-08T09:03:00+05:30
item count
21
fee total
₹1,996.41
gst total
₹359.34

Rule trace

The deterministic rule that fired and what it saw.

{
  "rule": "stage1.refund_deduction_equals_refund",
  "refund_paise": 152566,
  "refund_inr": "₹1,525.66",
  "deducted_paise": 170735,
  "deducted_inr": "₹1,707.35",
  "delta_paise": 18169,
  "delta_inr": "₹181.69"
}

Audit history

Append-only. Actor: system, llm or human.

  1. systeminvestigation

    source=deterministic_fallback · fallback_reason=no_provider · review_policy_applied=false

  2. systemjournal draft

    exception_id=63cbf7a9-8183-42a7-bd6c-eefadf4738a0 · source=deterministic_fallback · fallback_reason=no_provider · total_paise=18169