jbajor commited on
Commit
83d6441
·
1 Parent(s): 6e2490a

initial commit

Browse files
Files changed (35) hide show
  1. README.md +95 -3
  2. annotations.jsonl +0 -0
  3. metadata.csv +31 -0
  4. pdfs/.DS_Store +0 -0
  5. pdfs/biden/biden_2018_federal_returns_tn.pdf +3 -0
  6. pdfs/harris/harris_2020_federal_state_returns.pdf +3 -0
  7. pdfs/harris/harris_2023_federal_state_returns.pdf +3 -0
  8. pdfs/obama/obama_2009_complete_return.pdf +3 -0
  9. pdfs/obama/obama_2010_complete_return.pdf +3 -0
  10. pdfs/obama/obama_2011_complete_return.pdf +3 -0
  11. pdfs/obama/obama_2013_complete_return.pdf +3 -0
  12. pdfs/trump/trump_business_2015_DJT Holdings 2015.pdf +3 -0
  13. pdfs/trump/trump_business_2015_DJT Holdings Managing Member LLC 2015.pdf +3 -0
  14. pdfs/trump/trump_business_2015_LFB Acquisition LLC 2015.pdf +3 -0
  15. pdfs/trump/trump_business_2016_DJT Holdings 2016.pdf +3 -0
  16. pdfs/trump/trump_business_2016_DJT Holdings Managing Member LLC 2016.pdf +3 -0
  17. pdfs/trump/trump_business_2016_LFB Acquisition LLC 2016.pdf +3 -0
  18. pdfs/trump/trump_business_2017_DJT Holdings 2017.pdf +3 -0
  19. pdfs/trump/trump_business_2017_LFB Acquisition LLC 2017.pdf +3 -0
  20. pdfs/trump/trump_business_2018_DTTM Operations 2018.pdf +3 -0
  21. pdfs/trump/trump_business_2018_LFB Acquisition LLC 2018.pdf +3 -0
  22. pdfs/trump/trump_business_2019_DJT Holdings Managing Member LLC 2019 - 2.pdf +3 -0
  23. pdfs/trump/trump_business_2019_DTTM Operations 2019.pdf +3 -0
  24. pdfs/trump/trump_business_2020_DJT Holdings 2020.pdf +3 -0
  25. pdfs/trump/trump_business_2020_DJT Holdings Managing Member LLC 2020 - 1.pdf +3 -0
  26. pdfs/trump/trump_business_2020_DTTM Operations 2020.pdf +3 -0
  27. pdfs/trump/trump_business_2020_LFB Acquisition LLC 2020.pdf +3 -0
  28. pdfs/trump/trump_individual_2015_Form 1040 2015-1.pdf +3 -0
  29. pdfs/trump/trump_individual_2015_amt_Form 1040 2015-3.pdf +3 -0
  30. pdfs/trump/trump_individual_2016_Form 1040 2016-2.pdf +3 -0
  31. pdfs/trump/trump_individual_2017_Form 1040 2017-1.pdf +3 -0
  32. pdfs/trump/trump_individual_2018_Form 1040 2018-2.pdf +3 -0
  33. pdfs/trump/trump_individual_2019_Form 1040 2019-3.pdf +3 -0
  34. pdfs/trump/trump_individual_2020_Form 1040 2020-2.pdf +3 -0
  35. taxonomy.json +214 -0
