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

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 ₹13.41 + GST ₹2.41; the settlement deducted fee ₹13.41 + GST ₹137.88.

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

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

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_lXV2LdR23Za4xu
order id
order_YqXtF1VhdBwAcd
amount
₹766.00
method
upi
status
captured
captured at
2026-10-14T15:57:18+05:30
Settlement itemsitm_0003056
settlement id
setl_71z5tCwhQcjdHA
entity type
payment
entity id
pay_lXV2LdR23Za4xu
gross
₹766.00
fee
₹13.41
gst
₹137.88
net
₹614.71
Settlementsetl_71z5tCwhQcjdHA
utr
ICICN26288409381
amount
₹1,27,987.62
settled at
2026-10-15
created at
2026-10-15T09:05:00+05:30
item count
20
fee total
₹2,289.45
gst total
₹547.58

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": 1341,
    "fee_inr": "₹13.41",
    "gst_paise": 241,
    "gst_inr": "₹2.41"
  },
  "actual": {
    "fee_paise": 1341,
    "fee_inr": "₹13.41",
    "gst_paise": 13788,
    "gst_inr": "₹137.88",
    "net_paise": 61471,
    "net_inr": "₹614.71"
  },
  "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=0b1a78de-c3af-423e-95bc-d7a4c839e038 · source=deterministic_fallback · fallback_reason=no_provider · total_paise=13547