CommunityCoding & Developmentgithub.com

parinshahAIbuilder/india-finance-agent-skills

Scan a full general ledger or day book export (Tally, SAP, Oracle, Zoho, Busy, or any ERP) for the journal-entry red flags that auditors test under SA 240 / ISA 240 and SA 330, and that Section 143(3)(i) internal financial control reviews look for. Flags entries posted on weekends, holidays or after hours; round amounts; just-below-approval-limit amounts; manual entries to revenue, cash or suspense; unusual account pairings; entries by unexpected or senior users; back-dated or post-close entries; reversals right after period end; duplicate entries; Benford's-law anomalies; and entries with missing or one-word narrations. Scores every entry, ranks the riskiest, and returns a sample with selection rationale. Ends with a LOW / ELEVATED / HIGH risk verdict. Use whenever the user mentions JE testing, journal entry testing, management override, fraud risk, ledger scrutiny, day book review, CARO / IFC testing, or "check the ledger for anything unusual", even if no standard is named.

What is india-finance-agent-skills?

india-finance-agent-skills is a Claude Code agent skill that scan a full general ledger or day book export (Tally, SAP, Oracle, Zoho, Busy, or any ERP) for the journal-entry red flags that auditors test under SA 240 / ISA 240 and SA 330, and that Section 143(3)(i) internal financial control reviews look for. Flags entries posted on weekends, holidays or after hours; round amounts; just-below-approval-limit amounts; manual entries to revenue, cash or suspense; unusual account pairings; entries by unexpected or senior users; back-dated or post-close entries; reversals right after period end; duplicate entries; Benford's-law anomalies; and entries with missing or one-word narrations. Scores every entry, ranks the riskiest, and returns a sample with selection rationale. Ends with a LOW / ELEVATED / HIGH risk verdict. Use whenever the user mentions JE testing, journal entry testing, management override, fraud risk, ledger scrutiny, day book review, CARO / IFC testing, or "check the ledger for anything unusual", even if no standard is named.

Works with~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/parinshahAIbuilder/india-finance-agent-skills/tree/HEAD/journal-entry-red-flag-scanner

Installed? Explore more Coding & Development skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

Journal Entry Red-Flag Scanner

You are the audit senior running the journal entry tests that respond to the presumed risk of management override. Your job: score every entry against objective red flags, rank them, and hand over a sample a reviewer can defend, with the reason each one was picked.

Status line (always first)

VERDICT: <LOW | ELEVATED | HIGH> | Entries <n> | Flagged <n> (<x%>) | High-score <n> | Value of high-score ₹<y> | Period <from–to>

  • LOW: high-score entries < 0.5% of the count and none above materiality.
  • ELEVATED: high-score entries 0.5–2%, or any above the performance materiality.
  • HIGH: > 2%, or any entry combining three or more of the critical flags (marked ★ below).

Inputs

Required: the GL/day book with voucher no, voucher type, date, ledger, Dr/Cr amount, narration. Strongly recommended: the user who created/approved the entry, the entry timestamp, and the posting vs document date. Optional: the holiday list for the state, the approval-limit matrix, the list of authorised users per voucher type, the period-close date, materiality and performance materiality, the chart of accounts with groups.

Completeness first: the sum of Dr = the sum of Cr for the whole file and for every voucher. Roll forward the opening TB + the GL movements = the closing TB if the TBs are supplied. If the file is incomplete, everything that follows is incomplete. Say so in the verdict.

Red flags and weights

FlagTestWeight
★ Manual to revenue / cash / bank / suspenseJournal voucher (not sales/receipt/payment) touching these groups3
★ Post-close / back-datedPosted after the close date for an earlier period, or posting date − document date > 30 days3
★ Unusual pairingAccount pairs that are rare in this ledger (< 0.1% of the vouchers), e.g. Revenue ↔ Loans, Cash ↔ Capital, Expense ↔ Revenue3
★ Senior / unexpected userCreated by a director, CFO, admin or a user who rarely posts this voucher type3
Weekend / holiday / after hoursDate on a Sunday or a listed holiday; time outside 08:00–20:002
Round amountEnds in 000 and ≥ ₹1 lakh, or ends in 000001
Just-below-limitWithin 5% below an approval threshold2
Period-end reversalReversed within 10 days after the period end2
DuplicateSame amount + ledger + narration within 7 days, or the same reference twice2
Weak narrationBlank, < 3 words, or generic ("adj", "being entry passed", "rectification")1
Large vs normAmount > 3 SD above that ledger's mean, or > performance materiality2
BenfordFirst-digit test per account with ≥ 500 entries; the digits that drive a significant deviation are flagged1

Score = sum of the weights. High-score = score ≥ 6 or any two ★. Let the user change the weights and thresholds; print the ones used.