README.md CHANGED
@@ -1,3 +1,95 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ license: cc0-1.0
5
+ task_categories:
6
+ - document-question-answering
7
+ tags:
8
+ - document-splitting
9
+ - document-understanding
10
+ - tax-forms
11
+ - irs
12
+ - pdf
13
+ - benchmark
14
+ pretty_name: PolitTax Document Splitting Benchmark
15
+ size_categories:
16
+ - n<1K
17
+ ---
18
+
19
+ # PolitTax: Document Splitting Benchmark
20
+
21
+ A benchmark for evaluating document splitting (boundary detection and classification) on U.S. presidential tax returns.
22
+
23
+ ## Overview
24
+
25
+ | Metric | Value |
26
+ |--------|-------|
27
+ | PDF files | 30 |
28
+ | Total pages | 3,311 |
29
+ | Annotated sub-documents | 1,152 |
30
+ | Classification types used | 40 |
31
+ | Subjects | Biden, Harris, Obama, Trump |
32
+ | Tax years | 2009–2023 |
33
+
34
+ ## Task
35
+
36
+ Given a multi-page PDF containing one or more IRS tax forms, schedules, and supplementary documents, the task is to:
37
+
38
+ 1. **Segment** the document into sub-documents by identifying start and end page boundaries
39
+ 2. **Classify** each sub-document by its form type (e.g., "Form 1040", "Schedule A (Form 1040)", "supplement")
40
+
41
+ ## Sub-document Type Distribution (top 10)
42
+
43
+ | Type | Count |
44
+ |------|-------|
45
+ | supplement | 573 |
46
+ | misc_form | 240 |
47
+ | Schedule C (Form 1040) | 41 |
48
+ | Form 4562 | 40 |
49
+ | Schedule K-1 (Form 1065) | 33 |
50
+ | Schedule E (Form 1040) | 14 |
51
+ | Form 1065 | 14 |
52
+ | Schedule M-3 (Form 1120/1065) | 14 |
53
+ | Form 8949 | 13 |
54
+ | Form 4797 | 13 |
55
+
56
+ ## Files
57
+
58
+ - **`annotations.jsonl`** — One JSON object per PDF with ground-truth sub-document boundaries
59
+ - **`metadata.csv`** — File-level metadata (president, tax year, page count, etc.)
60
+ - **`taxonomy.json`** — Full classification schema with 40+ type definitions and splitting instructions
61
+ - **`pdfs/`** — Original PDF files organized by subject
62
+
63
+ ## Annotation Format
64
+
65
+ Each line in `annotations.jsonl` contains:
66
+
67
+ ```json
68
+ {
69
+ "file_name": "obama_2009_complete_return.pdf",
70
+ "page_count": 59,
71
+ "sub_documents": [
72
+ {
73
+ "type": "Form 1040",
74
+ "start_page": 1,
75
+ "end_page": 2,
76
+ "identifier": "Barack H. & Michelle L. Obama"
77
+ }
78
+ ]
79
+ }
80
+ ```
81
+
82
+ - **`type`**: The IRS form or document type. See `taxonomy.json` for the full list with descriptions.
83
+ - **`start_page`** / **`end_page`**: 1-indexed, inclusive page range.
84
+ - **`identifier`**: A human-readable label distinguishing instances of the same form type (e.g., taxpayer name, entity name).
85
+
86
+ ## Source
87
+
88
+ All PDFs are publicly released U.S. government records sourced from:
89
+ - [Obama White House Archives](https://obamawhitehouse.archives.gov/blog/2010/04/15/president-obama-and-vice-president-biden-s-tax-returns)
90
+ - [The American Presidency Project](https://www.presidency.ucsb.edu/documents/white-house-press-release-the-president-and-vice-president-release-their-2023-tax-returns)
91
+ - [Tax Notes](https://www.taxnotes.com/presidential-tax-returns)
92
+
93
+ ## License
94
+
95
+ The source documents are U.S. government works in the public domain. The annotations in this dataset are released under [CC0 1.0](https://creativecommons.org/publicdomain/zero/1.0/).
annotations.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
metadata.csv ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ file_name,president,tax_years,doc_type,page_count,num_sub_documents,file_size_mb,md5
2
+ biden_2018_federal_returns_tn.pdf,biden,2018,individual,75,36,9.19,75d112db34ddda991d5de245cf4ec446
3
+ harris_2020_federal_state_returns.pdf,harris,2020,individual,100,59,30.95,3c48b0edc88ee4c50b3b3c1f545790c5
4
+ harris_2023_federal_state_returns.pdf,harris,2023,individual,40,19,4.55,19bd5fa9c1d02ae1a1a397e9bb19eb32
5
+ obama_2009_complete_return.pdf,obama,2009,individual,59,22,1.8,897a8e781d9f10fba8c487a54dcc8f39
6
+ obama_2010_complete_return.pdf,obama,2010,individual,65,33,7.33,172d836091071d2c463aac6b73ba01a7
7
+ obama_2011_complete_return.pdf,obama,2011,individual,48,20,13.06,72654eb7c5405f95577bd76aaafa4776
8
+ obama_2013_complete_return.pdf,obama,2013,individual,42,20,18.83,b8fd97f2b31f7fc1e711921b19862c9a
9
+ trump_business_2015_DJT Holdings 2015.pdf,trump,2015,business,88,48,15.65,b6d85261a474e19029fe07ae83eb19c0
10
+ trump_business_2015_DJT Holdings Managing Member LLC 2015.pdf,trump,2015,business,62,29,11.33,71b7f856ffb3643e1888d2e9dbb1a64a
11
+ trump_business_2015_LFB Acquisition LLC 2015.pdf,trump,2015,business,42,22,7.35,4b1ead061cb6f6339d59c5246965b324
12
+ trump_business_2016_DJT Holdings 2016.pdf,trump,2016,business,84,47,14.55,76b1fcbdaeac8ebe26dbde94bd92c74f
13
+ trump_business_2016_DJT Holdings Managing Member LLC 2016.pdf,trump,2016,business,48,13,8.57,9efe7cf8516745f0f61a8c047ffd6bdf
14
+ trump_business_2016_LFB Acquisition LLC 2016.pdf,trump,2016,business,48,31,8.39,31ff27d1c78df3aee15a36086ed17cf2
15
+ trump_business_2017_DJT Holdings 2017.pdf,trump,2017,business,162,64,31.17,12352afbca86f480789b5d2d50d79bc8
16
+ trump_business_2017_LFB Acquisition LLC 2017.pdf,trump,2017,business,46,27,7.91,612264ef872855d24c09a0b012687f1c
17
+ trump_business_2018_DTTM Operations 2018.pdf,trump,2018,business,130,21,20.26,45aed3732d76d6414e667667f416feb8
18
+ trump_business_2018_LFB Acquisition LLC 2018.pdf,trump,2018,business,56,27,9.82,4f9f18988ca588f80b68438dbee34c22
19
+ trump_business_2019_DJT Holdings Managing Member LLC 2019 - 2.pdf,trump,2019,business,192,96,23.61,755619e84251911cbddec17e544ce150
20
+ trump_business_2019_DTTM Operations 2019.pdf,trump,2019,business,166,33,23.32,7ea4f5f5892d51ab221003d01dda5123
21
+ trump_business_2020_DJT Holdings 2020.pdf,trump,2020,business,236,71,41.75,9fad54bf2911b909a758254c82b046de
22
+ trump_business_2020_DJT Holdings Managing Member LLC 2020 - 1.pdf,trump,2020,business,240,57,36.34,82d720a9672a21e6360599b62118967a
23
+ trump_business_2020_DTTM Operations 2020.pdf,trump,2020,business,160,33,28.08,0b038b0eda4cffbb4248724a4180be97
24
+ trump_business_2020_LFB Acquisition LLC 2020.pdf,trump,2020,business,60,30,9.84,d2f2cb974cd1daadc7fa1f3aaef94fa0
25
+ trump_individual_2015_amt_Form 1040 2015-3.pdf,trump,2015,individual,204,17,57.88,4868dd03a8b4c5babca3157918ac7a40
26
+ trump_individual_2015_Form 1040 2015-1.pdf,trump,2015,individual,128,95,54.58,72cca730644cc05c8d20042205db361d
27
+ trump_individual_2016_Form 1040 2016-2.pdf,trump,2016,individual,139,4,38.04,659ba4cbf829129831e8a1c3c3c9ce26
28
+ trump_individual_2017_Form 1040 2017-1.pdf,trump,2017,individual,284,96,83.57,7baffb7d62884fc5ec27cc7044fa5097
29
+ trump_individual_2018_Form 1040 2018-2.pdf,trump,2018,individual,133,38,26.96,b681d83f21fd4f78638f464efb71fb7f
30
+ trump_individual_2019_Form 1040 2019-3.pdf,trump,2019,individual,70,13,9.0,4ddbfb9190ce51eca5c623f9a2a3aa20
31
+ trump_individual_2020_Form 1040 2020-2.pdf,trump,2020,individual,104,31,24.31,3c148b4f8849d0f449720368685e2de5
pdfs/.DS_Store ADDED
Binary file (6.15 kB). View file
 
pdfs/biden/biden_2018_federal_returns_tn.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0d1aa71b5bddd5db2bf7b7a1ffdabd963ff2c1bd9fc652517315eda58ccf6bc8
3
+ size 9641287
pdfs/harris/harris_2020_federal_state_returns.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:61c85e38db39a8792559b2a7abdd30ad47aa0eca98c1ac62e0caf4c3a4a60f27
3
+ size 32450321
pdfs/harris/harris_2023_federal_state_returns.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5e0a3bd60f2272116d83b9c43718bf7578f5f8f7b76b977f9f5f6710690a7aed
3
+ size 4767837
pdfs/obama/obama_2009_complete_return.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:800232a6007ad3c93f5ff1662f73d9f5f61f39f794ad4c7c86abcf7bc014d477
3
+ size 1886959
pdfs/obama/obama_2010_complete_return.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6cdc87f32fbf178824ad9085f70a1c3ab18339e3276a0d936ac4a05101fe2b10
3
+ size 7680902
pdfs/obama/obama_2011_complete_return.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2d424d8e53630fd3930e868ab68cd3685a12f80e6b8164a79a7bbfc3639903cb
3
+ size 13689854
pdfs/obama/obama_2013_complete_return.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a08dd8ae8c101ab9f1425e4d2fd467c3018fee1611cae10e5833d0c830ea728f
3
+ size 19745984
pdfs/trump/trump_business_2015_DJT Holdings 2015.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ade25fbc1e46a1b113e0595aa075135de1e307fa2c86feacb31a0ba3af8caf1a
3
+ size 16405818
pdfs/trump/trump_business_2015_DJT Holdings Managing Member LLC 2015.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8c5fc16ea887b08b1574bf00abbd77b71aa01a563288a8d7a1735384890e02b5
3
+ size 11882809
pdfs/trump/trump_business_2015_LFB Acquisition LLC 2015.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ffcfd2d8704a3d11cea0db7e2672eccef1a5e88a97cd39f1fcce562567d5ee12
3
+ size 7704849
pdfs/trump/trump_business_2016_DJT Holdings 2016.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c0aff6d644de6ac85279fc820840d461d3bb249a2063145b6d45d1051e15a807
3
+ size 15258554
pdfs/trump/trump_business_2016_DJT Holdings Managing Member LLC 2016.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e5825292408ab57b35de61ef055653c544e4d3deb1d6eec025ccb0db6f0e60d7
3
+ size 8983354
pdfs/trump/trump_business_2016_LFB Acquisition LLC 2016.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:31163a0d87a220ffd327add40a979489987a8bf6cf78ac07d4584a797e083757
3
+ size 8796405
pdfs/trump/trump_business_2017_DJT Holdings 2017.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bb4d74e4ad2eb75f9ae0c15902dd7582be9873e9ddcd63afb946432fe1e897ec
3
+ size 32682359
pdfs/trump/trump_business_2017_LFB Acquisition LLC 2017.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2886e93cee90394ca52d21cdc7b92f5ba7fefd5c98854818655f092c67cbc006
3
+ size 8298916
pdfs/trump/trump_business_2018_DTTM Operations 2018.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:189fa0725ccb9d0f1c155169cd76847e78f664080e8faa48bae335e6f0e84f46
3
+ size 21247703
pdfs/trump/trump_business_2018_LFB Acquisition LLC 2018.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f37838df4ac8e67767fc9df4a5fe16b187b03577dd0735934aa73b0db37c1d1f
3
+ size 10296600
pdfs/trump/trump_business_2019_DJT Holdings Managing Member LLC 2019 - 2.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f750cd6a4da263f1a045f994e897640f60bc9431d1b8cbf7c8f4d5a2a5b5cda6
3
+ size 24756638
pdfs/trump/trump_business_2019_DTTM Operations 2019.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bac1682cb83c1b0fea60c14e781b1a379ea462cf126004b7fcbf0e413d53c7c2
3
+ size 24448009
pdfs/trump/trump_business_2020_DJT Holdings 2020.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:df16eddfc3038ddaeb89ec8d799666cd2954a668ef6fafc91255291db82106c2
3
+ size 43782609
pdfs/trump/trump_business_2020_DJT Holdings Managing Member LLC 2020 - 1.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fdcaf97cd46af803da3197f6682291c7c75976513b91e2d1c3fbe6d063509fdf
3
+ size 38100874
pdfs/trump/trump_business_2020_DTTM Operations 2020.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fcb882cba68974baec5b47373f766cb867e533bb0ddbaa87832806f817586403
3
+ size 29439831
pdfs/trump/trump_business_2020_LFB Acquisition LLC 2020.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:10ad03a8651324fa423837edea007fb6e2ea7b0d9009bfb1d022215859ca1829
3
+ size 10315983
pdfs/trump/trump_individual_2015_Form 1040 2015-1.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:67c56a787e405f9e4396562c10e4f0d2d722333dc419b6bb6554c9de762fb850
3
+ size 57226626
pdfs/trump/trump_individual_2015_amt_Form 1040 2015-3.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5ec75c97a6e89872abed35e2786678013c3a3e63832b8a14c7f501b8695116f4
3
+ size 60688336
pdfs/trump/trump_individual_2016_Form 1040 2016-2.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:73d4530a5e3127df75f0ae52302956976a425a001ee9820eef037ed47a85d0d7
3
+ size 39890042
pdfs/trump/trump_individual_2017_Form 1040 2017-1.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4335ab01a46b566c018521f1c392e9ff6ba13947cb1cb1209107afacdb1738e5
3
+ size 87629051
pdfs/trump/trump_individual_2018_Form 1040 2018-2.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4bc95799ee20376a07d2a75f0cd05e3a7f9a385bce9d0cdd32f845b3c90ddc1c
3
+ size 28269122
pdfs/trump/trump_individual_2019_Form 1040 2019-3.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:02fc4386bdff03569a13893c35c3f4b01a1a87ab7520206c158e2cc97ad83f59
3
+ size 9435164
pdfs/trump/trump_individual_2020_Form 1040 2020-2.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1f9a0004ca3fdecdd543c6f05f04737bd2574fa7e8d991428727586c8e4b17a1
3
+ size 25493143
taxonomy.json ADDED
@@ -0,0 +1,214 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "task": "document_splitting",
3
+ "description": "Given a multi-page PDF containing one or more IRS tax forms, schedules, and supplementary documents, identify the page boundaries of each sub-document and classify it by form type.",
4
+ "num_types": 51,
5
+ "types": [
6
+ {
7
+ "type": "Form 1040",
8
+ "description": "U.S. Individual Income Tax Return. The primary two-page federal income tax return. Top of page 1 shows 'Form 1040' prominently with tax year, taxpayer name, address, filing status checkboxes, and income/deduction summary lines. Do not group schedule forms under a single Form 1040 subdocument, they should be labeled and grouped as their own specific type if available."
9
+ },
10
+ {
11
+ "type": "Form 1040-NR",
12
+ "description": "U.S. Nonresident Alien Income Tax Return. Header reads 'Form 1040-NR' with '(Nonresident Alien)' subtitle. Filed by foreign nationals with U.S.-source income; appears in Trump 2018 returns."
13
+ },
14
+ {
15
+ "type": "Form 1065",
16
+ "description": "U.S. Return of Partnership Income. Header reads 'Form 1065' and 'U.S. Return of Partnership Income.' The annual informational return filed by partnerships (general, limited, LLCs taxed as partnerships); shows total income, deductions, and partners' shares. The Form 1065 subdocument generally includes the entire core return packet: the two main pages plus the internal schedules commonly printed as part of the form (Schedule B, Schedule K, Schedule L, Schedule M-1, and Schedule M-2) when they appear as the continuation pages of the same Form 1065. Only split these schedules into their own subdocuments when they are clearly presented as standalone schedule packets outside the core Form 1065 page sequence (e.g., a separately collated 'Schedule K (Form 1065)' or 'Schedule L (Form 1065)' section that is not part of the primary Form 1065 pagination). Do not include software-generated 'Additional Data' or supporting statement pages in the Form 1065 subdocument; those are supplements."
17
+ },
18
+ {
19
+ "type": "Form 1120",
20
+ "description": "U.S. Corporation Income Tax Return. Header reads 'Form 1120' and 'U.S. Corporation Income Tax Return.' Annual return for C-corporations; reports gross income, deductions, taxable income, and tax liability."
21
+ },
22
+ {
23
+ "type": "Form 1120-S",
24
+ "description": "U.S. Income Tax Return for an S Corporation. Header reads 'Form 1120-S.' Informational return for S-corporations; income passes through to shareholders. Includes Schedules K, K-1, L, M-1, M-2 similar to Form 1065."
25
+ },
26
+ {
27
+ "type": "Form 2106",
28
+ "description": "Employee Business Expenses. Header reads 'Form 2106' and 'Employee Business Expenses.' Reports unreimbursed business expenses for employees; largely eliminated for most employees after 2017 TCJA, but retained for certain categories."
29
+ },
30
+ {
31
+ "type": "Form 2210",
32
+ "description": "Underpayment of Estimated Tax by Individuals, Estates, and Trusts. Header reads 'Form 2210' and 'Underpayment of Estimated Tax by Individuals, Estates, and Trusts.' Calculates the underpayment penalty when quarterly estimated payments fall short."
33
+ },
34
+ {
35
+ "type": "Form 2441",
36
+ "description": "Child and Dependent Care Expenses. Header reads 'Form 2441' and 'Child and Dependent Care Expenses.' Calculates the credit for childcare costs when both spouses work; also used to report employer-provided dependent care benefits."
37
+ },
38
+ {
39
+ "type": "Form 3520",
40
+ "description": "Annual Return to Report Transactions With Foreign Trusts and Receipt of Certain Foreign Gifts. Header reads 'Form 3520.' Filed when a U.S. person is treated as owner of a foreign trust, transfers assets to it, or receives distributions from it."
41
+ },
42
+ {
43
+ "type": "Form 4136",
44
+ "description": "Credit for Federal Tax Paid on Fuels. Header reads 'Form 4136' and 'Credit for Federal Tax Paid on Fuels.' Allows a refundable credit for excise taxes paid on fuel used in off-highway business, farming, or other qualifying purposes."
45
+ },
46
+ {
47
+ "type": "Form 4562",
48
+ "description": "Depreciation and Amortization. Header reads 'Form 4562' and 'Depreciation and Amortization (Including Information on Listed Property).' Reports Section 179 expensing, bonus depreciation, MACRS depreciation on assets placed in service during the year."
49
+ },
50
+ {
51
+ "type": "Form 4797",
52
+ "description": "Sales of Business Property. Header reads 'Form 4797' and 'Sales of Business Property (Also Involuntary Conversions and Recapture Amounts Under Sections 179 and 280F(b)(2)).' Reports gains/losses on depreciable business property and Section 1231 assets."
53
+ },
54
+ {
55
+ "type": "Form 5471",
56
+ "description": "Information Return of U.S. Persons With Respect to Certain Foreign Corporations. Header reads 'Form 5471.' Required when a U.S. person owns 10%+ of a foreign corporation; discloses the corporation's income, balance sheet, and transactions with related parties."
57
+ },
58
+ {
59
+ "type": "Form 6251",
60
+ "description": "Alternative Minimum Tax — Individuals. Header reads 'Form 6251' and 'Alternative Minimum Tax — Individuals.' Calculates the AMT liability by adding back certain preferences and adjustments to regular taxable income; filed whenever AMT may apply."
61
+ },
62
+ {
63
+ "type": "Form 709",
64
+ "description": "United States Gift (and Generation-Skipping Transfer) Tax Return. Header reads 'Form 709' and 'United States Gift (and Generation-Skipping Transfer) Tax Return.' Filed when gifts exceed the annual exclusion ($15,000 per recipient in recent years)."
65
+ },
66
+ {
67
+ "type": "Form 8283",
68
+ "description": "Noncash Charitable Contributions. Header reads 'Form 8283' and 'Noncash Charitable Contributions.' Reports donated property valued over $500; Section B (over $5,000) requires a qualified appraisal and appraiser signature."
69
+ },
70
+ {
71
+ "type": "Form 8453",
72
+ "description": "U.S. Individual Income Tax Transmittal for an IRS e-file Return. Header reads 'Form 8453.' Transmittal page used by paid preparers or EROs to submit paper attachments (e.g., signed Forms 1099-B, 8332) alongside an electronically filed return."
73
+ },
74
+ {
75
+ "type": "Form 8582",
76
+ "description": "Passive Activity Loss Limitations. Header reads 'Form 8582' and 'Passive Activity Loss Limitations.' Calculates how much of a taxpayer's passive losses (rental, limited partnership) can be deducted against non-passive income in the current year."
77
+ },
78
+ {
79
+ "type": "Form 8858",
80
+ "description": "Information Return of U.S. Persons With Respect to Foreign Disregarded Entities and Foreign Branches. Header reads 'Form 8858.' Filed by U.S. persons who directly or indirectly own a foreign disregarded entity or operate a foreign branch."
81
+ },
82
+ {
83
+ "type": "Form 8865",
84
+ "description": "Return of U.S. Persons With Respect to Certain Foreign Partnerships. Header reads 'Form 8865.' Filed when a U.S. person controls or has significant ownership in a foreign partnership; discloses income, balance sheet, and cross-border transactions."
85
+ },
86
+ {
87
+ "type": "Form 8886",
88
+ "description": "Reportable Transaction Disclosure Statement. Header reads 'Form 8886' and 'Reportable Transaction Disclosure Statement.' Discloses participation in IRS-designated 'listed' or 'reportable' transactions; must be attached to each affected return and filed separately with the OTSA."
89
+ },
90
+ {
91
+ "type": "Form 8938",
92
+ "description": "Statement of Specified Foreign Financial Assets (FATCA). Header reads 'Form 8938' and 'Statement of Specified Foreign Financial Assets.' Reports foreign financial accounts, securities, and interests in foreign entities when total value exceeds FATCA thresholds."
93
+ },
94
+ {
95
+ "type": "Form 8949",
96
+ "description": "Sales and Other Dispositions of Capital Assets. Header reads 'Form 8949' and 'Sales and Other Dispositions of Capital Assets.' Itemizes individual sale transactions (stocks, bonds, real estate) that feed into Schedule D; shows cost basis, proceeds, and gain/loss per transaction."
97
+ },
98
+ {
99
+ "type": "Form 8960",
100
+ "description": "Net Investment Income Tax — Individuals, Estates, and Trusts. Header reads 'Form 8960' and 'Net Investment Income Tax.' Calculates the 3.8% surtax on net investment income (interest, dividends, capital gains, rental income) for taxpayers above income thresholds."
101
+ },
102
+ {
103
+ "type": "Schedule 1 (Form 1040)",
104
+ "description": "Additional Income and Adjustments to Income (2018 redesign). Header reads 'Schedule 1 (Form 1040)' with title 'Additional Income and Adjustments.' Covers alimony, business income, capital gains adjustments, student loan interest, IRA deductions, etc."
105
+ },
106
+ {
107
+ "type": "Schedule 2 (Form 1040)",
108
+ "description": "Additional Taxes (2018+). Header reads 'Schedule 2 (Form 1040)' with title 'Tax' (2018) or 'Additional Taxes' (2019+). Includes AMT, self-employment tax, household employment taxes, and repayment amounts."
109
+ },
110
+ {
111
+ "type": "Schedule 3 (Form 1040)",
112
+ "description": "Nonrefundable Credits (2018) / Additional Credits and Payments (2019+). Header reads 'Schedule 3 (Form 1040).' Covers foreign tax credit, education credits, child/dependent care credit, residential energy credits."
113
+ },
114
+ {
115
+ "type": "Schedule 4 (Form 1040)",
116
+ "description": "Other Taxes (2018 only; merged into Schedule 2 in 2019). Header reads 'Schedule 4 (Form 1040) — Other Taxes.' Covers self-employment tax, household employment taxes, net investment income tax, NIIT."
117
+ },
118
+ {
119
+ "type": "Schedule 5 (Form 1040)",
120
+ "description": "Other Payments and Refundable Credits (2018 only; merged into Schedule 3 in 2019). Header reads 'Schedule 5 (Form 1040).' Covers estimated tax payments, amount from Form 8888, net premium tax credit."
121
+ },
122
+ {
123
+ "type": "Schedule 6 (Form 1040)",
124
+ "description": "Foreign Address and Third Party Designee (2018 only; merged back into Form 1040 in 2019). Short form; header reads 'Schedule 6 (Form 1040).' Contains mailing address for foreign addresses and designee authorization."
125
+ },
126
+ {
127
+ "type": "Schedule A (Form 1040)",
128
+ "description": "Itemized Deductions. Header reads 'SCHEDULE A (Form 1040)' and 'Itemized Deductions.' Lists medical expenses, state and local taxes (SALT), mortgage interest, charitable contributions, casualty losses, and other deductions."
129
+ },
130
+ {
131
+ "type": "Schedule B (Form 1040)",
132
+ "description": "Interest and Ordinary Dividends. Header reads 'SCHEDULE B (Form 1040).' Lists names of payers of interest/dividends exceeding $1,500 threshold; Part III covers foreign accounts/trusts."
133
+ },
134
+ {
135
+ "type": "Schedule C (Form 1040)",
136
+ "description": "Profit or Loss from Business (Sole Proprietorship). Header reads 'SCHEDULE C (Form 1040)' and 'Profit or Loss From Business.' Reports income, expenses, and net profit/loss from a sole proprietorship; includes business name and principal business code."
137
+ },
138
+ {
139
+ "type": "Schedule D (Form 1040)",
140
+ "description": "Capital Gains and Losses. Header reads 'SCHEDULE D (Form 1040)' and 'Capital Gains and Losses.' Summarizes short-term and long-term transactions from Form 8949; shows net capital gain/loss carried to Form 1040."
141
+ },
142
+ {
143
+ "type": "Schedule E (Form 1040)",
144
+ "description": "Supplemental Income and Loss. Header reads 'SCHEDULE E (Form 1040).' Reports rental income/loss, royalties, S-corporation income, partnership income, trust/estate income, and REMIC income."
145
+ },
146
+ {
147
+ "type": "Schedule F (Form 1040)",
148
+ "description": "Profit or Loss from Farming. Header reads 'SCHEDULE F (Form 1040)' and 'Profit or Loss From Farming.' Reports farm income and expenses including livestock, crops, and agricultural program payments."
149
+ },
150
+ {
151
+ "type": "Schedule H (Form 1040)",
152
+ "description": "Household Employment Taxes. Header reads 'SCHEDULE H (Form 1040)' and 'Household Employment Taxes.' Filed when a taxpayer pays household employees (e.g., nannies, housekeepers) more than the threshold wage amount."
153
+ },
154
+ {
155
+ "type": "Schedule K (Form 1065)",
156
+ "description": "Partners' Distributive Share Items. Labeled 'Schedule K' within a Form 1065 filing. Summarizes the total of all items of income, deduction, credit, and other information allocated among the partners; feeds into individual Schedule K-1s. Typically this schedule is part of the standard Form 1065 return packet and should be included in the Form 1065 subdocument. Only classify it separately when it is clearly a standalone schedule packet outside the core Form 1065 page sequence. Schedule K pages within a Form 8865 (foreign partnership) or Form 1120-S should remain part of that parent form's subdocument."
157
+ },
158
+ {
159
+ "type": "Schedule K-1 (Form 1065)",
160
+ "description": "Partner's Share of Income, Deductions, Credits, etc. Header reads 'Schedule K-1 (Form 1065).' Issued to each individual partner; reports that partner's share of partnership income, losses, deductions, and credits to be reported on the partner's own return."
161
+ },
162
+ {
163
+ "type": "Schedule K-1 (Form 1120-S)",
164
+ "description": "Shareholder's Share of Income, Deductions, Credits, etc. Header reads 'Schedule K-1 (Form 1120-S).' Issued to each shareholder; reports their pro-rata share of S-corporation income, loss, deductions, and credits for use on the shareholder's personal return."
165
+ },
166
+ {
167
+ "type": "Schedule L (Form 1065)",
168
+ "description": "Balance Sheets per Books. Labeled 'Schedule L' within a Form 1065 filing. Shows the partnership's assets, liabilities, and partners' capital accounts at beginning and end of year, drawn from the entity's books. Typically this schedule is part of the standard Form 1065 return packet and should be included in the Form 1065 subdocument. Only classify it separately when it is clearly a standalone schedule packet outside the core Form 1065 page sequence. Schedule L pages within a Form 8865 (foreign partnership) or Form 1120-S should remain part of that parent form's subdocument."
169
+ },
170
+ {
171
+ "type": "Schedule M (Form 1040)",
172
+ "description": "Making Work Pay Credit (2009-2010 only). Header reads 'SCHEDULE M (Form 1040).' One-time schedule issued as part of the American Recovery and Reinvestment Act; calculates a refundable credit of up to $400 ($800 MFJ) based on earned income."
173
+ },
174
+ {
175
+ "type": "Schedule M-1 (Form 1065)",
176
+ "description": "Reconciliation of Income (Loss) per Books With Income (Loss) per Return. Labeled 'Schedule M-1' within a Form 1065 filing. Reconciles book income to tax return income; shows items treated differently for book vs. tax purposes. Typically this schedule is part of the standard Form 1065 return packet and should be included in the Form 1065 subdocument. Only classify it separately when it is clearly a standalone schedule packet outside the core Form 1065 page sequence. Schedule M-1 pages within a Form 8865 (foreign partnership) or Form 1120-S should remain part of that parent form's subdocument."
177
+ },
178
+ {
179
+ "type": "Schedule M-2 (Form 1065)",
180
+ "description": "Analysis of Partners' Capital Accounts. Labeled 'Schedule M-2' within a Form 1065 filing. Reconciles beginning and ending balances in partners' capital accounts, showing contributions, current-year income, and distributions. Typically this schedule is part of the standard Form 1065 return packet and should be included in the Form 1065 subdocument. Only classify it separately when it is clearly a standalone schedule packet outside the core Form 1065 page sequence. Schedule M-2 pages within a Form 8865 (foreign partnership) or Form 1120-S should remain part of that parent form's subdocument."
181
+ },
182
+ {
183
+ "type": "Schedule M-3 (Form 1120/1065)",
184
+ "description": "Net Income (Loss) Reconciliation for Corporations/Large Partnerships With Total Assets of $10 Million or More. Header reads 'Schedule M-3.' A detailed three-part book-to-tax reconciliation required for larger entities; more granular than Schedule M-1."
185
+ },
186
+ {
187
+ "type": "Schedule SE (Form 1040)",
188
+ "description": "Self-Employment Tax. Header reads 'SCHEDULE SE (Form 1040)' and 'Self-Employment Tax.' Calculates Social Security and Medicare tax on net self-employment income; required when net SE income exceeds $400."
189
+ },
190
+ {
191
+ "type": "Form IL-1040",
192
+ "description": "Illinois Individual Income Tax Return. Header reads 'Form IL-1040' and 'Illinois Individual Income Tax Return.' The primary Illinois state income tax return for residents; reports Illinois base income, exemptions, tax credits, and balance due or refund. Appears in returns filed by Illinois residents (e.g., Obama 2009-2015)."
193
+ },
194
+ {
195
+ "type": "Form IL-2210",
196
+ "description": "Illinois Underpayment of Estimated Tax Penalty. Header reads 'Form IL-2210' and 'Computation of Penalties for Individuals.' The Illinois state equivalent of federal Form 2210; calculates the penalty for underpayment of estimated Illinois income tax. Typically includes an annualized income installment worksheet."
197
+ },
198
+ {
199
+ "type": "supplement",
200
+ "description": "Any non-form supplementary pages associated with one or more forms or schedules in this document, or with the tax return as a whole. Use this type for continuation sheets, supporting statements, software-generated detail worksheets, appraisal summaries, annualized income installment worksheets, passthrough recap worksheets, general tax return summary or transmittal pages, software-generated metadata pages (e.g., 'Additional Data' pages, numbered 'Federal Supporting Statement' pages), and any other non-form pages that support the return or specific forms within it. Supplementary sheets should always be separated from other forms, do not group them into the same subdocument.\nThis also applies to the \"Additional Data\" pages following forms that have a software id field or any other indication that it is a programmatically generated supplement to the primary form.\n\nSplitting supplements: Group supplement pages into one subdocument when they share the same report type or title (e.g., all 'QBI Pass Through Entity Reporting' pages, all sequentially numbered 'Federal Supporting Statement' pages, all pages of the same computation worksheet). These should remain one supplement even if individual pages reference different entities or line items. Only split consecutive supplements into separate subdocuments when the overall document type or purpose fundamentally changes (e.g., a series of 'Supplemental Information Statements' for different LLCs each get their own subdocument, or a transition from supporting statements to a separate passthrough recap worksheet).\n\nDo not use this type for actual forms — any document with user-fillable fields issued by a government body for tax purposes should be classified as misc_form (or its specific type if listed). The type field must always be exactly \"supplement\" with no additional text or numbers.",
201
+ "identifier_description": "The form type(s) this supplement is associated with, comma-separated if multiple (e.g., \"Form 1040\", \"Schedule C\", \"Schedule E, Schedule K-1 (Form 1065)\"). Leave empty if the supplement relates to the return as a whole rather than specific forms."
202
+ },
203
+ {
204
+ "type": "misc_form",
205
+ "description": "Any document with user-fillable fields issued by a government body for tax-related purposes that does not match one of the specific classification types listed above. This includes forms that supplement other forms. If a page has a government-issued form identifier and user-fillable fields, it should always be classified as misc_form regardless of its role in the return. The type field must always be exactly \"misc_form\" with no additional text or numbers.",
206
+ "identifier_description": "The actual identifier of the form (e.g., W-2, 1099-B, IL-Schedule_M)."
207
+ },
208
+ {
209
+ "type": "other",
210
+ "description": "RARELY USED. Any page or set of pages that does not clearly match any known form, schedule, or document type and is not supplementary documentation for the return. This includes ONLY cover pages, preparer transmittal letters, informational notices, redaction pages, or truly unrecognizable content. Blank pages should not be classified as 'other' — they should be grouped with the subdocument immediately preceding them. IMPORTANT: Before using 'other', verify the page is not: (1) a government-issued form (use 'misc_form' instead — if the page has a form number like 'Form XXXX' in the header, it is misc_form), (2) a supporting statement, worksheet, schedule detail, or software-generated page (use 'supplement' instead). The 'other' type should almost never be used in typical tax returns. The type field must always be exactly \"other\" with no additional text or numbers."
211
+ }
212
+ ],
213
+ "splitting_instructions": "Each distinct IRS form or schedule is its own subdocument. Use the form title printed at the top of the page (e.g. 'Form 1040', 'SCHEDULE A (Form 1040)', 'Schedule K-1 (Form 1065)') to identify boundaries.\nContinuation pages of the same form (i.e. pages that do not start with a new form title) belong to the current subdocument.\nMultiple instances of the same form type (e.g. several Schedule K-1s for different partners) are each their own subdocument.\n\nAdditional Data pages: Software-generated 'Additional Data' pages (typically bearing that label at the top, often with a software ID field) that appear after a form MUST be split off as a separate 'supplement' subdocument. Never include Additional Data pages in the preceding form subdocument, even when they share the same page numbering sequence (e.g. 'Page 3 of 3'). This applies to all form types including misc_form.\n\nSupplement identification and splitting: Any non-form page within a tax return bearing labels such as 'Additional Data', 'Supporting Statement', 'Federal Supporting Statement', 'Statement' (with a number), 'Worksheet', 'Attachment', 'Detail', 'Continuation', or 'QBI Pass-Through Entity Reporting' must be classified as 'supplement' (not 'other'). Group pages sharing the same report type or header style into one supplement even if they reference different entities. Include intervening or trailing blank pages in the same supplement. Only split supplements when the overall document type or purpose fundamentally changes.\n\nForm 1065 internal schedules: Schedule K, Schedule L, Schedule M-1, and Schedule M-2 that appear as the standard continuation pages within a Form 1065 return packet should generally be included in the Form 1065 subdocument rather than split out. Only split them into their own subdocument types when they are clearly presented as separate standalone sections. Within a Form 8865 (foreign partnership) or Form 1120-S, these schedules always remain part of the parent form."
214
+ }