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

Fee / GST mismatch

Gateway fee/GST deducted incorrectly (open), ₹176.67. Rule stage1.fee_and_gst_on_fee; 3 record(s).
₹176.67Amount at riskopen27 Oct 2026payment pay_4z97QGOOqWSol6

Explanation

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

Deterministic template · LLM not used

GST was computed on the payment amount instead of on the gateway fee

Expected fee ₹17.48 + GST ₹3.15; the settlement deducted fee ₹17.48 + GST ₹179.82.

Recommended action

Raise the over-deduction with the gateway and book a receivable for the excess.

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

Draft correcting entry

Excess gateway fee/GST deducted for pay_4z97QGOOqWSol6, recoverable from Gateway

Pending approval · never auto-posted
AccountDebitCredit
Receivable from Gateway₹176.67
GST Input Credit₹176.67
Total₹176.67₹176.67

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.

Paymentpay_4z97QGOOqWSol6
order id
order_zTv0kJ0EJQwP0Z
amount
₹999.00
method
upi
status
captured
captured at
2026-10-26T22:28:12+05:30
Settlement itemsitm_0004409
settlement id
setl_q4zTptb28Q6zAh
entity type
payment
entity id
pay_4z97QGOOqWSol6
gross
₹999.00
fee
₹17.48
gst
₹179.82
net
₹801.70
Settlementsetl_q4zTptb28Q6zAh
utr
AXISN26300707094
amount
₹97,136.78
settled at
2026-10-27
created at
2026-10-27T09:09:00+05:30
item count
15
fee total
₹1,738.91
gst total
₹489.68

Rule trace

The deterministic rule that fired and what it saw.

{
  "rule": "stage1.fee_and_gst_on_fee",
  "fee_bps": 175,
  "gst_bps": 1800,
  "expected": {
    "fee_paise": 1748,
    "fee_inr": "₹17.48",
    "gst_paise": 315,
    "gst_inr": "₹3.15"
  },
  "actual": {
    "fee_paise": 1748,
    "fee_inr": "₹17.48",
    "gst_paise": 17982,
    "gst_inr": "₹179.82",
    "net_paise": 80170,
    "net_inr": "₹801.70"
  },
  "gst_matches_wrong_base": true,
  "arithmetic_ok": true
}

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=7be6ba6d-bd6e-4d74-a196-78d48de4b951 · source=deterministic_fallback · fallback_reason=no_provider · total_paise=17667