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), ₹105.41. Rule stage1.fee_and_gst_on_fee; 3 record(s).
₹105.41Amount at riskopen5 Oct 2026payment pay_lYX9gAKnk0tHxW

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 ₹10.43 + GST ₹1.88; the settlement deducted fee ₹10.43 + GST ₹107.29.

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_lYX9gAKnk0tHxW, recoverable from Gateway

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

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_lYX9gAKnk0tHxW
order id
order_OXL2EZq3eo7zpE
amount
₹596.06
method
upi
status
captured
captured at
2026-10-04T12:18:13+05:30
Settlement itemsitm_0001787
settlement id
setl_JGmppk1JeitHZ1
entity type
payment
entity id
pay_lYX9gAKnk0tHxW
gross
₹596.06
fee
₹10.43
gst
₹107.29
net
₹478.34
Settlementsetl_JGmppk1JeitHZ1
utr
HDFCN26278640936
amount
₹81,664.92
settled at
2026-10-05
created at
2026-10-05T09:08:00+05:30
item count
18
fee total
₹1,461.17
gst total
₹368.43

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": 1043,
    "fee_inr": "₹10.43",
    "gst_paise": 188,
    "gst_inr": "₹1.88"
  },
  "actual": {
    "fee_paise": 1043,
    "fee_inr": "₹10.43",
    "gst_paise": 10729,
    "gst_inr": "₹107.29",
    "net_paise": 47834,
    "net_inr": "₹478.34"
  },
  "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=d40c4e44-aeb9-4941-9c21-1be8997d320a · source=deterministic_fallback · fallback_reason=no_provider · total_paise=10541