Sample selection

  • Targeted: all high-score entries above the performance materiality.
  • Risk-ranked: the next highest scores until the sample size the user wants (default 25) is reached.
  • Unpredictable: 3 random entries from the unflagged population, with the random seed printed for reproducibility. For each one, record the flags hit and a one-line "why selected".

Output

  1. Excel workbook JE_Scan_<Entity>_<period>.xlsx, formulas live:
    • Summary: verdict, completeness check, flag counts, value by flag, weights used.
    • Scored_Entries: every voucher with the flags as 0/1 columns, score, and source row. Filterable.
    • Sample: the selected entries, why selected, and blank columns for the tester (Support seen, Approved by, Business rationale, Conclusion).
    • Pairings: the account-pair frequency table.
    • Users: entries by user × voucher type.
    • Benford: observed vs expected first-digit %, with the deviation statistic.
    • Timeline: entries by day, highlighting the weekend and post-close spikes.
  2. Chat summary: status line, the top 15 entries by score with their flags, and the 3 patterns worth a conversation with management.

Final pass

  • Completeness checks passed (or failed, and stated).
  • Recompute the score for 5 random entries.
  • Confirm that the sample has no duplicates and that the seed reproduces the random picks.
  • Confirm that the weights printed equal the weights applied.

Cannot verify

  • Business rationale and support: the scanner finds entries, and the tester must vouch them.
  • User roles if no user master was supplied.
  • Holidays if no holiday list was supplied (only Sundays were tested).

Limits

A flag is not evidence of fraud. It is a reason to look. The scanner supports the auditor's judgement and does not replace it. The skill reads only the attached files.

Individual skills in this repo

This repo contains 4 individual skills — each has its own dedicated page.

parinshahAIbuilder/india-finance-agent-skills

Reconcile a bank book (Tally, SAP, Zoho, Busy or any ERP ledger export) against the bank statement (PDF, Excel or CSV from any Indian or international bank) and produce a classic Bank Reconciliation Statement, matched and unmatched items, cheques issued not presented, deposits not credited, bank charges, interest, NACH/ECS/UPI/NEFT items not in the books, duplicate entries, stale cheques over three months, and suggested journal entries. Ends with a RECONCILED / RECONCILED-WITH-ITEMS / DOES-NOT-CLOSE verdict. Use whenever the user mentions BRS, bank reconciliation, bank book vs statement, unreconciled entries, month-end bank tie-out, or "why doesn't my bank balance match", even if the bank is not named.

parinshahAIbuilder/india-finance-agent-skills

Turn a budget file and an actuals file (GL, trial balance or MIS, single entity or branch-wise / cost-centre-wise / region-wise) into a Budget vs Actual pack, with month and year-to-date variances, favourable/adverse flags that respect the sign of revenue vs cost, price/volume/mix splits where units are given, a full-year re-forecast, and management commentary that explains each material variance in one or two plain-English sentences backed by the numbers. Ends with an ON-TRACK / WATCH / ACTION-NEEDED verdict per branch and overall. Use whenever the user mentions budget vs actual, BvA, variance analysis, MIS commentary, branch-wise performance, cost-centre review, re-forecast, or "why are we over budget", even if no template is given.

parinshahAIbuilder/india-finance-agent-skills

Reconcile an Indian purchase register (Tally, SAP, Zoho, Busy or any ERP export) against GSTR-2B / IMS downloads and return matched, mismatched, missing-in-2B and missing-in-books invoices, the ITC at risk in rupees, Rule 37 / 37A / Section 16(4) / Section 17(5) exposure, and vendor follow-up emails. Ends with a CLAIM / CLAIM-WITH-HOLD / DO-NOT-FILE verdict for the GSTR-3B. Use whenever the user mentions GSTR-2B, 2A, IMS, ITC reconciliation, input tax credit mismatch, purchase register vs GST portal, vendor not filed GSTR-1, or "how much ITC can I claim this month", even if no rule is named.

parinshahAIbuilder/india-finance-agent-skills

Test an Indian company's trade payables and vendor payments against the MSMED Act 2006 payment deadlines (15 days, or up to 45 days by written agreement) and Section 43B(h) of the Income-tax Act. Returns overdue micro and small enterprise dues, the 43B(h) disallowance at year end, Section 16 compound interest (three times the RBI bank rate), the Schedule III / Section 22 MSME disclosure note, payables ageing in the Schedule III format, MSME Form 1 data, and a payment-priority list. Ends with a SAFE / PAY-BEFORE-31-MARCH / DISALLOWANCE verdict. Use whenever the user mentions MSME payables, 43B(h), Udyam vendors, 45-day rule, MSME interest, MSME Form 1, MSME disclosure in financial statements, or trade payables ageing, even if no section is named.

Related Skills