screen_journals
Apply anomaly-detection rules to journal entries, rank them by risk score, and return the highest-risk items for human review.
Instructions
仕訳データに全ルールを適用し、リスクスコアの高い順に並べ替えて返す。先に人間が見るべき束を絞り込むための一次スクリーニング。検出は不正の証拠ではない。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | 上位何件を返すか。既定は 50。 | |
| options | No | スクリーニングの前提条件。監査対象の実態に合わせて渡す。 | |
| journals | Yes | 仕訳の配列。簡易形 { date, debit_account, credit_account, amount } か、明細形 { date, lines: [{ account, debit, credit }] } のどちらでも受ける。 |