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

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 ₹28.48 + GST ₹5.13; the settlement deducted fee ₹28.48 + GST ₹269.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_dyucipxmg8ZdAU, recoverable from Gateway

Pending approval · never auto-posted
AccountDebitCredit
Receivable from Gateway₹264.69
GST Input Credit₹264.69
Total₹264.69₹264.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.

Paymentpay_dyucipxmg8ZdAU
order id
order_3Fmk2C8gIKjsXu
amount
₹1,499.00
method
wallet
status
captured
captured at
2026-10-19T08:21:31+05:30
Settlement itemsitm_0003701
settlement id
setl_wC0Tt3xJZZSSYI
entity type
payment
entity id
pay_dyucipxmg8ZdAU
gross
₹1,499.00
fee
₹28.48
gst
₹269.82
net
₹1,200.70
Settlementsetl_wC0Tt3xJZZSSYI
utr
ICICN26294071586
amount
₹44,868.47
settled at
2026-10-21
created at
2026-10-21T09:11:00+05:30
item count
20
fee total
₹877.22
gst total
₹422.59

Rule trace

The deterministic rule that fired and what it saw.

{
  "rule": "stage1.fee_and_gst_on_fee",
  "fee_bps": 190,
  "gst_bps": 1800,
  "expected": {
    "fee_paise": 2848,
    "fee_inr": "₹28.48",
    "gst_paise": 513,
    "gst_inr": "₹5.13"
  },
  "actual": {
    "fee_paise": 2848,
    "fee_inr": "₹28.48",
    "gst_paise": 26982,
    "gst_inr": "₹269.82",
    "net_paise": 120070,
    "net_inr": "₹1,200.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=d7917c7f-3ae3-4b02-8c03-5d4dc37635b8 · source=deterministic_fallback · fallback_reason=no_provider · total_paise=26469