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

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 ₹1.10 + GST ₹0.20; the settlement deducted fee ₹1.10 + GST ₹11.34.

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

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

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_DhEGXxJin76xiC
order id
order_ZvqQJH8rSfSKKc
amount
₹63.00
method
upi
status
captured
captured at
2026-10-13T19:15:06+05:30
Settlement itemsitm_0002940
settlement id
setl_8UkoELBoD6vWdn
entity type
payment
entity id
pay_DhEGXxJin76xiC
gross
₹63.00
fee
₹1.10
gst
₹11.34
net
₹50.56
Settlementsetl_8UkoELBoD6vWdn
utr
SBINN26287993118
amount
₹79,959.85
settled at
2026-10-14
created at
2026-10-14T09:05:00+05:30
item count
20
fee total
₹1,429.60
gst total
₹268.47

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": 110,
    "fee_inr": "₹1.10",
    "gst_paise": 20,
    "gst_inr": "₹0.20"
  },
  "actual": {
    "fee_paise": 110,
    "fee_inr": "₹1.10",
    "gst_paise": 1134,
    "gst_inr": "₹11.34",
    "net_paise": 5056,
    "net_inr": "₹50.56"
  },
  "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=4bec8399-a87d-418c-97fb-253ecdb95da8 · source=deterministic_fallback · fallback_reason=no_provider · total_paise=1114