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.22. Rule stage1.fee_and_gst_on_fee; 3 record(s).
₹176.22Amount at riskopen13 Oct 2026payment pay_avwCigNuHHQWOY

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 ₹19.98 + GST ₹3.60; the settlement deducted fee ₹19.98 + 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_avwCigNuHHQWOY, recoverable from Gateway

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

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_avwCigNuHHQWOY
order id
order_3EAEUZeEum7iqm
amount
₹999.00
method
card
status
captured
captured at
2026-10-11T23:21:27+05:30
Settlement itemsitm_0002743
settlement id
setl_f5ouEMOPDnFCc5
entity type
payment
entity id
pay_avwCigNuHHQWOY
gross
₹999.00
fee
₹19.98
gst
₹179.82
net
₹799.20
Settlementsetl_f5ouEMOPDnFCc5
utr
AXISN26286045671
amount
₹42,795.90
settled at
2026-10-13
created at
2026-10-13T09:04:00+05:30
item count
17
fee total
₹880.22
gst total
₹334.69

Rule trace

The deterministic rule that fired and what it saw.

{
  "rule": "stage1.fee_and_gst_on_fee",
  "fee_bps": 200,
  "gst_bps": 1800,
  "expected": {
    "fee_paise": 1998,
    "fee_inr": "₹19.98",
    "gst_paise": 360,
    "gst_inr": "₹3.60"
  },
  "actual": {
    "fee_paise": 1998,
    "fee_inr": "₹19.98",
    "gst_paise": 17982,
    "gst_inr": "₹179.82",
    "net_paise": 79920,
    "net_inr": "₹799.20"
  },
  "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=5ef55c11-025d-4449-a541-a222d96a76e7 · source=deterministic_fallback · fallback_reason=no_provider · total_paise=17622