Module 5 / 7Illustrative entries
Audit trail.
Every recon decision, every IMS state transition, every IRN generation writes here immutably with before/after state and the rules that fired. Below: five illustrative entries showing the shape of an audit-pack.
- match_resultauto_matched· by system13 Sept 2026, 11:03:51 amAuto-accepted: PR 'INV-2024-25-001' matched 2B 'inv202425001' after normalization (95% confidence).Before
{ "status": "pending" }After{ "status": "matched", "match_type": "normalized", "confidence": 95 }Rules fired{ "tier": "normalized", "invoice_no_normalized": "inv202425001", "reason": "leading-zero-stripping" }entity_id 550e8400-e29b-41d4-a716-446655440001 - match_resultdecided· by demo-operator13 Sept 2026, 12:33:51 pmOperator accept via bulk action (₹0.50 rounding tolerance).Before
{ "human_decision": null, "decided_at": null }After{ "human_decision": "accept", "decided_at": "2026-09-13T12:33:51.603Z" }Rules fired{ "match_type": "tolerance", "confidence": 85, "mismatch_categories": [ "amount_rounding" ] }entity_id 550e8400-e29b-41d4-a716-446655440002 - invoice_2bims_state_change· by demo-operator13 Sept 2026, 12:43:51 pmBulk accept on 1,247 invoices.Before
{ "state": "pending" }After{ "state": "accepted", "acted_at": "2026-09-13T12:43:51.603Z" }Rules fired{ "dry_run": false, "reason_code": "bulk_action" }entity_id 550e8400-e29b-41d4-a716-446655440003 - match_resultdecided· by demo-operator13 Sept 2026, 12:48:51 pmOperator dispute: no 2B candidate after multi-month lookback; supplier chase initiated.Before
{ "human_decision": null }After{ "human_decision": "dispute" }Rules fired{ "match_type": "unmatched", "supplier_gstin": "29ABBCS1234A1Z5", "money_at_risk": 18000 }entity_id 550e8400-e29b-41d4-a716-446655440004 - e_invoiceirn_generated· by system13 Sept 2026, 12:53:51 pmIRN generated; 24-hour cancellation window opened.After
{ "irn": "9b1c4e9a76d8b3...truncated", "status": "generated" }Rules fired{ "irp": "mock", "invoice_no": "INV-DEMO-001", "invoice_amount": 59000 }entity_id 550e8400-e29b-41d4-a716-446655440005