FinAgent
Collection
Financial document reasoning: extraction to credit analysis • 2 items • Updated
id stringlengths 8 8 | case_id stringlengths 47 47 | pdf_gcs_uris listlengths 1 18 | pdf_filenames listlengths 1 18 | pdf_file_ids listlengths 1 18 | extraction_ground_truth stringlengths 6.15k 2.14M | categorization_ground_truth stringlengths 7.65k 2.64M | description stringlengths 17 34 | case_type stringclasses 2
values | gt_status stringclasses 1
value |
|---|---|---|---|---|---|---|---|---|---|
case-000 | 1707727847_768bb51c-b778-4970-a236-3ab2d1235f5b | [
"gs://credit-environment/1707727847_768bb51c-b778-4970-a236-3ab2d1235f5b/pdfs/77a9d6fc-e106-4226-bd99-0707077e8f10.pdf"
] | [
"77a9d6fc-e106-4226-bd99-0707077e8f10.pdf"
] | [
"77a9d6fc-e106-4226-bd99-0707077e8f10"
] | {"77a9d6fc-e106-4226-bd99-0707077e8f10": {"transactions": [{"id": 1, "txnDate": "2023-07-12T00:00:00.000+05:30", "narration": "TO TRANSFER- COMM ON LOAN PROCESSING-", "balance": -5900, "amt": -5900}, {"id": 2, "txnDate": "2023-07-13T00:00:00.000+05:30", "narration": "TO TRANSFER- INB Deposits and Investments-", "balanc... | {"transactions": {"77a9d6fc-e106-4226-bd99-0707077e8f10-3": {"counterparty": "neft vignesh", "counterparty_group": "vignesh", "txn_type": "bank to bank debit", "confidence": 100, "label_source": "auto"}, "77a9d6fc-e106-4226-bd99-0707077e8f10-38": {"counterparty": "xxxxxxx cic", "counterparty_group": "xxxxxxx", "txn_typ... | SBI CC - 1 PDF - 40 txns | Business Case | clean |
case-001 | 1698750648_5853fe9f-89bd-46e5-a4c7-f287fa598087 | [
"gs://credit-environment/1698750648_5853fe9f-89bd-46e5-a4c7-f287fa598087/pdfs/23af36e3-c7f0-4bc8-a7af-a21de966ae57.pdf"
] | [
"23af36e3-c7f0-4bc8-a7af-a21de966ae57.pdf"
] | [
"23af36e3-c7f0-4bc8-a7af-a21de966ae57"
] | {"23af36e3-c7f0-4bc8-a7af-a21de966ae57": {"transactions": [{"id": 1, "txnDate": "2023-06-30T00:00:00.000+05:30", "narration": "CREDIT INTEREST", "balance": 31.67, "amt": 9}, {"id": 2, "txnDate": "2023-07-11T00:00:00.000+05:30", "narration": "CREDIT JUNE SALARY", "balance": 27860.67, "amt": 27829}, {"id": 3, "txnDate": ... | {"transactions": {"23af36e3-c7f0-4bc8-a7af-a21de966ae57-26": {"counterparty": "debit", "counterparty_group": "debit", "txn_type": "meals", "confidence": 20, "label_source": "auto"}, "23af36e3-c7f0-4bc8-a7af-a21de966ae57-41": {"counterparty": "transfe", "counterparty_group": "transfe", "txn_type": "trial credit", "confi... | Indian Bank - 1 PDF - 44 txns | Business Case | clean |
case-002 | 1698037427_f7961b38-cd45-425d-8abc-430e5df6ffe1 | [
"gs://credit-environment/1698037427_f7961b38-cd45-425d-8abc-430e5df6ffe1/pdfs/4d46aded-bcab-48a9-8f24-5ed86ed67c8c.pdf"
] | [
"4d46aded-bcab-48a9-8f24-5ed86ed67c8c.pdf"
] | [
"4d46aded-bcab-48a9-8f24-5ed86ed67c8c"
] | {"4d46aded-bcab-48a9-8f24-5ed86ed67c8c": {"transactions": [{"id": 1, "txnDate": "2023-09-01T00:00:00.000+05:30", "narration": "TO TRANSFER- UPI/DR/324459025461/PRIYA BRA/YESB/q817504998/chick-", "balance": 16658.05, "amt": -220}, {"id": 2, "txnDate": "2023-09-01T00:00:00.000+05:30", "narration": "BY TRANSFER- NEFT*UTIB... | {"transactions": {"4d46aded-bcab-48a9-8f24-5ed86ed67c8c-36": {"counterparty": "kalan di cnrb upi", "counterparty_group": "kalan di cnrb upi", "txn_type": "expenses", "confidence": -1, "label_source": "auto"}, "4d46aded-bcab-48a9-8f24-5ed86ed67c8c-16": {"counterparty": "ragha v pytm", "counterparty_group": "ragha v pytm... | B2C single file - 1 PDF - 104 txns | Consumer Case | clean |
case-003 | 1727780765_77a1ea4f-6f8b-40f3-b3fe-a9b1ae441a5a | [
"gs://credit-environment/1727780765_77a1ea4f-6f8b-40f3-b3fe-a9b1ae441a5a/pdfs/cdd8de63-b156-4387-9979-0d2f831aa956.pdf"
] | [
"cdd8de63-b156-4387-9979-0d2f831aa956.pdf"
] | [
"cdd8de63-b156-4387-9979-0d2f831aa956"
] | {"cdd8de63-b156-4387-9979-0d2f831aa956": {"transactions": [{"id": 0, "txnDate": "2024-07-01T00:00:00.000+00:00", "narration": "BY TRANSFER- UPI/CR/4183317765 92/BHUPENDR/SBI N/bhupendrku/UPI-", "balance": 32077.13, "amt": 39}, {"id": 1, "txnDate": "2024-07-01T00:00:00.000+00:00", "narration": "TO TRANSFER- UPI/DR/45498... | {"transactions": {"cdd8de63-b156-4387-9979-0d2f831aa956-113": {"counterparty": "mr idib", "counterparty_group": "mr", "txn_type": "credit card payments", "confidence": 93, "label_source": "auto"}, "cdd8de63-b156-4387-9979-0d2f831aa956-68": {"counterparty": "c h", "counterparty_group": "c h", "txn_type": "compliance", "... | Jul-Oct 2024 - 1 PDF - 126 txns | Business Case | clean |
case-004 | 1714380987_57fa9bec-32d5-4014-a502-5c459f1f0499 | ["gs://credit-environment/1714380987_57fa9bec-32d5-4014-a502-5c459f1f0499/pdfs/3253d8a4-0e24-4163-a3(...TRUNCATED) | [
"3253d8a4-0e24-4163-a3ae-0bfa496f3e30.pdf",
"b4f3958b-cdd2-47c7-b9ee-ee6a201e8f0b.pdf"
] | [
"3253d8a4-0e24-4163-a3ae-0bfa496f3e30",
"b4f3958b-cdd2-47c7-b9ee-ee6a201e8f0b"
] | "{\"3253d8a4-0e24-4163-a3ae-0bfa496f3e30\": {\"transactions\": [{\"id\": 1, \"txnDate\": \"2024-01-0(...TRUNCATED) | "{\"transactions\": {\"3253d8a4-0e24-4163-a3ae-0bfa496f3e30-3\": {\"counterparty\": \"elite sourcing(...TRUNCATED) | Bandhan+Axis - 2 PDFs - 193 txns | Business Case | clean |
case-005 | 1720154854_bc94f940-ac50-49e5-bf3d-394863430397 | ["gs://credit-environment/1720154854_bc94f940-ac50-49e5-bf3d-394863430397/pdfs/a89b2d4a-af39-4524-88(...TRUNCATED) | ["a89b2d4a-af39-4524-88d1-e85064722782.pdf","afaa4ee2-e45f-44ef-a2a0-9a3ca2e51eda.pdf","cb6e757d-b95(...TRUNCATED) | ["a89b2d4a-af39-4524-88d1-e85064722782","afaa4ee2-e45f-44ef-a2a0-9a3ca2e51eda","cb6e757d-b956-4a39-b(...TRUNCATED) | "{\"a89b2d4a-af39-4524-88d1-e85064722782\": {\"transactions\": [{\"id\": 1, \"txnDate\": \"2023-12-0(...TRUNCATED) | "{\"transactions\": {\"a89b2d4a-af39-4524-88d1-e85064722782-166\": {\"counterparty\": \"sticker\", \(...TRUNCATED) | Mixed banks - 3 PDFs - 792 txns | Business Case | clean |
case-006 | 1725878094_540198af-668e-4cd8-a6fe-7c491a361bff | ["gs://credit-environment/1725878094_540198af-668e-4cd8-a6fe-7c491a361bff/pdfs/a08ec880-2897-4b07-8d(...TRUNCATED) | ["a08ec880-2897-4b07-8d80-174e4d2780da.pdf","a40d6792-03eb-42a1-926f-c58a2e632082.pdf","d9f95200-f57(...TRUNCATED) | ["a08ec880-2897-4b07-8d80-174e4d2780da","a40d6792-03eb-42a1-926f-c58a2e632082","d9f95200-f574-4a36-8(...TRUNCATED) | "{\"a08ec880-2897-4b07-8d80-174e4d2780da\": {\"transactions\": [{\"id\": 1, \"txnDate\": \"2023-08-0(...TRUNCATED) | "{\"transactions\": {\"a08ec880-2897-4b07-8d80-174e4d2780da-292\": {\"counterparty\": \"ph\", \"coun(...TRUNCATED) | 4 banks - 5 PDFs - 2003 txns | Business Case | clean |
case-007 | 1701234456_ae78dbcd-5954-4a39-857b-1fd0eb2cf5b9 | ["gs://credit-environment/1701234456_ae78dbcd-5954-4a39-857b-1fd0eb2cf5b9/pdfs/1d64c56b-7984-4efa-b0(...TRUNCATED) | ["1d64c56b-7984-4efa-b0b1-588d18ca4e99.pdf","350cb1ed-c7e7-4b16-af3e-f0fc170d3377.pdf","8c293ab7-e28(...TRUNCATED) | ["1d64c56b-7984-4efa-b0b1-588d18ca4e99","350cb1ed-c7e7-4b16-af3e-f0fc170d3377","8c293ab7-e289-4c23-b(...TRUNCATED) | "{\"1d64c56b-7984-4efa-b0b1-588d18ca4e99\": {\"transactions\": [{\"id\": 1, \"txnDate\": \"2023-08-0(...TRUNCATED) | "{\"transactions\": {\"1d64c56b-7984-4efa-b0b1-588d18ca4e99-322\": {\"counterparty\": \"sep\", \"cou(...TRUNCATED) | HDFC+ICICI - 7 PDFs - 3223 txns | Business Case | clean |
case-008 | 1692706735_8635e896-5549-4857-89f2-29a88caf89ef | ["gs://credit-environment/1692706735_8635e896-5549-4857-89f2-29a88caf89ef/pdfs/14879bfd-4cc0-4ba5-bf(...TRUNCATED) | ["14879bfd-4cc0-4ba5-bffe-2156ef3dfec9_scrubbed.pdf","50381f70-6e44-408f-ad46-aaeaded6bc9a_scrubbed.(...TRUNCATED) | ["14879bfd-4cc0-4ba5-bffe-2156ef3dfec9","50381f70-6e44-408f-ad46-aaeaded6bc9a","2e21cd91-b7c0-4222-a(...TRUNCATED) | "{\"14879bfd-4cc0-4ba5-bffe-2156ef3dfec9\": {\"transactions\": [{\"id\": 1, \"txnDate\": \"2022-10-2(...TRUNCATED) | "{\"transactions\": {\"14879bfd-4cc0-4ba5-bffe-2156ef3dfec9-18\": {\"counterparty\": \"kaustubh vish(...TRUNCATED) | 5 PDFs - 980 txns | Business Case | clean |
case-009 | 1697625825_8ba8d763-9e31-4a19-8767-31a9e39137d4 | ["gs://credit-environment/1697625825_8ba8d763-9e31-4a19-8767-31a9e39137d4/pdfs/fa47fb1c-507a-4f2a-9c(...TRUNCATED) | ["fa47fb1c-507a-4f2a-9c6b-73d02307df40_scrubbed.pdf","d130a577-d494-4e28-bb3c-87d350ce4dc4_scrubbed.(...TRUNCATED) | ["fa47fb1c-507a-4f2a-9c6b-73d02307df40","d130a577-d494-4e28-bb3c-87d350ce4dc4","f933a04c-347e-4308-8(...TRUNCATED) | "{\"fa47fb1c-507a-4f2a-9c6b-73d02307df40\": {\"transactions\": [{\"id\": 1, \"txnDate\": \"2023-09-0(...TRUNCATED) | "{\"transactions\": {\"fa47fb1c-507a-4f2a-9c6b-73d02307df40-142\": {\"counterparty\": \"ripu ranjan (...TRUNCATED) | 3 PDFs - 2786 txns | Business Case | clean |
A 1387-task RL environment for financial document understanding. Agents are provided with business documents (bank statements), and asked
to assess the risk associated by using a context-rich classification taxonomy for each transaction . The agent's output is programmatically graded
against the ground truth labelled by domain epxerts with over 10+ years of experience in the risk assessment field.
| Input | 1-73 bank statement PDFs per case, no PII information |
| Output | Extract Structured JSON: transactions (date, amount, balance, narration) and categorize transaction type, counterparty |
| Reward | Extraction F1 (hash-based), categorization accuracy |
| Grading | Fully programmatic, instant (~seconds per case) |
| PDFs | Cases | % of Total |
|---|---|---|
| 1 | 269 | 19.4% |
| 2-3 | 406 | 29.3% |
| 4-6 | 317 | 22.9% |
| 7-10 | 154 | 11.1% |
| 10+ | 241 | 17.4% |
| Transactions | Cases | % of Total |
|---|---|---|
| <100 | 11 | 0.8% |
| 100-500 | 153 | 11.0% |
| 500-2,000 | 535 | 38.6% |
| 2,000+ | 688 | 49.6% |
Extracts structured transaction data from PDF bank statements.
| Model | Harness | Pass@1 | 95% CI | Tasks |
|---|---|---|---|---|
| GPT-5.4 | Codex | 33.3% | 8.3 - 58.3% | 12 |
| Claude Opus 4.6 | Claude Code | 31.3% | 12.5 - 56.3% | 16 |
| Gemini 3.1 Pro | Gemini CLI | 12.5% | 0.0 - 29.2% | 12 |
Categorizes bank transactions by type, counterparty, and group.
| Model | Harness | Pass@1 | 95% CI | Tasks |
|---|---|---|---|---|
| Claude Opus 4.6 | Claude Code | 31.3% | 12.5 - 56.3% | 16 |
| GPT-5.4 | Codex | 16.7% | 0.0 - 41.7% | 12 |
| Gemini 3.1 Pro | Gemini CLI | 12.5% | 0.0 - 33.3% | 12 |
```json
{
"id": "case-000",
"case_id": "uuid-based-case-identifier",
"pdf_gcs_uris": ["gs://.../_scrubbed.pdf"],
"pdf_filenames": ["fileid_scrubbed.pdf"],
"extraction_ground_truth": "{...}",
"categorization_ground_truth": "{...}",
"description": "3 PDFs - 792 txns",
"case_type": "Business Case",
"gt_status": "clean"
}
```