image
imagewidth (px)
812
924
system
stringclasses
1 value
instruction
stringclasses
1 value
text
stringlengths
125
21.2k
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"עתיד הטניס - עמותה לקידום הטניס באזור ראשון לציון והסביבה (ע״ר)","page_num":null,"type":"title","title":null},"facts":[]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"עתיד הטניס - עמותה לקידום הטניס באזור ראשון לציון והסביבה (ע״ר)","page_num":null,"type":"contents_page","title":null},"facts":[]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"עתיד הטניס - עמותה לקידום הטניס באזור ראשון לציון והסביבה (ע״ר)","page_num":"2","type":"declaration","title":null},"facts":[]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"עתיד הטניס - עמותה לקידום הטניס באזור ראשון לציון והסביבה (ע״ר)","page_num":"3","type":"balance_sheet","title":"מאזנים"},"facts":[{"value":"2002","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["רכוש שוטף","מזומנים ושווי מזומנים"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[250,277,51,24]},{"value":"8196","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["רכוש שוטף","מזומנים ושווי מזומנים"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[147,277,51,18]},{"value":"14854","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["רכוש שוטף","דמי חבר לקבל / לקוחות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[252,305,51,18]},{"value":"3800","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["רכוש שוטף","דמי חבר לקבל / לקוחות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[148,301,51,18]},{"value":"16856","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["רכוש שוטף","סה״כ"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[252,327,51,20]},{"value":"11996","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["רכוש שוטף","סה״כ"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[139,326,51,15]},{"value":"26003","comment":null,"is_note":false,"note":null,"note_reference":"3","date":"2023-12-31","path":["רכוש קבוע"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[252,366,51,27]},{"value":"8281","comment":null,"is_note":false,"note":null,"note_reference":"3","date":"2022-12-31","path":["רכוש קבוע"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[144,370,51,18]},{"value":"42859","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["סה\"כ נכסים"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[252,393,51,24]},{"value":"20277","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["סה\"כ נכסים"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[141,392,51,18]},{"value":"27709","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["התחייבויות שוטפות","אשראי מתאגידים בנקאיים"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[249,465,51,18]},{"value":"11460","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["התחייבויות שוטפות","אשראי מתאגידים בנקאיים"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[139,466,51,18]},{"value":"15927","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["התחייבויות שוטפות","ספקים ונותני שרותים"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[249,489,51,18]},{"value":"12230","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["התחייבויות שוטפות","ספקים ונותני שרותים"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[142,489,51,18]},{"value":"37348","comment":null,"is_note":false,"note":null,"note_reference":"4","date":"2023-12-31","path":["התחייבויות שוטפות","זכאים שונים ויתרות זכות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[250,512,51,18]},{"value":"30594","comment":null,"is_note":false,"note":null,"note_reference":"4","date":"2022-12-31","path":["התחייבויות שוטפות","זכאים שונים ויתרות זכות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[140,513,51,18]},{"value":"80984","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["התחייבויות שוטפות","סה״כ"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[252,534,51,18]},{"value":"54284","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["התחייבויות שוטפות","סה״כ"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[140,535,51,18]},{"value":"80984","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["סה\"כ התחייבויות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[249,559,51,18]},{"value":"54284","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["סה\"כ התחייבויות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[141,559,51,18]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["גרעון בהון","נכסים נטו שלא קיימת לגביהם הגבלה (גרעון)","נכסים נטו לשימוש לפעילויות","שיועדו על ידי מוסדות המלכ\"ר"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[282,670,24,24]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["גרעון בהון","נכסים נטו שלא קיימת לגביהם הגבלה (גרעון)","נכסים נטו לשימוש לפעילויות","שיועדו על ידי מוסדות המלכ\"ר"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[173,668,24,24]},{"value":"(64128)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["גרעון בהון","נכסים נטו לשימוש לפעילויות","נכסים נטו שלא קיימת לגביהם הגבלה (גרעון)","שלא יועדו על ידי מוסדות המלכ\"ר"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[252,696,51,26]},{"value":"(42288)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["גרעון בהון","נכסים נטו לשימוש לפעילויות","נכסים נטו שלא קיימת לגביהם הגבלה (גרעון)","שלא יועדו על ידי מוסדות המלכ\"ר"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[138,699,51,18]},{"value":"(64128)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["גרעון בהון","נכסים נטו שלא קיימת לגביהם הגבלה (גרעון)","נכסים נטו לשימוש לפעילויות","סה\"כ"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[253,720,51,26]},{"value":"(42288)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["גרעון בהון","נכסים נטו שלא קיימת לגביהם הגבלה (גרעון)","נכסים נטו לשימוש לפעילויות","סה\"כ"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[128,715,69,26]},{"value":"26003","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["גרעון בהון","נכסים נטו שלא קיימת לגביהם הגבלה (גרעון)","נכסים נטו ששימשו לרכוש קבוע"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[250,736,51,26]},{"value":"8281","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["גרעון בהון","נכסים נטו שלא קיימת לגביהם הגבלה (גרעון)","נכסים נטו ששימשו לרכוש קבוע"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[151,740,51,26]},{"value":"(38125)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["גרעון בהון","סה״כ"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[253,761,51,25]},{"value":"(34007)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["גרעון בהון","סה״כ"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[139,767,63,27]},{"value":"42859","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["סה\"כ התחייבויות ונכסים נטו"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[252,793,51,18]},{"value":"20277","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["סה\"כ התחייבויות ונכסים נטו"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[144,792,51,18]}]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"עתיד הטניס - עמותה לקידום הטניס באזור ראשון לציון והסביבה (ע״ר)","page_num":"4","type":"income_statement","title":"דוחות על הפעילויות"},"facts":[{"value":"1445674","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["מחזור הפעילויות","הכנסות ממתן שירותים"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[235,291,76,18]},{"value":"1280395","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["מחזור הפעילויות","הכנסות ממתן שירותים"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[122,291,76,18]},{"value":"1304248","comment":null,"is_note":false,"note":null,"note_reference":"5","date":"2023-12-31","path":["עלות הפעילויות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[229,317,76,18]},{"value":"1344239","comment":null,"is_note":false,"note":null,"note_reference":"5","date":"2022-12-31","path":["עלות הפעילויות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[121,315,76,21]},{"value":"141426","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["הכנסות (הוצאות) נטו מפעילויות (לפעילויות)"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[230,340,76,18]},{"value":"(63844)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["הכנסות (הוצאות) נטו מפעילויות (לפעילויות)"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[124,341,76,17]},{"value":"134960","comment":null,"is_note":false,"note":null,"note_reference":"6","date":"2023-12-31","path":["הוצאות הנהלה וכלליות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[234,387,76,18]},{"value":"142051","comment":null,"is_note":false,"note":null,"note_reference":"6","date":"2022-12-31","path":["הוצאות הנהלה וכלליות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[117,386,76,18]},{"value":"6466","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["הכנסות (הוצאות) נטו לפני מימון"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[232,409,76,18]},{"value":"(205895)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["הכנסות (הוצאות) נטו לפני מימון"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[117,408,76,18]},{"value":"10584","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["מימון, נטו"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[234,455,76,18]},{"value":"9102","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["מימון, נטו"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[116,456,76,18]},{"value":"(4118)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["גרעון לתקופה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[231,479,76,18]},{"value":"(214997)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["גרעון לתקופה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[115,480,76,18]}]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"עתיד הטניס - עמותה לקידום הטניס באזור ראשון לציון והסביבה (ע\"ר)","page_num":"5","type":"profits","title":"דוחות על השינויים בגרעון בהון"},"facts":[{"value":"180990","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-01-01","path":["יתרות ליום 1 בינואר 2022","שאין לגביהם הגבלה","לשימוש לפעילויות שלא יועדו על ידי מוסדות המלכ\"ר"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[375,332,64,20]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-01-01","path":["יתרות ליום 1 בינואר 2022","שאין לגביהם הגבלה","לשימוש לפעילויות שיועדו על ידי מוסדות המלכ\"ר"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[331,340,8,7]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-01-01","path":["יתרות ליום 1 בינואר 2022","שאין לגביהם הגבלה","נכסים נטו ששימשו לרכוש קבוע"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[238,338,8,7]},{"value":"180990","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-01-01","path":["יתרות ליום 1 בינואר 2022","סה\"כ"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[112,334,51,17]},{"value":"(214997)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["תוספות במהלך השנה","גרעון לשנה","שאין לגביהם הגבלה","לשימוש לפעילויות שלא יועדו על ידי מוסדות המלכ\"ר"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[371,379,69,20]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["תוספות במהלך השנה","גרעון לשנה","שאין לגביהם הגבלה","לשימוש לפעילויות שיועדו על ידי מוסדות המלכ\"ר"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[331,385,8,7]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["תוספות במהלך השנה","גרעון לשנה","שאין לגביהם הגבלה","נכסים נטו ששימשו לרכוש קבוע"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[238,385,8,7]},{"value":"(214997)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["תוספות במהלך השנה","גרעון לשנה","סה\"כ"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[107,380,59,17]},{"value":"(9401)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["העברת סכומים שלא קיימת לגביהם הגבלה","ששימשו לרכוש קבוע","שאין לגביהם הגבלה","לשימוש לפעילויות שלא יועדו על ידי מוסדות המלכ\"ר"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[380,451,57,18]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["העברת סכומים שלא קיימת לגביהם הגבלה","ששימשו לרכוש קבוע","שאין לגביהם הגבלה","לשימוש לפעילויות שיועדו על ידי מוסדות המלכ\"ר"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[331,456,8,5]},{"value":"9401","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["העברת סכומים שלא קיימת לגביהם הגבלה","ששימשו לרכוש קבוע","שאין לגביהם הגבלה","נכסים נטו ששימשו לרכוש קבוע"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[204,452,43,17]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["העברת סכומים שלא קיימת לגביהם הגבלה","ששימשו לרכוש קבוע","סה\"כ"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[155,455,6,6]},{"value":"1120","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["העברת סכומים שלא קיימת לגביהם הגבלה","סכומים שהועברו לכיסוי הוצאות פחת","שאין לגביהם הגבלה","לשימוש לפעילויות שלא יועדו על ידי מוסדות המלכ\"ר"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[392,472,44,17]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["העברת סכומים שלא קיימת לגביהם הגבלה","סכומים שהועברו לכיסוי הוצאות פחת","שאין לגביהם הגבלה","לשימוש לפעילויות שיועדו על ידי מוסדות המלכ\"ר"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[331,479,7,5]},{"value":"(1120)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["העברת סכומים שלא קיימת לגביהם הגבלה","סכומים שהועברו לכיסוי הוצאות פחת","שאין לגביהם הגבלה","נכסים נטו ששימשו לרכוש קבוע"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[202,472,46,19]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["העברת סכומים שלא קיימת לגביהם הגבלה","סכומים שהועברו לכיסוי הוצאות פחת","סה\"כ"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[155,479,8,5]},{"value":"(8281)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["העברת סכומים שלא קיימת לגביהם הגבלה","שאין לגביהם הגבלה","לשימוש לפעילויות שלא יועדו על ידי מוסדות המלכ\"ר"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[380,498,57,17]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["העברת סכומים שלא קיימת לגביהם הגבלה","שאין לגביהם הגבלה","לשימוש לפעילויות שיועדו על ידי מוסדות המלכ\"ר"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[331,502,7,5]},{"value":"8281","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["העברת סכומים שלא קיימת לגביהם הגבלה","שאין לגביהם הגבלה","נכסים נטו ששימשו לרכוש קבוע"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[204,498,43,17]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["העברת סכומים שלא קיימת לגביהם הגבלה","סה\"כ"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[155,502,8,7]},{"value":"(42288)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["יתרות ליום 31 בדצמבר 2022","שאין לגביהם הגבלה","לשימוש לפעילויות שלא יועדו על ידי מוסדות המלכ\"ר"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[376,521,62,17]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["יתרות ליום 31 בדצמבר 2022","שאין לגביהם הגבלה","לשימוש לפעילויות שיועדו על ידי מוסדות המלכ\"ר"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[331,525,8,5]},{"value":"8281","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["יתרות ליום 31 בדצמבר 2022","שאין לגביהם הגבלה","נכסים נטו ששימשו לרכוש קבוע"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[204,522,43,17]},{"value":"(34007)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["יתרות ליום 31 בדצמבר 2022","סה\"כ"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[111,521,55,17]},{"value":"(4118)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["תוספות במהלך השנה","גרעון לשנה","שאין לגביהם הגבלה","לשימוש לפעילויות שלא יועדו על ידי מוסדות המלכ\"ר"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[383,567,55,17]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["תוספות במהלך השנה","גרעון לשנה","שאין לגביהם הגבלה","לשימוש לפעילויות שיועדו על ידי מוסדות המלכ\"ר"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[331,571,8,5]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["תוספות במהלך השנה","גרעון לשנה","שאין לגביהם הגבלה","נכסים נטו ששימשו לרכוש קבוע"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[238,573,8,3]},{"value":"(4118)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["תוספות במהלך השנה","גרעון לשנה","סה\"כ"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[119,567,47,17]},{"value":"(20160)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["העברת סכומים שלא קיימת לגביהם הגבלה","ששימשו לרכוש קבוע","שאין לגביהם הגבלה","לשימוש לפעילויות שלא יועדו על ידי מוסדות המלכ\"ר"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[375,638,62,17]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["העברת סכומים שלא קיימת לגביהם הגבלה","ששימשו לרכוש קבוע","שאין לגביהם הגבלה","לשימוש לפעילויות שיועדו על ידי מוסדות המלכ\"ר"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[330,641,8,7]},{"value":"20160","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["העברת סכומים שלא קיימת לגביהם הגבלה","ששימשו לרכוש קבוע","שאין לגביהם הגבלה","נכסים נטו ששימשו לרכוש קבוע"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[197,638,50,17]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["העברת סכומים שלא קיימת לגביהם הגבלה","ששימשו לרכוש קבוע","סה\"כ"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[155,642,8,7]},{"value":"2438","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["העברת סכומים שלא קיימת לגביהם הגבלה","סכומים שהועברו לכיסוי הוצאות פחת","שאין לגביהם הגבלה","לשימוש לפעילויות שלא יועדו על ידי מוסדות המלכ\"ר"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[393,658,44,17]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["העברת סכומים שלא קיימת לגביהם הגבלה","סכומים שהועברו לכיסוי הוצאות פחת","שאין לגביהם הגבלה","לשימוש לפעילויות שיועדו על ידי מוסדות המלכ\"ר"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[330,663,8,7]},{"value":"(2438)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["העברת סכומים שלא קיימת לגביהם הגבלה","סכומים שהועברו לכיסוי הוצאות פחת","שאין לגביהם הגבלה","נכסים נטו ששימשו לרכוש קבוע"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[203,658,45,17]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["העברת סכומים שלא קיימת לגביהם הגבלה","סכומים שהועברו לכיסוי הוצאות פחת","סה\"כ"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[155,664,8,7]},{"value":"(17722)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["העברת סכומים שלא קיימת לגביהם הגבלה","שאין לגביהם הגבלה","לשימוש לפעילויות שלא יועדו על ידי מוסדות המלכ\"ר"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[375,683,62,17]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["העברת סכומים שלא קיימת לגביהם הגבלה","שאין לגביהם הגבלה","לשימוש לפעילויות שיועדו על ידי מוסדות המלכ\"ר"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[331,687,8,6]},{"value":"17722","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["העברת סכומים שלא קיימת לגביהם הגבלה","שאין לגביהם הגבלה","נכסים נטו ששימשו לרכוש קבוע"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[197,683,50,17]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["העברת סכומים שלא קיימת לגביהם הגבלה","סה\"כ"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[154,687,8,7]},{"value":"(64128)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["יתרות ליום 31 בדצמבר 2023","שאין לגביהם הגבלה","לשימוש לפעילויות שלא יועדו על ידי מוסדות המלכ\"ר"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[375,707,62,17]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["יתרות ליום 31 בדצמבר 2023","שאין לגביהם הגבלה","לשימוש לפעילויות שיועדו על ידי מוסדות המלכ\"ר"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[330,711,9,4]},{"value":"26003","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["יתרות ליום 31 בדצמבר 2023","שאין לגביהם הגבלה","נכסים נטו ששימשו לרכוש קבוע"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[197,707,50,17]},{"value":"(38125)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["יתרות ליום 31 בדצמבר 2023","סה\"כ"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[113,706,54,17]}]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"עתיד הטניס - עמותה לקידום הטניס באזור ראשון לציון והסביבה (ע\"ר)","page_num":"6","type":"notes","title":"באורים לדוחות הכספיים"},"facts":[{"value":"29561","comment":"3","is_note":true,"note":"3","note_reference":"","date":"2023-12-31","path":["באור 3 - רכוש קבוע","ריהוט וציוד משרדי","עלות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[349,989,49,17]},{"value":"3558","comment":"3","is_note":true,"note":"3","note_reference":"","date":"2023-12-31","path":["באור 3 - רכוש קבוע","ריהוט וציוד משרדי","פחת שנצבר"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[278,989,44,17]},{"value":"26003","comment":"3","is_note":true,"note":"3","note_reference":"","date":"2023-12-31","path":["באור 3 - רכוש קבוע","ריהוט וציוד משרדי","עלות מופחתת"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[194,989,52,17]},{"value":"8281","comment":"3","is_note":true,"note":"3","note_reference":"","date":"2022-12-31","path":["באור 3 - רכוש קבוע","ריהוט וציוד משרדי","עלות מופחתת"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[115,989,47,17]}]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"עתיד הטניס - עמותה לקידום הטניס באזור ראשון לציון והסביבה (ע\"ר)","page_num":"7","type":"notes","title":"באורים לדוחות הכספיים"},"facts":[{"value":"8230","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["באור 4 - זכאים שונים ויתרות זכות","מוסדות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[252,261,57,17]},{"value":"20021","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["באור 4 - זכאים שונים ויתרות זכות","מוסדות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[137,261,52,17]},{"value":"25780","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["באור 4 - זכאים שונים ויתרות זכות","עובדים"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[252,281,60,17]},{"value":"10573","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["באור 4 - זכאים שונים ויתרות זכות","עובדים"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[137,281,52,17]},{"value":"3338","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["באור 4 - זכאים שונים ויתרות זכות","אחרים"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[262,299,47,17]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["באור 4 - זכאים שונים ויתרות זכות","אחרים"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[168,297,31,18]},{"value":"37348","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["באור 4 - זכאים שונים ויתרות זכות","סה\"כ"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[250,319,61,17]},{"value":"30594","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["באור 4 - זכאים שונים ויתרות זכות","סה\"כ"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[137,319,52,17]},{"value":"483409","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["באור 5 - עלות הפעילויות","שכר עבודה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[248,465,56,17]},{"value":"389331","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["באור 5 - עלות הפעילויות","שכר עבודה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[132,465,58,17]},{"value":"88943","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["באור 5 - עלות הפעילויות","הוצאות נלוות לשכר"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[255,484,49,17]},{"value":"80649","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["באור 5 - עלות הפעילויות","הוצאות נלוות לשכר"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[140,484,50,17]},{"value":"330793","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["באור 5 - עלות הפעילויות","קבלני משנה ועבודות חוץ"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[250,502,54,17]},{"value":"434594","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["באור 5 - עלות הפעילויות","קבלני משנה ועבודות חוץ"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[134,502,56,17]},{"value":"118105","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["באור 5 - עלות הפעילויות","שכירות מתקנים ומגרשים"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[252,521,53,17]},{"value":"168043","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["באור 5 - עלות הפעילויות","שכירות מתקנים ומגרשים"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[136,522,54,17]},{"value":"4461","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["באור 5 - עלות הפעילויות","הסעות והובלות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[267,541,38,17]},{"value":"8495","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["באור 5 - עלות הפעילויות","הסעות והובלות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[152,542,38,17]},{"value":"80865","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["באור 5 - עלות הפעילויות","קניות פרסים, ציוד וביגוד"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[258,558,47,18]},{"value":"91309","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["באור 5 - עלות הפעילויות","קניות פרסים, ציוד וביגוד"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[143,558,48,17]},{"value":"197672","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["באור 5 - עלות הפעילויות","הפקת פרוייקטים ואירועים"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[253,578,53,17]},{"value":"171818","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["באור 5 - עלות הפעילויות","הפקת פרוייקטים ואירועים"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[136,576,53,17]},{"value":"1304248","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["באור 5 - עלות הפעילויות","סה\"כ"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[241,597,66,17]},{"value":"1344239","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["באור 5 - עלות הפעילויות","סה\"כ"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[126,596,64,17]},{"value":"10389","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["באור 6 - הוצאות הנהלה וכלליות","משרדיות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[255,743,49,17]},{"value":"11572","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["באור 6 - הוצאות הנהלה וכלליות","משרדיות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[141,743,48,17]},{"value":"10134","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["באור 6 - הוצאות הנהלה וכלליות","אחזקה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[255,762,49,17]},{"value":"4983","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["באור 6 - הוצאות הנהלה וכלליות","אחזקה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[152,762,38,17]},{"value":"31856","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["באור 6 - הוצאות הנהלה וכלליות","שירותים מקצועיים"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[255,782,49,17]},{"value":"39560","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["באור 6 - הוצאות הנהלה וכלליות","שירותים מקצועיים"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[140,782,50,17]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["באור 6 - הוצאות הנהלה וכלליות","כיבודים ואש\"ל"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[295,799,11,17]},{"value":"4384","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["באור 6 - הוצאות הנהלה וכלליות","כיבודים ואש\"ל"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[151,800,38,17]},{"value":"11658","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["באור 6 - הוצאות הנהלה וכלליות","ביטוחים"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[258,818,50,20]},{"value":"12971","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["באור 6 - הוצאות הנהלה וכלליות","ביטוחים"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[142,818,48,17]},{"value":"45309","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["באור 6 - הוצאות הנהלה וכלליות","אחזקת רכב"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[255,837,56,21]},{"value":"45984","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["באור 6 - הוצאות הנהלה וכלליות","אחזקת רכב"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[141,837,50,17]},{"value":"702","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["באור 6 - הוצאות הנהלה וכלליות","משפטיות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[282,858,22,17]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["באור 6 - הוצאות הנהלה וכלליות","משפטיות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[174,854,22,17]},{"value":"18964","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["באור 6 - הוצאות הנהלה וכלליות","פרסום"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[255,878,49,17]},{"value":"13122","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["באור 6 - הוצאות הנהלה וכלליות","פרסום"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[142,876,48,16]},{"value":"1715","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["באור 6 - הוצאות הנהלה וכלליות","מיסים ואגרות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[267,893,39,22]},{"value":"4966","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["באור 6 - הוצאות הנהלה וכלליות","מיסים ואגרות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[152,893,38,22]},{"value":"(35)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["באור 6 - הוצאות הנהלה וכלליות","שונות ובטולי יתרות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[280,912,30,16]},{"value":"(261)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["באור 6 - הוצאות הנהלה וכלליות","שונות ובטולי יתרות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[159,913,31,17]},{"value":"1830","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["באור 6 - הוצאות הנהלה וכלליות","מתנות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[267,932,37,22]},{"value":"3650","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["באור 6 - הוצאות הנהלה וכלליות","מתנות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[151,933,38,17]},{"value":"2438","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["באור 6 - הוצאות הנהלה וכלליות","הוצאות פחת"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[267,949,37,23]},{"value":"1120","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["באור 6 - הוצאות הנהלה וכלליות","הוצאות פחת"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[154,953,36,17]},{"value":"134960","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["באור 6 - הוצאות הנהלה וכלליות","סה\"כ"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[250,970,54,17]},{"value":"142051","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["באור 6 - הוצאות הנהלה וכלליות","סה\"כ"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[135,972,54,17]}]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"אורנים - המכללה האקדמית לחינוך, התנועה הקיבוצית","page_num":null,"type":"other","title":"דוחות כספיים"},"facts":[]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"אורנים - המכללה האקדמית לחינוך, התנועה הקיבוצית","page_num":null,"type":"contents_page","title":"תוכן העניינים"},"facts":[]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"אורנים - המכללה האקדמית לחינוך, התנועה הקיבוצית","page_num":"2","type":"declaration","title":"דוח רואה החשבון המבקר לחברי העמותה"},"facts":[]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"אורנים - המכללה האקדמית לחינוך, התנועה הקיבוצית","page_num":"3","type":"balance_sheet","title":"דוחות על המצב הכספי"},"facts":[{"value":"10255","comment":null,"is_note":false,"note":null,"note_reference":"4","date":"2021-09-30","path":["נכסים שוטפים","מזומנים ושווי מזומנים"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[236,295,39,13]},{"value":"4851","comment":null,"is_note":false,"note":null,"note_reference":"4","date":"2020-09-30","path":["נכסים שוטפים","מזומנים ושווי מזומנים"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[134,295,37,13]},{"value":"3283","comment":null,"is_note":false,"note":null,"note_reference":"5","date":"2021-09-30","path":["נכסים שוטפים","ניירות ערך סחירים לזמן קצר"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[240,312,36,13]},{"value":"5240","comment":null,"is_note":false,"note":null,"note_reference":"5","date":"2020-09-30","path":["נכסים שוטפים","ניירות ערך סחירים לזמן קצר"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[137,313,33,13]},{"value":"963","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["נכסים שוטפים","לקוחות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[247,329,29,13]},{"value":"1361","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["נכסים שוטפים","לקוחות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[138,328,29,13]},{"value":"12164","comment":null,"is_note":false,"note":null,"note_reference":"6","date":"2021-09-30","path":["נכסים שוטפים","חייבים ויתרות חובה"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[238,344,38,16]},{"value":"11337","comment":null,"is_note":false,"note":null,"note_reference":"6","date":"2020-09-30","path":["נכסים שוטפים","חייבים ויתרות חובה"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[132,345,37,13]},{"value":"26665","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["נכסים שוטפים"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[236,377,40,13]},{"value":"22789","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["נכסים שוטפים"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[131,378,40,13]},{"value":"2296","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["נכסים לא שוטפים","מזומנים המיועדים לכיסוי קרנות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[241,441,33,15]},{"value":"2123","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["נכסים לא שוטפים","מזומנים המיועדים לכיסוי קרנות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[137,442,32,13]},{"value":"23878","comment":null,"is_note":false,"note":null,"note_reference":"12,5א'","date":"2021-09-30","path":["נכסים לא שוטפים","ניירות ערך לזמן ארוך מיועדים"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[233,459,45,13]},{"value":"20340","comment":null,"is_note":false,"note":null,"note_reference":"12,5א'","date":"2020-09-30","path":["נכסים לא שוטפים","ניירות ערך לזמן ארוך מיועדים"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[130,460,42,14]},{"value":"3104","comment":null,"is_note":false,"note":null,"note_reference":"13א'","date":"2021-09-30","path":["נכסים לא שוטפים","הוצאות מראש"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[236,477,43,14]},{"value":"3252","comment":null,"is_note":false,"note":null,"note_reference":"13א'","date":"2020-09-30","path":["נכסים לא שוטפים","הוצאות מראש"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[138,476,33,13]},{"value":"42289","comment":null,"is_note":false,"note":null,"note_reference":"7","date":"2021-09-30","path":["נכסים לא שוטפים","רכוש קבוע, נטו"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[235,493,39,13]},{"value":"44066","comment":null,"is_note":false,"note":null,"note_reference":"7","date":"2020-09-30","path":["נכסים לא שוטפים","רכוש קבוע, נטו"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[130,492,40,13]},{"value":"99","comment":null,"is_note":false,"note":null,"note_reference":"8","date":"2021-09-30","path":["נכסים לא שוטפים","נכסים בלתי מוחשיים, נטו"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[258,510,19,12]},{"value":"75","comment":null,"is_note":false,"note":null,"note_reference":"8","date":"2020-09-30","path":["נכסים לא שוטפים","נכסים בלתי מוחשיים, נטו"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[152,510,18,13]},{"value":"71666","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["נכסים לא שוטפים","סה״כ"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[236,540,43,15]},{"value":"69856","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["נכסים לא שוטפים","סה״כ"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[127,540,46,15]},{"value":"98331","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["נכסים","סה״כ"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[234,601,41,13]},{"value":"92645","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["נכסים","סה״כ"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[127,599,49,15]}]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"אורנים - המכללה האקדמית לחינוך, התנועה הקיבוצית","page_num":"4","type":"balance_sheet","title":"דוחות על המצב הכספי"},"facts":[{"value":"8330","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["התחייבויות שוטפות","מקדמות על חשבון שכר לימוד"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[218,268,50,18]},{"value":"6077","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["התחייבויות שוטפות","מקדמות על חשבון שכר לימוד"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[125,265,51,18]},{"value":"3671","comment":null,"is_note":false,"note":null,"note_reference":"9","date":"2021-09-30","path":["התחייבויות שוטפות","ספקים"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[219,283,49,18]},{"value":"3201","comment":null,"is_note":false,"note":null,"note_reference":"9","date":"2020-09-30","path":["התחייבויות שוטפות","ספקים"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[125,280,50,18]},{"value":"12407","comment":null,"is_note":false,"note":null,"note_reference":"10","date":"2021-09-30","path":["התחייבויות שוטפות","התחייבויות לעובדים והתחייבויות אחרות בגין שכר ומשכורת"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[213,298,55,18]},{"value":"11263","comment":null,"is_note":false,"note":null,"note_reference":"10","date":"2020-09-30","path":["התחייבויות שוטפות","התחייבויות לעובדים והתחייבויות אחרות בגין שכר ומשכורת"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[121,294,55,19]},{"value":"5179","comment":null,"is_note":false,"note":null,"note_reference":"11","date":"2021-09-30","path":["התחייבויות שוטפות","זכאים ויתרות זכות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[220,312,48,18]},{"value":"7080","comment":null,"is_note":false,"note":null,"note_reference":"11","date":"2020-09-30","path":["התחייבויות שוטפות","זכאים ויתרות זכות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[125,310,50,18]},{"value":"29587","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["התחייבויות שוטפות","סך הכל"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[214,348,55,18]},{"value":"27621","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["התחייבויות שוטפות","סך הכל"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[120,346,55,18]},{"value":"118","comment":null,"is_note":false,"note":null,"note_reference":"13א'","date":"2021-09-30","path":["התחייבויות לא שוטפות","זכאים לזמן ארוך"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[233,394,40,20]},{"value":"318","comment":null,"is_note":false,"note":null,"note_reference":"13א'","date":"2020-09-30","path":["התחייבויות לא שוטפות","זכאים לזמן ארוך"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[139,391,41,20]},{"value":"18093","comment":null,"is_note":false,"note":null,"note_reference":"12","date":"2021-09-30","path":["התחייבויות לא שוטפות","התחייבויות בשל זכויות עובדים"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[219,409,55,22]},{"value":"18731","comment":null,"is_note":false,"note":null,"note_reference":"12","date":"2020-09-30","path":["התחייבויות לא שוטפות","התחייבויות בשל זכויות עובדים"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[126,405,55,22]},{"value":"1422","comment":null,"is_note":false,"note":null,"note_reference":"14","date":"2021-09-30","path":["התחייבויות לא שוטפות","שטרי הון"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[225,423,48,22]},{"value":"1422","comment":null,"is_note":false,"note":null,"note_reference":"14","date":"2020-09-30","path":["התחייבויות לא שוטפות","שטרי הון"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[131,421,48,22]},{"value":"19633","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["התחייבויות לא שוטפות","סך הכל"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[218,458,54,22]},{"value":"20471","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["התחייבויות לא שוטפות","סך הכל"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[126,455,55,22]},{"value":"1391","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["נכסים נטו שלא קיימת לגביהם הגבלה","לשימוש לפעילויות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[221,555,47,18]},{"value":"(4887)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["נכסים נטו שלא קיימת לגביהם הגבלה","לשימוש לפעילויות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[115,552,60,19]},{"value":"42388","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["נכסים נטו שלא קיימת לגביהם הגבלה","ששימשו לרכוש קבוע ונכסים בלתי מוחשיים"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[214,570,55,18]},{"value":"44141","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["נכסים נטו שלא קיימת לגביהם הגבלה","ששימשו לרכוש קבוע ונכסים בלתי מוחשיים"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[121,567,55,18]},{"value":"43779","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["נכסים נטו שלא קיימת לגביהם הגבלה","סך הכל"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[213,596,55,18]},{"value":"39254","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["נכסים נטו שלא קיימת לגביהם הגבלה","סך הכל"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[121,596,55,18]},{"value":"5315","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["נכסים נטו שקיימת לגביהם הגבלה","בעלת אופי זמני"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[219,644,49,18]},{"value":"5164","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["נכסים נטו שקיימת לגביהם הגבלה","בעלת אופי זמני"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[125,640,49,19]},{"value":"17","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["נכסים נטו שקיימת לגביהם הגבלה","בעלת אופי קבוע"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[232,659,34,16]},{"value":"135","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["נכסים נטו שקיימת לגביהם הגבלה","בעלת אופי קבוע"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[134,655,40,16]},{"value":"5332","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["נכסים נטו שקיימת לגביהם הגבלה","סך הכל"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[220,693,48,18]},{"value":"5299","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["נכסים נטו שקיימת לגביהם הגבלה","סך הכל"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[125,691,49,18]},{"value":"49111","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["סך הכל נכסים נטו"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[213,724,55,18]},{"value":"44553","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["סך הכל נכסים נטו"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[121,720,55,18]},{"value":"98331","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["סך הכל התחייבויות ונכסים נטו"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[213,766,55,18]},{"value":"92645","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["סך הכל התחייבויות ונכסים נטו"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[114,763,55,18]}]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"אורנים - המכללה האקדמית לחינוך, התנועה הקיבוצית","page_num":"5","type":"profits","title":"דוחות על הפעילויות"},"facts":[{"value":"47121","comment":null,"is_note":false,"note":null,"note_reference":"15","date":"2021-09-30","path":["מחזור הפעילויות","הכנסות מסטודנטים"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[298,289,37,17]},{"value":"47463","comment":null,"is_note":false,"note":null,"note_reference":"15","date":"2020-09-30","path":["מחזור הפעילויות","הכנסות מסטודנטים"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[157,290,39,17]},{"value":"75887","comment":"כולל הכנסות (הוצאות) התקבלות (הניתנות) ישירות למורים ממשרד החינוך.","is_note":false,"note":null,"note_reference":"16","date":"2021-09-30","path":["מחזור הפעילויות","הקצבות ממשרד החינוך לשימוש לפעילות הוראה (א)"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[298,308,39,17]},{"value":"76814","comment":"כולל הכנסות (הוצאות) התקבלות (הניתנות) ישירות למורים ממשרד החינוך.","is_note":false,"note":null,"note_reference":"16","date":"2020-09-30","path":["מחזור הפעילויות","הקצבות ממשרד החינוך לשימוש לפעילות הוראה (א)"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[156,309,39,17]},{"value":"7213","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["מחזור הפעילויות","הקצבות אחרות ממשרדי ממשלה"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[305,326,32,17]},{"value":"5289","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["מחזור הפעילויות","הקצבות אחרות ממשרדי ממשלה"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[163,326,32,17]},{"value":"20081","comment":"העמותה לא קיבלה תרומה מישות מדינית זרה כמשמעותה בסעיף 36ב׳ לחוק העמותות.","is_note":false,"note":null,"note_reference":"17","date":"2021-09-30","path":["מחזור הפעילויות","תרומות והקצבות (ב)"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[298,343,38,17]},{"value":"19336","comment":"העמותה לא קיבלה תרומה מישות מדינית זרה כמשמעותה בסעיף 36ב׳ לחוק העמותות.","is_note":false,"note":null,"note_reference":"17","date":"2020-09-30","path":["מחזור הפעילויות","תרומות והקצבות (ב)"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[156,344,39,17]},{"value":"2288","comment":null,"is_note":false,"note":null,"note_reference":"18","date":"2021-09-30","path":["מחזור הפעילויות","הכנסות שונות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[304,361,32,17]},{"value":"2511","comment":null,"is_note":false,"note":null,"note_reference":"18","date":"2020-09-30","path":["מחזור הפעילויות","הכנסות שונות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[163,362,32,17]},{"value":"152590","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["מחזור הפעילויות","סה״כ"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[292,394,45,17]},{"value":"151413","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["מחזור הפעילויות","סה״כ"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[151,394,44,17]},{"value":"130782","comment":"כולל הכנסות (הוצאות) התקבלות (הניתנות) ישירות למורים ממשרד החינוך.","is_note":false,"note":null,"note_reference":"19","date":"2021-09-30","path":["עלות הפעילויות","הוראה, מחקר ושירותי עזר (א)"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[292,460,45,17]},{"value":"129337","comment":"כולל הכנסות (הוצאות) התקבלות (הניתנות) ישירות למורים ממשרד החינוך.","is_note":false,"note":null,"note_reference":"19","date":"2020-09-30","path":["עלות הפעילויות","הוראה, מחקר ושירותי עזר (א)"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[150,460,45,17]},{"value":"7765","comment":null,"is_note":false,"note":null,"note_reference":"20","date":"2021-09-30","path":["עלות הפעילויות","שירותים ומלגות לסטודנטים"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[304,477,32,17]},{"value":"8542","comment":null,"is_note":false,"note":null,"note_reference":"20","date":"2020-09-30","path":["עלות הפעילויות","שירותים ומלגות לסטודנטים"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[162,478,33,17]},{"value":"138547","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["עלות הפעילויות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[292,509,45,17]},{"value":"137879","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["עלות הפעילויות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[151,510,44,17]},{"value":"14043","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["הכנסות נטו מפעילויות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[298,550,39,17]},{"value":"13534","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["הכנסות נטו מפעילויות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[156,551,39,17]},{"value":"7098","comment":null,"is_note":false,"note":null,"note_reference":"21","date":"2021-09-30","path":["הוצאות הנהלה וכלליות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[304,581,32,17]},{"value":"6427","comment":null,"is_note":false,"note":null,"note_reference":"21","date":"2020-09-30","path":["הוצאות הנהלה וכלליות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[162,581,33,17]},{"value":"2356","comment":null,"is_note":false,"note":null,"note_reference":"22","date":"2021-09-30","path":["הוצאות פרסום ושיווק"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[304,597,32,17]},{"value":"2371","comment":null,"is_note":false,"note":null,"note_reference":"22","date":"2020-09-30","path":["הוצאות פרסום ושיווק"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[163,598,32,17]},{"value":"4589","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["הכנסות נטו לפני מימון ואחרות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[304,630,43,17]},{"value":"4736","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["הכנסות נטו לפני מימון ואחרות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[163,631,32,17]},{"value":"1274","comment":null,"is_note":false,"note":null,"note_reference":"23","date":"2021-09-30","path":["הכנסות (הוצאות) מימון, נטו"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[308,663,36,17]},{"value":"(561)","comment":null,"is_note":false,"note":null,"note_reference":"23","date":"2020-09-30","path":["הכנסות (הוצאות) מימון, נטו"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[160,664,36,17]},{"value":"5863","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["עודף לשנה"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[310,696,32,17]},{"value":"4175","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["עודף לשנה"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[163,697,32,17]}]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"אורנים - המכללה האקדמית לחינוך, התנועה הקיבוצית","page_num":"6","type":"profits","title":"דוח על השינויים בנכסים נטו"},"facts":[{"value":"(4887)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-10-01","path":["יתרה ליום 1 באוקטובר, 2020","נכסים נטו שלא קיימת לגביהם הגבלה (גירעון מצטבר מפעילויות)","לשמוש לפעילויות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[492,353,47,18]},{"value":"44141","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-10-01","path":["יתרה ליום 1 באוקטובר, 2020","נכסים נטו שלא קיימת לגביהם הגבלה (גירעון מצטבר מפעילויות)","ששימשו לרכוש קבוע ונכסים בלתי מוחשיים"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[398,353,41,18]},{"value":"5164","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-10-01","path":["יתרה ליום 1 באוקטובר, 2020","נכסים נטו שקיימת לגביהם הגבלה","בעלת אופי זמני"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[314,353,37,18]},{"value":"135","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-10-01","path":["יתרה ליום 1 באוקטובר, 2020","נכסים נטו שקיימת לגביהם הגבלה","בעלת אופי קבוע"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[240,353,28,18]},{"value":"44553","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-10-01","path":["יתרה ליום 1 באוקטובר, 2020","סך הכל"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[135,353,42,18]},{"value":"5863","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["שינויים במהלך השנה","עודף לשנה","נכסים נטו שלא קיימת לגביהם הגבלה (גירעון מצטבר מפעילויות)","לשמוש לפעילויות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[497,408,39,18]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["שינויים במהלך השנה","עודף לשנה","נכסים נטו שלא קיימת לגביהם הגבלה (גירעון מצטבר מפעילויות)","ששימשו לרכוש קבוע ונכסים בלתי מוחשיים"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[429,408,11,18]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["שינויים במהלך השנה","עודף לשנה","נכסים נטו שקיימת לגביהם הגבלה","בעלת אופי זמני"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[341,406,12,13]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["שינויים במהלך השנה","עודף לשנה","נכסים נטו שקיימת לגביהם הגבלה","בעלת אופי קבוע"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[256,408,16,11]},{"value":"5863","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["שינויים במהלך השנה","עודף לשנה","סך הכל"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[144,405,37,18]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["שינויים במהלך השנה","תרומות","נכסים נטו שלא קיימת לגביהם הגבלה (גירעון מצטבר מפעילויות)","לשמוש לפעילויות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[525,425,9,8]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["שינויים במהלך השנה","תרומות","נכסים נטו שלא קיימת לגביהם הגבלה (גירעון מצטבר מפעילויות)","ששימשו לרכוש קבוע ונכסים בלתי מוחשיים"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[429,423,12,18]},{"value":"3129","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["שינויים במהלך השנה","תרומות","נכסים נטו שקיימת לגביהם הגבלה","בעלת אופי זמני"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[315,423,36,18]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["שינויים במהלך השנה","תרומות","נכסים נטו שקיימת לגביהם הגבלה","בעלת אופי קבוע"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[255,425,16,10]},{"value":"3129","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["שינויים במהלך השנה","תרומות","סך הכל"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[146,420,36,21]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["שינויים במהלך השנה","סכומים ששוחררו מהגבלות","נכסים נטו שלא קיימת לגביהם הגבלה (גירעון מצטבר מפעילויות)","לשמוש לפעילויות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[524,466,13,18]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["שינויים במהלך השנה","סכומים ששוחררו מהגבלות","נכסים נטו שלא קיימת לגביהם הגבלה (גירעון מצטבר מפעילויות)","ששימשו לרכוש קבוע ונכסים בלתי מוחשיים"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[429,466,12,18]},{"value":"(2978)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["שינויים במהלך השנה","סכומים ששוחררו מהגבלות","נכסים נטו שקיימת לגביהם הגבלה","בעלת אופי זמני"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[311,466,46,18]},{"value":"(118)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["שינויים במהלך השנה","סכומים ששוחררו מהגבלות","נכסים נטו שקיימת לגביהם הגבלה","בעלת אופי קבוע"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[236,466,39,18]},{"value":"(3096)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["שינויים במהלך השנה","סכומים ששוחררו מהגבלות","סך הכל"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[140,466,46,18]},{"value":"(1338)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["שינויים במהלך השנה","העברת פעילות מהעמותה","נכסים נטו שלא קיימת לגביהם הגבלה (גירעון מצטבר מפעילויות)","לשמוש לפעילויות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[489,481,51,18]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["שינויים במהלך השנה","העברת פעילות מהעמותה","נכסים נטו שלא קיימת לגביהם הגבלה (גירעון מצטבר מפעילויות)","ששימשו לרכוש קבוע ונכסים בלתי מוחשיים"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[429,483,12,18]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["שינויים במהלך השנה","העברת פעילות מהעמותה","נכסים נטו שקיימת לגביהם הגבלה","בעלת אופי זמני"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[344,483,12,18]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["שינויים במהלך השנה","העברת פעילות מהעמותה","נכסים נטו שקיימת לגביהם הגבלה","בעלת אופי קבוע"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[260,483,12,18]},{"value":"(1338)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["שינויים במהלך השנה","העברת פעילות מהעמותה","סך הכל"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[135,483,51,18]},{"value":"(4857)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["העברת סכומים שלא קיימת לגביהם הגבלה","ששימשו לרכישת רכוש קבוע ונכסים בלתי מוחשיים","נכסים נטו שלא קיימת לגביהם הגבלה (גירעון מצטבר מפעילויות)","לשמוש לפעילויות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[490,564,47,18]},{"value":"4857","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["העברת סכומים שלא קיימת לגביהם הגבלה","ששימשו לרכישת רכוש קבוע ונכסים בלתי מוחשיים","נכסים נטו שלא קיימת לגביהם הגבלה (גירעון מצטבר מפעילויות)","ששימשו לרכוש קבוע ונכסים בלתי מוחשיים"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[399,564,41,18]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["העברת סכומים שלא קיימת לגביהם הגבלה","ששימשו לרכישת רכוש קבוע ונכסים בלתי מוחשיים","נכסים נטו שקיימת לגביהם הגבלה","בעלת אופי זמני"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[347,563,8,14]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["העברת סכומים שלא קיימת לגביהם הגבלה","ששימשו לרכישת רכוש קבוע ונכסים בלתי מוחשיים","נכסים נטו שקיימת לגביהם הגבלה","בעלת אופי קבוע"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[262,568,7,8]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["העברת סכומים שלא קיימת לגביהם הגבלה","ששימשו לרכישת רכוש קבוע ונכסים בלתי מוחשיים","סך הכל"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[171,566,15,12]},{"value":"1198","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["העברת סכומים שלא קיימת לגביהם הגבלה","הפחתת מענק נגישות","נכסים נטו שלא קיימת לגביהם הגבלה (גירעון מצטבר מפעילויות)","לשמוש לפעילויות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[495,581,38,16]},{"value":"(1198)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["העברת סכומים שלא קיימת לגביהם הגבלה","הפחתת מענק נגישות","נכסים נטו שלא קיימת לגביהם הגבלה (גירעון מצטבר מפעילויות)","ששימשו לרכוש קבוע ונכסים בלתי מוחשיים"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[393,580,49,18]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["העברת סכומים שלא קיימת לגביהם הגבלה","הפחתת מענק נגישות","נכסים נטו שקיימת לגביהם הגבלה","בעלת אופי זמני"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[346,581,8,10]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["העברת סכומים שלא קיימת לגביהם הגבלה","הפחתת מענק נגישות","נכסים נטו שקיימת לגביהם הגבלה","בעלת אופי קבוע"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[262,582,6,9]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["העברת סכומים שלא קיימת לגביהם הגבלה","הפחתת מענק נגישות","סך הכל"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[175,582,7,9]},{"value":"5412","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["העברת סכומים שלא קיימת לגביהם הגבלה","סכומים שהועברו לכיסוי הוצאות פחת","נכסים נטו שלא קיימת לגביהם הגבלה (גירעון מצטבר מפעילויות)","לשמוש לפעילויות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[497,607,41,18]},{"value":"(5412)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["העברת סכומים שלא קיימת לגביהם הגבלה","סכומים שהועברו לכיסוי הוצאות פחת","נכסים נטו שלא קיימת לגביהם הגבלה (גירעון מצטבר מפעילויות)","ששימשו לרכוש קבוע ונכסים בלתי מוחשיים"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[390,607,48,18]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["העברת סכומים שלא קיימת לגביהם הגבלה","סכומים שהועברו לכיסוי הוצאות פחת","נכסים נטו שקיימת לגביהם הגבלה","בעלת אופי זמני"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[346,610,7,18]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["העברת סכומים שלא קיימת לגביהם הגבלה","סכומים שהועברו לכיסוי הוצאות פחת","נכסים נטו שקיימת לגביהם הגבלה","בעלת אופי קבוע"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[262,610,7,18]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["העברת סכומים שלא קיימת לגביהם הגבלה","סכומים שהועברו לכיסוי הוצאות פחת","סך הכל"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[175,607,7,18]},{"value":"1391","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["יתרה ליום 30 בספטמבר, 2021","נכסים נטו שלא קיימת לגביהם הגבלה (גירעון מצטבר מפעילויות)","לשמוש לפעילויות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[498,655,37,18]},{"value":"42388","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["יתרה ליום 30 בספטמבר, 2021","נכסים נטו שלא קיימת לגביהם הגבלה (גירעון מצטבר מפעילויות)","ששימשו לרכוש קבוע ונכסים בלתי מוחשיים"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[398,655,41,18]},{"value":"5315","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["יתרה ליום 30 בספטמבר, 2021","נכסים נטו שקיימת לגביהם הגבלה","בעלת אופי זמני"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[315,655,37,18]},{"value":"17","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["יתרה ליום 30 בספטמבר, 2021","נכסים נטו שקיימת לגביהם הגבלה","בעלת אופי קבוע"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[252,655,15,18]},{"value":"49111","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["יתרה ליום 30 בספטמבר, 2021","סך הכל"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[136,655,42,18]}]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"אורנים - המכללה האקדמית לחינוך, התנועה הקיבוצית","page_num":"7","type":"profits","title":"דוח על השינויים בנכסים נטו"},"facts":[{"value":"(10152)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2019-10-01","path":["יתרה ליום 1 באוקטובר, 2019","נכסים נטו שלא קיימת לגביהם הגבלה (גירעון מצטבר מפעילויות)","לשימוש לפעילויות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[485,350,49,19]},{"value":"45866","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2019-10-01","path":["יתרה ליום 1 באוקטובר, 2019","נכסים נטו שלא קיימת לגביהם הגבלה (גירעון מצטבר מפעילויות)","ששימשו לרכישת רכוש קבוע ונכסים בלתי מוחשיים"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[397,353,40,16]},{"value":"5381","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2019-10-01","path":["יתרה ליום 1 באוקטובר, 2019","נכסים נטו שקיימת לגביהם הגבלה","בעלת אופי זמני"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[314,353,32,16]},{"value":"145","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2019-10-01","path":["יתרה ליום 1 באוקטובר, 2019","נכסים נטו שקיימת לגביהם הגבלה","בעלת אופי קבוע"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[241,355,22,15]},{"value":"41240","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2019-10-01","path":["יתרה ליום 1 באוקטובר, 2019","סך הכל"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[136,353,38,16]},{"value":"4175","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["שינויים במהלך השנה","עודף לשנה","נכסים נטו שלא קיימת לגביהם הגבלה (גירעון מצטבר מפעילויות)","לשימוש לפעילויות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[500,405,40,17]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["שינויים במהלך השנה","עודף לשנה","נכסים נטו שלא קיימת לגביהם הגבלה (גירעון מצטבר מפעילויות)","ששימשו לרכישת רכוש קבוע ונכסים בלתי מוחשיים"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[429,406,13,10]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["שינויים במהלך השנה","עודף לשנה","נכסים נטו שקיימת לגביהם הגבלה","בעלת אופי זמני"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[341,406,12,12]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["שינויים במהלך השנה","עודף לשנה","נכסים נטו שקיימת לגביהם הגבלה","בעלת אופי קבוע"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[260,407,10,10]},{"value":"4175","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["שינויים במהלך השנה","עודף לשנה","סך הכל"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[142,403,39,19]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["שינויים במהלך השנה","תרומות","נכסים נטו שלא קיימת לגביהם הגבלה (גירעון מצטבר מפעילויות)","לשימוש לפעילויות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[525,422,14,9]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["שינויים במהלך השנה","תרומות","נכסים נטו שלא קיימת לגביהם הגבלה (גירעון מצטבר מפעילויות)","ששימשו לרכישת רכוש קבוע ונכסים בלתי מוחשיים"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[429,421,11,10]},{"value":"3520","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["שינויים במהלך השנה","תרומות","נכסים נטו שקיימת לגביהם הגבלה","בעלת אופי זמני"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[313,420,39,21]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["שינויים במהלך השנה","תרומות","נכסים נטו שקיימת לגביהם הגבלה","בעלת אופי קבוע"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[261,424,10,8]},{"value":"3520","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["שינויים במהלך השנה","תרומות","סך הכל"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[142,422,39,19]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["שינויים במהלך השנה","סכומים ששוחררו מהגבלות","נכסים נטו שלא קיימת לגביהם הגבלה (גירעון מצטבר מפעילויות)","לשימוש לפעילויות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[516,468,28,10]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["שינויים במהלך השנה","סכומים ששוחררו מהגבלות","נכסים נטו שלא קיימת לגביהם הגבלה (גירעון מצטבר מפעילויות)","ששימשו לרכישת רכוש קבוע ונכסים בלתי מוחשיים"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[429,467,11,10]},{"value":"(3737)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["שינויים במהלך השנה","סכומים ששוחררו מהגבלות","נכסים נטו שקיימת לגביהם הגבלה","בעלת אופי זמני"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[311,464,43,19]},{"value":"(10)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["שינויים במהלך השנה","סכומים ששוחררו מהגבלות","נכסים נטו שקיימת לגביהם הגבלה","בעלת אופי קבוע"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[242,464,26,18]},{"value":"(3747)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["שינויים במהלך השנה","סכומים ששוחררו מהגבלות","סך הכל"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[137,464,44,18]},{"value":"(635)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["שינויים במהלך השנה","סכומים ששוחררו מהגבלות","שינוי בקרנות לפעילות שוטפת","נכסים נטו שלא קיימת לגביהם הגבלה (גירעון מצטבר מפעילויות)","לשימוש לפעילויות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[501,478,33,19]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["שינויים במהלך השנה","סכומים ששוחררו מהגבלות","שינוי בקרנות לפעילות שוטפת","נכסים נטו שלא קיימת לגביהם הגבלה (גירעון מצטבר מפעילויות)","ששימשו לרכישת רכוש קבוע ונכסים בלתי מוחשיים"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[429,483,11,10]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["שינויים במהלך השנה","סכומים ששוחררו מהגבלות","שינוי בקרנות לפעילות שוטפת","נכסים נטו שקיימת לגביהם הגבלה","בעלת אופי זמני"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[339,481,18,11]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["שינויים במהלך השנה","סכומים ששוחררו מהגבלות","שינוי בקרנות לפעילות שוטפת","נכסים נטו שקיימת לגביהם הגבלה","בעלת אופי קבוע"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[261,484,8,10]},{"value":"(635)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["שינויים במהלך השנה","סכומים ששוחררו מהגבלות","שינוי בקרנות לפעילות שוטפת","סך הכל"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[140,480,45,17]},{"value":"(3815)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["שינויים במהלך השנה","העברת סכומים שלא קיימת לגביהם הגבלה","ששימשו לרכישת רכוש קבוע ונכסים בלתי מוחשיים","נכסים נטו שלא קיימת לגביהם הגבלה (גירעון מצטבר מפעילויות)","לשימוש לפעילויות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[491,562,43,20]},{"value":"3815","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["שינויים במהלך השנה","העברת סכומים שלא קיימת לגביהם הגבלה","ששימשו לרכישת רכוש קבוע ונכסים בלתי מוחשיים","נכסים נטו שלא קיימת לגביהם הגבלה (גירעון מצטבר מפעילויות)","ששימשו לרכישת רכוש קבוע ונכסים בלתי מוחשיים"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[400,563,37,18]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["שינויים במהלך השנה","העברת סכומים שלא קיימת לגביהם הגבלה","ששימשו לרכישת רכוש קבוע ונכסים בלתי מוחשיים","נכסים נטו שקיימת לגביהם הגבלה","בעלת אופי זמני"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[338,567,18,6]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["שינויים במהלך השנה","העברת סכומים שלא קיימת לגביהם הגבלה","ששימשו לרכישת רכוש קבוע ונכסים בלתי מוחשיים","נכסים נטו שקיימת לגביהם הגבלה","בעלת אופי קבוע"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[255,567,18,6]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["שינויים במהלך השנה","העברת סכומים שלא קיימת לגביהם הגבלה","ששימשו לרכישת רכוש קבוע ונכסים בלתי מוחשיים","סך הכל"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[168,567,18,6]},{"value":"5540","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["שינויים במהלך השנה","העברת סכומים שלא קיימת לגביהם הגבלה","סכומים שהועברו לכיסוי הוצאות פחת","נכסים נטו שלא קיימת לגביהם הגבלה (גירעון מצטבר מפעילויות)","לשימוש לפעילויות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[496,591,37,19]},{"value":"(5540)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["שינויים במהלך השנה","העברת סכומים שלא קיימת לגביהם הגבלה","סכומים שהועברו לכיסוי הוצאות פחת","נכסים נטו שלא קיימת לגביהם הגבלה (גירעון מצטבר מפעילויות)","ששימשו לרכישת רכוש קבוע ונכסים בלתי מוחשיים"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[394,591,44,20]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["שינויים במהלך השנה","העברת סכומים שלא קיימת לגביהם הגבלה","סכומים שהועברו לכיסוי הוצאות פחת","נכסים נטו שקיימת לגביהם הגבלה","בעלת אופי זמני"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[338,598,18,6]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["שינויים במהלך השנה","העברת סכומים שלא קיימת לגביהם הגבלה","סכומים שהועברו לכיסוי הוצאות פחת","נכסים נטו שקיימת לגביהם הגבלה","בעלת אופי קבוע"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[255,598,18,6]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["שינויים במהלך השנה","העברת סכומים שלא קיימת לגביהם הגבלה","סכומים שהועברו לכיסוי הוצאות פחת","סך הכל"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[168,598,18,6]},{"value":"(4887)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["יתרה ליום 30 בספטמבר, 2020","נכסים נטו שלא קיימת לגביהם הגבלה (גירעון מצטבר מפעילויות)","לשימוש לפעילויות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[490,636,44,19]},{"value":"44141","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["יתרה ליום 30 בספטמבר, 2020","נכסים נטו שלא קיימת לגביהם הגבלה (גירעון מצטבר מפעילויות)","ששימשו לרכישת רכוש קבוע ונכסים בלתי מוחשיים"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[393,637,47,17]},{"value":"5164","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["יתרה ליום 30 בספטמבר, 2020","נכסים נטו שקיימת לגביהם הגבלה","בעלת אופי זמני"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[311,637,40,17]},{"value":"135","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["יתרה ליום 30 בספטמבר, 2020","נכסים נטו שקיימת לגביהם הגבלה","בעלת אופי קבוע"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[240,638,29,17]},{"value":"44553","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["יתרה ליום 30 בספטמבר, 2020","סך הכל"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[133,636,47,19]}]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"אורנים - המכללה האקדמית לחינוך, התנועה הקיבוצית","page_num":"8","type":"cash_flow","title":"דוחות על תזרימי המזומנים"},"facts":[{"value":"5863","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["תזרימי מזומנים מפעילות שוטפת","עודף לשנה"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[252,270,42,17]},{"value":"4175","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["תזרימי מזומנים מפעילות שוטפת","עודף לשנה"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[145,270,42,17]},{"value":"139","comment":null,"is_note":false,"note":null,"note_reference":"א","date":"2021-09-30","path":["תזרימי מזומנים מפעילות שוטפת","התאמות הדרושות כדי להציג את תזרימי המזומנים מפעילות שוטפת (א)"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[252,288,42,17]},{"value":"1078","comment":null,"is_note":false,"note":null,"note_reference":"א","date":"2020-09-30","path":["תזרימי מזומנים מפעילות שוטפת","התאמות הדרושות כדי להציג את תזרימי המזומנים מפעילות שוטפת (א)"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[145,288,42,17]},{"value":"6002","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["תזרימי מזומנים מפעילות שוטפת","מזומנים נטו שנבעו מפעילות שוטפת"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[252,316,42,17]},{"value":"5253","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["תזרימי מזומנים מפעילות שוטפת","מזומנים נטו שנבעו מפעילות שוטפת"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[145,316,42,17]},{"value":"(173)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["תזרימי מזומנים לפעילות השקעה","קיטון (גידול) במזומנים מיועדים"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[252,370,42,17]},{"value":"91","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["תזרימי מזומנים לפעילות השקעה","קיטון (גידול) במזומנים מיועדים"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[145,366,42,17]},{"value":"(4764)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["תזרימי מזומנים לפעילות השקעה","רכישת רכוש קבוע"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[246,385,48,17]},{"value":"(3777)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["תזרימי מזומנים לפעילות השקעה","רכישת רכוש קבוע"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[139,385,47,17]},{"value":"1198","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["תזרימי מזומנים לפעילות השקעה","הפחתת מענק נגישות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[250,400,42,17]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["תזרימי מזומנים לפעילות השקעה","הפחתת מענק נגישות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[169,402,15,10]},{"value":"(93)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["תזרימי מזומנים לפעילות השקעה","השקעה בנכסים בלתי מוחשיים"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[252,413,42,17]},{"value":"(37)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["תזרימי מזומנים לפעילות השקעה","השקעה בנכסים בלתי מוחשיים"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[145,415,42,15]},{"value":"2105","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["תזרימי מזומנים לפעילות השקעה","מכירת ניירות ערך"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[249,431,42,15]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["תזרימי מזומנים לפעילות השקעה","מכירת ניירות ערך"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[167,433,18,12]},{"value":"(2000)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["תזרימי מזומנים לפעילות השקעה","רכישת ניירות ערך"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[249,445,42,17]},{"value":"(1000)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["תזרימי מזומנים לפעילות השקעה","רכישת ניירות ערך"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[136,444,47,17]},{"value":"(3727)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["תזרימי מזומנים לפעילות השקעה","מזומנים נטו ששימשו לפעילות השקעה"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[246,468,42,17]},{"value":"(4723)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["תזרימי מזומנים לפעילות השקעה","מזומנים נטו ששימשו לפעילות השקעה"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[135,467,52,17]},{"value":"3129","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["תזרימי מזומנים מפעילות מימון","תרומות שהתקבלו לנכסים נטו שקיימת לגביהם הגבלה"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[252,530,42,17]},{"value":"3520","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["תזרימי מזומנים מפעילות מימון","תרומות שהתקבלו לנכסים נטו שקיימת לגביהם הגבלה"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[145,530,42,17]},{"value":"3129","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["תזרימי מזומנים מפעילות מימון","מזומנים נטו שנבעו מפעילות מימון"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[252,560,42,17]},{"value":"3520","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["תזרימי מזומנים מפעילות מימון","מזומנים נטו שנבעו מפעילות מימון"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[145,560,42,17]},{"value":"5404","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["עליה במזומנים ושווי מזומנים"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[252,606,42,17]},{"value":"4050","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["עליה במזומנים ושווי מזומנים"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[145,606,42,17]},{"value":"4851","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["מזומנים ושווי מזומנים לתחילת השנה"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[244,633,46,19]},{"value":"801","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["מזומנים ושווי מזומנים לתחילת השנה"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[145,637,42,17]},{"value":"10255","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["מזומנים ושווי מזומנים לסוף השנה"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[243,666,42,17]},{"value":"4851","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["מזומנים ושווי מזומנים לסוף השנה"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[145,669,42,17]}]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"אורנים - המכללה האקדמית לחינוך, התנועה הקיבוצית","page_num":"9","type":"cash_flow","title":"דוחות על תזרימי המזומנים"},"facts":[{"value":"(2978)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["(א) התאמות הדרושות כדי להציג את תזרימי המזומנים מפעילות שוטפת:","הוצאות (הכנסות) שאינן כרוכות בתזרימי מזומנים:","סכומים ששוחררו מנכסים נטו שקיימת לגביהם הגבלה בעלת אופי זמני"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[245,336,44,20]},{"value":"(3737)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["(א) התאמות הדרושות כדי להציג את תזרימי המזומנים מפעילות שוטפת:","הוצאות (הכנסות) שאינן כרוכות בתזרימי מזומנים:","סכומים ששוחררו מנכסים נטו שקיימת לגביהם הגבלה בעלת אופי זמני"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[135,336,49,20]},{"value":"(118)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["(א) התאמות הדרושות כדי להציג את תזרימי המזומנים מפעילות שוטפת:","הוצאות (הכנסות) שאינן כרוכות בתזרימי מזומנים:","סכומים ששוחררו מנכסים נטו שקיימת לגביהם הגבלה בעלת אופי קבוע"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[254,367,31,16]},{"value":"(10)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["(א) התאמות הדרושות כדי להציג את תזרימי המזומנים מפעילות שוטפת:","הוצאות (הכנסות) שאינן כרוכות בתזרימי מזומנים:","סכומים ששוחררו מנכסים נטו שקיימת לגביהם הגבלה בעלת אופי קבוע"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[156,366,25,18]},{"value":"(1686)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["(א) התאמות הדרושות כדי להציג את תזרימי המזומנים מפעילות שוטפת:","הוצאות (הכנסות) שאינן כרוכות בתזרימי מזומנים:","שערוך השקעות בניירות ערך"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[246,381,40,18]},{"value":"285","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["(א) התאמות הדרושות כדי להציג את תזרימי המזומנים מפעילות שוטפת:","הוצאות (הכנסות) שאינן כרוכות בתזרימי מזומנים:","שערוך השקעות בניירות ערך"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[156,382,23,16]},{"value":"(638)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["(א) התאמות הדרושות כדי להציג את תזרימי המזומנים מפעילות שוטפת:","הוצאות (הכנסות) שאינן כרוכות בתזרימי מזומנים:","עלייה בהתחייבויות בגין זכויות עובדים"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[255,398,31,16]},{"value":"(137)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["(א) התאמות הדרושות כדי להציג את תזרימי המזומנים מפעילות שוטפת:","הוצאות (הכנסות) שאינן כרוכות בתזרימי מזומנים:","עלייה בהתחייבויות בגין זכויות עובדים"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[147,398,34,14]},{"value":"5343","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["(א) התאמות הדרושות כדי להציג את תזרימי המזומנים מפעילות שוטפת:","הוצאות (הכנסות) שאינן כרוכות בתזרימי מזומנים:","פחת רכוש קבוע"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[255,415,34,17]},{"value":"5473","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["(א) התאמות הדרושות כדי להציג את תזרימי המזומנים מפעילות שוטפת:","הוצאות (הכנסות) שאינן כרוכות בתזרימי מזומנים:","פחת רכוש קבוע"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[146,415,34,17]},{"value":"69","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["(א) התאמות הדרושות כדי להציג את תזרימי המזומנים מפעילות שוטפת:","הוצאות (הכנסות) שאינן כרוכות בתזרימי מזומנים:","פחת נכסים בלתי מוחשיים"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[271,426,16,16]},{"value":"66","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["(א) התאמות הדרושות כדי להציג את תזרימי המזומנים מפעילות שוטפת:","הוצאות (הכנסות) שאינן כרוכות בתזרימי מזומנים:","פחת נכסים בלתי מוחשיים"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[165,426,16,19]},{"value":"(8)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["(א) התאמות הדרושות כדי להציג את תזרימי המזומנים מפעילות שוטפת:","הוצאות (הכנסות) שאינן כרוכות בתזרימי מזומנים:"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[268,456,23,19]},{"value":"1940","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["(א) התאמות הדרושות כדי להציג את תזרימי המזומנים מפעילות שוטפת:","הוצאות (הכנסות) שאינן כרוכות בתזרימי מזומנים:"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[146,459,34,17]},{"value":"398","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["(א) התאמות הדרושות כדי להציג את תזרימי המזומנים מפעילות שוטפת:","שינויים בסעיפי רכוש והתחייבויות:","ירידה בלקוחות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[260,534,26,18]},{"value":"1180","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["(א) התאמות הדרושות כדי להציג את תזרימי המזומנים מפעילות שוטפת:","שינויים בסעיפי רכוש והתחייבויות:","ירידה בלקוחות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[146,536,34,17]},{"value":"(679)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["(א) התאמות הדרושות כדי להציג את תזרימי המזומנים מפעילות שוטפת:","שינויים בסעיפי רכוש והתחייבויות:","עלייה בחייבים ויתרות חובה והוצאות מראש לזמן ארוך"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[255,551,31,16]},{"value":"(2846)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["(א) התאמות הדרושות כדי להציג את תזרימי המזומנים מפעילות שוטפת:","שינויים בסעיפי רכוש והתחייבויות:","עלייה בחייבים ויתרות חובה והוצאות מראש לזמן ארוך"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[136,551,45,17]},{"value":"2253","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["(א) התאמות הדרושות כדי להציג את תזרימי המזומנים מפעילות שוטפת:","שינויים בסעיפי רכוש והתחייבויות:","ירידה (עלייה) במקדמות על חשבון שכר לימוד"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[255,565,34,17]},{"value":"(1079)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["(א) התאמות הדרושות כדי להציג את תזרימי המזומנים מפעילות שוטפת:","שינויים בסעיפי רכוש והתחייבויות:","ירידה (עלייה) במקדמות על חשבון שכר לימוד"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[136,565,45,17]},{"value":"(3439)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["(א) התאמות הדרושות כדי להציג את תזרימי המזומנים מפעילות שוטפת:","שינויים בסעיפי רכוש והתחייבויות:","עלייה (ירידה) בזכאים ויתרות זכות וזכאים לזמן ארוך"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[246,580,40,17]},{"value":"243","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["(א) התאמות הדרושות כדי להציג את תזרימי המזומנים מפעילות שוטפת:","שינויים בסעיפי רכוש והתחייבויות:","עלייה (ירידה) בזכאים ויתרות זכות וזכאים לזמן ארוך"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[156,580,24,16]},{"value":"470","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["(א) התאמות הדרושות כדי להציג את תזרימי המזומנים מפעילות שוטפת:","שינויים בסעיפי רכוש והתחייבויות:","עלייה בספקים"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[264,596,22,16]},{"value":"777","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["(א) התאמות הדרושות כדי להציג את תזרימי המזומנים מפעילות שוטפת:","שינויים בסעיפי רכוש והתחייבויות:","עלייה בספקים"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[156,596,24,16]},{"value":"1144","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["(א) התאמות הדרושות כדי להציג את תזרימי המזומנים מפעילות שוטפת:","שינויים בסעיפי רכוש והתחייבויות:","עלייה בהתחייבויות לעובדים והתחייבויות אחרות בגין שכר ומשכורות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[254,629,36,17]},{"value":"863","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["(א) התאמות הדרושות כדי להציג את תזרימי המזומנים מפעילות שוטפת:","שינויים בסעיפי רכוש והתחייבויות:","עלייה בהתחייבויות לעובדים והתחייבויות אחרות בגין שכר ומשכורות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[155,629,26,16]},{"value":"147","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["(א) התאמות הדרושות כדי להציג את תזרימי המזומנים מפעילות שוטפת:","שינויים בסעיפי רכוש והתחייבויות:"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[263,659,24,16]},{"value":"(862)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["(א) התאמות הדרושות כדי להציג את תזרימי המזומנים מפעילות שוטפת:","שינויים בסעיפי רכוש והתחייבויות:"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[145,659,36,17]},{"value":"139","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["(א) התאמות הדרושות כדי להציג את תזרימי המזומנים מפעילות שוטפת:"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[264,706,22,16]},{"value":"1078","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["(א) התאמות הדרושות כדי להציג את תזרימי המזומנים מפעילות שוטפת:"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[146,706,34,17]}]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"אורנים - המכללה האקדמית לחינוך, התנועה הקיבוצית","page_num":"10","type":"notes","title":"באורים לדוחות הכספיים"},"facts":[]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"אורנים - המכללה האקדמית לחינוך, התנועה הקיבוצית","page_num":"11","type":"other","title":"באורים לדוחות הכספיים"},"facts":[]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"אורנים - המכללה האקדמית לחינוך, התנועה הקיבוצית","page_num":"12","type":"notes","title":"באורים לדוחות הכספיים"},"facts":[{"value":"4","comment":null,"is_note":false,"note":null,"note_reference":"","date":null,"path":["באור 2: עיקרי המדיניות החשבונאית - המשך","ו. רכוש קבוע","2. הפחת מחושב בשיעורים שנתיים שווים על בסיס שיטת הקו הישר לאורך תקופת החיים השימושיים בנכס, כדלקמן:","מבנים על קרקע חכורה"],"currency":null,"scale":1,"value_type":"%","bbox":[249,518,23,13]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"7-15","date":null,"path":["באור 2: עיקרי המדיניות החשבונאית - המשך","ו. רכוש קבוע","2. הפחת מחושב בשיעורים שנתיים שווים על בסיס שיטת הקו הישר לאורך תקופת החיים השימושיים בנכס, כדלקמן:","ריהוט וציוד משרדי"],"currency":null,"scale":1,"value_type":"%","bbox":[241,533,44,16]},{"value":"15","comment":null,"is_note":false,"note":null,"note_reference":"","date":null,"path":["באור 2: עיקרי המדיניות החשבונאית - המשך","ו. רכוש קבוע","2. הפחת מחושב בשיעורים שנתיים שווים על בסיס שיטת הקו הישר לאורך תקופת החיים השימושיים בנכס, כדלקמן:","כלי רכב"],"currency":null,"scale":1,"value_type":"%","bbox":[249,549,29,15]},{"value":"33","comment":null,"is_note":false,"note":null,"note_reference":"","date":null,"path":["באור 2: עיקרי המדיניות החשבונאית - המשך","ו. רכוש קבוע","2. הפחת מחושב בשיעורים שנתיים שווים על בסיס שיטת הקו הישר לאורך תקופת החיים השימושיים בנכס, כדלקמן:","מחשבים"],"currency":null,"scale":1,"value_type":"%","bbox":[249,563,29,15]},{"value":"33","comment":null,"is_note":false,"note":null,"note_reference":"","date":null,"path":["באור 2: עיקרי המדיניות החשבונאית - המשך","ז. נכסים בלתי מוחשיים","אורך החיים השימושיים של נכסים בלתי מוחשיים הינו כדלקמן:","תוכנות מחשב"],"currency":null,"scale":1,"value_type":"%","bbox":[348,954,17,18]}]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"אורנים - המכללה האקדמית לחינוך, התנועה הקיבוצית","page_num":"13","type":"notes","title":"באורים לדוחות הכספיים"},"facts":[]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"אורנים - המכללה האקדמית לחינוך, התנועה הקיבוצית","page_num":"14","type":"notes","title":"באורים לדוחות הכספיים"},"facts":[]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"אורנים - המכללה האקדמית לחינוך, התנועה הקיבוצית","page_num":"15","type":"other","title":"באורים לדוחות הכספיים"},"facts":[]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"אורנים - המכללה האקדמית לחינוך, התנועה הקיבוצית","page_num":"16","type":"notes","title":"באורים לדוחות הכספיים"},"facts":[{"value":"9217","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["באור 4: מזומנים ושווי מזומנים","מזומנים במטבע ישראלי"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[208,549,36,16]},{"value":"3549","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["באור 4: מזומנים ושווי מזומנים","מזומנים במטבע ישראלי"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[115,549,34,16]},{"value":"921","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["באור 4: מזומנים ושווי מזומנים","מזומנים במטבע חוץ"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[220,565,26,13]},{"value":"1207","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["באור 4: מזומנים ושווי מזומנים","מזומנים במטבע חוץ"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[115,565,32,15]},{"value":"48","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["באור 4: מזומנים ושווי מזומנים","שווי מזומנים - פקדונות לזמן קצר"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[227,582,19,13]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["באור 4: מזומנים ושווי מזומנים","שווי מזומנים - פקדונות לזמן קצר"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[141,582,11,11]},{"value":"69","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["באור 4: מזומנים ושווי מזומנים","קופות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[226,598,20,13]},{"value":"95","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["באור 4: מזומנים ושווי מזומנים","קופות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[132,598,15,13]},{"value":"10255","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["באור 4: מזומנים ושווי מזומנים","סה\"כ"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[199,618,47,20]},{"value":"4851","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["באור 4: מזומנים ושווי מזומנים","סה\"כ"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[113,616,39,21]},{"value":"6384","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["באור 6: חייבים ויתרות חובה","משרד החינוך"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[198,870,42,18]},{"value":"5179","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["באור 6: חייבים ויתרות חובה","משרד החינוך"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[103,870,45,17]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["באור 6: חייבים ויתרות חובה","המחאות לגבייה"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[226,891,13,10]},{"value":"52","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["באור 6: חייבים ויתרות חובה","המחאות לגבייה"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[120,886,24,16]},{"value":"259","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["באור 6: חייבים ויתרות חובה","הוצאות מראש"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[211,903,29,15]},{"value":"230","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["באור 6: חייבים ויתרות חובה","הוצאות מראש"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[117,903,29,17]},{"value":"5457","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["באור 6: חייבים ויתרות חובה","הכנסות לקבל"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[198,918,42,19]},{"value":"5766","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["באור 6: חייבים ויתרות חובה","הכנסות לקבל"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[103,918,45,19]},{"value":"26","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["באור 6: חייבים ויתרות חובה","הלוואות לעובדים"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[216,936,22,15]},{"value":"42","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["באור 6: חייבים ויתרות חובה","הלוואות לעובדים"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[122,936,23,17]},{"value":"38","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["באור 6: חייבים ויתרות חובה","אחרים"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[217,952,22,16]},{"value":"68","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["באור 6: חייבים ויתרות חובה","אחרים"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[122,952,23,17]},{"value":"12164","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["באור 6: חייבים ויתרות חובה","סה\"כ"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[195,978,44,19]},{"value":"11337","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["באור 6: חייבים ויתרות חובה","סה\"כ"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[101,978,46,20]}]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"אורנים - המכללה האקדמית לחינוך, התנועה הקיבוצית","page_num":"17","type":"notes","title":"באורים לדוחות הכספיים"},"facts":[{"value":"162883","comment":"7","is_note":true,"note":"7","note_reference":"","date":"2019-10-01","path":["באור 7: רכוש קבוע, נטו","הרכב:","עלות","יתרה ליום 1 באוקטובר, 2019","מבנים על קרקע חכורה"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[428,320,49,16]},{"value":"503","comment":"7","is_note":true,"note":"7","note_reference":"","date":"2019-10-01","path":["באור 7: רכוש קבוע, נטו","הרכב:","עלות","יתרה ליום 1 באוקטובר, 2019","כלי רכב"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[370,320,28,16]},{"value":"12575","comment":"7","is_note":true,"note":"7","note_reference":"","date":"2019-10-01","path":["באור 7: רכוש קבוע, נטו","הרכב:","עלות","יתרה ליום 1 באוקטובר, 2019","מחשבים ללא תוכנות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[267,320,45,16]},{"value":"20360","comment":"7","is_note":true,"note":"7","note_reference":"","date":"2019-10-01","path":["באור 7: רכוש קבוע, נטו","הרכב:","עלות","יתרה ליום 1 באוקטובר, 2019","ריהוט וציוד"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[181,320,46,16]},{"value":"196321","comment":"7","is_note":true,"note":"7","note_reference":"","date":"2019-10-01","path":["באור 7: רכוש קבוע, נטו","הרכב:","עלות","יתרה ליום 1 באוקטובר, 2019","סך הכל"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[100,320,50,16]},{"value":"3135","comment":"7","is_note":true,"note":"7","note_reference":"","date":"2020-09-30","path":["באור 7: רכוש קבוע, נטו","הרכב:","עלות","תוספות במשך השנה","מבנים על קרקע חכורה"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[436,334,39,16]},{"value":"","comment":"7","is_note":true,"note":"7","note_reference":"","date":"2020-09-30","path":["באור 7: רכוש קבוע, נטו","הרכב:","עלות","תוספות במשך השנה","כלי רכב"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[377,334,15,16]},{"value":"952","comment":"7","is_note":true,"note":"7","note_reference":"","date":"2020-09-30","path":["באור 7: רכוש קבוע, נטו","הרכב:","עלות","תוספות במשך השנה","מחשבים ללא תוכנות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[288,334,29,16]},{"value":"677","comment":"7","is_note":true,"note":"7","note_reference":"","date":"2020-09-30","path":["באור 7: רכוש קבוע, נטו","הרכב:","עלות","תוספות במשך השנה","ריהוט וציוד"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[202,334,29,16]},{"value":"4764","comment":"7","is_note":true,"note":"7","note_reference":"","date":"2020-09-30","path":["באור 7: רכוש קבוע, נטו","הרכב:","עלות","תוספות במשך השנה","סך הכל"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[114,334,37,16]},{"value":"(1198)","comment":"7","is_note":true,"note":"7","note_reference":"","date":"2020-09-30","path":["באור 7: רכוש קבוע, נטו","הרכב:","עלות","מימון מענק","מבנים על קרקע חכורה"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[428,351,49,16]},{"value":"","comment":"7","is_note":true,"note":"7","note_reference":"","date":"2020-09-30","path":["באור 7: רכוש קבוע, נטו","הרכב:","עלות","מימון מענק","כלי רכב"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[377,351,15,16]},{"value":"","comment":"7","is_note":true,"note":"7","note_reference":"","date":"2020-09-30","path":["באור 7: רכוש קבוע, נטו","הרכב:","עלות","מימון מענק","מחשבים ללא תוכנות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[300,351,15,16]},{"value":"","comment":"7","is_note":true,"note":"7","note_reference":"","date":"2020-09-30","path":["באור 7: רכוש קבוע, נטו","הרכב:","עלות","מימון מענק","ריהוט וציוד"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[214,351,15,16]},{"value":"(1198)","comment":"7","is_note":true,"note":"7","note_reference":"","date":"2020-09-30","path":["באור 7: רכוש קבוע, נטו","הרכב:","עלות","מימון מענק","סך הכל"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[104,351,47,16]},{"value":"164820","comment":"7","is_note":true,"note":"7","note_reference":"","date":"2020-09-30","path":["באור 7: רכוש קבוע, נטו","הרכב:","עלות","יתרה ליום 30 בספטמבר, 2020","מבנים על קרקע חכורה"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[427,389,52,16]},{"value":"503","comment":"7","is_note":true,"note":"7","note_reference":"","date":"2020-09-30","path":["באור 7: רכוש קבוע, נטו","הרכב:","עלות","יתרה ליום 30 בספטמבר, 2020","כלי רכב"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[367,389,28,16]},{"value":"13527","comment":"7","is_note":true,"note":"7","note_reference":"","date":"2020-09-30","path":["באור 7: רכוש קבוע, נטו","הרכב:","עלות","יתרה ליום 30 בספטמבר, 2020","מחשבים ללא תוכנות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[269,389,46,16]},{"value":"21037","comment":"7","is_note":true,"note":"7","note_reference":"","date":"2020-09-30","path":["באור 7: רכוש קבוע, נטו","הרכב:","עלות","יתרה ליום 30 בספטמבר, 2020","ריהוט וציוד"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[183,389,46,16]},{"value":"199887","comment":"7","is_note":true,"note":"7","note_reference":"","date":"2020-09-30","path":["באור 7: רכוש קבוע, נטו","הרכב:","עלות","יתרה ליום 30 בספטמבר, 2020","סך הכל"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[99,389,52,16]},{"value":"124838","comment":"7","is_note":true,"note":"7","note_reference":"","date":"2019-10-01","path":["באור 7: רכוש קבוע, נטו","הרכב:","פחת שנצבר","יתרה ליום 1 באוקטובר, 2019","מבנים על קרקע חכורה"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[428,466,52,16]},{"value":"467","comment":"7","is_note":true,"note":"7","note_reference":"","date":"2019-10-01","path":["באור 7: רכוש קבוע, נטו","הרכב:","פחת שנצבר","יתרה ליום 1 באוקטובר, 2019","כלי רכב"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[370,466,28,16]},{"value":"11800","comment":"7","is_note":true,"note":"7","note_reference":"","date":"2019-10-01","path":["באור 7: רכוש קבוע, נטו","הרכב:","פחת שנצבר","יתרה ליום 1 באוקטובר, 2019","מחשבים ללא תוכנות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[269,466,45,16]},{"value":"15150","comment":"7","is_note":true,"note":"7","note_reference":"","date":"2019-10-01","path":["באור 7: רכוש קבוע, נטו","הרכב:","פחת שנצבר","יתרה ליום 1 באוקטובר, 2019","ריהוט וציוד"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[185,466,45,16]},{"value":"152255","comment":"7","is_note":true,"note":"7","note_reference":"","date":"2019-10-01","path":["באור 7: רכוש קבוע, נטו","הרכב:","פחת שנצבר","יתרה ליום 1 באוקטובר, 2019","סך הכל"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[98,466,51,16]},{"value":"3902","comment":"7","is_note":true,"note":"7","note_reference":"","date":"2020-09-30","path":["באור 7: רכוש קבוע, נטו","הרכב:","פחת שנצבר","תוספות במשך השנה","מבנים על קרקע חכורה"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[437,481,39,16]},{"value":"11","comment":"7","is_note":true,"note":"7","note_reference":"","date":"2020-09-30","path":["באור 7: רכוש קבוע, נטו","הרכב:","פחת שנצבר","תוספות במשך השנה","כלי רכב"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[375,481,22,16]},{"value":"562","comment":"7","is_note":true,"note":"7","note_reference":"","date":"2020-09-30","path":["באור 7: רכוש קבוע, נטו","הרכב:","פחת שנצבר","תוספות במשך השנה","מחשבים ללא תוכנות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[289,481,29,16]},{"value":"868","comment":"7","is_note":true,"note":"7","note_reference":"","date":"2020-09-30","path":["באור 7: רכוש קבוע, נטו","הרכב:","פחת שנצבר","תוספות במשך השנה","ריהוט וציוד"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[201,482,29,16]},{"value":"5343","comment":"7","is_note":true,"note":"7","note_reference":"","date":"2020-09-30","path":["באור 7: רכוש קבוע, נטו","הרכב:","פחת שנצבר","תוספות במשך השנה","סך הכל"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[113,481,38,16]},{"value":"128740","comment":"7","is_note":true,"note":"7","note_reference":"","date":"2020-09-30","path":["באור 7: רכוש קבוע, נטו","הרכב:","פחת שנצבר","יתרה ליום 30 בספטמבר, 2020","מבנים על קרקע חכורה"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[427,528,52,16]},{"value":"478","comment":"7","is_note":true,"note":"7","note_reference":"","date":"2020-09-30","path":["באור 7: רכוש קבוע, נטו","הרכב:","פחת שנצבר","יתרה ליום 30 בספטמבר, 2020","כלי רכב"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[369,528,29,16]},{"value":"12362","comment":"7","is_note":true,"note":"7","note_reference":"","date":"2020-09-30","path":["באור 7: רכוש קבוע, נטו","הרכב:","פחת שנצבר","יתרה ליום 30 בספטמבר, 2020","מחשבים ללא תוכנות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[269,528,47,16]},{"value":"16018","comment":"7","is_note":true,"note":"7","note_reference":"","date":"2020-09-30","path":["באור 7: רכוש קבוע, נטו","הרכב:","פחת שנצבר","יתרה ליום 30 בספטמבר, 2020","ריהוט וציוד"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[185,528,46,16]},{"value":"157598","comment":"7","is_note":true,"note":"7","note_reference":"","date":"2020-09-30","path":["באור 7: רכוש קבוע, נטו","הרכב:","פחת שנצבר","יתרה ליום 30 בספטמבר, 2020","סך הכל"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[96,528,53,16]},{"value":"36080","comment":"7","is_note":true,"note":"7","note_reference":"","date":"2021-09-30","path":["באור 7: רכוש קבוע, נטו","הרכב:","עלות מופחתת ליום 30 בספטמבר, 2021","מבנים על קרקע חכורה"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[432,588,46,16]},{"value":"25","comment":"7","is_note":true,"note":"7","note_reference":"","date":"2021-09-30","path":["באור 7: רכוש קבוע, נטו","הרכב:","עלות מופחתת ליום 30 בספטמבר, 2021","כלי רכב"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[372,587,26,16]},{"value":"1165","comment":"7","is_note":true,"note":"7","note_reference":"","date":"2021-09-30","path":["באור 7: רכוש קבוע, נטו","הרכב:","עלות מופחתת ליום 30 בספטמבר, 2021","מחשבים ללא תוכנות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[276,588,39,16]},{"value":"5019","comment":"7","is_note":true,"note":"7","note_reference":"","date":"2021-09-30","path":["באור 7: רכוש קבוע, נטו","הרכב:","עלות מופחתת ליום 30 בספטמבר, 2021","ריהוט וציוד"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[191,588,38,16]},{"value":"42289","comment":"7","is_note":true,"note":"7","note_reference":"","date":"2021-09-30","path":["באור 7: רכוש קבוע, נטו","הרכב:","עלות מופחתת ליום 30 בספטמבר, 2021","סך הכל"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[107,588,46,16]},{"value":"38045","comment":"7","is_note":true,"note":"7","note_reference":"","date":"2020-09-30","path":["באור 7: רכוש קבוע, נטו","הרכב:","עלות מופחתת ליום 30 בספטמבר, 2020","מבנים על קרקע חכורה"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[433,638,46,16]},{"value":"36","comment":"7","is_note":true,"note":"7","note_reference":"","date":"2020-09-30","path":["באור 7: רכוש קבוע, נטו","הרכב:","עלות מופחתת ליום 30 בספטמבר, 2020","כלי רכב"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[373,636,24,16]},{"value":"775","comment":"7","is_note":true,"note":"7","note_reference":"","date":"2020-09-30","path":["באור 7: רכוש קבוע, נטו","הרכב:","עלות מופחתת ליום 30 בספטמבר, 2020","מחשבים ללא תוכנות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[288,638,30,16]},{"value":"5210","comment":"7","is_note":true,"note":"7","note_reference":"","date":"2020-09-30","path":["באור 7: רכוש קבוע, נטו","הרכב:","עלות מופחתת ליום 30 בספטמבר, 2020","ריהוט וציוד"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[192,638,38,16]},{"value":"44066","comment":"7","is_note":true,"note":"7","note_reference":"","date":"2020-09-30","path":["באור 7: רכוש קבוע, נטו","הרכב:","עלות מופחתת ליום 30 בספטמבר, 2020","סך הכל"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[107,638,46,16]},{"value":"3312","comment":"8","is_note":true,"note":"8","note_reference":"","date":"2020-10-01","path":["באור 8: נכסים בלתי מוחשיים, נטו","עלות","יתרה ליום 1 באוקטובר, 2020","תוכנות מחשב"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[154,804,40,13]},{"value":"93","comment":"8","is_note":true,"note":"8","note_reference":"","date":"2021-09-30","path":["באור 8: נכסים בלתי מוחשיים, נטו","עלות","תוספות במשך השנה","תוכנות מחשב"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[168,818,27,13]},{"value":"3405","comment":"8","is_note":true,"note":"8","note_reference":"","date":"2021-09-30","path":["באור 8: נכסים בלתי מוחשיים, נטו","עלות","יתרה ליום 30 בספטמבר, 2021","תוכנות מחשב"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[154,851,40,13]},{"value":"3237","comment":"8","is_note":true,"note":"8","note_reference":"","date":"2020-10-01","path":["באור 8: נכסים בלתי מוחשיים, נטו","פחת שנצבר","יתרה ליום 1 באוקטובר, 2020","תוכנות מחשב"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[154,903,40,13]},{"value":"69","comment":"8","is_note":true,"note":"8","note_reference":"","date":"2021-09-30","path":["באור 8: נכסים בלתי מוחשיים, נטו","פחת שנצבר","תוספות במשך השנה","תוכנות מחשב"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[169,918,25,13]},{"value":"3306","comment":"8","is_note":true,"note":"8","note_reference":"","date":"2021-09-30","path":["באור 8: נכסים בלתי מוחשיים, נטו","פחת שנצבר","יתרה ליום 30 בספטמבר, 2021","תוכנות מחשב"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[154,951,40,13]},{"value":"99","comment":"8","is_note":true,"note":"8","note_reference":"","date":"2021-09-30","path":["באור 8: נכסים בלתי מוחשיים, נטו","עלות מופחתת ליום 30 בספטמבר, 2021","תוכנות מחשב"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[169,986,26,13]},{"value":"75","comment":"8","is_note":true,"note":"8","note_reference":"","date":"2020-09-30","path":["באור 8: נכסים בלתי מוחשיים, נטו","עלות מופחתת ליום 30 בספטמבר, 2020","תוכנות מחשב"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[169,1018,26,13]}]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"אורנים - המכללה האקדמית לחינוך, התנועה הקיבוצית","page_num":"18","type":"notes","title":"באורים לדוחות הכספיים"},"facts":[{"value":"3671","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["באור 9: ספקים","חובות פתוחים"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[207,278,41,17]},{"value":"3198","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["באור 9: ספקים","חובות פתוחים"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[114,278,38,17]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["באור 9: ספקים","המחאות לפירעון"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[233,295,14,13]},{"value":"3","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["באור 9: ספקים","המחאות לפירעון"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[136,294,16,17]},{"value":"3671","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["באור 9: ספקים","סה\"כ"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[207,316,41,17]},{"value":"3201","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["באור 9: ספקים","סה\"כ"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[114,316,38,17]},{"value":"9032","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["באור 10: התחייבויות לעובדים והתחייבויות אחרות בגין שכר ומשכורת","עובדים ומוסדות בגין שכר"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[204,454,44,17]},{"value":"8451","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["באור 10: התחייבויות לעובדים והתחייבויות אחרות בגין שכר ומשכורת","עובדים ומוסדות בגין שכר"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[105,454,44,17]},{"value":"3375","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["באור 10: התחייבויות לעובדים והתחייבויות אחרות בגין שכר ומשכורת","הפרשה לחופשה"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[204,470,44,17]},{"value":"2812","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["באור 10: התחייבויות לעובדים והתחייבויות אחרות בגין שכר ומשכורת","הפרשה לחופשה"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[105,470,44,17]},{"value":"12407","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["באור 10: התחייבויות לעובדים והתחייבויות אחרות בגין שכר ומשכורת","סה\"כ"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[199,494,50,17]},{"value":"11263","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["באור 10: התחייבויות לעובדים והתחייבויות אחרות בגין שכר ומשכורת","סה\"כ"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[99,494,50,17]},{"value":"1708","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["באור 11: זכאים ויתרות זכות","הפרשות לתביעות תלויות (ראה באור 13ג')"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[209,630,40,18]},{"value":"3046","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["באור 11: זכאים ויתרות זכות","הפרשות לתביעות תלויות (ראה באור 13ג')"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[109,630,41,18]},{"value":"751","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["באור 11: זכאים ויתרות זכות","הוצאות לשלם"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[216,646,32,18]},{"value":"962","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["באור 11: זכאים ויתרות זכות","הוצאות לשלם"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[117,646,34,18]},{"value":"2520","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["באור 11: זכאים ויתרות זכות","הכנסות מראש"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[209,663,40,18]},{"value":"2872","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["באור 11: זכאים ויתרות זכות","הכנסות מראש"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[109,663,42,18]},{"value":"200","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["באור 11: זכאים ויתרות זכות","אחרים (ראה באור 13א')"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[217,679,31,18]},{"value":"200","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["באור 11: זכאים ויתרות זכות","אחרים (ראה באור 13א')"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[118,679,33,18]},{"value":"5179","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["באור 11: זכאים ויתרות זכות","סה\"כ"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[210,703,39,18]},{"value":"7080","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["באור 11: זכאים ויתרות זכות","סה\"כ"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[113,703,39,18]},{"value":"3344","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["באור 12: התחייבויות בשל זכויות עובדים","א. הרכב היתרה :","קרן קשרי מדע (ראה ב' להלן)"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[206,847,42,18]},{"value":"3399","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["באור 12: התחייבויות בשל זכויות עובדים","א. הרכב היתרה :","קרן קשרי מדע (ראה ב' להלן)"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[110,847,40,18]},{"value":"5247","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["באור 12: התחייבויות בשל זכויות עובדים","א. הרכב היתרה :","פיצויי פרישה (ראה ג' להלן)"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[206,865,42,18]},{"value":"4860","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["באור 12: התחייבויות בשל זכויות עובדים","א. הרכב היתרה :","פיצויי פרישה (ראה ג' להלן)"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[110,864,40,18]},{"value":"9502","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["באור 12: התחייבויות בשל זכויות עובדים","א. הרכב היתרה :","שבתון (ראה ד' להלן)"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[201,880,47,18]},{"value":"10472","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["באור 12: התחייבויות בשל זכויות עובדים","א. הרכב היתרה :","שבתון (ראה ד' להלן)"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[105,880,46,18]},{"value":"18093","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["באור 12: התחייבויות בשל זכויות עובדים","א. הרכב היתרה :","סה\"כ"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[199,904,49,18]},{"value":"18731","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["באור 12: התחייבויות בשל זכויות עובדים","א. הרכב היתרה :","סה\"כ"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[102,904,49,18]}]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"אורנים - המכללה האקדמית לחינוך, התנועה הקיבוצית","page_num":"19","type":"notes","title":"באורים לדוחות הכספיים"},"facts":[]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"אורנים - המכללה האקדמית לחינוך, התנועה הקיבוצית","page_num":"20","type":"notes","title":"באורים לדוחות הכספיים"},"facts":[{"value":"28473","comment":"15","is_note":true,"note":"15","note_reference":"","date":"2021-09-30","path":["באור 15: הכנסות מסטודנטים","שכר לימוד רגיל ברוטו","תואר ראשון"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[372,901,53,21]},{"value":"10390","comment":"15","is_note":true,"note":"15","note_reference":"","date":"2021-09-30","path":["באור 15: הכנסות מסטודנטים","שכר לימוד רגיל ברוטו","תואר שני"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[264,904,45,17]},{"value":"12997","comment":"15","is_note":true,"note":"15","note_reference":"","date":"2021-09-30","path":["באור 15: הכנסות מסטודנטים","שכר לימוד רגיל ברוטו","אחר"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[176,904,45,18]},{"value":"51860","comment":"15","is_note":true,"note":"15","note_reference":"","date":"2021-09-30","path":["באור 15: הכנסות מסטודנטים","שכר לימוד רגיל ברוטו","סך הכל"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[97,904,45,18]},{"value":"4181","comment":"15","is_note":true,"note":"15","note_reference":"","date":"2021-09-30","path":["באור 15: הכנסות מסטודנטים","שכר לימוד רגיל נטו","בניכוי:","שיפוי שכר","תואר ראשון"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[383,935,36,15]},{"value":"","comment":"15","is_note":true,"note":"15","note_reference":"","date":"2021-09-30","path":["באור 15: הכנסות מסטודנטים","שכר לימוד רגיל נטו","בניכוי:","שיפוי שכר","תואר שני"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[295,939,10,7]},{"value":"","comment":"15","is_note":true,"note":"15","note_reference":"","date":"2021-09-30","path":["באור 15: הכנסות מסטודנטים","שכר לימוד רגיל נטו","בניכוי:","שיפוי שכר","אחר"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[208,939,11,10]},{"value":"4181","comment":"15","is_note":true,"note":"15","note_reference":"","date":"2021-09-30","path":["באור 15: הכנסות מסטודנטים","שכר לימוד רגיל נטו","בניכוי:","שיפוי שכר","סך הכל"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[105,938,32,13]},{"value":"207","comment":"15","is_note":true,"note":"15","note_reference":"","date":"2021-09-30","path":["באור 15: הכנסות מסטודנטים","שכר לימוד רגיל נטו","בניכוי:","מלגות שנתנו","תואר ראשון"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[390,950,34,18]},{"value":"73","comment":"15","is_note":true,"note":"15","note_reference":"","date":"2021-09-30","path":["באור 15: הכנסות מסטודנטים","שכר לימוד רגיל נטו","בניכוי:","מלגות שנתנו","תואר שני"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[282,953,23,15]},{"value":"","comment":"15","is_note":true,"note":"15","note_reference":"","date":"2021-09-30","path":["באור 15: הכנסות מסטודנטים","שכר לימוד רגיל נטו","בניכוי:","מלגות שנתנו","אחר"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[204,954,17,13]},{"value":"280","comment":"15","is_note":true,"note":"15","note_reference":"","date":"2021-09-30","path":["באור 15: הכנסות מסטודנטים","שכר לימוד רגיל נטו","בניכוי:","מלגות שנתנו","סך הכל"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[109,953,30,16]},{"value":"36","comment":"15","is_note":true,"note":"15","note_reference":"","date":"2021-09-30","path":["באור 15: הכנסות מסטודנטים","שכר לימוד רגיל נטו","בניכוי:","פטורים משכר לימוד","תואר ראשון"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[396,968,28,18]},{"value":"14","comment":"15","is_note":true,"note":"15","note_reference":"","date":"2021-09-30","path":["באור 15: הכנסות מסטודנטים","שכר לימוד רגיל נטו","בניכוי:","פטורים משכר לימוד","תואר שני"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[288,970,18,15]},{"value":"228","comment":"15","is_note":true,"note":"15","note_reference":"","date":"2021-09-30","path":["באור 15: הכנסות מסטודנטים","שכר לימוד רגיל נטו","בניכוי:","פטורים משכר לימוד","אחר"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[189,970,28,15]},{"value":"278","comment":"15","is_note":true,"note":"15","note_reference":"","date":"2021-09-30","path":["באור 15: הכנסות מסטודנטים","שכר לימוד רגיל נטו","בניכוי:","פטורים משכר לימוד","סך הכל"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[109,970,30,16]},{"value":"24049","comment":"15","is_note":true,"note":"15","note_reference":"","date":"2021-09-30","path":["באור 15: הכנסות מסטודנטים","הכנסות משכר לימוד רגיל","תואר ראשון"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[379,1002,43,16]},{"value":"10303","comment":"15","is_note":true,"note":"15","note_reference":"","date":"2021-09-30","path":["באור 15: הכנסות מסטודנטים","הכנסות משכר לימוד רגיל","תואר שני"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[263,1002,43,16]},{"value":"12769","comment":"15","is_note":true,"note":"15","note_reference":"","date":"2021-09-30","path":["באור 15: הכנסות מסטודנטים","הכנסות משכר לימוד רגיל","אחר"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[175,1002,43,16]},{"value":"47121","comment":"15","is_note":true,"note":"15","note_reference":"","date":"2021-09-30","path":["באור 15: הכנסות מסטודנטים","הכנסות משכר לימוד רגיל","סך הכל"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[97,1002,43,16]}]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"אורנים - המכללה האקדמית לחינוך, התנועה הקיבוצית","page_num":"21","type":"notes","title":"באורים לדוחות הכספיים"},"facts":[{"value":"30938","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["באור 15: הכנסות מסטודנטים - המשך","שכר לימוד רגיל ברוטו","תואר ראשון"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[382,376,41,16]},{"value":"9587","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["באור 15: הכנסות מסטודנטים - המשך","שכר לימוד רגיל ברוטו","תואר שני"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[269,374,37,18]},{"value":"11483","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["באור 15: הכנסות מסטודנטים - המשך","שכר לימוד רגיל ברוטו","אחר"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[176,376,43,16]},{"value":"52008","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["באור 15: הכנסות מסטודנטים - המשך","שכר לימוד רגיל ברוטו","סך הכל"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[89,374,49,17]},{"value":"4043","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["באור 15: הכנסות מסטודנטים - המשך","בניכוי:","שיפוי שכר לימוד","תואר ראשון"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[387,409,38,16]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["באור 15: הכנסות מסטודנטים - המשך","בניכוי:","שיפוי שכר לימוד","תואר שני"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[298,413,7,5]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["באור 15: הכנסות מסטודנטים - המשך","בניכוי:","שיפוי שכר לימוד","אחר"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[211,414,6,5]},{"value":"4043","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["באור 15: הכנסות מסטודנטים - המשך","בניכוי:","שיפוי שכר לימוד","סך הכל"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[99,408,41,16]},{"value":"191","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["באור 15: הכנסות מסטודנטים - המשך","בניכוי:","מלגות שניתנו","תואר ראשון"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[396,424,29,16]},{"value":"74","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["באור 15: הכנסות מסטודנטים - המשך","בניכוי:","מלגות שניתנו","תואר שני"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[290,423,14,16]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["באור 15: הכנסות מסטודנטים - המשך","בניכוי:","מלגות שניתנו","אחר"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[211,429,6,5]},{"value":"265","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["באור 15: הכנסות מסטודנטים - המשך","בניכוי:","מלגות שניתנו","סך הכל"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[115,423,26,16]},{"value":"41","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["באור 15: הכנסות מסטודנטים - המשך","בניכוי:","פטורים משכר לימוד","תואר ראשון"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[403,440,22,16]},{"value":"3","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["באור 15: הכנסות מסטודנטים - המשך","בניכוי:","פטורים משכר לימוד","תואר שני"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[297,439,7,16]},{"value":"193","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["באור 15: הכנסות מסטודנטים - המשך","בניכוי:","פטורים משכר לימוד","אחר"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[193,439,25,16]},{"value":"237","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["באור 15: הכנסות מסטודנטים - המשך","בניכוי:","פטורים משכר לימוד","סך הכל"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[115,439,24,16]},{"value":"26663","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["באור 15: הכנסות מסטודנטים - המשך","הכנסות משכר לימוד רגיל","תואר ראשון"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[383,471,39,19]},{"value":"9510","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["באור 15: הכנסות מסטודנטים - המשך","הכנסות משכר לימוד רגיל","תואר שני"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[272,471,37,19]},{"value":"11290","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["באור 15: הכנסות מסטודנטים - המשך","הכנסות משכר לימוד רגיל","אחר"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[174,471,41,19]},{"value":"47463","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["באור 15: הכנסות מסטודנטים - המשך","הכנסות משכר לימוד רגיל","סך הכל"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[99,471,43,19]},{"value":"61109","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["באור 16: הקצבות ממשרד החינוך לשימוש לפעילות הוראה","שעות הוראה"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[233,615,45,24]},{"value":"62565","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["באור 16: הקצבות ממשרד החינוך לשימוש לפעילות הוראה","שעות הוראה"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[119,619,51,16]},{"value":"6626","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["באור 16: הקצבות ממשרד החינוך לשימוש לפעילות הוראה","שכר עבודה עובדי מדינה ישיר"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[238,631,40,24]},{"value":"7889","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["באור 16: הקצבות ממשרד החינוך לשימוש לפעילות הוראה","שכר עבודה עובדי מדינה ישיר"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[127,638,42,16]},{"value":"4181","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["באור 16: הקצבות ממשרד החינוך לשימוש לפעילות הוראה","שיפוי"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[238,647,38,24]},{"value":"4043","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["באור 16: הקצבות ממשרד החינוך לשימוש לפעילות הוראה","שיפוי"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[123,654,44,16]},{"value":"3971","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["באור 16: הקצבות ממשרד החינוך לשימוש לפעילות הוראה","אחרות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[238,663,39,24]},{"value":"2317","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["באור 16: הקצבות ממשרד החינוך לשימוש לפעילות הוראה","אחרות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[123,670,46,16]},{"value":"75887","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["באור 16: הקצבות ממשרד החינוך לשימוש לפעילות הוראה","סה\"כ"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[233,693,44,24]},{"value":"76814","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["באור 16: הקצבות ממשרד החינוך לשימוש לפעילות הוראה","סה\"כ"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[122,697,49,16]},{"value":"1969","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["באור 17: תרומות והקצבות","תרומות לעמותה"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[245,876,36,20]},{"value":"734","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["באור 17: תרומות והקצבות","תרומות לעמותה"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[139,876,29,20]},{"value":"3096","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["באור 17: תרומות והקצבות","סכומים ששוחררו מהגבלות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[241,892,39,20]},{"value":"3747","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["באור 17: תרומות והקצבות","סכומים ששוחררו מהגבלות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[134,892,35,20]},{"value":"15016","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["באור 17: תרומות והקצבות","הקצבות אחרות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[239,909,41,20]},{"value":"14855","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["באור 17: תרומות והקצבות","הקצבות אחרות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[127,909,43,20]},{"value":"20081","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-09-30","path":["באור 17: תרומות והקצבות","סה\"כ"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[236,938,44,20]},{"value":"19336","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2020-09-30","path":["באור 17: תרומות והקצבות","סה\"כ"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[125,938,45,20]}]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"אורנים - המכללה האקדמית לחינוך, התנועה הקיבוצית","page_num":"22","type":"notes","title":"באורים לדוחות הכספיים"},"facts":[{"value":"18","comment":"18","is_note":true,"note":"18","note_reference":"","date":"2021-09-30","path":["באור 18: הכנסות שונות","השתתפות באחזקת מתקנים"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[266,306,22,16]},{"value":"520","comment":"18","is_note":true,"note":"18","note_reference":"","date":"2020-09-30","path":["באור 18: הכנסות שונות","השתתפות באחזקת מתקנים"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[156,306,24,16]},{"value":"599","comment":"18","is_note":true,"note":"18","note_reference":"","date":"2021-09-30","path":["באור 18: הכנסות שונות","הכנסות מדמי שימוש"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[259,318,26,16]},{"value":"633","comment":"18","is_note":true,"note":"18","note_reference":"","date":"2020-09-30","path":["באור 18: הכנסות שונות","הכנסות מדמי שימוש"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[156,323,24,16]},{"value":"2","comment":"18","is_note":true,"note":"18","note_reference":"","date":"2021-09-30","path":["באור 18: הכנסות שונות","הכנסות גן בוטני"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[276,336,9,16]},{"value":"45","comment":"18","is_note":true,"note":"18","note_reference":"","date":"2020-09-30","path":["באור 18: הכנסות שונות","הכנסות גן בוטני"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[162,335,17,16]},{"value":"269","comment":"18","is_note":true,"note":"18","note_reference":"","date":"2021-09-30","path":["באור 18: הכנסות שונות","הכנסות מחיוב תקורה"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[259,352,26,16]},{"value":"403","comment":"18","is_note":true,"note":"18","note_reference":"","date":"2020-09-30","path":["באור 18: הכנסות שונות","הכנסות מחיוב תקורה"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[156,351,24,16]},{"value":"909","comment":"18","is_note":true,"note":"18","note_reference":"","date":"2021-09-30","path":["באור 18: הכנסות שונות","שירותי ייעוץ ואבחון"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[259,370,26,16]},{"value":"516","comment":"מויין מחדש","is_note":true,"note":"18","note_reference":"","date":"2020-09-30","path":["באור 18: הכנסות שונות","שירותי ייעוץ ואבחון"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[149,369,31,16]},{"value":"491","comment":"18","is_note":true,"note":"18","note_reference":"","date":"2021-09-30","path":["באור 18: הכנסות שונות","שונות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[259,388,26,16]},{"value":"394","comment":"מויין מחדש","is_note":true,"note":"18","note_reference":"","date":"2020-09-30","path":["באור 18: הכנסות שונות","שונות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[149,387,31,16]},{"value":"2288","comment":"18","is_note":true,"note":"18","note_reference":"","date":"2021-09-30","path":["באור 18: הכנסות שונות","סה\"כ"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[252,410,33,17]},{"value":"2511","comment":"18","is_note":true,"note":"18","note_reference":"","date":"2020-09-30","path":["באור 18: הכנסות שונות","סה\"כ"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[146,409,33,17]},{"value":"89062","comment":"19","is_note":true,"note":"19","note_reference":"","date":"2021-09-30","path":["באור 19: הוראה, מחקר ושירותי עזר","שכר","הוראה ושירותי עזר"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[223,595,46,20]},{"value":"89766","comment":"מויין מחדש","is_note":true,"note":"19","note_reference":"","date":"2020-09-30","path":["באור 19: הוראה, מחקר ושירותי עזר","שכר","הוראה ושירותי עזר"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[114,595,51,20]},{"value":"22254","comment":"19","is_note":true,"note":"19","note_reference":"","date":"2021-09-30","path":["באור 19: הוראה, מחקר ושירותי עזר","שכר","יחידות חוץ אקדמיות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[223,612,46,20]},{"value":"18587","comment":"מויין מחדש","is_note":true,"note":"19","note_reference":"","date":"2020-09-30","path":["באור 19: הוראה, מחקר ושירותי עזר","שכר","יחידות חוץ אקדמיות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[115,611,51,20]},{"value":"1106","comment":"19","is_note":true,"note":"19","note_reference":"","date":"2021-09-30","path":["באור 19: הוראה, מחקר ושירותי עזר","שכר","מחקר"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[229,629,40,20]},{"value":"1039","comment":"19","is_note":true,"note":"19","note_reference":"","date":"2020-09-30","path":["באור 19: הוראה, מחקר ושירותי עזר","שכר","מחקר"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[124,628,40,20]},{"value":"112422","comment":"19","is_note":true,"note":"19","note_reference":"","date":"2021-09-30","path":["באור 19: הוראה, מחקר ושירותי עזר","שכר","סה\"כ"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[217,650,52,21]},{"value":"109392","comment":"19","is_note":true,"note":"19","note_reference":"","date":"2020-09-30","path":["באור 19: הוראה, מחקר ושירותי עזר","שכר","סה\"כ"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[113,651,52,21]},{"value":"1068","comment":"19","is_note":true,"note":"19","note_reference":"","date":"2021-09-30","path":["באור 19: הוראה, מחקר ושירותי עזר","הוצאות שוטפות","ספרים ומאגרי מידע"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[229,695,40,20]},{"value":"1041","comment":"19","is_note":true,"note":"19","note_reference":"","date":"2020-09-30","path":["באור 19: הוראה, מחקר ושירותי עזר","הוצאות שוטפות","ספרים ומאגרי מידע"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[128,693,40,20]},{"value":"492","comment":"19","is_note":true,"note":"19","note_reference":"","date":"2021-09-30","path":["באור 19: הוראה, מחקר ושירותי עזר","הוצאות שוטפות","חומרי עזר וציוד"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[238,711,31,19]},{"value":"538","comment":"19","is_note":true,"note":"19","note_reference":"","date":"2020-09-30","path":["באור 19: הוראה, מחקר ושירותי עזר","הוצאות שוטפות","חומרי עזר וציוד"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[132,709,36,19]},{"value":"2009","comment":"19","is_note":true,"note":"19","note_reference":"","date":"2021-09-30","path":["באור 19: הוראה, מחקר ושירותי עזר","הוצאות שוטפות","מערכות מידע"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[229,729,40,19]},{"value":"1928","comment":"19","is_note":true,"note":"19","note_reference":"","date":"2020-09-30","path":["באור 19: הוראה, מחקר ושירותי עזר","הוצאות שוטפות","מערכות מידע"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[128,727,40,19]},{"value":"2193","comment":"19","is_note":true,"note":"19","note_reference":"","date":"2021-09-30","path":["באור 19: הוראה, מחקר ושירותי עזר","הוצאות שוטפות","מחקרים ויחידות חוץ אקדמיות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[229,746,40,19]},{"value":"3042","comment":"מויין מחדש","is_note":true,"note":"19","note_reference":"","date":"2020-09-30","path":["באור 19: הוראה, מחקר ושירותי עזר","הוצאות שוטפות","מחקרים ויחידות חוץ אקדמיות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[121,744,47,19]},{"value":"4779","comment":"19","is_note":true,"note":"19","note_reference":"","date":"2021-09-30","path":["באור 19: הוראה, מחקר ושירותי עזר","הוצאות שוטפות","פחת"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[229,763,40,19]},{"value":"4875","comment":"19","is_note":true,"note":"19","note_reference":"","date":"2020-09-30","path":["באור 19: הוראה, מחקר ושירותי עזר","הוצאות שוטפות","פחת"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[128,761,40,19]},{"value":"4015","comment":"19","is_note":true,"note":"19","note_reference":"","date":"2021-09-30","path":["באור 19: הוראה, מחקר ושירותי עזר","הוצאות שוטפות","אחזקה"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[229,780,40,19]},{"value":"4579","comment":"19","is_note":true,"note":"19","note_reference":"","date":"2020-09-30","path":["באור 19: הוראה, מחקר ושירותי עזר","הוצאות שוטפות","אחזקה"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[128,778,40,19]},{"value":"3804","comment":"19","is_note":true,"note":"19","note_reference":"","date":"2021-09-30","path":["באור 19: הוראה, מחקר ושירותי עזר","הוצאות שוטפות","הוצאות הוראה אחרות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[229,798,40,19]},{"value":"3942","comment":"מויין מחדש","is_note":true,"note":"19","note_reference":"","date":"2020-09-30","path":["באור 19: הוראה, מחקר ושירותי עזר","הוצאות שוטפות","הוצאות הוראה אחרות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[121,796,47,19]},{"value":"18360","comment":"19","is_note":true,"note":"19","note_reference":"","date":"2021-09-30","path":["באור 19: הוראה, מחקר ושירותי עזר","הוצאות שוטפות","סה\"כ"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[223,819,46,21]},{"value":"19945","comment":"19","is_note":true,"note":"19","note_reference":"","date":"2020-09-30","path":["באור 19: הוראה, מחקר ושירותי עזר","הוצאות שוטפות","סה\"כ"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[122,817,46,21]},{"value":"130782","comment":"19","is_note":true,"note":"19","note_reference":"","date":"2021-09-30","path":["באור 19: הוראה, מחקר ושירותי עזר","סה\"כ"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[217,851,52,21]},{"value":"129337","comment":"19","is_note":true,"note":"19","note_reference":"","date":"2020-09-30","path":["באור 19: הוראה, מחקר ושירותי עזר","סה\"כ"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[116,849,52,21]}]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"אורנים - המכללה האקדמית לחינוך, התנועה הקיבוצית","page_num":"23","type":"notes","title":"באורים לדוחות הכספיים"},"facts":[{"value":"2355","comment":"20","is_note":true,"note":"20","note_reference":"","date":"2021-09-30","path":["באור 20: שירותים ומלגות לסטודנטים","משכורות והוצאות נלוות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[243,311,32,15]},{"value":"2174","comment":"20","is_note":true,"note":"20","note_reference":"","date":"2020-09-30","path":["באור 20: שירותים ומלגות לסטודנטים","משכורות והוצאות נלוות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[137,312,32,15]},{"value":"80","comment":"20","is_note":true,"note":"20","note_reference":"","date":"2021-09-30","path":["באור 20: שירותים ומלגות לסטודנטים","כנסים ותערוכות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[260,328,16,15]},{"value":"34","comment":"20","is_note":true,"note":"20","note_reference":"","date":"2020-09-30","path":["באור 20: שירותים ומלגות לסטודנטים","כנסים ותערוכות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[154,328,15,15]},{"value":"4852","comment":"20","is_note":true,"note":"20","note_reference":"","date":"2021-09-30","path":["באור 20: שירותים ומלגות לסטודנטים","מלגות תלמידים"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[243,345,32,15]},{"value":"5890","comment":"20","is_note":true,"note":"20","note_reference":"","date":"2020-09-30","path":["באור 20: שירותים ומלגות לסטודנטים","מלגות תלמידים"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[137,345,32,15]},{"value":"191","comment":"20","is_note":true,"note":"20","note_reference":"","date":"2021-09-30","path":["באור 20: שירותים ומלגות לסטודנטים","דואר וטלפון"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[251,361,24,14]},{"value":"165","comment":"20","is_note":true,"note":"20","note_reference":"","date":"2020-09-30","path":["באור 20: שירותים ומלגות לסטודנטים","דואר וטלפון"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[145,361,24,15]},{"value":"287","comment":"20","is_note":true,"note":"20","note_reference":"","date":"2021-09-30","path":["באור 20: שירותים ומלגות לסטודנטים","שונות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[252,375,24,15]},{"value":"279","comment":"20","is_note":true,"note":"20","note_reference":"","date":"2020-09-30","path":["באור 20: שירותים ומלגות לסטודנטים","שונות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[145,376,24,15]},{"value":"7765","comment":"20","is_note":true,"note":"20","note_reference":"","date":"2021-09-30","path":["באור 20: שירותים ומלגות לסטודנטים","סה״כ"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[243,399,32,15]},{"value":"8542","comment":"20","is_note":true,"note":"20","note_reference":"","date":"2020-09-30","path":["באור 20: שירותים ומלגות לסטודנטים","סה״כ"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[135,401,34,16]},{"value":"5319","comment":"21","is_note":true,"note":"21","note_reference":"","date":"2021-09-30","path":["באור 21: הוצאות הנהלה וכלליות","משכורות והוצאות נלוות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[251,548,37,15]},{"value":"4506","comment":"21","is_note":true,"note":"21","note_reference":"","date":"2020-09-30","path":["באור 21: הוצאות הנהלה וכלליות","משכורות והוצאות נלוות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[135,550,35,17]},{"value":"206","comment":"21","is_note":true,"note":"21","note_reference":"","date":"2021-09-30","path":["באור 21: הוצאות הנהלה וכלליות","שירותים מקצועיים"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[260,567,28,14]},{"value":"196","comment":"21","is_note":true,"note":"21","note_reference":"","date":"2020-09-30","path":["באור 21: הוצאות הנהלה וכלליות","שירותים מקצועיים"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[145,570,24,15]},{"value":"16","comment":"21","is_note":true,"note":"21","note_reference":"","date":"2021-09-30","path":["באור 21: הוצאות הנהלה וכלליות","נסיעות ואש\"ל"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[265,584,27,15]},{"value":"13","comment":"21","is_note":true,"note":"21","note_reference":"","date":"2020-09-30","path":["באור 21: הוצאות הנהלה וכלליות","נסיעות ואש\"ל"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[155,583,13,15]},{"value":"13","comment":"21","is_note":true,"note":"21","note_reference":"","date":"2021-09-30","path":["באור 21: הוצאות הנהלה וכלליות","צורכי משרד"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[265,600,27,15]},{"value":"18","comment":"21","is_note":true,"note":"21","note_reference":"","date":"2020-09-30","path":["באור 21: הוצאות הנהלה וכלליות","צורכי משרד"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[155,600,15,15]},{"value":"494","comment":"21","is_note":true,"note":"21","note_reference":"","date":"2021-09-30","path":["באור 21: הוצאות הנהלה וכלליות","משפטיות וביקורת"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[257,616,35,15]},{"value":"525","comment":"21","is_note":true,"note":"21","note_reference":"","date":"2020-09-30","path":["באור 21: הוצאות הנהלה וכלליות","משפטיות וביקורת"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[146,617,24,15]},{"value":"48","comment":"21","is_note":true,"note":"21","note_reference":"","date":"2021-09-30","path":["באור 21: הוצאות הנהלה וכלליות","דואר וטלפון"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[266,632,27,15]},{"value":"41","comment":"21","is_note":true,"note":"21","note_reference":"","date":"2020-09-30","path":["באור 21: הוצאות הנהלה וכלליות","דואר וטלפון"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[154,633,13,15]},{"value":"96","comment":"21","is_note":true,"note":"21","note_reference":"","date":"2021-09-30","path":["באור 21: הוצאות הנהלה וכלליות","אחזקת רכב"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[265,648,27,15]},{"value":"90","comment":"21","is_note":true,"note":"21","note_reference":"","date":"2020-09-30","path":["באור 21: הוצאות הנהלה וכלליות","אחזקת רכב"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[152,649,15,15]},{"value":"633","comment":"21","is_note":true,"note":"21","note_reference":"","date":"2021-09-30","path":["באור 21: הוצאות הנהלה וכלליות","פחת"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[257,665,35,15]},{"value":"665","comment":"21","is_note":true,"note":"21","note_reference":"","date":"2020-09-30","path":["באור 21: הוצאות הנהלה וכלליות","פחת"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[144,665,24,18]},{"value":"273","comment":"21","is_note":true,"note":"21","note_reference":"","date":"2021-09-30","path":["באור 21: הוצאות הנהלה וכלליות","אחרות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[257,683,35,15]},{"value":"373","comment":"21","is_note":true,"note":"21","note_reference":"","date":"2020-09-30","path":["באור 21: הוצאות הנהלה וכלליות","אחרות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[145,681,24,15]},{"value":"7098","comment":"21","is_note":true,"note":"21","note_reference":"","date":"2021-09-30","path":["באור 21: הוצאות הנהלה וכלליות","סה״כ"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[249,707,44,15]},{"value":"6427","comment":"21","is_note":true,"note":"21","note_reference":"","date":"2020-09-30","path":["באור 21: הוצאות הנהלה וכלליות","סה״כ"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[134,707,41,15]},{"value":"1083","comment":"22","is_note":true,"note":"22","note_reference":"","date":"2021-09-30","path":["באור 22: הוצאות פרסום ושיווק","פרסום ושיווק"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[252,855,32,15]},{"value":"1504","comment":"22","is_note":true,"note":"22","note_reference":"","date":"2020-09-30","path":["באור 22: הוצאות פרסום ושיווק","פרסום ושיווק"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[137,857,32,15]},{"value":"1263","comment":"22","is_note":true,"note":"22","note_reference":"","date":"2021-09-30","path":["באור 22: הוצאות פרסום ושיווק","שירותים מקצועיים"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[253,872,32,15]},{"value":"844","comment":"22","is_note":true,"note":"22","note_reference":"","date":"2020-09-30","path":["באור 22: הוצאות פרסום ושיווק","שירותים מקצועיים"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[146,874,24,15]},{"value":"10","comment":"22","is_note":true,"note":"22","note_reference":"","date":"2021-09-30","path":["באור 22: הוצאות פרסום ושיווק","אחרות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[269,888,16,15]},{"value":"23","comment":"22","is_note":true,"note":"22","note_reference":"","date":"2020-09-30","path":["באור 22: הוצאות פרסום ושיווק","אחרות"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[154,890,15,15]},{"value":"2356","comment":"22","is_note":true,"note":"22","note_reference":"","date":"2021-09-30","path":["באור 22: הוצאות פרסום ושיווק","סה״כ"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[253,913,32,15]},{"value":"2371","comment":"22","is_note":true,"note":"22","note_reference":"","date":"2020-09-30","path":["באור 22: הוצאות פרסום ושיווק","סה״כ"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[136,913,32,15]}]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"אורנים - המכללה האקדמית לחינוך, התנועה הקיבוצית","page_num":"24","type":"notes","title":"באורים לדוחות הכספיים"},"facts":[{"value":"1666","comment":"23","is_note":true,"note":"23","note_reference":"","date":"2021-09-30","path":["באור 23: הכנסות (הוצאות) מימון, נטו","רווח (הפסד) מניירות ערך סחירים, נטו"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[252,310,32,16]},{"value":"(286)","comment":"23","is_note":true,"note":"23","note_reference":"","date":"2020-09-30","path":["באור 23: הכנסות (הוצאות) מימון, נטו","רווח (הפסד) מניירות ערך סחירים, נטו"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[136,309,37,20]},{"value":"(331)","comment":"23","is_note":true,"note":"23","note_reference":"","date":"2021-09-30","path":["באור 23: הכנסות (הוצאות) מימון, נטו","עמלות כרטיסי אשראי"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[252,327,32,18]},{"value":"(251)","comment":"23","is_note":true,"note":"23","note_reference":"","date":"2020-09-30","path":["באור 23: הכנסות (הוצאות) מימון, נטו","עמלות כרטיסי אשראי"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[136,326,36,20]},{"value":"102","comment":"23","is_note":true,"note":"23","note_reference":"","date":"2021-09-30","path":["באור 23: הכנסות (הוצאות) מימון, נטו","הפרשי שער משערוך יתרות מט\"ח"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[260,345,25,16]},{"value":"34","comment":"23","is_note":true,"note":"23","note_reference":"","date":"2020-09-30","path":["באור 23: הכנסות (הוצאות) מימון, נטו","הפרשי שער משערוך יתרות מט\"ח"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[147,344,26,18]},{"value":"(163)","comment":"23","is_note":true,"note":"23","note_reference":"","date":"2021-09-30","path":["באור 23: הכנסות (הוצאות) מימון, נטו","הוצאות אחרות, נטו"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[253,359,32,18]},{"value":"(58)","comment":"23","is_note":true,"note":"23","note_reference":"","date":"2020-09-30","path":["באור 23: הכנסות (הוצאות) מימון, נטו","הוצאות אחרות, נטו"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[140,358,31,20]},{"value":"1274","comment":"23","is_note":true,"note":"23","note_reference":"","date":"2021-09-30","path":["באור 23: הכנסות (הוצאות) מימון, נטו","סה\"כ"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[252,385,33,16]},{"value":"(561)","comment":"23","is_note":true,"note":"23","note_reference":"","date":"2020-09-30","path":["באור 23: הכנסות (הוצאות) מימון, נטו","סה\"כ"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[135,385,36,20]},{"value":"68","comment":"25","is_note":true,"note":"25","note_reference":"","date":"2021-09-30","path":["באור 25: צדדים קשורים","עסקאות:","שכר עבודה עבור דרכים"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[229,692,25,13]},{"value":"96","comment":"25","is_note":true,"note":"25","note_reference":"","date":"2020-09-30","path":["באור 25: צדדים קשורים","עסקאות:","שכר עבודה עבור דרכים"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[123,693,24,13]},{"value":"3","comment":"25","is_note":true,"note":"25","note_reference":"","date":"2021-09-30","path":["באור 25: צדדים קשורים","עסקאות:","שירותים מקצועיים והוצאות משרד עבור דרכים"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[232,708,17,13]},{"value":"115","comment":"25","is_note":true,"note":"25","note_reference":"","date":"2020-09-30","path":["באור 25: צדדים קשורים","עסקאות:","שירותים מקצועיים והוצאות משרד עבור דרכים"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[120,709,29,13]},{"value":"112","comment":"25","is_note":true,"note":"25","note_reference":"","date":"2021-09-30","path":["באור 25: צדדים קשורים","עסקאות:","שירותים מקצועיים שניתנים ע\"י דרכים לאורנים"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[223,725,29,13]},{"value":"75","comment":"25","is_note":true,"note":"25","note_reference":"","date":"2020-09-30","path":["באור 25: צדדים קשורים","עסקאות:","שירותים מקצועיים שניתנים ע\"י דרכים לאורנים"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[123,725,24,13]},{"value":"183","comment":"25","is_note":true,"note":"25","note_reference":"","date":"2021-09-30","path":["באור 25: צדדים קשורים","עסקאות:","סה\"כ"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[222,749,31,13]},{"value":"286","comment":"25","is_note":true,"note":"25","note_reference":"","date":"2020-09-30","path":["באור 25: צדדים קשורים","עסקאות:","סה\"כ"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[119,749,30,13]},{"value":"34","comment":"25","is_note":true,"note":"25","note_reference":"","date":"2021-09-30","path":["באור 25: צדדים קשורים","יתרות:","יתרה בחובה דרכים"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[227,853,24,13]},{"value":"59","comment":"25","is_note":true,"note":"25","note_reference":"","date":"2020-09-30","path":["באור 25: צדדים קשורים","יתרות:","יתרה בחובה דרכים"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[125,853,24,13]},{"value":"34","comment":"25","is_note":true,"note":"25","note_reference":"","date":"2021-09-30","path":["באור 25: צדדים קשורים","יתרות:","סה\"כ"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[228,877,23,14]},{"value":"59","comment":"25","is_note":true,"note":"25","note_reference":"","date":"2020-09-30","path":["באור 25: צדדים קשורים","יתרות:","סה\"כ"],"currency":"ILS","scale":1000,"value_type":"amount","bbox":[125,877,24,14]}]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"אורנים - המכללה האקדמית לחינוך, התנועה הקיבוצית","page_num":null,"type":"other","title":"באורים לדוחות הכספיים"},"facts":[]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"״מיוזיק״ בית ספר למוזיקה (ע״ר)","page_num":null,"type":"title","title":"דין וחשבון כספי ליום 31 בדצמבר 2022"},"facts":[]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"״מיוזיק״ בית ספר למוזיקה (ע״ר)","page_num":null,"type":"contents_page","title":"תוכן העניינים"},"facts":[]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"״מיוזיק״ בית ספר למוזיקה (ע״ר)","page_num":"2","type":"declaration","title":"ד״וח רואה חשבון המבקר לוועד המנהל"},"facts":[]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"״מיוזיק״ בית ספר למוזיקה (ע״ר)","page_num":"3","type":"balance_sheet","title":"דוח על המצב הכספי"},"facts":[{"value":"205367","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["רכוש שוטף","מזומנים ושווי מזומנים"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[258,280,60,21]},{"value":"232629","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-12-31","path":["רכוש שוטף","מזומנים ושווי מזומנים"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[136,280,59,21]},{"value":"923382","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["רכוש שוטף","הכנסות לקבל"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[258,302,60,21]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-12-31","path":["רכוש שוטף","הכנסות לקבל"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[181,306,14,17]},{"value":"77876","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["רכוש שוטף","אשראי ושקים לגבייה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[265,328,53,21]},{"value":"179711","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-12-31","path":["רכוש שוטף","אשראי ושקים לגבייה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[136,328,59,21]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["רכוש שוטף","הלוואות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[303,354,14,17]},{"value":"145000","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-12-31","path":["רכוש שוטף","הלוואות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[136,351,59,21]},{"value":"6000","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["רכוש שוטף","חייבים אחרים ויתרות חובה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[272,376,45,21]},{"value":"8089","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-12-31","path":["רכוש שוטף","חייבים אחרים ויתרות חובה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[150,376,45,21]},{"value":"1212625","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["רכוש שוטף"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[246,401,71,21]},{"value":"565429","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-12-31","path":["רכוש שוטף"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[136,401,59,21]},{"value":"274117","comment":null,"is_note":false,"note":null,"note_reference":"3","date":"2022-12-31","path":["רכוש קבוע, נטו"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[258,424,60,21]},{"value":"73839","comment":null,"is_note":false,"note":null,"note_reference":"3","date":"2021-12-31","path":["רכוש קבוע, נטו"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[144,424,51,21]},{"value":"1486742","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["סה\"כ נכסים"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[245,449,69,19]},{"value":"639268","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-12-31","path":["סה\"כ נכסים"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[135,449,57,19]},{"value":"2367","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["התחייבויות שוטפות","ספקים"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[275,521,41,20]},{"value":"78883","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-12-31","path":["התחייבויות שוטפות","ספקים"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[139,521,54,20]},{"value":"221680","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["התחייבויות שוטפות","עובדים ומוסדות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[255,546,62,20]},{"value":"120897","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-12-31","path":["התחייבויות שוטפות","עובדים ומוסדות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[133,546,61,20]},{"value":"316670","comment":null,"is_note":false,"note":null,"note_reference":"4","date":"2022-12-31","path":["התחייבויות שוטפות","הלוואות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[255,569,62,20]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"4","date":"2021-12-31","path":["התחייבויות שוטפות","הלוואות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[178,571,16,16]},{"value":"540717","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-12-31","path":["התחייבויות שוטפות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[255,593,61,20]},{"value":"199780","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-12-31","path":["התחייבויות שוטפות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[133,593,61,20]},{"value":"121530","comment":null,"is_note":false,"note":null,"note_reference":"5","date":"2022-12-31","path":["התחייבויות לזמן ארוך","עתודות לזכויות עובדים בעת פרישה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[259,642,55,19]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"5","date":"2021-12-31","path":["התחייבויות לזמן ארוך","עתודות לזכויות עובדים בעת פרישה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[183,643,7,15]},{"value":"662247","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["סה\"כ התחייבויות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[258,665,55,19]},{"value":"199780","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-12-31","path":["סה\"כ התחייבויות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[136,665,55,19]},{"value":"550378","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["נכסים נטו","נכסים נטו שלא קיימת לגביהם הגבלה (גרעון)","נכסים נטו לשימוש לפעילויות:","שלא יועדו על ידי מוסדות המלכ״ר"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[251,759,66,21]},{"value":"365649","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-12-31","path":["נכסים נטו","נכסים נטו שלא קיימת לגביהם הגבלה (גרעון)","נכסים נטו לשימוש לפעילויות:","שלא יועדו על ידי מוסדות המלכ״ר"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[129,759,61,21]},{"value":"274117","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["נכסים נטו","נכסים נטו שלא קיימת לגביהם הגבלה (גרעון)","נכסים נטו לשימוש לפעילויות:","נכסים נטו ששימשו לרכוש קבוע"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[251,784,66,21]},{"value":"73839","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-12-31","path":["נכסים נטו","נכסים נטו שלא קיימת לגביהם הגבלה (גרעון)","נכסים נטו לשימוש לפעילויות:","נכסים נטו ששימשו לרכוש קבוע"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[137,784,53,21]},{"value":"824495","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["נכסים נטו"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[251,809,66,21]},{"value":"439488","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-12-31","path":["נכסים נטו"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[129,809,61,21]},{"value":"1486742","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["סה\"כ התחייבויות ונכסים נטו"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[239,833,78,21]},{"value":"639268","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-12-31","path":["סה\"כ התחייבויות ונכסים נטו"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[129,833,61,21]}]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"״מיוזיק״ בית ספר למוזיקה (ע״ר)","page_num":"4","type":"profits","title":"דוחות על הפעילויות"},"facts":[{"value":"1092756","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["מחזור הפעילויות","קופות חולים"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[246,328,72,17]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-12-31","path":["מחזור הפעילויות","קופות חולים"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[183,330,10,11]},{"value":"1683166","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["מחזור הפעילויות","הכנסות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[246,361,71,17]},{"value":"1836651","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-12-31","path":["מחזור הפעילויות","הכנסות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[120,361,72,17]},{"value":"2775922","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["מחזור הפעילויות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[246,392,71,17]},{"value":"1836651","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-12-31","path":["מחזור הפעילויות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[120,392,72,17]},{"value":"1613739","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["עלות הפעילויות","משכורות ונלוות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[239,457,78,17]},{"value":"384014","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-12-31","path":["עלות הפעילויות","משכורות ונלוות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[122,457,70,17]},{"value":"389985","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["עלות הפעילויות","הפעלת שיעורי מוזיקה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[254,489,63,17]},{"value":"947139","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-12-31","path":["עלות הפעילויות","הפעלת שיעורי מוזיקה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[122,489,70,17]},{"value":"110000","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["עלות הפעילויות","תמיכות בתלמידים"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[254,520,64,17]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-12-31","path":["עלות הפעילויות","תמיכות בתלמידים"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[179,523,14,7]},{"value":"4029","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["עלות הפעילויות","ביטוח"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[269,552,49,17]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-12-31","path":["עלות הפעילויות","ביטוח"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[179,555,14,7]},{"value":"9671","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["עלות הפעילויות","פחת"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[269,583,49,17]},{"value":"891","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-12-31","path":["עלות הפעילויות","פחת"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[157,583,34,17]},{"value":"2127424","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["עלות הפעילויות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[239,613,78,17]},{"value":"1332044","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-12-31","path":["עלות הפעילויות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[113,613,79,17]},{"value":"648498","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["הכנסות נטו מפעילויות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[254,644,63,17]},{"value":"504607","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-12-31","path":["הכנסות נטו מפעילויות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[128,644,63,17]},{"value":"201584","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["הוצאות הנהלה וכלליות","משכורות ונלוות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[254,707,64,17]},{"value":"11111","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-12-31","path":["הוצאות הנהלה וכלליות","משכורות ונלוות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[142,707,50,17]},{"value":"8474","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["הוצאות הנהלה וכלליות","משרדיות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[269,739,49,17]},{"value":"30195","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-12-31","path":["הוצאות הנהלה וכלליות","משרדיות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[142,739,50,17]},{"value":"21812","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["הוצאות הנהלה וכלליות","פרסום"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[261,770,56,17]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-12-31","path":["הוצאות הנהלה וכלליות","פרסום"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[178,772,16,12]},{"value":"153","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["הוצאות הנהלה וכלליות","אגרות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[283,802,34,17]},{"value":"1153","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-12-31","path":["הוצאות הנהלה וכלליות","אגרות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[149,802,42,17]},{"value":"232023","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["הוצאות הנהלה וכלליות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[254,833,64,17]},{"value":"42459","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-12-31","path":["הוצאות הנהלה וכלליות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[142,833,50,17]},{"value":"416475","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["הכנסות נטו לפני מימון"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[254,864,64,17]},{"value":"462148","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-12-31","path":["הכנסות נטו לפני מימון"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[128,864,63,17]},{"value":"31468","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["הוצאות מימון נטו"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[261,896,56,17]},{"value":"26480","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-12-31","path":["הוצאות מימון נטו"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[142,894,50,20]},{"value":"385007","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["הכנסות נטו (גרעון) לשנה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[254,926,63,21]},{"value":"435668","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-12-31","path":["הכנסות נטו (גרעון) לשנה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[128,926,63,18]}]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"״מיוזיק״ בית ספר למוזיקה (ע״ר)","page_num":"5","type":"profits","title":"דוחות על השינויים בנכסים נטו"},"facts":[{"value":"3820","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-01-01","path":["יתרות ליום 1 בינואר 2021","שאין לגביהם הגבלה","לשימוש לפעילויות שלא יועדו על ידי מוסדות המלכ\"ר"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[383,331,46,19]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-01-01","path":["יתרות ליום 1 בינואר 2021","שאין לגביהם הגבלה","נכסים נטו ששימשו לרכוש קבוע"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[295,334,11,9]},{"value":"3820","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-01-01","path":["יתרות ליום 1 בינואר 2021","סה\"כ"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[143,329,41,21]},{"value":"435668","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021","path":["תוספות במהלך השנה","הכנסות נטו לשנה","שאין לגביהם הגבלה","לשימוש לפעילויות שלא יועדו על ידי מוסדות המלכ\"ר"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[363,378,61,19]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021","path":["תוספות במהלך השנה","הכנסות נטו לשנה","שאין לגביהם הגבלה","נכסים נטו ששימשו לרכוש קבוע"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[296,382,10,10]},{"value":"435668","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021","path":["תוספות במהלך השנה","הכנסות נטו לשנה","סה\"כ"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[126,376,59,21]},{"value":"(74730)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021","path":["גריעות במהלך השנה","העברת סכומים שלא קיימת לגביהם הגבלה","ששימשו לרכוש קבוע","שאין לגביהם הגבלה","לשימוש לפעילויות שלא יועדו על ידי מוסדות המלכ\"ר"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[361,469,67,24]},{"value":"74730","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021","path":["גריעות במהלך השנה","העברת סכומים שלא קיימת לגביהם הגבלה","ששימשו לרכוש קבוע","שאין לגביהם הגבלה","נכסים נטו ששימשו לרכוש קבוע"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[248,469,60,21]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021","path":["גריעות במהלך השנה","העברת סכומים שלא קיימת לגביהם הגבלה","ששימשו לרכוש קבוע","סה\"כ"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[175,473,9,10]},{"value":"891","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021","path":["גריעות במהלך השנה","העברת סכומים שלא קיימת לגביהם הגבלה","סכומים שהועברו לכיסוי הוצאות פחת","שאין לגביהם הגבלה","לשימוש לפעילויות שלא יועדו על ידי מוסדות המלכ\"ר"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[391,493,40,21]},{"value":"(891)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021","path":["גריעות במהלך השנה","העברת סכומים שלא קיימת לגביהם הגבלה","סכומים שהועברו לכיסוי הוצאות פחת","שאין לגביהם הגבלה","נכסים נטו ששימשו לרכוש קבוע"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[269,493,41,24]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021","path":["גריעות במהלך השנה","העברת סכומים שלא קיימת לגביהם הגבלה","סכומים שהועברו לכיסוי הוצאות פחת","סה\"כ"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[176,496,8,9]},{"value":"365649","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-12-31","path":["יתרות ליום 31 בדצמבר 2021","שאין לגביהם הגבלה","לשימוש לפעילויות שלא יועדו על ידי מוסדות המלכ\"ר"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[364,518,58,19]},{"value":"73839","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-12-31","path":["יתרות ליום 31 בדצמבר 2021","שאין לגביהם הגבלה","נכסים נטו ששימשו לרכוש קבוע"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[251,518,53,19]},{"value":"439488","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2021-12-31","path":["יתרות ליום 31 בדצמבר 2021","סה\"כ"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[126,518,60,19]},{"value":"385007","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022","path":["תוספות במהלך השנה","הכנסות נטו לשנה","שאין לגביהם הגבלה","לשימוש לפעילויות שלא יועדו על ידי מוסדות המלכ\"ר"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[365,566,60,19]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022","path":["תוספות במהלך השנה","הכנסות נטו לשנה","שאין לגביהם הגבלה","נכסים נטו ששימשו לרכוש קבוע"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[294,570,12,8]},{"value":"385007","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022","path":["תוספות במהלך השנה","הכנסות נטו לשנה","סה\"כ"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[126,566,61,19]},{"value":"(209949)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022","path":["גריעות במהלך השנה","העברת סכומים שלא קיימת לגביהם הגבלה","ששימשו לרכוש קבוע","שאין לגביהם הגבלה","לשימוש לפעילויות שלא יועדו על ידי מוסדות המלכ\"ר"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[357,656,68,23]},{"value":"209949","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022","path":["גריעות במהלך השנה","העברת סכומים שלא קיימת לגביהם הגבלה","ששימשו לרכוש קבוע","שאין לגביהם הגבלה","נכסים נטו ששימשו לרכוש קבוע"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[245,656,58,19]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022","path":["גריעות במהלך השנה","העברת סכומים שלא קיימת לגביהם הגבלה","ששימשו לרכוש קבוע","סה\"כ"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[171,660,14,10]},{"value":"9671","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022","path":["גריעות במהלך השנה","העברת סכומים שלא קיימת לגביהם הגבלה","סכומים שהועברו לכיסוי הוצאות פחת","שאין לגביהם הגבלה","לשימוש לפעילויות שלא יועדו על ידי מוסדות המלכ\"ר"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[380,680,46,19]},{"value":"(9671)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022","path":["גריעות במהלך השנה","העברת סכומים שלא קיימת לגביהם הגבלה","סכומים שהועברו לכיסוי הוצאות פחת","שאין לגביהם הגבלה","נכסים נטו ששימשו לרכוש קבוע"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[261,679,45,23]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022","path":["גריעות במהלך השנה","העברת סכומים שלא קיימת לגביהם הגבלה","סכומים שהועברו לכיסוי הוצאות פחת","סה\"כ"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[172,683,13,10]},{"value":"550378","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["יתרות ליום 31 בדצמבר 2022","שאין לגביהם הגבלה","לשימוש לפעילויות שלא יועדו על ידי מוסדות המלכ\"ר"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[363,704,62,19]},{"value":"274117","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["יתרות ליום 31 בדצמבר 2022","שאין לגביהם הגבלה","נכסים נטו ששימשו לרכוש קבוע"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[244,704,62,19]},{"value":"824495","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2022-12-31","path":["יתרות ליום 31 בדצמבר 2022","סה\"כ"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[124,703,63,20]}]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"״מיוזיק״ בית ספר למוזיקה (ע״ר)","page_num":"6","type":"notes","title":"באורים לדוחות הכספיים"},"facts":[]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"״מיוזיק״ בית ספר למוזיקה (ע״ר)","page_num":"7","type":"notes","title":"באורים לדוחות הכספיים"},"facts":[]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"\"מיוזיק\" בית ספר למוזיקה (ע\"ר)","page_num":"8","type":"notes","title":"באורים לדוחות הכספיים"},"facts":[{"value":"45080","comment":"3","is_note":true,"note":"3","note_reference":"","date":"2022-01-01","path":["עלות","יתרה ליום 1 בינואר 2022","כלי נגינה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[355,304,54,25]},{"value":"17550","comment":"3","is_note":true,"note":"3","note_reference":"","date":"2022-01-01","path":["עלות","יתרה ליום 1 בינואר 2022","ציוד וריהוט"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[272,304,53,25]},{"value":"12100","comment":"3","is_note":true,"note":"3","note_reference":"","date":"2022-01-01","path":["עלות","יתרה ליום 1 בינואר 2022","שיפוצים"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[189,304,54,25]},{"value":"74730","comment":"3","is_note":true,"note":"3","note_reference":"","date":"2022-01-01","path":["עלות","יתרה ליום 1 בינואר 2022","סה\"כ"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[105,304,53,25]},{"value":"103149","comment":"3","is_note":true,"note":"3","note_reference":"","date":"2022","path":["עלות","תוספות במשך השנה","כלי נגינה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[350,327,59,27]},{"value":"30000","comment":"3","is_note":true,"note":"3","note_reference":"","date":"2022","path":["עלות","תוספות במשך השנה","ציוד וריהוט"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[271,327,54,27]},{"value":"76800","comment":"3","is_note":true,"note":"3","note_reference":"","date":"2022","path":["עלות","תוספות במשך השנה","שיפוצים"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[189,327,53,27]},{"value":"209949","comment":"3","is_note":true,"note":"3","note_reference":"","date":"2022","path":["עלות","תוספות במשך השנה","סה\"כ"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[98,327,60,27]},{"value":"148229","comment":"3","is_note":true,"note":"3","note_reference":"","date":"2022-12-31","path":["עלות","יתרה ליום 31 בדצמבר 2022","כלי נגינה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[350,353,59,26]},{"value":"47550","comment":"3","is_note":true,"note":"3","note_reference":"","date":"2022-12-31","path":["עלות","יתרה ליום 31 בדצמבר 2022","ציוד וריהוט"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[271,353,54,26]},{"value":"88900","comment":"3","is_note":true,"note":"3","note_reference":"","date":"2022-12-31","path":["עלות","יתרה ליום 31 בדצמבר 2022","שיפוצים"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[189,353,54,26]},{"value":"284679","comment":"3","is_note":true,"note":"3","note_reference":"","date":"2022-12-31","path":["עלות","יתרה ליום 31 בדצמבר 2022","סה\"כ"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[98,353,60,26]},{"value":"794","comment":"3","is_note":true,"note":"3","note_reference":"","date":"2022-01-01","path":["פחת שנצבר","יתרה ליום 1 בינואר 2022","כלי נגינה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[375,405,33,21]},{"value":"97","comment":"3","is_note":true,"note":"3","note_reference":"","date":"2022-01-01","path":["פחת שנצבר","יתרה ליום 1 בינואר 2022","ציוד וריהוט"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[293,406,33,23]},{"value":"","comment":"3","is_note":true,"note":"3","note_reference":"","date":"2022-01-01","path":["פחת שנצבר","יתרה ליום 1 בינואר 2022","שיפוצים"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[227,411,13,11]},{"value":"891","comment":"3","is_note":true,"note":"3","note_reference":"","date":"2022-01-01","path":["פחת שנצבר","יתרה ליום 1 בינואר 2022","סה\"כ"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[125,405,33,21]},{"value":"7974","comment":"3","is_note":true,"note":"3","note_reference":"","date":"2022","path":["פחת שנצבר","תוספות במשך השנה","כלי נגינה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[363,431,46,25]},{"value":"1697","comment":"3","is_note":true,"note":"3","note_reference":"","date":"2022","path":["פחת שנצבר","תוספות במשך השנה","ציוד וריהוט"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[279,431,46,25]},{"value":"","comment":"3","is_note":true,"note":"3","note_reference":"","date":"2022","path":["פחת שנצבר","תוספות במשך השנה","שיפוצים"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[227,440,14,7]},{"value":"9671","comment":"3","is_note":true,"note":"3","note_reference":"","date":"2022","path":["פחת שנצבר","תוספות במשך השנה","סה\"כ"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[112,431,46,25]},{"value":"8768","comment":"3","is_note":true,"note":"3","note_reference":"","date":"2022-12-31","path":["פחת שנצבר","יתרה ליום 31 בדצמבר 2022","כלי נגינה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[363,460,46,25]},{"value":"1794","comment":"3","is_note":true,"note":"3","note_reference":"","date":"2022-12-31","path":["פחת שנצבר","יתרה ליום 31 בדצמבר 2022","ציוד וריהוט"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[279,460,46,25]},{"value":"","comment":"3","is_note":true,"note":"3","note_reference":"","date":"2022-12-31","path":["פחת שנצבר","יתרה ליום 31 בדצמבר 2022","שיפוצים"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[227,465,14,12]},{"value":"10562","comment":"3","is_note":true,"note":"3","note_reference":"","date":"2022-12-31","path":["פחת שנצבר","יתרה ליום 31 בדצמבר 2022","סה\"כ"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[103,460,55,25]},{"value":"139461","comment":"3","is_note":true,"note":"3","note_reference":"","date":"2022-12-31","path":["עלות מופחתת ליום 31 בדצמבר 2022","כלי נגינה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[349,487,60,25]},{"value":"45756","comment":"3","is_note":true,"note":"3","note_reference":"","date":"2022-12-31","path":["עלות מופחתת ליום 31 בדצמבר 2022","ציוד וריהוט"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[271,487,54,25]},{"value":"88900","comment":"3","is_note":true,"note":"3","note_reference":"","date":"2022-12-31","path":["עלות מופחתת ליום 31 בדצמבר 2022","שיפוצים"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[189,487,54,25]},{"value":"274117","comment":"3","is_note":true,"note":"3","note_reference":"","date":"2022-12-31","path":["עלות מופחתת ליום 31 בדצמבר 2022","סה\"כ"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[97,487,61,25]},{"value":"44286","comment":"3","is_note":true,"note":"3","note_reference":"","date":"2021-12-31","path":["עלות מופחתת ליום 31 בדצמבר 2021","כלי נגינה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[357,537,52,25]},{"value":"17453","comment":"3","is_note":true,"note":"3","note_reference":"","date":"2021-12-31","path":["עלות מופחתת ליום 31 בדצמבר 2021","ציוד וריהוט"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[273,537,52,25]},{"value":"12100","comment":"3","is_note":true,"note":"3","note_reference":"","date":"2021-12-31","path":["עלות מופחתת ליום 31 בדצמבר 2021","שיפוצים"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[189,537,54,25]},{"value":"73839","comment":"3","is_note":true,"note":"3","note_reference":"","date":"2021-12-31","path":["עלות מופחתת ליום 31 בדצמבר 2021","סה\"כ"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[105,537,53,25]}]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"אגודת ״מכבי רמת יצחק״ ברמת גן","page_num":null,"type":"contents_page","title":"דוחות כספיים"},"facts":[]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"אגודת ״מכבי רמת יצחק״","page_num":"1","type":"declaration","title":"דוח רואה החשבון המבקר לחברי העמותה"},"facts":[]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"אגודת ״מכבי רמת יצחק״","page_num":"2","type":"balance_sheet","title":"מאזנים"},"facts":[{"value":"135493","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2008-12-31","path":["נכסים","רכוש שוטף","מזומנים ושווי מזומנים"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[194,304,51,24]},{"value":"116887","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2007-12-31","path":["נכסים","רכוש שוטף","מזומנים ושווי מזומנים"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[102,304,51,24]},{"value":"255","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2008-12-31","path":["נכסים","רכוש שוטף","חייבים ויתרות חובה – הוצאות מראש"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[211,327,34,24]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2007-12-31","path":["נכסים","רכוש שוטף","חייבים ויתרות חובה – הוצאות מראש"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[119,327,17,24]},{"value":"135748","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2008-12-31","path":["נכסים","רכוש שוטף"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[194,351,51,24]},{"value":"116887","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2007-12-31","path":["נכסים","רכוש שוטף"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[102,351,51,24]},{"value":"502745","comment":null,"is_note":false,"note":null,"note_reference":"3","date":"2008-12-31","path":["נכסים","רכוש קבוע"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[194,386,51,24]},{"value":"509563","comment":null,"is_note":false,"note":null,"note_reference":"3","date":"2007-12-31","path":["נכסים","רכוש קבוע"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[101,386,51,24]},{"value":"638493","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2008-12-31","path":["נכסים"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[195,421,51,24]},{"value":"626450","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2007-12-31","path":["נכסים"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[102,421,51,24]},{"value":"62929","comment":null,"is_note":false,"note":null,"note_reference":"4","date":"2008-12-31","path":["התחייבויות ונכסים נטו","התחייבויות שוטפות","זכאים ויתרות זכות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[193,540,51,24]},{"value":"62715","comment":null,"is_note":false,"note":null,"note_reference":"4","date":"2007-12-31","path":["התחייבויות ונכסים נטו","התחייבויות שוטפות","זכאים ויתרות זכות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[100,540,51,24]},{"value":"72819","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2008-12-31","path":["התחייבויות ונכסים נטו","נכסים נטו שלא קיימת לגביהם הגבלה","לשימוש לפעילות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[193,628,51,24]},{"value":"54172","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2007-12-31","path":["התחייבויות ונכסים נטו","נכסים נטו שלא קיימת לגביהם הגבלה","לשימוש לפעילות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[100,628,51,24]},{"value":"502745","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2008-12-31","path":["התחייבויות ונכסים נטו","נכסים נטו שלא קיימת לגביהם הגבלה","ששימשו לרכוש קבוע"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[193,651,51,24]},{"value":"509563","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2007-12-31","path":["התחייבויות ונכסים נטו","נכסים נטו שלא קיימת לגביהם הגבלה","ששימשו לרכוש קבוע"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[100,651,51,24]},{"value":"575564","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2008-12-31","path":["התחייבויות ונכסים נטו","נכסים נטו שלא קיימת לגביהם הגבלה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[193,675,51,24]},{"value":"563735","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2007-12-31","path":["התחייבויות ונכסים נטו","נכסים נטו שלא קיימת לגביהם הגבלה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[100,675,51,24]},{"value":"638493","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2008-12-31","path":["התחייבויות ונכסים נטו"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[195,709,51,24]},{"value":"626450","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2007-12-31","path":["התחייבויות ונכסים נטו"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[100,710,51,24]}]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"אגודת ״מכבי רמת יצחק״ ברמת גן","page_num":"3","type":"profits","title":"דוחות על הפעילויות"},"facts":[{"value":"111161","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2008-12-31","path":["הכנסות מהשכרת אולמות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[195,337,50,17]},{"value":"132083","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2007-12-31","path":["הכנסות מהשכרת אולמות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[102,337,51,17]},{"value":"100605","comment":null,"is_note":false,"note":null,"note_reference":"5","date":"2008-12-31","path":["עלות הפעילויות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[195,395,48,15]},{"value":"32742","comment":null,"is_note":false,"note":null,"note_reference":"5","date":"2007-12-31","path":["עלות הפעילויות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[110,395,42,15]},{"value":"10556","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2008-12-31","path":["הכנסות לפני הכנסות מימון, נטו"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[203,449,41,15]},{"value":"99341","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2007-12-31","path":["הכנסות לפני הכנסות מימון, נטו"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[110,449,42,15]},{"value":"1273","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2008-12-31","path":["הכנסות מימון, נטו"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[209,508,35,15]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2007-12-31","path":["הכנסות מימון, נטו"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[119,513,15,5]},{"value":"11829","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2008-12-31","path":["הכנסות נטו מפעולות רגילות לשנה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[203,564,41,15]},{"value":"99341","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2007-12-31","path":["הכנסות נטו מפעולות רגילות לשנה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[110,564,42,15]}]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"אגודת ״מכבי רמת יצחק״","page_num":"4","type":"profits","title":"דוחות על השינויים בנכסים נטו"},"facts":[{"value":"(66406)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2007-01-01","path":["יתרה ליום 1 בינואר 2007","נכסים נטו שלא קיימת לגביהם הגבלה","לשימוש לפעילות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[434,379,53,23]},{"value":"530800","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2007-01-01","path":["יתרה ליום 1 בינואר 2007","נכסים נטו שלא קיימת לגביהם הגבלה","ששימשו לרכוש קבוע"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[295,384,48,18]},{"value":"464394","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2007-01-01","path":["יתרה ליום 1 בינואר 2007","סה\"כ"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[161,384,49,18]},{"value":"99341","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2007","path":["הכנסות נטו לשנה","נכסים נטו שלא קיימת לגביהם הגבלה","לשימוש לפעילות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[436,418,53,23]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2007","path":["הכנסות נטו לשנה","נכסים נטו שלא קיימת לגביהם הגבלה","ששימשו לרכוש קבוע"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[322,425,14,11]},{"value":"99341","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2007","path":["הכנסות נטו לשנה","סה\"כ"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[167,423,43,18]},{"value":"21237","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2007","path":["העברת סכומים שלא קיימת לגביהם הגבלה :","ששימשו לרכישת רכוש קבוע","סכומים שהועברו לכיסוי הוצאות פחת","נכסים נטו שלא קיימת לגביהם הגבלה","לשימוש לפעילות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[436,517,51,23]},{"value":"(21237)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2007","path":["העברת סכומים שלא קיימת לגביהם הגבלה :","ששימשו לרכישת רכוש קבוע","סכומים שהועברו לכיסוי הוצאות פחת","נכסים נטו שלא קיימת לגביהם הגבלה","ששימשו לרכוש קבוע"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[296,518,52,19]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2007","path":["העברת סכומים שלא קיימת לגביהם הגבלה :","ששימשו לרכישת רכוש קבוע","סכומים שהועברו לכיסוי הוצאות פחת","סה\"כ"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[175,521,16,10]},{"value":"54172","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2007-12-31","path":["יתרה ליום 31 בדצמבר 2007","נכסים נטו שלא קיימת לגביהם הגבלה","לשימוש לפעילות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[435,554,52,23]},{"value":"509563","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2007-12-31","path":["יתרה ליום 31 בדצמבר 2007","נכסים נטו שלא קיימת לגביהם הגבלה","ששימשו לרכוש קבוע"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[294,556,52,19]},{"value":"563735","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2007-12-31","path":["יתרה ליום 31 בדצמבר 2007","סה\"כ"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[159,556,52,21]},{"value":"11829","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2008","path":["הכנסות נטו לשנה","נכסים נטו שלא קיימת לגביהם הגבלה","לשימוש לפעילות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[436,590,51,23]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2008","path":["הכנסות נטו לשנה","נכסים נטו שלא קיימת לגביהם הגבלה","ששימשו לרכוש קבוע"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[320,599,13,9]},{"value":"11829","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2008","path":["הכנסות נטו לשנה","סה\"כ"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[165,592,45,21]},{"value":"(13420)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2008","path":["העברת סכומים שלא קיימת לגביהם הגבלה :","סכומים שהועברו לרכישת רכוש קבוע","נכסים נטו שלא קיימת לגביהם הגבלה","לשימוש לפעילות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[432,667,57,23]},{"value":"13420","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2008","path":["העברת סכומים שלא קיימת לגביהם הגבלה :","סכומים שהועברו לרכישת רכוש קבוע","נכסים נטו שלא קיימת לגביהם הגבלה","ששימשו לרכוש קבוע"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[293,671,51,19]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2008","path":["העברת סכומים שלא קיימת לגביהם הגבלה :","סכומים שהועברו לרכישת רכוש קבוע","סה\"כ"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[182,677,17,9]},{"value":"20238","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2008","path":["העברת סכומים שלא קיימת לגביהם הגבלה :","סכומים שהועברו לכיסוי הוצאות פחת","נכסים נטו שלא קיימת לגביהם הגבלה","לשימוש לפעילות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[436,705,52,23]},{"value":"(20238)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2008","path":["העברת סכומים שלא קיימת לגביהם הגבלה :","סכומים שהועברו לכיסוי הוצאות פחת","נכסים נטו שלא קיימת לגביהם הגבלה","ששימשו לרכוש קבוע"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[292,709,56,19]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2008","path":["העברת סכומים שלא קיימת לגביהם הגבלה :","סכומים שהועברו לכיסוי הוצאות פחת","סה\"כ"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[182,714,18,10]},{"value":"72819","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2008-12-31","path":["יתרה ליום 31 בדצמבר 2008","נכסים נטו שלא קיימת לגביהם הגבלה","לשימוש לפעילות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[436,745,52,23]},{"value":"502745","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2008-12-31","path":["יתרה ליום 31 בדצמבר 2008","נכסים נטו שלא קיימת לגביהם הגבלה","ששימשו לרכוש קבוע"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[296,750,48,18]},{"value":"575564","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2008-12-31","path":["יתרה ליום 31 בדצמבר 2008","סה\"כ"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[161,750,49,18]}]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"אגודת ״מכבי רמת יצחק״","page_num":"5","type":"notes","title":"באורים לדוחות הכספיים"},"facts":[{"value":"3.8%","comment":"בשנת הדוח","is_note":true,"note":"2","note_reference":"","date":"2008","path":["באור 2 - עיקרי המדיניות החשבונאית","א. ירידת כח הקניה של המטבע הישראלי","עליית מדד המחירים לצרכן"],"currency":null,"scale":null,"value_type":"%","bbox":[608,383,35,17]},{"value":"3.4%","comment":"אשתקד","is_note":true,"note":"2","note_reference":"","date":"2007","path":["באור 2 - עיקרי המדיניות החשבונאית","א. ירידת כח הקניה של המטבע הישראלי","עליית מדד המחירים לצרכן"],"currency":null,"scale":null,"value_type":"%","bbox":[404,383,40,19]},{"value":"743166","comment":"3","is_note":true,"note":"3","note_reference":"","date":"2008-12-31","path":["באור 3 - רכוש קבוע","א. ההרכב:","בניינים","עלות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[430,690,54,19]},{"value":"265746","comment":"3","is_note":true,"note":"3","note_reference":"","date":"2008-12-31","path":["באור 3 - רכוש קבוע","א. ההרכב:","בניינים","פחת שנצבר"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[304,691,53,18]},{"value":"477420","comment":"3","is_note":true,"note":"3","note_reference":"","date":"2008-12-31","path":["באור 3 - רכוש קבוע","א. ההרכב:","בניינים","יתרה להפחתה ליום 31 בדצמבר"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[186,691,53,18]},{"value":"492391","comment":"3","is_note":true,"note":"3","note_reference":"","date":"2007-12-31","path":["באור 3 - רכוש קבוע","א. ההרכב:","בניינים","יתרה להפחתה ליום 31 בדצמבר"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[80,691,50,18]},{"value":"74901","comment":"3","is_note":true,"note":"3","note_reference":"","date":"2008-12-31","path":["באור 3 - רכוש קבוע","א. ההרכב:","מתקני ספורט","עלות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[434,705,50,19]},{"value":"58619","comment":"3","is_note":true,"note":"3","note_reference":"","date":"2008-12-31","path":["באור 3 - רכוש קבוע","א. ההרכב:","מתקני ספורט","פחת שנצבר"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[312,706,44,18]},{"value":"16282","comment":"3","is_note":true,"note":"3","note_reference":"","date":"2008-12-31","path":["באור 3 - רכוש קבוע","א. ההרכב:","מתקני ספורט","יתרה להפחתה ליום 31 בדצמבר"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[195,706,44,18]},{"value":"4700","comment":"3","is_note":true,"note":"3","note_reference":"","date":"2007-12-31","path":["באור 3 - רכוש קבוע","א. ההרכב:","מתקני ספורט","יתרה להפחתה ליום 31 בדצמבר"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[92,706,38,18]},{"value":"90244","comment":"3","is_note":true,"note":"3","note_reference":"","date":"2008-12-31","path":["באור 3 - רכוש קבוע","א. ההרכב:","ריהוט וציוד","עלות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[434,721,50,19]},{"value":"81201","comment":"3","is_note":true,"note":"3","note_reference":"","date":"2008-12-31","path":["באור 3 - רכוש קבוע","א. ההרכב:","ריהוט וציוד","פחת שנצבר"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[314,722,43,18]},{"value":"9043","comment":"3","is_note":true,"note":"3","note_reference":"","date":"2008-12-31","path":["באור 3 - רכוש קבוע","א. ההרכב:","ריהוט וציוד","יתרה להפחתה ליום 31 בדצמבר"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[204,722,35,18]},{"value":"12472","comment":"3","is_note":true,"note":"3","note_reference":"","date":"2007-12-31","path":["באור 3 - רכוש קבוע","א. ההרכב:","ריהוט וציוד","יתרה להפחתה ליום 31 בדצמבר"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[89,722,42,18]},{"value":"49149","comment":"3","is_note":true,"note":"3","note_reference":"","date":"2008-12-31","path":["באור 3 - רכוש קבוע","א. ההרכב:","מחשבים","עלות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[433,736,51,19]},{"value":"49149","comment":"3","is_note":true,"note":"3","note_reference":"","date":"2008-12-31","path":["באור 3 - רכוש קבוע","א. ההרכב:","מחשבים","פחת שנצבר"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[313,737,44,18]},{"value":"","comment":"3","is_note":true,"note":"3","note_reference":"","date":"2008-12-31","path":["באור 3 - רכוש קבוע","א. ההרכב:","מחשבים","יתרה להפחתה ליום 31 בדצמבר"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[219,743,10,8]},{"value":"","comment":"3","is_note":true,"note":"3","note_reference":"","date":"2007-12-31","path":["באור 3 - רכוש קבוע","א. ההרכב:","מחשבים","יתרה להפחתה ליום 31 בדצמבר"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[99,742,12,10]},{"value":"957460","comment":"3","is_note":true,"note":"3","note_reference":"","date":"2008-12-31","path":["באור 3 - רכוש קבוע","א. ההרכב:","עלות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[430,752,55,19]},{"value":"454715","comment":"3","is_note":true,"note":"3","note_reference":"","date":"2008-12-31","path":["באור 3 - רכוש קבוע","א. ההרכב:","פחת שנצבר"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[304,753,53,18]},{"value":"502745","comment":"3","is_note":true,"note":"3","note_reference":"","date":"2008-12-31","path":["באור 3 - רכוש קבוע","א. ההרכב:","יתרה להפחתה ליום 31 בדצמבר"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[187,754,51,18]},{"value":"509563","comment":"3","is_note":true,"note":"3","note_reference":"","date":"2007-12-31","path":["באור 3 - רכוש קבוע","א. ההרכב:","יתרה להפחתה ליום 31 בדצמבר"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[79,753,51,18]},{"value":"2% - 10%","comment":"3","is_note":true,"note":"3","note_reference":"","date":null,"path":["באור 3 - רכוש קבוע","ב. שעורי פחת:","בניינים"],"currency":null,"scale":null,"value_type":"%","bbox":[386,820,70,20]},{"value":"7%","comment":"3","is_note":true,"note":"3","note_reference":"","date":null,"path":["באור 3 - רכוש קבוע","ב. שעורי פחת:","מתקני ספורט"],"currency":null,"scale":null,"value_type":"%","bbox":[429,835,27,20]},{"value":"7% - 15%","comment":"3","is_note":true,"note":"3","note_reference":"","date":null,"path":["באור 3 - רכוש קבוע","ב. שעורי פחת:","ריהוט וציוד"],"currency":null,"scale":null,"value_type":"%","bbox":[386,850,70,20]},{"value":"25% - 33%","comment":"3","is_note":true,"note":"3","note_reference":"","date":null,"path":["באור 3 - רכוש קבוע","ב. שעורי פחת:","מחשבים"],"currency":null,"scale":null,"value_type":"%","bbox":[381,866,75,20]}]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"אגודת ״מכבי רמת יצחק״","page_num":"6","type":"notes","title":"באורים לדוחות הכספיים"},"facts":[{"value":"6041","comment":"4","is_note":true,"note":"4","note_reference":"","date":"2008-12-31","path":["זכאים ויתרות זכות","ההרכב","מס ערך מוסף"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[193,276,45,24]},{"value":"","comment":"4","is_note":true,"note":"4","note_reference":"","date":"2007-12-31","path":["זכאים ויתרות זכות","ההרכב","מס ערך מוסף"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[111,280,15,8]},{"value":"51818","comment":"4","is_note":true,"note":"4","note_reference":"","date":"2008-12-31","path":["זכאים ויתרות זכות","ההרכב","הכנסות מראש"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[186,293,52,25]},{"value":"50350","comment":"4","is_note":true,"note":"4","note_reference":"","date":"2007-12-31","path":["זכאים ויתרות זכות","ההרכב","הכנסות מראש"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[82,293,54,25]},{"value":"1070","comment":"4","is_note":true,"note":"4","note_reference":"","date":"2008-12-31","path":["זכאים ויתרות זכות","ההרכב","המחאות לפרעון"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[192,309,46,24]},{"value":"9365","comment":"4","is_note":true,"note":"4","note_reference":"","date":"2007-12-31","path":["זכאים ויתרות זכות","ההרכב","המחאות לפרעון"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[90,309,46,24]},{"value":"4000","comment":"4","is_note":true,"note":"4","note_reference":"","date":"2008-12-31","path":["זכאים ויתרות זכות","ההרכב","הוצאות לשלם"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[193,327,45,25]},{"value":"3000","comment":"4","is_note":true,"note":"4","note_reference":"","date":"2007-12-31","path":["זכאים ויתרות זכות","ההרכב","הוצאות לשלם"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[91,327,45,25]},{"value":"62929","comment":"4","is_note":true,"note":"4","note_reference":"","date":"2008-12-31","path":["זכאים ויתרות זכות","ההרכב","סה\"כ"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[186,350,53,27]},{"value":"62715","comment":"4","is_note":true,"note":"4","note_reference":"","date":"2007-12-31","path":["זכאים ויתרות זכות","ההרכב","סה\"כ"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[81,350,56,27]},{"value":"66000","comment":"5","is_note":true,"note":"5","note_reference":"","date":"2008-12-31","path":["עלות הפעילויות","מלגות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[186,447,55,25]},{"value":"5000","comment":"5","is_note":true,"note":"5","note_reference":"","date":"2007-12-31","path":["עלות הפעילויות","מלגות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[91,447,45,25]},{"value":"7500","comment":"5","is_note":true,"note":"5","note_reference":"","date":"2008-12-31","path":["עלות הפעילויות","שירותים מקצועיים"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[193,464,45,24]},{"value":"3000","comment":"5","is_note":true,"note":"5","note_reference":"","date":"2007-12-31","path":["עלות הפעילויות","שירותים מקצועיים"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[92,464,44,24]},{"value":"","comment":"5","is_note":true,"note":"5","note_reference":"","date":"2008-12-31","path":["עלות הפעילויות","אירוע"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[219,481,18,14]},{"value":"1700","comment":"5","is_note":true,"note":"5","note_reference":"","date":"2007-12-31","path":["עלות הפעילויות","אירוע"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[92,477,44,25]},{"value":"2503","comment":"5","is_note":true,"note":"5","note_reference":"","date":"2008-12-31","path":["עלות הפעילויות","מסי עירייה ואגרות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[197,492,44,24]},{"value":"","comment":"5","is_note":true,"note":"5","note_reference":"","date":"2007-12-31","path":["עלות הפעילויות","מסי עירייה ואגרות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[111,498,15,8]},{"value":"4081","comment":"5","is_note":true,"note":"5","note_reference":"","date":"2008-12-31","path":["עלות הפעילויות","משרדיות ואחזקה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[193,511,44,24]},{"value":"","comment":"5","is_note":true,"note":"5","note_reference":"","date":"2007-12-31","path":["עלות הפעילויות","משרדיות ואחזקה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[111,516,15,8]},{"value":"20238","comment":"5","is_note":true,"note":"5","note_reference":"","date":"2008-12-31","path":["עלות הפעילויות","פחת"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[187,527,53,25]},{"value":"21237","comment":"5","is_note":true,"note":"5","note_reference":"","date":"2007-12-31","path":["עלות הפעילויות","פחת"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[83,527,53,25]},{"value":"283","comment":"5","is_note":true,"note":"5","note_reference":"","date":"2008-12-31","path":["עלות הפעילויות","שונות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[208,543,33,24]},{"value":"1805","comment":"5","is_note":true,"note":"5","note_reference":"","date":"2007-12-31","path":["עלות הפעילויות","שונות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[92,546,44,24]},{"value":"100605","comment":"5","is_note":true,"note":"5","note_reference":"","date":"2008-12-31","path":["עלות הפעילויות","סה\"כ"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[182,561,60,28]},{"value":"32742","comment":"5","is_note":true,"note":"5","note_reference":"","date":"2007-12-31","path":["עלות הפעילויות","סה\"כ"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[81,561,60,28]}]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"Fold of Honor Foundation","page_num":null,"type":"title","title":"Consolitdated Financial Statements"},"facts":[]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"Fold of Honor Foundation","page_num":null,"type":"contents_page","title":"Table of Contents"},"facts":[]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"Fold of Honor Foundation","page_num":"1","type":"declaration","title":"Independent Auditor's Report"},"facts":[]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"Fold of Honor Foundation","page_num":"2","type":"balance_sheet","title":"Consolidated Statements of Financial Position"},"facts":[{"value":"10331020","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Assets","Cash and cash equivalents"],"currency":"USD","scale":1,"value_type":"amount","bbox":[596,218,93,15]},{"value":"4791344","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Assets","Cash and cash equivalents"],"currency":"USD","scale":1,"value_type":"amount","bbox":[727,218,91,15]},{"value":"440965","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Assets","Short-term investments"],"currency":"USD","scale":1,"value_type":"amount","bbox":[627,236,63,15]},{"value":"171510","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Assets","Short-term investments"],"currency":"USD","scale":1,"value_type":"amount","bbox":[757,236,62,15]},{"value":"21237","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Assets","Accounts receivable, net"],"currency":"USD","scale":1,"value_type":"amount","bbox":[637,256,53,15]},{"value":"75895","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Assets","Accounts receivable, net"],"currency":"USD","scale":1,"value_type":"amount","bbox":[765,256,55,15]},{"value":"675955","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Assets","Promises to give, net"],"currency":"USD","scale":1,"value_type":"amount","bbox":[628,270,63,15]},{"value":"1670571","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Assets","Promises to give, net"],"currency":"USD","scale":1,"value_type":"amount","bbox":[748,270,73,15]},{"value":"310369","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Assets","Prepaid expenses and other assets"],"currency":"USD","scale":1,"value_type":"amount","bbox":[629,290,62,15]},{"value":"111404","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Assets","Prepaid expenses and other assets"],"currency":"USD","scale":1,"value_type":"amount","bbox":[759,290,62,15]},{"value":"2916923","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Assets","Property and equipment, net"],"currency":"USD","scale":1,"value_type":"amount","bbox":[616,305,75,17]},{"value":"2983248","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Assets","Property and equipment, net"],"currency":"USD","scale":1,"value_type":"amount","bbox":[747,305,74,17]},{"value":"1882081","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Assets","Interest in net assets of chapters"],"currency":"USD","scale":1,"value_type":"amount","bbox":[617,325,74,17]},{"value":"881453","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Assets","Interest in net assets of chapters"],"currency":"USD","scale":1,"value_type":"amount","bbox":[757,325,64,17]},{"value":"1139424","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Assets","Beneficial interest in assets held by Community Foundation"],"currency":"USD","scale":1,"value_type":"amount","bbox":[617,345,74,17]},{"value":"1265733","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Assets","Beneficial interest in assets held by Community Foundation"],"currency":"USD","scale":1,"value_type":"amount","bbox":[747,345,74,17]},{"value":"17717974","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Assets","Total Assets"],"currency":"USD","scale":1,"value_type":"amount","bbox":[596,378,95,20]},{"value":"11951158","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Assets","Total Assets"],"currency":"USD","scale":1,"value_type":"amount","bbox":[727,378,93,20]},{"value":"617768","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Liabilities and Net Assets","Accounts payable"],"currency":"USD","scale":1,"value_type":"amount","bbox":[596,429,93,19]},{"value":"110205","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Liabilities and Net Assets","Accounts payable"],"currency":"USD","scale":1,"value_type":"amount","bbox":[728,429,90,19]},{"value":"527185","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Liabilities and Net Assets","Accrued expenses and other liabilities"],"currency":"USD","scale":1,"value_type":"amount","bbox":[626,450,63,17]},{"value":"774076","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Liabilities and Net Assets","Accrued expenses and other liabilities"],"currency":"USD","scale":1,"value_type":"amount","bbox":[755,450,63,17]},{"value":"4696","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Liabilities and Net Assets","Deferred revenue"],"currency":"USD","scale":1,"value_type":"amount","bbox":[652,470,37,17]},{"value":"16389","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Liabilities and Net Assets","Deferred revenue"],"currency":"USD","scale":1,"value_type":"amount","bbox":[774,470,44,17]},{"value":"1149649","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Liabilities and Net Assets","Total liabilities"],"currency":"USD","scale":1,"value_type":"amount","bbox":[615,505,73,15]},{"value":"900670","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Liabilities and Net Assets","Total liabilities"],"currency":"USD","scale":1,"value_type":"amount","bbox":[755,505,63,15]},{"value":"12826081","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Net Assets","Unrestricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[615,573,73,16]},{"value":"7343105","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Net Assets","Unrestricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[745,573,73,16]},{"value":"3742244","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Net Assets","Temporarily restricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[624,593,64,16]},{"value":"3707383","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Net Assets","Temporarily restricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[755,593,63,15]},{"value":"16568325","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Net Assets","Total net assets"],"currency":"USD","scale":1,"value_type":"amount","bbox":[615,628,73,15]},{"value":"11050488","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Net Assets","Total net assets"],"currency":"USD","scale":1,"value_type":"amount","bbox":[745,628,73,15]},{"value":"17717974","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Total liabilities and net assets"],"currency":"USD","scale":1,"value_type":"amount","bbox":[596,663,97,19]},{"value":"11951158","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Total liabilities and net assets"],"currency":"USD","scale":1,"value_type":"amount","bbox":[725,664,97,18]}]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"Fold of Honor Foundation","page_num":"3","type":"profits","title":"Consolidated Statement of Activities"},"facts":[{"value":"3763601","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Revenue, Support, and Gains","Contributions","Unrestricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[469,217,105,23]},{"value":"645955","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Revenue, Support, and Gains","Contributions","Temporarily Restricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[595,217,92,23]},{"value":"4409556","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Revenue, Support, and Gains","Contributions","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[716,217,105,23]},{"value":"135297","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Revenue, Support, and Gains","In-kind contributions","Unrestricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[506,238,66,18]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Revenue, Support, and Gains","In-kind contributions","Temporarily Restricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[682,238,11,18]},{"value":"135297","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Revenue, Support, and Gains","In-kind contributions","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[753,238,66,18]},{"value":"189593","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Revenue, Support, and Gains","Merchandise sales","Unrestricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[506,272,66,18]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Revenue, Support, and Gains","Merchandise sales","Temporarily Restricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[682,272,11,18]},{"value":"189593","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Revenue, Support, and Gains","Merchandise sales","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[753,272,66,18]},{"value":"(142085)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Revenue, Support, and Gains","Less cost of goods sold","Unrestricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[502,288,70,18]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Revenue, Support, and Gains","Less cost of goods sold","Temporarily Restricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[682,288,11,18]},{"value":"(142085)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Revenue, Support, and Gains","Less cost of goods sold","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[749,288,70,18]},{"value":"47508","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Revenue, Support, and Gains","Unrestricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[512,323,60,21]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Revenue, Support, and Gains","Temporarily Restricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[682,323,11,21]},{"value":"47508","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Revenue, Support, and Gains","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[760,323,60,21]},{"value":"18063204","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Revenue, Support, and Gains","Gross special events revenue","Unrestricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[486,360,86,18]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Revenue, Support, and Gains","Gross special events revenue","Temporarily Restricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[682,360,11,18]},{"value":"18063204","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Revenue, Support, and Gains","Gross special events revenue","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[733,360,86,18]},{"value":"(228894)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Revenue, Support, and Gains","Less cost of direct benefits to donors","Unrestricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[502,378,70,18]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Revenue, Support, and Gains","Less cost of direct benefits to donors","Temporarily Restricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[682,378,11,18]},{"value":"(228894)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Revenue, Support, and Gains","Less cost of direct benefits to donors","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[749,378,70,18]},{"value":"17834310","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Revenue, Support, and Gains","Unrestricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[486,413,86,21]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Revenue, Support, and Gains","Temporarily Restricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[682,413,11,21]},{"value":"17834310","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Revenue, Support, and Gains","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[733,413,86,21]},{"value":"348995","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Revenue, Support, and Gains","Net investment return","Unrestricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[506,449,66,18]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Revenue, Support, and Gains","Net investment return","Temporarily Restricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[682,449,11,18]},{"value":"348995","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Revenue, Support, and Gains","Net investment return","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[753,449,66,18]},{"value":"(16118)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Revenue, Support, and Gains","Other revenue","Unrestricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[512,467,60,18]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Revenue, Support, and Gains","Other revenue","Temporarily Restricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[682,467,11,18]},{"value":"(16118)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Revenue, Support, and Gains","Other revenue","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[760,467,60,18]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Revenue, Support, and Gains","Change in interest in net assets of chapters","Unrestricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[560,484,12,18]},{"value":"3172008","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Revenue, Support, and Gains","Change in interest in net assets of chapters","Temporarily Restricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[623,484,71,18]},{"value":"3172008","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Revenue, Support, and Gains","Change in interest in net assets of chapters","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[745,484,74,18]},{"value":"(126309)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Revenue, Support, and Gains","Distributions from and change in value of beneficial interests in assets held by others","Unrestricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[502,519,70,18]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Revenue, Support, and Gains","Distributions from and change in value of beneficial interests in assets held by others","Temporarily Restricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[682,519,11,18]},{"value":"(126309)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Revenue, Support, and Gains","Distributions from and change in value of beneficial interests in assets held by others","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[749,519,70,18]},{"value":"3783102","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Revenue, Support, and Gains","Net assets released from restrictions","Unrestricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[495,537,77,18]},{"value":"(3783102)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Revenue, Support, and Gains","Net assets released from restrictions","Temporarily Restricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[617,537,77,18]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Revenue, Support, and Gains","Net assets released from restrictions","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[808,537,11,18]},{"value":"25770386","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Total revenue, support, and gains","Unrestricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[486,572,86,21]},{"value":"34861","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Total revenue, support, and gains","Temporarily Restricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[633,572,60,21]},{"value":"25805247","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Total revenue, support, and gains","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[733,572,86,21]},{"value":"17900636","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Expenses and Losses","Program services expense","Unrestricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[486,627,86,18]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Expenses and Losses","Program services expense","Temporarily Restricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[682,627,11,18]},{"value":"17900636","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Expenses and Losses","Program services expense","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[733,627,86,18]},{"value":"836760","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Expenses and Losses","Supporting services expense","Management and general","Unrestricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[506,661,66,18]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Expenses and Losses","Supporting services expense","Management and general","Temporarily Restricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[682,661,11,18]},{"value":"836760","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Expenses and Losses","Supporting services expense","Management and general","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[753,661,66,18]},{"value":"1550014","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Expenses and Losses","Supporting services expense","Fundraising and development","Unrestricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[495,678,77,18]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Expenses and Losses","Supporting services expense","Fundraising and development","Temporarily Restricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[682,678,11,18]},{"value":"1550014","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Expenses and Losses","Supporting services expense","Fundraising and development","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[743,678,77,18]},{"value":"20287410","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Total expenses","Unrestricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[486,713,86,21]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Total expenses","Temporarily Restricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[682,713,11,21]},{"value":"20287410","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Total expenses","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[733,713,86,21]},{"value":"5482976","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Change in Net Assets","Unrestricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[495,748,77,21]},{"value":"34861","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Change in Net Assets","Temporarily Restricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[633,748,60,21]},{"value":"5517837","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Change in Net Assets","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[743,748,77,21]},{"value":"7343105","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-01-01","path":["Net Assets, Beginning of Year","Unrestricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[495,782,77,21]},{"value":"3707383","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-01-01","path":["Net Assets, Beginning of Year","Temporarily Restricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[617,782,77,21]},{"value":"11050488","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-01-01","path":["Net Assets, Beginning of Year","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[736,782,84,21]},{"value":"12826081","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Net Assets, End of Year","Unrestricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[469,819,105,23]},{"value":"3742244","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Net Assets, End of Year","Temporarily Restricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[595,819,99,23]},{"value":"16568325","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Net Assets, End of Year","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[716,819,105,23]}]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"Fold of Honor Foundation","page_num":"4","type":"profits","title":"Consolidated Statement of Activities Year Ended December 31, 2016"},"facts":[{"value":"2905699","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Revenue, Support, and Gains","Contributions","Unrestricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[468,221,108,19]},{"value":"542365","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Revenue, Support, and Gains","Contributions","Temporarily Restricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[597,223,96,15]},{"value":"3448064","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Revenue, Support, and Gains","Contributions","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[709,223,109,16]},{"value":"225049","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Revenue, Support, and Gains","In-kind contributions","Unrestricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[507,239,69,19]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Revenue, Support, and Gains","In-kind contributions","Temporarily Restricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[684,241,6,16]},{"value":"225049","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Revenue, Support, and Gains","In-kind contributions","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[748,241,70,16]},{"value":"119861","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Revenue, Support, and Gains","Merchandise sales","Unrestricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[507,274,69,19]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Revenue, Support, and Gains","Merchandise sales","Temporarily Restricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[684,276,6,16]},{"value":"119861","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Revenue, Support, and Gains","Merchandise sales","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[748,276,70,16]},{"value":"(97102)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Revenue, Support, and Gains","Less cost of goods sold","Unrestricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[511,291,65,19]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Revenue, Support, and Gains","Less cost of goods sold","Temporarily Restricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[684,293,6,16]},{"value":"(97102)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Revenue, Support, and Gains","Less cost of goods sold","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[752,293,66,16]},{"value":"22759","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Revenue, Support, and Gains","Merchandise sales","Unrestricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[513,326,63,19]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Revenue, Support, and Gains","Merchandise sales","Temporarily Restricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[684,328,6,16]},{"value":"22759","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Revenue, Support, and Gains","Merchandise sales","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[754,328,64,16]},{"value":"12483302","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Revenue, Support, and Gains","Gross special events revenue","Unrestricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[493,361,83,19]},{"value":"1050000","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Revenue, Support, and Gains","Gross special events revenue","Temporarily Restricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[626,361,64,19]},{"value":"13533302","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Revenue, Support, and Gains","Gross special events revenue","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[734,363,84,16]},{"value":"(112750)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Revenue, Support, and Gains","Less cost of direct benefits to donors","Unrestricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[507,378,69,19]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Revenue, Support, and Gains","Less cost of direct benefits to donors","Temporarily Restricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[684,380,6,16]},{"value":"(112750)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Revenue, Support, and Gains","Less cost of direct benefits to donors","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[748,380,70,16]},{"value":"12370552","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Revenue, Support, and Gains","Gross special events revenue","Unrestricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[493,413,83,19]},{"value":"1050000","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Revenue, Support, and Gains","Gross special events revenue","Temporarily Restricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[625,417,68,16]},{"value":"13420552","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Revenue, Support, and Gains","Gross special events revenue","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[734,415,84,16]},{"value":"(882743)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Revenue, Support, and Gains","Net investment return","Unrestricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[507,450,69,19]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Revenue, Support, and Gains","Net investment return","Temporarily Restricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[684,452,6,16]},{"value":"(882743)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Revenue, Support, and Gains","Net investment return","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[748,452,70,16]},{"value":"567","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Revenue, Support, and Gains","Other income","Unrestricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[541,469,35,19]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Revenue, Support, and Gains","Other income","Temporarily Restricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[684,471,6,16]},{"value":"567","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Revenue, Support, and Gains","Other income","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[782,471,36,16]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Revenue, Support, and Gains","Change in interest in net assets of chapters","Unrestricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[554,488,22,19]},{"value":"2363864","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Revenue, Support, and Gains","Change in interest in net assets of chapters","Temporarily Restricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[626,490,64,16]},{"value":"2363864","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Revenue, Support, and Gains","Change in interest in net assets of chapters","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[739,490,79,16]},{"value":"983834","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Revenue, Support, and Gains","Distributions from and change in value of beneficial interests in assets held by others","Unrestricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[513,525,63,19]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Revenue, Support, and Gains","Distributions from and change in value of beneficial interests in assets held by others","Temporarily Restricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[684,527,6,16]},{"value":"983834","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Revenue, Support, and Gains","Distributions from and change in value of beneficial interests in assets held by others","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[754,527,64,16]},{"value":"2330046","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Revenue, Support, and Gains","Net assets released from restrictions","Unrestricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[502,543,74,19]},{"value":"(2330046)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Revenue, Support, and Gains","Net assets released from restrictions","Temporarily Restricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[621,545,60,16]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Revenue, Support, and Gains","Net assets released from restrictions","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[795,545,23,16]},{"value":"17955763","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Revenue, Support, and Gains","Total revenue, support, and gains","Unrestricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[499,579,77,19]},{"value":"1626183","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Revenue, Support, and Gains","Total revenue, support, and gains","Temporarily Restricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[626,581,54,16]},{"value":"19581946","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Revenue, Support, and Gains","Total revenue, support, and gains","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[739,581,79,16]},{"value":"11536830","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Expenses and Losses","Program services expense","Unrestricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[499,633,77,19]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Expenses and Losses","Program services expense","Temporarily Restricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[684,635,6,16]},{"value":"11536830","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Expenses and Losses","Program services expense","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[740,635,78,16]},{"value":"713373","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Expenses and Losses","Supporting services expense","Management and general","Unrestricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[513,667,63,19]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Expenses and Losses","Supporting services expense","Management and general","Temporarily Restricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[684,669,6,16]},{"value":"713373","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Expenses and Losses","Supporting services expense","Management and general","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[754,669,64,16]},{"value":"1643331","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Expenses and Losses","Supporting services expense","Fundraising and development","Unrestricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[502,686,74,19]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Expenses and Losses","Supporting services expense","Fundraising and development","Temporarily Restricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[684,688,6,16]},{"value":"1643331","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Expenses and Losses","Supporting services expense","Fundraising and development","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[742,688,75,16]},{"value":"13893534","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Expenses and Losses","Total expenses","Unrestricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[499,723,77,19]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Expenses and Losses","Total expenses","Temporarily Restricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[684,725,6,16]},{"value":"13893534","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Expenses and Losses","Total expenses","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[739,725,79,16]},{"value":"4062229","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Change in Net Assets","Unrestricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[507,759,69,19]},{"value":"1626183","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Change in Net Assets","Temporarily Restricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[626,761,67,18]},{"value":"5688412","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Change in Net Assets","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[748,761,70,16]},{"value":"3280876","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Net Assets, Beginning of Year","Unrestricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[507,795,69,19]},{"value":"2081200","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Net Assets, Beginning of Year","Temporarily Restricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[626,797,67,17]},{"value":"5362076","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Net Assets, Beginning of Year","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[748,797,70,16]},{"value":"7343105","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Net Assets, End of Year","Unrestricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[468,832,108,19]},{"value":"3707383","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Net Assets, End of Year","Temporarily Restricted"],"currency":"USD","scale":1,"value_type":"amount","bbox":[597,834,96,17]},{"value":"11050488","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Net Assets, End of Year","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[709,834,109,16]}]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"Fold of Honor Foundation","page_num":"5","type":"profits","title":"Consolidated Statement of Functional Expenses Year Ended December 31, 2017"},"facts":[{"value":"14260047","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Scholarships and programs","Program Service"],"currency":"USD","scale":1,"value_type":"amount","bbox":[361,218,93,17]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Scholarships and programs","Management and General"],"currency":"USD","scale":1,"value_type":"amount","bbox":[559,222,12,15]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Scholarships and programs","Fundraising and Development"],"currency":"USD","scale":1,"value_type":"amount","bbox":[670,220,14,15]},{"value":"14260047","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Scholarships and programs","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[707,220,92,15]},{"value":"2032780","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Salaries and wages","Program Service"],"currency":"USD","scale":1,"value_type":"amount","bbox":[387,238,68,17]},{"value":"406556","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Salaries and wages","Management and General"],"currency":"USD","scale":1,"value_type":"amount","bbox":[517,238,53,20]},{"value":"271037","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Salaries and wages","Fundraising and Development"],"currency":"USD","scale":1,"value_type":"amount","bbox":[630,238,55,20]},{"value":"2710373","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Salaries and wages","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[733,238,66,15]},{"value":"437306","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Employee benefits","Program Service"],"currency":"USD","scale":1,"value_type":"amount","bbox":[394,255,61,17]},{"value":"87461","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Employee benefits","Management and General"],"currency":"USD","scale":1,"value_type":"amount","bbox":[524,255,46,20]},{"value":"58307","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Employee benefits","Fundraising and Development"],"currency":"USD","scale":1,"value_type":"amount","bbox":[637,255,48,20]},{"value":"583074","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Employee benefits","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[747,255,58,15]},{"value":"115676","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Payroll taxes","Program Service"],"currency":"USD","scale":1,"value_type":"amount","bbox":[394,272,61,17]},{"value":"23135","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Payroll taxes","Management and General"],"currency":"USD","scale":1,"value_type":"amount","bbox":[524,272,46,20]},{"value":"15423","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Payroll taxes","Fundraising and Development"],"currency":"USD","scale":1,"value_type":"amount","bbox":[637,272,48,20]},{"value":"154234","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Payroll taxes","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[747,272,58,15]},{"value":"94484","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Professional services","Program Service"],"currency":"USD","scale":1,"value_type":"amount","bbox":[408,288,48,19]},{"value":"92777","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Professional services","Management and General"],"currency":"USD","scale":1,"value_type":"amount","bbox":[524,288,46,20]},{"value":"20807","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Professional services","Fundraising and Development"],"currency":"USD","scale":1,"value_type":"amount","bbox":[637,288,48,20]},{"value":"208068","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Professional services","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[747,288,58,15]},{"value":"13106","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Legal fees","Program Service"],"currency":"USD","scale":1,"value_type":"amount","bbox":[407,308,48,16]},{"value":"4033","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Legal fees","Management and General"],"currency":"USD","scale":1,"value_type":"amount","bbox":[532,305,38,20]},{"value":"3024","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Legal fees","Fundraising and Development"],"currency":"USD","scale":1,"value_type":"amount","bbox":[645,305,40,20]},{"value":"20163","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Legal fees","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[755,305,50,15]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Bank charges","Program Service"],"currency":"USD","scale":1,"value_type":"amount","bbox":[446,331,10,7]},{"value":"52673","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Bank charges","Management and General"],"currency":"USD","scale":1,"value_type":"amount","bbox":[524,322,46,20]},{"value":"52673","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Bank charges","Fundraising and Development"],"currency":"USD","scale":1,"value_type":"amount","bbox":[637,322,48,20]},{"value":"105346","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Bank charges","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[747,322,58,15]},{"value":"44374","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Communications","Program Service"],"currency":"USD","scale":1,"value_type":"amount","bbox":[407,341,49,18]},{"value":"3218","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Communications","Management and General"],"currency":"USD","scale":1,"value_type":"amount","bbox":[532,339,38,20]},{"value":"21002","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Communications","Fundraising and Development"],"currency":"USD","scale":1,"value_type":"amount","bbox":[637,339,48,20]},{"value":"68594","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Communications","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[753,344,50,15]},{"value":"66500","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Postage and printing","Program Service"],"currency":"USD","scale":1,"value_type":"amount","bbox":[404,361,53,15]},{"value":"29013","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Postage and printing","Management and General"],"currency":"USD","scale":1,"value_type":"amount","bbox":[524,356,46,20]},{"value":"17692","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Postage and printing","Fundraising and Development"],"currency":"USD","scale":1,"value_type":"amount","bbox":[637,356,48,20]},{"value":"113205","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Postage and printing","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[745,361,58,15]},{"value":"84170","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Occupancy","Program Service"],"currency":"USD","scale":1,"value_type":"amount","bbox":[402,379,54,18]},{"value":"16834","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Occupancy","Management and General"],"currency":"USD","scale":1,"value_type":"amount","bbox":[524,372,46,20]},{"value":"11223","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Occupancy","Fundraising and Development"],"currency":"USD","scale":1,"value_type":"amount","bbox":[636,379,48,15]},{"value":"112227","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Occupancy","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[745,378,58,15]},{"value":"5580","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Security","Program Service"],"currency":"USD","scale":1,"value_type":"amount","bbox":[410,395,46,18]},{"value":"930","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Security","Management and General"],"currency":"USD","scale":1,"value_type":"amount","bbox":[539,389,30,20]},{"value":"2790","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Security","Fundraising and Development"],"currency":"USD","scale":1,"value_type":"amount","bbox":[644,397,40,15]},{"value":"9300","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Security","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[761,395,40,18]},{"value":"29380","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Equipment rental and maintenance","Program Service"],"currency":"USD","scale":1,"value_type":"amount","bbox":[402,412,54,18]},{"value":"7395","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Equipment rental and maintenance","Management and General"],"currency":"USD","scale":1,"value_type":"amount","bbox":[529,414,41,16]},{"value":"4930","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Equipment rental and maintenance","Fundraising and Development"],"currency":"USD","scale":1,"value_type":"amount","bbox":[643,414,40,15]},{"value":"41705","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Equipment rental and maintenance","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[753,413,45,18]},{"value":"104666","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Travel and training","Program Service"],"currency":"USD","scale":1,"value_type":"amount","bbox":[394,430,61,16]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Travel and training","Management and General"],"currency":"USD","scale":1,"value_type":"amount","bbox":[564,432,7,15]},{"value":"156999","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Travel and training","Fundraising and Development"],"currency":"USD","scale":1,"value_type":"amount","bbox":[627,431,56,15]},{"value":"261665","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Travel and training","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[746,431,52,19]},{"value":"71417","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Depreciation","Program Service"],"currency":"USD","scale":1,"value_type":"amount","bbox":[402,447,53,16]},{"value":"42850","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Depreciation","Management and General"],"currency":"USD","scale":1,"value_type":"amount","bbox":[524,449,46,16]},{"value":"28567","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Depreciation","Fundraising and Development"],"currency":"USD","scale":1,"value_type":"amount","bbox":[636,449,48,15]},{"value":"142834","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Depreciation","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[748,448,52,18]},{"value":"56760","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Insurance","Program Service"],"currency":"USD","scale":1,"value_type":"amount","bbox":[402,464,53,21]},{"value":"11351","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Insurance","Management and General"],"currency":"USD","scale":1,"value_type":"amount","bbox":[524,465,46,17]},{"value":"7567","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Insurance","Fundraising and Development"],"currency":"USD","scale":1,"value_type":"amount","bbox":[643,468,40,15]},{"value":"75678","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Insurance","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[754,465,47,17]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Receptions and events","Program Service"],"currency":"USD","scale":1,"value_type":"amount","bbox":[445,485,10,15]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Receptions and events","Management and General"],"currency":"USD","scale":1,"value_type":"amount","bbox":[564,485,7,15]},{"value":"783904","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Receptions and events","Fundraising and Development"],"currency":"USD","scale":1,"value_type":"amount","bbox":[627,484,56,15]},{"value":"783904","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Receptions and events","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[749,484,48,17]},{"value":"254306","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Advertising","Program Service"],"currency":"USD","scale":1,"value_type":"amount","bbox":[398,501,58,15]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Advertising","Management and General"],"currency":"USD","scale":1,"value_type":"amount","bbox":[562,502,10,15]},{"value":"169538","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Advertising","Fundraising and Development"],"currency":"USD","scale":1,"value_type":"amount","bbox":[629,502,56,16]},{"value":"423844","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Advertising","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[747,502,53,18]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Cottage operating expenses","Program Service"],"currency":"USD","scale":1,"value_type":"amount","bbox":[442,524,15,11]},{"value":"38202","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Cottage operating expenses","Management and General"],"currency":"USD","scale":1,"value_type":"amount","bbox":[520,519,54,16]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Cottage operating expenses","Fundraising and Development"],"currency":"USD","scale":1,"value_type":"amount","bbox":[671,522,16,15]},{"value":"38202","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Cottage operating expenses","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[751,520,52,18]},{"value":"64649","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Information technology","Program Service"],"currency":"USD","scale":1,"value_type":"amount","bbox":[406,536,49,16]},{"value":"19892","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Information technology","Management and General"],"currency":"USD","scale":1,"value_type":"amount","bbox":[524,539,46,15]},{"value":"14919","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Information technology","Fundraising and Development"],"currency":"USD","scale":1,"value_type":"amount","bbox":[637,539,48,15]},{"value":"99460","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Information technology","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[749,537,50,17]},{"value":"165435","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Other","Program Service"],"currency":"USD","scale":1,"value_type":"amount","bbox":[398,555,58,16]},{"value":"440","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Other","Management and General"],"currency":"USD","scale":1,"value_type":"amount","bbox":[545,556,24,15]},{"value":"138506","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Other","Fundraising and Development"],"currency":"USD","scale":1,"value_type":"amount","bbox":[628,556,56,15]},{"value":"304381","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Other","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[741,554,58,17]},{"value":"17900636","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Total functional expenses","Program Service"],"currency":"USD","scale":1,"value_type":"amount","bbox":[379,591,76,16]},{"value":"836760","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Total functional expenses","Management and General"],"currency":"USD","scale":1,"value_type":"amount","bbox":[518,591,53,15]},{"value":"1778908","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Total functional expenses","Fundraising and Development"],"currency":"USD","scale":1,"value_type":"amount","bbox":[622,591,62,15]},{"value":"20516304","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Total functional expenses","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[727,591,80,15]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Less expenses included with revenues on the statement of activities","Cost of direct benefits to donors","Program Service"],"currency":"USD","scale":1,"value_type":"amount","bbox":[449,643,11,15]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Less expenses included with revenues on the statement of activities","Cost of direct benefits to donors","Management and General"],"currency":"USD","scale":1,"value_type":"amount","bbox":[560,643,11,15]},{"value":"(228894)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Less expenses included with revenues on the statement of activities","Cost of direct benefits to donors","Fundraising and Development"],"currency":"USD","scale":1,"value_type":"amount","bbox":[622,643,68,15]},{"value":"(228894)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Less expenses included with revenues on the statement of activities","Cost of direct benefits to donors","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[740,643,65,16]},{"value":"17900636","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Total expenses included in the expense section on the statement of activities","Program Service"],"currency":"USD","scale":1,"value_type":"amount","bbox":[361,711,96,22]},{"value":"836760","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Total expenses included in the expense section on the statement of activities","Management and General"],"currency":"USD","scale":1,"value_type":"amount","bbox":[472,711,101,22]},{"value":"1550014","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Total expenses included in the expense section on the statement of activities","Fundraising and Development"],"currency":"USD","scale":1,"value_type":"amount","bbox":[587,713,102,21]},{"value":"20287410","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Total expenses included in the expense section on the statement of activities","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[700,713,104,20]}]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"Fold of Honor Foundation","page_num":"6","type":"profits","title":"Consolidated Statement of Functional Expenses Year Ended December 31, 2016"},"facts":[{"value":"8341932","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Scholarships and programs","Program Service"],"currency":"USD","scale":1,"value_type":"amount","bbox":[356,217,99,18]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Scholarships and programs","Management and General"],"currency":"USD","scale":1,"value_type":"amount","bbox":[563,221,9,16]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Scholarships and programs","Fundraising and Development"],"currency":"USD","scale":1,"value_type":"amount","bbox":[677,222,12,16]},{"value":"8341932","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Scholarships and programs","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[703,217,100,18]},{"value":"1785979","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Salaries and wages","Program Service"],"currency":"USD","scale":1,"value_type":"amount","bbox":[387,236,66,16]},{"value":"311955","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Salaries and wages","Management and General"],"currency":"USD","scale":1,"value_type":"amount","bbox":[518,237,54,16]},{"value":"197199","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Salaries and wages","Fundraising and Development"],"currency":"USD","scale":1,"value_type":"amount","bbox":[618,236,54,16]},{"value":"2295133","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Salaries and wages","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[734,236,66,16]},{"value":"336965","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Employee benefits","Program Service"],"currency":"USD","scale":1,"value_type":"amount","bbox":[400,255,54,16]},{"value":"61254","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Employee benefits","Management and General"],"currency":"USD","scale":1,"value_type":"amount","bbox":[519,253,52,17]},{"value":"39374","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Employee benefits","Fundraising and Development"],"currency":"USD","scale":1,"value_type":"amount","bbox":[640,253,52,17]},{"value":"437593","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Employee benefits","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[747,255,53,16]},{"value":"119565","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Payroll taxes","Program Service"],"currency":"USD","scale":1,"value_type":"amount","bbox":[400,274,54,16]},{"value":"23913","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Payroll taxes","Management and General"],"currency":"USD","scale":1,"value_type":"amount","bbox":[519,272,52,17]},{"value":"15942","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Payroll taxes","Fundraising and Development"],"currency":"USD","scale":1,"value_type":"amount","bbox":[640,272,52,17]},{"value":"159420","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Payroll taxes","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[747,274,53,16]},{"value":"48681","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Professional services","Program Service"],"currency":"USD","scale":1,"value_type":"amount","bbox":[406,293,48,16]},{"value":"49694","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Professional services","Management and General"],"currency":"USD","scale":1,"value_type":"amount","bbox":[519,291,52,17]},{"value":"10931","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Professional services","Fundraising and Development"],"currency":"USD","scale":1,"value_type":"amount","bbox":[640,291,52,17]},{"value":"109306","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Professional services","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[747,293,53,16]},{"value":"1585","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Legal fees","Program Service"],"currency":"USD","scale":1,"value_type":"amount","bbox":[416,309,37,16]},{"value":"488","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Legal fees","Management and General"],"currency":"USD","scale":1,"value_type":"amount","bbox":[547,309,22,16]},{"value":"366","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Legal fees","Fundraising and Development"],"currency":"USD","scale":1,"value_type":"amount","bbox":[662,309,22,16]},{"value":"2439","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Legal fees","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[762,303,39,18]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Bank charges","Program Service"],"currency":"USD","scale":1,"value_type":"amount","bbox":[448,328,9,16]},{"value":"27896","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Bank charges","Management and General"],"currency":"USD","scale":1,"value_type":"amount","bbox":[522,323,47,17]},{"value":"27896","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Bank charges","Fundraising and Development"],"currency":"USD","scale":1,"value_type":"amount","bbox":[638,323,48,17]},{"value":"55792","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Bank charges","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[755,322,47,18]},{"value":"72023","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Communications","Program Service"],"currency":"USD","scale":1,"value_type":"amount","bbox":[407,341,48,16]},{"value":"2724","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Communications","Management and General"],"currency":"USD","scale":1,"value_type":"amount","bbox":[531,342,38,17]},{"value":"40750","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Communications","Fundraising and Development"],"currency":"USD","scale":1,"value_type":"amount","bbox":[638,342,48,17]},{"value":"115497","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Communications","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[747,341,54,18]},{"value":"36993","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Postage and printing","Program Service"],"currency":"USD","scale":1,"value_type":"amount","bbox":[407,360,48,16]},{"value":"13357","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Postage and printing","Management and General"],"currency":"USD","scale":1,"value_type":"amount","bbox":[522,361,47,17]},{"value":"7566","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Postage and printing","Fundraising and Development"],"currency":"USD","scale":1,"value_type":"amount","bbox":[647,361,39,17]},{"value":"57916","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Postage and printing","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[755,360,47,18]},{"value":"65813","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Occupancy","Program Service"],"currency":"USD","scale":1,"value_type":"amount","bbox":[407,379,48,16]},{"value":"13163","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Occupancy","Management and General"],"currency":"USD","scale":1,"value_type":"amount","bbox":[522,380,47,17]},{"value":"8775","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Occupancy","Fundraising and Development"],"currency":"USD","scale":1,"value_type":"amount","bbox":[647,380,39,17]},{"value":"87751","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Occupancy","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[755,379,47,18]},{"value":"6045","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Security","Program Service"],"currency":"USD","scale":1,"value_type":"amount","bbox":[417,392,39,19]},{"value":"1008","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Security","Management and General"],"currency":"USD","scale":1,"value_type":"amount","bbox":[534,397,36,14]},{"value":"3023","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Security","Fundraising and Development"],"currency":"USD","scale":1,"value_type":"amount","bbox":[648,394,39,16]},{"value":"10076","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Security","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[755,396,47,18]},{"value":"59067","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Equipment rental and maintenance","Program Service"],"currency":"USD","scale":1,"value_type":"amount","bbox":[406,411,50,19]},{"value":"13134","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Equipment rental and maintenance","Management and General"],"currency":"USD","scale":1,"value_type":"amount","bbox":[524,413,47,16]},{"value":"8756","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Equipment rental and maintenance","Fundraising and Development"],"currency":"USD","scale":1,"value_type":"amount","bbox":[649,411,38,16]},{"value":"80957","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Equipment rental and maintenance","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[755,413,46,16]},{"value":"66601","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Travel and training","Program Service"],"currency":"USD","scale":1,"value_type":"amount","bbox":[406,430,50,19]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Travel and training","Management and General"],"currency":"USD","scale":1,"value_type":"amount","bbox":[561,432,9,16]},{"value":"99901","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Travel and training","Fundraising and Development"],"currency":"USD","scale":1,"value_type":"amount","bbox":[639,430,47,16]},{"value":"166502","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Travel and training","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[749,432,53,16]},{"value":"86845","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Depreciation","Program Service"],"currency":"USD","scale":1,"value_type":"amount","bbox":[406,449,50,19]},{"value":"52107","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Depreciation","Management and General"],"currency":"USD","scale":1,"value_type":"amount","bbox":[524,451,47,16]},{"value":"34738","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Depreciation","Fundraising and Development"],"currency":"USD","scale":1,"value_type":"amount","bbox":[640,447,47,16]},{"value":"173690","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Depreciation","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[746,446,53,18]},{"value":"39524","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Insurance","Program Service"],"currency":"USD","scale":1,"value_type":"amount","bbox":[406,468,50,19]},{"value":"7905","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Insurance","Management and General"],"currency":"USD","scale":1,"value_type":"amount","bbox":[532,470,38,16]},{"value":"5270","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Insurance","Fundraising and Development"],"currency":"USD","scale":1,"value_type":"amount","bbox":[647,465,38,16]},{"value":"52699","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Insurance","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[754,467,46,16]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Receptions and events","Program Service"],"currency":"USD","scale":1,"value_type":"amount","bbox":[448,488,8,15]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Receptions and events","Management and General"],"currency":"USD","scale":1,"value_type":"amount","bbox":[561,490,9,16]},{"value":"1073218","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Receptions and events","Fundraising and Development"],"currency":"USD","scale":1,"value_type":"amount","bbox":[625,483,61,16]},{"value":"1073218","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Receptions and events","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[733,486,66,16]},{"value":"132209","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Advertising","Program Service"],"currency":"USD","scale":1,"value_type":"amount","bbox":[402,503,54,16]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Advertising","Management and General"],"currency":"USD","scale":1,"value_type":"amount","bbox":[561,509,9,16]},{"value":"88139","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Advertising","Fundraising and Development"],"currency":"USD","scale":1,"value_type":"amount","bbox":[640,502,47,16]},{"value":"220348","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Advertising","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[746,505,53,16]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Cottage operating expenses","Program Service"],"currency":"USD","scale":1,"value_type":"amount","bbox":[447,520,12,16]},{"value":"6451","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Cottage operating expenses","Management and General"],"currency":"USD","scale":1,"value_type":"amount","bbox":[532,520,36,17]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Cottage operating expenses","Fundraising and Development"],"currency":"USD","scale":1,"value_type":"amount","bbox":[677,521,9,16]},{"value":"6451","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Cottage operating expenses","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[762,518,38,16]},{"value":"61930","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Information technology","Program Service"],"currency":"USD","scale":1,"value_type":"amount","bbox":[409,538,48,14]},{"value":"37158","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Information technology","Management and General"],"currency":"USD","scale":1,"value_type":"amount","bbox":[519,536,52,17]},{"value":"24772","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Information technology","Fundraising and Development"],"currency":"USD","scale":1,"value_type":"amount","bbox":[640,537,51,19]},{"value":"123860","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Information technology","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[746,537,53,16]},{"value":"275073","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Other","Program Service"],"currency":"USD","scale":1,"value_type":"amount","bbox":[400,553,54,16]},{"value":"91166","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Other","Management and General"],"currency":"USD","scale":1,"value_type":"amount","bbox":[519,556,52,17]},{"value":"69465","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Other","Fundraising and Development"],"currency":"USD","scale":1,"value_type":"amount","bbox":[642,556,47,16]},{"value":"435704","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Other","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[748,555,53,16]},{"value":"11536830","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Program Service"],"currency":"USD","scale":1,"value_type":"amount","bbox":[381,589,80,16]},{"value":"713373","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Management and General"],"currency":"USD","scale":1,"value_type":"amount","bbox":[515,589,60,16]},{"value":"1756081","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Fundraising and Development"],"currency":"USD","scale":1,"value_type":"amount","bbox":[622,589,67,16]},{"value":"14006284","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[728,589,73,16]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Less expenses included with revenues on the statement of activities","Cost of direct benefits to donors","Program Service"],"currency":"USD","scale":1,"value_type":"amount","bbox":[449,644,9,16]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Less expenses included with revenues on the statement of activities","Cost of direct benefits to donors","Management and General"],"currency":"USD","scale":1,"value_type":"amount","bbox":[563,643,10,16]},{"value":"(112750)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Less expenses included with revenues on the statement of activities","Cost of direct benefits to donors","Fundraising and Development"],"currency":"USD","scale":1,"value_type":"amount","bbox":[622,640,69,20]},{"value":"(112750)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Less expenses included with revenues on the statement of activities","Cost of direct benefits to donors","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[743,643,66,16]},{"value":"11536830","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Total expenses included in the expense section on the statement of activities","Program Service"],"currency":"USD","scale":1,"value_type":"amount","bbox":[356,714,105,18]},{"value":"713373","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Total expenses included in the expense section on the statement of activities","Management and General"],"currency":"USD","scale":1,"value_type":"amount","bbox":[476,714,96,16]},{"value":"1643331","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Total expenses included in the expense section on the statement of activities","Fundraising and Development"],"currency":"USD","scale":1,"value_type":"amount","bbox":[592,714,101,16]},{"value":"13893534","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Total expenses included in the expense section on the statement of activities","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[703,713,104,19]}]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"Fold of Honor Foundation","page_num":"7","type":"cash_flow","title":"Consolidated Statements of Cash Flow Years Ended December 31, 2017 and 2016"},"facts":[{"value":"5517837","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Cash Flows from Operating Activities","Change in net assets"],"currency":"USD","scale":1,"value_type":"amount","bbox":[565,221,99,14]},{"value":"5688412","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Cash Flows from Operating Activities","Change in net assets"],"currency":"USD","scale":1,"value_type":"amount","bbox":[694,221,97,14]},{"value":"142834","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Cash Flows from Operating Activities","Adjustments to reconcile change in net assets to net cash from (used for) operating activities","Depreciation"],"currency":"USD","scale":1,"value_type":"amount","bbox":[608,274,55,14]},{"value":"173690","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Cash Flows from Operating Activities","Adjustments to reconcile change in net assets to net cash from (used for) operating activities","Depreciation"],"currency":"USD","scale":1,"value_type":"amount","bbox":[737,274,53,14]},{"value":"(66978)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Cash Flows from Operating Activities","Adjustments to reconcile change in net assets to net cash from (used for) operating activities","Realized and unrealized loss on short-term investments"],"currency":"USD","scale":1,"value_type":"amount","bbox":[607,292,56,15]},{"value":"(11789)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Cash Flows from Operating Activities","Adjustments to reconcile change in net assets to net cash from (used for) operating activities","Realized and unrealized loss on short-term investments"],"currency":"USD","scale":1,"value_type":"amount","bbox":[736,292,54,15]},{"value":"(3172008)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Cash Flows from Operating Activities","Adjustments to reconcile change in net assets to net cash from (used for) operating activities","Change in interest net assets of chapters"],"currency":"USD","scale":1,"value_type":"amount","bbox":[586,310,77,15]},{"value":"(2363864)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Cash Flows from Operating Activities","Adjustments to reconcile change in net assets to net cash from (used for) operating activities","Change in interest net assets of chapters"],"currency":"USD","scale":1,"value_type":"amount","bbox":[716,310,75,15]},{"value":"142616","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Cash Flows from Operating Activities","Adjustments to reconcile change in net assets to net cash from (used for) operating activities","Change in beneficial interests in assets held by others"],"currency":"USD","scale":1,"value_type":"amount","bbox":[607,327,56,15]},{"value":"(68334)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Cash Flows from Operating Activities","Adjustments to reconcile change in net assets to net cash from (used for) operating activities","Change in beneficial interests in assets held by others"],"currency":"USD","scale":1,"value_type":"amount","bbox":[736,327,54,15]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Cash Flows from Operating Activities","Adjustments to reconcile change in net assets to net cash from (used for) operating activities","Contributions of investments"],"currency":"USD","scale":1,"value_type":"amount","bbox":[648,350,11,6]},{"value":"(42972)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Cash Flows from Operating Activities","Adjustments to reconcile change in net assets to net cash from (used for) operating activities","Contributions of investments"],"currency":"USD","scale":1,"value_type":"amount","bbox":[736,344,55,15]},{"value":"54658","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Cash Flows from Operating Activities","Changes in operating assets and liabilities","Accounts receivable"],"currency":"USD","scale":1,"value_type":"amount","bbox":[610,378,53,17]},{"value":"(50085)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Cash Flows from Operating Activities","Changes in operating assets and liabilities","Accounts receivable"],"currency":"USD","scale":1,"value_type":"amount","bbox":[736,380,54,15]},{"value":"994616","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Cash Flows from Operating Activities","Changes in operating assets and liabilities","Promises to give"],"currency":"USD","scale":1,"value_type":"amount","bbox":[603,396,60,17]},{"value":"(1535998)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Cash Flows from Operating Activities","Changes in operating assets and liabilities","Promises to give"],"currency":"USD","scale":1,"value_type":"amount","bbox":[716,398,75,15]},{"value":"(198965)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Cash Flows from Operating Activities","Changes in operating assets and liabilities","Prepaid expenses and inventories"],"currency":"USD","scale":1,"value_type":"amount","bbox":[588,414,75,17]},{"value":"(15720)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Cash Flows from Operating Activities","Changes in operating assets and liabilities","Prepaid expenses and inventories"],"currency":"USD","scale":1,"value_type":"amount","bbox":[736,416,54,15]},{"value":"260672","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Cash Flows from Operating Activities","Changes in operating assets and liabilities","Accounts payable and accrued expenses"],"currency":"USD","scale":1,"value_type":"amount","bbox":[603,432,60,17]},{"value":"(4651048)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Cash Flows from Operating Activities","Changes in operating assets and liabilities","Accounts payable and accrued expenses"],"currency":"USD","scale":1,"value_type":"amount","bbox":[716,434,75,15]},{"value":"(11693)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Cash Flows from Operating Activities","Changes in operating assets and liabilities","Deferred revenue"],"currency":"USD","scale":1,"value_type":"amount","bbox":[601,450,62,17]},{"value":"(4161)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Cash Flows from Operating Activities","Changes in operating assets and liabilities","Deferred revenue"],"currency":"USD","scale":1,"value_type":"amount","bbox":[744,452,47,15]},{"value":"3663589","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Cash Flows from Operating Activities","Net Cash from (used for) Operating Activities"],"currency":"USD","scale":1,"value_type":"amount","bbox":[587,487,76,15]},{"value":"(2881869)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Cash Flows from Operating Activities","Net Cash from (used for) Operating Activities"],"currency":"USD","scale":1,"value_type":"amount","bbox":[716,487,75,15]},{"value":"(202477)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Cash Flows from Investing Activities","Purchases of short-term investments"],"currency":"USD","scale":1,"value_type":"amount","bbox":[593,539,70,15]},{"value":"(9446)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Cash Flows from Investing Activities","Purchases of short-term investments"],"currency":"USD","scale":1,"value_type":"amount","bbox":[744,539,47,15]},{"value":"(16307)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Cash Flows from Investing Activities","Additions to beneficial interests in assets held by others"],"currency":"USD","scale":1,"value_type":"amount","bbox":[607,557,56,15]},{"value":"(915500)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Cash Flows from Investing Activities","Additions to beneficial interests in assets held by others"],"currency":"USD","scale":1,"value_type":"amount","bbox":[723,557,68,15]},{"value":"2171380","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Cash Flows from Investing Activities","Contributions received from chapters"],"currency":"USD","scale":1,"value_type":"amount","bbox":[588,574,75,15]},{"value":"2222043","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Cash Flows from Investing Activities","Contributions received from chapters"],"currency":"USD","scale":1,"value_type":"amount","bbox":[716,574,74,15]},{"value":"(76509)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Cash Flows from Investing Activities","Purchases of property and equipment"],"currency":"USD","scale":1,"value_type":"amount","bbox":[607,592,56,14]},{"value":"(116318)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Cash Flows from Investing Activities","Purchases of property and equipment"],"currency":"USD","scale":1,"value_type":"amount","bbox":[723,592,68,15]},{"value":"1876087","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Cash Flows from Investing Activities","Net Cash from Investing Activities"],"currency":"USD","scale":1,"value_type":"amount","bbox":[589,627,74,15]},{"value":"1180779","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Cash Flows from Investing Activities","Net Cash from Investing Activities"],"currency":"USD","scale":1,"value_type":"amount","bbox":[717,627,73,15]},{"value":"5539676","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Net Change in Cash and Cash Equivalents"],"currency":"USD","scale":1,"value_type":"amount","bbox":[589,663,74,15]},{"value":"(1701090)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Net Change in Cash and Cash Equivalents"],"currency":"USD","scale":1,"value_type":"amount","bbox":[716,663,75,15]},{"value":"4791344","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Cash and Cash Equivalents, Beginning of Year"],"currency":"USD","scale":1,"value_type":"amount","bbox":[589,680,74,15]},{"value":"6492434","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Cash and Cash Equivalents, Beginning of Year"],"currency":"USD","scale":1,"value_type":"amount","bbox":[717,680,73,15]},{"value":"10331020","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Cash and Cash Equivalents, End of Year"],"currency":"USD","scale":1,"value_type":"amount","bbox":[558,716,106,15]},{"value":"4791344","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Cash and Cash Equivalents, End of Year"],"currency":"USD","scale":1,"value_type":"amount","bbox":[695,716,96,15]}]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"Fold of Honor Foundation","page_num":"8","type":"notes","title":"Notes to Consolidated Financial Statements"},"facts":[]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"Fold of Honor Foundation","page_num":"9","type":"notes","title":"Notes to Consolidated Financial Statements"},"facts":[]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"Fold of Honor Foundation","page_num":"10","type":"notes","title":"Notes to Consolidated Financial Statements"},"facts":[{"value":"424000","comment":"approximated","is_note":true,"note":null,"note_reference":"","date":"2017-12-31","path":["Advertising Costs"],"currency":"USD","scale":1,"value_type":"amount","bbox":[189,848,62,15]},{"value":"220000","comment":"approximated","is_note":true,"note":null,"note_reference":"","date":"2016-12-31","path":["Advertising Costs"],"currency":"USD","scale":1,"value_type":"amount","bbox":[279,847,62,18]},{"value":"0","comment":"approximated","is_note":true,"note":null,"note_reference":"","date":"2017-12-31","path":["Advertising Costs","donated advertising"],"currency":"USD","scale":1,"value_type":"amount","bbox":[584,847,19,16]},{"value":"167000","comment":"approximated","is_note":true,"note":null,"note_reference":"","date":"2016-12-31","path":["Advertising Costs","donated advertising"],"currency":"USD","scale":1,"value_type":"amount","bbox":[631,846,62,19]}]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"Fold of Honor Foundation","page_num":"11","type":"notes","title":"Notes to Consolidated Financial Statements"},"facts":[]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"Fold of Honor Foundation","page_num":"12","type":"notes","title":"Notes to Consolidated Financial Statements"},"facts":[]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"Fold of Honor Foundation","page_num":"13","type":"notes","title":"Notes to Consolidated Financial Statements"},"facts":[{"value":"440965","comment":"Fair Value Measurements","is_note":true,"note":null,"note_reference":"","date":"2017-12-31","path":["Assets","Short-term investments","Equity funds","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[429,528,61,21]},{"value":"440965","comment":"Fair Value Measurements","is_note":true,"note":null,"note_reference":"","date":"2017-12-31","path":["Assets","Short-term investments","Equity funds","Quoted Prices in Active Markets for Identical Assets (Level 1)"],"currency":"USD","scale":1,"value_type":"amount","bbox":[542,528,61,21]},{"value":"","comment":"Fair Value Measurements","is_note":true,"note":null,"note_reference":"","date":"2017-12-31","path":["Assets","Short-term investments","Equity funds","Significant Other Observable Inputs (Level 2)"],"currency":"USD","scale":1,"value_type":"amount","bbox":[696,530,9,21]},{"value":"","comment":"Fair Value Measurements","is_note":true,"note":null,"note_reference":"","date":"2017-12-31","path":["Assets","Short-term investments","Equity funds","Significant Unobservable Inputs (Level 3)"],"currency":"USD","scale":1,"value_type":"amount","bbox":[809,528,8,21]},{"value":"1139424","comment":"Fair Value Measurements","is_note":true,"note":null,"note_reference":"","date":"2017-12-31","path":["Assets","Beneficial interests in assets held by Community Foundation","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[423,583,70,21]},{"value":"","comment":"Fair Value Measurements","is_note":true,"note":null,"note_reference":"","date":"2017-12-31","path":["Assets","Beneficial interests in assets held by Community Foundation","Quoted Prices in Active Markets for Identical Assets (Level 1)"],"currency":"USD","scale":1,"value_type":"amount","bbox":[588,585,9,21]},{"value":"","comment":"Fair Value Measurements","is_note":true,"note":null,"note_reference":"","date":"2017-12-31","path":["Assets","Beneficial interests in assets held by Community Foundation","Significant Other Observable Inputs (Level 2)"],"currency":"USD","scale":1,"value_type":"amount","bbox":[698,584,9,21]},{"value":"1139424","comment":"Fair Value Measurements","is_note":true,"note":null,"note_reference":"","date":"2017-12-31","path":["Assets","Beneficial interests in assets held by Community Foundation","Significant Unobservable Inputs (Level 3)"],"currency":"USD","scale":1,"value_type":"amount","bbox":[750,581,71,24]},{"value":"171510","comment":"Fair Value Measurements","is_note":true,"note":null,"note_reference":"","date":"2016-12-31","path":["Assets","Short-term investments","Equity funds","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[429,842,61,21]},{"value":"171510","comment":"Fair Value Measurements","is_note":true,"note":null,"note_reference":"","date":"2016-12-31","path":["Assets","Short-term investments","Equity funds","Quoted Prices in Active Markets for Identical Assets (Level 1)"],"currency":"USD","scale":1,"value_type":"amount","bbox":[542,842,61,21]},{"value":"","comment":"Fair Value Measurements","is_note":true,"note":null,"note_reference":"","date":"2016-12-31","path":["Assets","Short-term investments","Equity funds","Significant Other Observable Inputs (Level 2)"],"currency":"USD","scale":1,"value_type":"amount","bbox":[697,842,9,21]},{"value":"","comment":"Fair Value Measurements","is_note":true,"note":null,"note_reference":"","date":"2016-12-31","path":["Assets","Short-term investments","Equity funds","Significant Unobservable Inputs (Level 3)"],"currency":"USD","scale":1,"value_type":"amount","bbox":[807,842,9,21]},{"value":"1265733","comment":"Fair Value Measurements","is_note":true,"note":null,"note_reference":"","date":"2016-12-31","path":["Assets","Beneficial interests in Assets held by Community Foundation","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[421,898,70,21]},{"value":"","comment":"Fair Value Measurements","is_note":true,"note":null,"note_reference":"","date":"2016-12-31","path":["Assets","Beneficial interests in Assets held by Community Foundation","Quoted Prices in Active Markets for Identical Assets (Level 1)"],"currency":"USD","scale":1,"value_type":"amount","bbox":[589,898,9,21]},{"value":"","comment":"Fair Value Measurements","is_note":true,"note":null,"note_reference":"","date":"2016-12-31","path":["Assets","Beneficial interests in Assets held by Community Foundation","Significant Other Observable Inputs (Level 2)"],"currency":"USD","scale":1,"value_type":"amount","bbox":[697,898,9,21]},{"value":"1265733","comment":"Fair Value Measurements","is_note":true,"note":null,"note_reference":"","date":"2016-12-31","path":["Assets","Beneficial interests in Assets held by Community Foundation","Significant Unobservable Inputs (Level 3)"],"currency":"USD","scale":1,"value_type":"amount","bbox":[753,896,66,20]}]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"Fold of Honor Foundation","page_num":"14","type":"notes","title":"Notes to Consolidated Financial Statements"},"facts":[{"value":"281899","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2015-12-31","path":["Balance at December 31, 2015","Beneficial Interest in Assets Held by Community Foundation"],"currency":"USD","scale":1,"value_type":"amount","bbox":[653,328,60,16]},{"value":"915500","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Purchases of investments","Beneficial Interest in Assets Held by Community Foundation"],"currency":"USD","scale":1,"value_type":"amount","bbox":[653,344,60,16]},{"value":"58888","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Net realized and unrealized gain (loss)","Beneficial Interest in Assets Held by Community Foundation"],"currency":"USD","scale":1,"value_type":"amount","bbox":[661,360,53,16]},{"value":"20397","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Interest and dividends","Beneficial Interest in Assets Held by Community Foundation"],"currency":"USD","scale":1,"value_type":"amount","bbox":[661,377,53,16]},{"value":"(10951)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Investment management fees","Beneficial Interest in Assets Held by Community Foundation"],"currency":"USD","scale":1,"value_type":"amount","bbox":[653,394,60,19]},{"value":"1265733","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2016-12-31","path":["Balance at December 31, 2016","Beneficial Interest in Assets Held by Community Foundation"],"currency":"USD","scale":1,"value_type":"amount","bbox":[643,432,71,16]},{"value":"(280345)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Payments for scholarships","Beneficial Interest in Assets Held by Community Foundation"],"currency":"USD","scale":1,"value_type":"amount","bbox":[647,470,66,16]},{"value":"143643","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Net realized and unrealized gain (loss)","Beneficial Interest in Assets Held by Community Foundation"],"currency":"USD","scale":1,"value_type":"amount","bbox":[657,487,57,16]},{"value":"16307","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Interest and dividends","Beneficial Interest in Assets Held by Community Foundation"],"currency":"USD","scale":1,"value_type":"amount","bbox":[664,502,49,16]},{"value":"(5914)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Investment management fees","Beneficial Interest in Assets Held by Community Foundation"],"currency":"USD","scale":1,"value_type":"amount","bbox":[664,519,50,16]},{"value":"1139424","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2017-12-31","path":["Balance at December 31, 2017","Beneficial Interest in Assets Held by Community Foundation"],"currency":"USD","scale":1,"value_type":"amount","bbox":[643,557,71,16]},{"value":"16307","comment":"3","is_note":true,"note":"3","note_reference":"","date":"2017-12-31","path":["Note 3 - Net Investment Return","Short-term investments","Interest and dividends"],"currency":"USD","scale":1,"value_type":"amount","bbox":[629,721,53,17]},{"value":"20397","comment":"3","is_note":true,"note":"3","note_reference":"","date":"2016-12-31","path":["Note 3 - Net Investment Return","Short-term investments","Interest and dividends"],"currency":"USD","scale":1,"value_type":"amount","bbox":[754,720,57,18]},{"value":"338602","comment":"3","is_note":true,"note":"3","note_reference":"","date":"2017-12-31","path":["Note 3 - Net Investment Return","Short-term investments","Net realized and unrealized gain (loss)"],"currency":"USD","scale":1,"value_type":"amount","bbox":[621,738,61,17]},{"value":"(892189)","comment":"3","is_note":true,"note":"3","note_reference":"","date":"2016-12-31","path":["Note 3 - Net Investment Return","Short-term investments","Net realized and unrealized gain (loss)"],"currency":"USD","scale":1,"value_type":"amount","bbox":[746,736,65,18]},{"value":"(5914)","comment":"3","is_note":true,"note":"3","note_reference":"","date":"2017-12-31","path":["Note 3 - Net Investment Return","Short-term investments","Less investment management fees"],"currency":"USD","scale":1,"value_type":"amount","bbox":[629,754,53,17]},{"value":"(10951)","comment":"3","is_note":true,"note":"3","note_reference":"","date":"2016-12-31","path":["Note 3 - Net Investment Return","Short-term investments","Less investment management fees"],"currency":"USD","scale":1,"value_type":"amount","bbox":[746,752,65,18]},{"value":"348995","comment":"3","is_note":true,"note":"3","note_reference":"","date":"2017-12-31","path":["Note 3 - Net Investment Return","Total Net Investment Return"],"currency":"USD","scale":1,"value_type":"amount","bbox":[621,791,61,17]},{"value":"(882743)","comment":"3","is_note":true,"note":"3","note_reference":"","date":"2016-12-31","path":["Note 3 - Net Investment Return","Total Net Investment Return"],"currency":"USD","scale":1,"value_type":"amount","bbox":[746,790,65,18]}]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"Fold of Honor Foundation","page_num":"15","type":"notes","title":"Notes to Consolidated Financial Statements"},"facts":[{"value":"655955","comment":"4","is_note":true,"note":"4","note_reference":"","date":"2017-12-31","path":["Note 4 - Promises to Give","Within one year"],"currency":"USD","scale":1,"value_type":"amount","bbox":[621,275,56,17]},{"value":"1610571","comment":"4","is_note":true,"note":"4","note_reference":"","date":"2016-12-31","path":["Note 4 - Promises to Give","Within one year"],"currency":"USD","scale":1,"value_type":"amount","bbox":[747,275,69,17]},{"value":"20000","comment":"4","is_note":true,"note":"4","note_reference":"","date":"2017-12-31","path":["Note 4 - Promises to Give","In one to five years"],"currency":"USD","scale":1,"value_type":"amount","bbox":[625,292,52,17]},{"value":"60000","comment":"4","is_note":true,"note":"4","note_reference":"","date":"2016-12-31","path":["Note 4 - Promises to Give","In one to five years"],"currency":"USD","scale":1,"value_type":"amount","bbox":[761,292,55,17]},{"value":"675955","comment":"4","is_note":true,"note":"4","note_reference":"","date":"2017-12-31","path":["Note 4 - Promises to Give","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[621,331,56,17]},{"value":"1670571","comment":"4","is_note":true,"note":"4","note_reference":"","date":"2016-12-31","path":["Note 4 - Promises to Give","Total"],"currency":"USD","scale":1,"value_type":"amount","bbox":[747,331,69,17]},{"value":"10%","comment":"no donor accounted for more than 10% of total promises to give","is_note":true,"note":"4","note_reference":"","date":"2017-12-31","path":["Note 4 - Promises to Give","one donor accounted for percentage of the total promises to give"],"currency":null,"scale":1,"value_type":"%","bbox":[465,368,30,17]},{"value":"52%","comment":"one donor accounted for 52% of the total promises to give","is_note":false,"note":"4","note_reference":"","date":"2016-12-31","path":["Note 4 - Promises to Give","one donor accounted for percentage of the total promises to give"],"currency":null,"scale":1,"value_type":"%","bbox":[256,387,30,17]},{"value":"390000","comment":"5","is_note":true,"note":"5","note_reference":"","date":"2017-12-31","path":["Note 5 - Property and Equipment","Land"],"currency":"USD","scale":1,"value_type":"amount","bbox":[621,547,61,18]},{"value":"390000","comment":"5","is_note":true,"note":"5","note_reference":"","date":"2016-12-31","path":["Note 5 - Property and Equipment","Land"],"currency":"USD","scale":1,"value_type":"amount","bbox":[747,548,69,17]},{"value":"176236","comment":"5","is_note":true,"note":"5","note_reference":"","date":"2017-12-31","path":["Note 5 - Property and Equipment","Land improvements"],"currency":"USD","scale":1,"value_type":"amount","bbox":[621,564,61,18]},{"value":"176236","comment":"5","is_note":true,"note":"5","note_reference":"","date":"2016-12-31","path":["Note 5 - Property and Equipment","Land improvements"],"currency":"USD","scale":1,"value_type":"amount","bbox":[747,565,69,17]},{"value":"2575288","comment":"5","is_note":true,"note":"5","note_reference":"","date":"2017-12-31","path":["Note 5 - Property and Equipment","Buildings and improvements"],"currency":"USD","scale":1,"value_type":"amount","bbox":[613,581,69,18]},{"value":"2575289","comment":"5","is_note":true,"note":"5","note_reference":"","date":"2016-12-31","path":["Note 5 - Property and Equipment","Buildings and improvements"],"currency":"USD","scale":1,"value_type":"amount","bbox":[739,582,77,17]},{"value":"113233","comment":"5","is_note":true,"note":"5","note_reference":"","date":"2017-12-31","path":["Note 5 - Property and Equipment","Office equipment"],"currency":"USD","scale":1,"value_type":"amount","bbox":[621,598,61,18]},{"value":"47272","comment":"5","is_note":true,"note":"5","note_reference":"","date":"2016-12-31","path":["Note 5 - Property and Equipment","Office equipment"],"currency":"USD","scale":1,"value_type":"amount","bbox":[761,599,55,17]},{"value":"791776","comment":"5","is_note":true,"note":"5","note_reference":"","date":"2017-12-31","path":["Note 5 - Property and Equipment","Furniture and fixtures"],"currency":"USD","scale":1,"value_type":"amount","bbox":[621,614,61,18]},{"value":"781229","comment":"5","is_note":true,"note":"5","note_reference":"","date":"2016-12-31","path":["Note 5 - Property and Equipment","Furniture and fixtures"],"currency":"USD","scale":1,"value_type":"amount","bbox":[747,615,69,17]},{"value":"4046533","comment":"5","is_note":true,"note":"5","note_reference":"","date":"2017-12-31","path":["Note 5 - Property and Equipment"],"currency":"USD","scale":1,"value_type":"amount","bbox":[613,654,69,18]},{"value":"3970026","comment":"5","is_note":true,"note":"5","note_reference":"","date":"2016-12-31","path":["Note 5 - Property and Equipment"],"currency":"USD","scale":1,"value_type":"amount","bbox":[739,654,77,17]},{"value":"(1129610)","comment":"5","is_note":true,"note":"5","note_reference":"","date":"2017-12-31","path":["Note 5 - Property and Equipment","Less accumulated depreciation"],"currency":"USD","scale":1,"value_type":"amount","bbox":[610,669,78,18]},{"value":"(986778)","comment":"5","is_note":true,"note":"5","note_reference":"","date":"2016-12-31","path":["Note 5 - Property and Equipment","Less accumulated depreciation"],"currency":"USD","scale":1,"value_type":"amount","bbox":[746,670,71,17]},{"value":"2916923","comment":"5","is_note":true,"note":"5","note_reference":"","date":"2017-12-31","path":["Note 5 - Property and Equipment","Property and equipment, net"],"currency":"USD","scale":1,"value_type":"amount","bbox":[612,709,69,18]},{"value":"2983248","comment":"5","is_note":true,"note":"5","note_reference":"","date":"2016-12-31","path":["Note 5 - Property and Equipment","Property and equipment, net"],"currency":"USD","scale":1,"value_type":"amount","bbox":[739,708,77,17]}]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"Fold of Honor Foundation","page_num":"16","type":"notes","title":"Notes to Consolidated Financial Statements"},"facts":[{"value":"675955","comment":"6","is_note":true,"note":"6","note_reference":"","date":"2017","path":["Note 6 - Restricted Net Assets","Temporarily restricted net assets","Promises to give that are not restricted by donors, but which are unavailable for expenditure until due"],"currency":"USD","scale":1,"value_type":"amount","bbox":[627,293,55,16]},{"value":"1608571","comment":"6","is_note":true,"note":"6","note_reference":"","date":"2016","path":["Note 6 - Restricted Net Assets","Temporarily restricted net assets","Promises to give that are not restricted by donors, but which are unavailable for expenditure until due"],"currency":"USD","scale":1,"value_type":"amount","bbox":[746,293,65,16]},{"value":"1882081","comment":"6","is_note":true,"note":"6","note_reference":"","date":"2017","path":["Note 6 - Restricted Net Assets","Temporarily restricted net assets","Other time-based, general purpose restrictions: Interest in net assets of chapters"],"currency":"USD","scale":1,"value_type":"amount","bbox":[616,327,65,16]},{"value":"881453","comment":"6","is_note":true,"note":"6","note_reference":"","date":"2016","path":["Note 6 - Restricted Net Assets","Temporarily restricted net assets","Other time-based, general purpose restrictions: Interest in net assets of chapters"],"currency":"USD","scale":1,"value_type":"amount","bbox":[757,327,55,16]},{"value":"1176250","comment":"6","is_note":true,"note":"6","note_reference":"","date":"2017","path":["Note 6 - Restricted Net Assets","Temporarily restricted net assets","Restricted real estate"],"currency":"USD","scale":1,"value_type":"amount","bbox":[616,345,65,16]},{"value":"1207323","comment":"6","is_note":true,"note":"6","note_reference":"","date":"2016","path":["Note 6 - Restricted Net Assets","Temporarily restricted net assets","Restricted real estate"],"currency":"USD","scale":1,"value_type":"amount","bbox":[746,345,65,16]},{"value":"7958","comment":"6","is_note":true,"note":"6","note_reference":"","date":"2017","path":["Note 6 - Restricted Net Assets","Temporarily restricted net assets","Restricted for Honor cottage program"],"currency":"USD","scale":1,"value_type":"amount","bbox":[642,361,39,16]},{"value":"10036","comment":"6","is_note":true,"note":"6","note_reference":"","date":"2016","path":["Note 6 - Restricted Net Assets","Temporarily restricted net assets","Restricted for Honor cottage program"],"currency":"USD","scale":1,"value_type":"amount","bbox":[764,361,47,16]},{"value":"3742244","comment":"6","is_note":true,"note":"6","note_reference":"","date":"2017","path":["Note 6 - Restricted Net Assets","Temporarily restricted net assets"],"currency":"USD","scale":1,"value_type":"amount","bbox":[614,398,65,16]},{"value":"3707383","comment":"6","is_note":true,"note":"6","note_reference":"","date":"2016","path":["Note 6 - Restricted Net Assets","Temporarily restricted net assets"],"currency":"USD","scale":1,"value_type":"amount","bbox":[745,398,65,16]},{"value":"1578571","comment":"6","is_note":true,"note":"6","note_reference":"","date":"2017","path":["Note 6 - Restricted Net Assets","Net assets were released from restrictions","Expiration of time restrictions"],"currency":"USD","scale":1,"value_type":"amount","bbox":[615,597,64,15]},{"value":"74573","comment":"6","is_note":true,"note":"6","note_reference":"","date":"2016","path":["Note 6 - Restricted Net Assets","Net assets were released from restrictions","Expiration of time restrictions"],"currency":"USD","scale":1,"value_type":"amount","bbox":[762,597,47,15]},{"value":"2171380","comment":"6","is_note":true,"note":"6","note_reference":"","date":"2017","path":["Note 6 - Restricted Net Assets","Net assets were released from restrictions","Distributions from chapters"],"currency":"USD","scale":1,"value_type":"amount","bbox":[615,614,64,15]},{"value":"2222043","comment":"6","is_note":true,"note":"6","note_reference":"","date":"2016","path":["Note 6 - Restricted Net Assets","Net assets were released from restrictions","Distributions from chapters"],"currency":"USD","scale":1,"value_type":"amount","bbox":[745,614,64,15]},{"value":"31073","comment":"6","is_note":true,"note":"6","note_reference":"","date":"2017","path":["Note 6 - Restricted Net Assets","Net assets were released from restrictions","Depreciation of restricted real estate"],"currency":"USD","scale":1,"value_type":"amount","bbox":[636,632,45,15]},{"value":"31073","comment":"6","is_note":true,"note":"6","note_reference":"","date":"2016","path":["Note 6 - Restricted Net Assets","Net assets were released from restrictions","Depreciation of restricted real estate"],"currency":"USD","scale":1,"value_type":"amount","bbox":[765,632,45,15]},{"value":"2078","comment":"6","is_note":true,"note":"6","note_reference":"","date":"2017","path":["Note 6 - Restricted Net Assets","Net assets were released from restrictions","Release for Honor cottage program"],"currency":"USD","scale":1,"value_type":"amount","bbox":[643,649,38,15]},{"value":"2357","comment":"6","is_note":true,"note":"6","note_reference":"","date":"2016","path":["Note 6 - Restricted Net Assets","Net assets were released from restrictions","Release for Honor cottage program"],"currency":"USD","scale":1,"value_type":"amount","bbox":[772,649,38,15]},{"value":"3783102","comment":"6","is_note":true,"note":"6","note_reference":"","date":"2017","path":["Note 6 - Restricted Net Assets","Net assets were released from restrictions"],"currency":"USD","scale":1,"value_type":"amount","bbox":[616,688,64,15]},{"value":"2330046","comment":"6","is_note":true,"note":"6","note_reference":"","date":"2016","path":["Note 6 - Restricted Net Assets","Net assets were released from restrictions"],"currency":"USD","scale":1,"value_type":"amount","bbox":[745,688,64,15]},{"value":"0","comment":"7","is_note":true,"note":"7","note_reference":"","date":"2017","path":["Note 7 - Donated Advertising and Materials","Donated materials and advertising"],"currency":"USD","scale":1,"value_type":"amount","bbox":[153,823,19,15]},{"value":"225049","comment":"7","is_note":true,"note":"7","note_reference":"","date":"2016","path":["Note 7 - Donated Advertising and Materials","Donated materials and advertising"],"currency":"USD","scale":1,"value_type":"amount","bbox":[199,823,62,16]}]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"Fold of Honor Foundation","page_num":"17","type":"notes","title":"Notes to Consolidated Financial Statements"},"facts":[{"value":"126907","comment":"8","is_note":true,"note":"8","note_reference":"","date":"2017","path":["Note 8 - Employee Benefits","Defined Contribution Plan","Employer contributions"],"currency":"USD","scale":1,"value_type":"amount","bbox":[178,332,61,13]},{"value":"99609","comment":"8","is_note":true,"note":"8","note_reference":"","date":"2016","path":["Note 8 - Employee Benefits","Defined Contribution Plan","Employer contributions"],"currency":"USD","scale":1,"value_type":"amount","bbox":[264,331,51,14]},{"value":"80000","comment":"annually for five years","is_note":true,"note":"8","note_reference":"","date":null,"path":["Note 8 - Employee Benefits","Deferred Compensation Agreement","earn up to"],"currency":"USD","scale":1,"value_type":"amount","bbox":[476,420,57,14]},{"value":"240000","comment":"8","is_note":true,"note":"8","note_reference":"","date":"2017-12-31","path":["Note 8 - Employee Benefits","Deferred Compensation Agreement","accrued expenses and other liabilities"],"currency":"USD","scale":1,"value_type":"amount","bbox":[561,437,62,16]},{"value":"160000","comment":"8","is_note":true,"note":"8","note_reference":"","date":"2016-12-31","path":["Note 8 - Employee Benefits","Deferred Compensation Agreement","accrued expenses and other liabilities"],"currency":"USD","scale":1,"value_type":"amount","bbox":[649,439,64,14]},{"value":"85000","comment":"each year","is_note":true,"note":"9","note_reference":"","date":null,"path":["Note 9 - Related Party Transactions","expenses for the Patriot Cup to the Patriot Golf Course","totaling each year"],"currency":"USD","scale":1,"value_type":"amount","bbox":[585,581,57,18]},{"value":"50775","comment":"9","is_note":true,"note":"9","note_reference":"","date":"2017","path":["Note 9 - Related Party Transactions","Patriot Golf course"],"currency":"USD","scale":1,"value_type":"amount","bbox":[305,601,53,14]},{"value":"34293","comment":"9","is_note":true,"note":"9","note_reference":"","date":"2016","path":["Note 9 - Related Party Transactions","Patriot Golf course"],"currency":"USD","scale":1,"value_type":"amount","bbox":[388,601,55,14]},{"value":"19955","comment":"9","is_note":true,"note":"9","note_reference":"","date":"2017-12-31","path":["Note 9 - Related Party Transactions","receivables","owed by the Patriot Golf Course"],"currency":"USD","scale":1,"value_type":"amount","bbox":[665,637,53,14]},{"value":"22064","comment":"9","is_note":true,"note":"9","note_reference":"","date":"2016-12-31","path":["Note 9 - Related Party Transactions","receivables","owed by the Patriot Golf Course"],"currency":"USD","scale":1,"value_type":"amount","bbox":[743,638,57,13]},{"value":"40000","comment":"per year","is_note":true,"note":"10","note_reference":"","date":null,"path":["Note 10 - Subsequent Events","distribution from the trust"],"currency":"USD","scale":1,"value_type":"amount","bbox":[604,798,57,16]}]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"צלול - עמותה לאיכות הסביבה (ע״ר)","page_num":null,"type":"title","title":"דוח שנתי 2024"},"facts":[]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"צלול - עמותה לאיכות הסביבה (ע״ר)","page_num":null,"type":"contents_page","title":"דוח שנתי 2024"},"facts":[]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"צלול - עמותה לאיכות הסביבה (ע״ר)","page_num":null,"type":"declaration","title":"דוח רואה החשבון המבקר"},"facts":[]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"צלול - עמותה לאיכות הסביבה (ע״ר)","page_num":"3","type":"balance_sheet","title":"מאזנים"},"facts":[{"value":"518298","comment":null,"is_note":false,"note":null,"note_reference":"2ה׳","date":"2024-12-31","path":["נכסים","רכוש שוטף","מזומנים ושווי מזומנים"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[236,306,62,20]},{"value":"959986","comment":null,"is_note":false,"note":null,"note_reference":"2ה׳","date":"2023-12-31","path":["נכסים","רכוש שוטף","מזומנים ושווי מזומנים"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[153,308,62,20]},{"value":"18071","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024-12-31","path":["נכסים","רכוש שוטף","הוצאות מראש"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[235,323,62,20]},{"value":"6915","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["נכסים","רכוש שוטף","הוצאות מראש"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[152,323,62,20]},{"value":"2577","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024-12-31","path":["נכסים","רכוש שוטף","חייבים שונים"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[235,339,62,20]},{"value":"4870","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["נכסים","רכוש שוטף","חייבים שונים"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[152,340,62,20]},{"value":"538946","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024-12-31","path":["נכסים","רכוש שוטף","סך רכוש שוטף"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[234,363,62,20]},{"value":"971771","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["נכסים","רכוש שוטף","סך רכוש שוטף"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[149,364,62,20]},{"value":"269968","comment":null,"is_note":false,"note":null,"note_reference":"4","date":"2024-12-31","path":["נכסים","רכוש קבוע","עלות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[234,431,62,20]},{"value":"268170","comment":null,"is_note":false,"note":null,"note_reference":"4","date":"2023-12-31","path":["נכסים","רכוש קבוע","עלות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[149,432,62,20]},{"value":"209255","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024-12-31","path":["נכסים","רכוש קבוע","בניכוי - פחת שנצבר"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[234,449,62,20]},{"value":"180216","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["נכסים","רכוש קבוע","בניכוי - פחת שנצבר"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[148,449,62,20]},{"value":"60713","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024-12-31","path":["נכסים","רכוש קבוע","סה״כ"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[237,470,62,20]},{"value":"87854","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["נכסים","רכוש קבוע","סה״כ"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[148,472,62,20]},{"value":"599659","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024-12-31","path":["נכסים","סה״כ"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[233,502,62,20]},{"value":"10059725","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["נכסים","סה״כ"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[146,503,62,20]},{"value":"22994","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024-12-31","path":["התחייבויות בניכוי נכסים נטו","התחייבויות שוטפות","ספקים והמחאות לפירעון"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[239,558,61,17]},{"value":"54114","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["התחייבויות בניכוי נכסים נטו","התחייבויות שוטפות","ספקים והמחאות לפירעון"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[151,557,62,20]},{"value":"163959","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024-12-31","path":["התחייבויות בניכוי נכסים נטו","התחייבויות שוטפות","עובדים ומוסדות בגין שכר"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[241,573,62,20]},{"value":"153418","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["התחייבויות בניכוי נכסים נטו","התחייבויות שוטפות","עובדים ומוסדות בגין שכר"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[153,576,62,20]},{"value":"47658","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024-12-31","path":["התחייבויות בניכוי נכסים נטו","התחייבויות שוטפות","זכאים אחרים"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[238,595,62,20]},{"value":"16380","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["התחייבויות בניכוי נכסים נטו","התחייבויות שוטפות","זכאים אחרים"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[153,593,62,20]},{"value":"234611","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024-12-31","path":["התחייבויות בניכוי נכסים נטו","התחייבויות שוטפות","סך התחייבויות שוטפות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[239,613,62,20]},{"value":"223912","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["התחייבויות בניכוי נכסים נטו","התחייבויות שוטפות","סך התחייבויות שוטפות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[152,615,62,20]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"3","date":"2024-12-31","path":["התחייבויות בניכוי נכסים נטו","התחייבויות לזמן ארוך","התחייבויות בשל סיום יחסי עובד - מעביד, נטו"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[279,660,20,20]},{"value":"8384","comment":null,"is_note":false,"note":null,"note_reference":"3","date":"2023-12-31","path":["התחייבויות בניכוי נכסים נטו","התחייבויות לזמן ארוך","התחייבויות בשל סיום יחסי עובד - מעביד, נטו"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[148,657,62,20]},{"value":"234611","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024-12-31","path":["התחייבויות בניכוי נכסים נטו","סך התחייבויות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[234,706,62,20]},{"value":"232296","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["התחייבויות בניכוי נכסים נטו","סך התחייבויות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[149,705,62,20]},{"value":"328968","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024-12-31","path":["התחייבויות","נכסים נטו:","נכסים נטו שלא קיימת לגביהם הגבלה (גרעון מצטבר מפעילות)"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[234,754,62,20]},{"value":"(16939)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["התחייבויות","נכסים נטו:","נכסים נטו שלא קיימת לגביהם הגבלה (גרעון מצטבר מפעילות)"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[152,754,62,20]},{"value":"36080","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024-12-31","path":["התחייבויות","נכסים נטו:","נכסים נטו שקיימת לגביהם הגבלה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[237,770,62,20]},{"value":"844368","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["התחייבויות","נכסים נטו:","נכסים נטו שקיימת לגביהם הגבלה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[152,771,62,20]},{"value":"365048","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024-12-31","path":["התחייבויות","נכסים נטו:","סך נכסים נטו"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[236,786,62,20]},{"value":"599659","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024-12-31","path":["התחייבויות","סה״כ"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[233,815,69,24]},{"value":"1059725","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["התחייבויות","סה״כ"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[142,816,69,24]}]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"צלול - עמותה לאיכות הסביבה (ע״ר)","page_num":"4","type":"profits","title":"דוחות על הפעילויות והשינויים בנכסים נטו"},"facts":[{"value":"4085744","comment":null,"is_note":false,"note":null,"note_reference":"5","date":"2024-12-31","path":["מחזור הפעילויות","תרומות שנתקבלו"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[215,268,63,22]},{"value":"4110646","comment":null,"is_note":false,"note":null,"note_reference":"5","date":"2023-12-31","path":["מחזור הפעילויות","תרומות שנתקבלו"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[134,269,63,22]},{"value":"1058643","comment":null,"is_note":false,"note":null,"note_reference":"6,8","date":"2024-12-31","path":["עלות הפעילויות","פרסום, ייעוץ הסברה, יחסי ציבור, שירותים מקצועיים ופחת"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[217,319,63,22]},{"value":"1344452","comment":null,"is_note":false,"note":null,"note_reference":"6,8","date":"2023-12-31","path":["עלות הפעילויות","פרסום, ייעוץ הסברה, יחסי ציבור, שירותים מקצועיים ופחת"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[132,319,63,22]},{"value":"166773","comment":null,"is_note":false,"note":null,"note_reference":"9","date":"2024-12-31","path":["עלות הפעילויות","פרויקט השפעה מקומית, כולל שכר"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[225,340,63,22]},{"value":"856880","comment":null,"is_note":false,"note":null,"note_reference":"9","date":"2023-12-31","path":["עלות הפעילויות","פרויקט השפעה מקומית, כולל שכר"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[136,341,63,22]},{"value":"997243","comment":null,"is_note":false,"note":null,"note_reference":"10","date":"2024-12-31","path":["עלות הפעילויות","פרויקט צלול ברשויות, כולל שכר"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[225,362,63,22]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"10","date":"2023-12-31","path":["עלות הפעילויות","פרויקט צלול ברשויות, כולל שכר"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[147,362,63,22]},{"value":"1012309","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024-12-31","path":["עלות הפעילויות","שכר עבודה והוצאות נלוות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[218,378,63,22]},{"value":"1252365","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["עלות הפעילויות","שכר עבודה והוצאות נלוות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[137,382,63,22]},{"value":"3234968","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024-12-31","path":["עלות הפעילויות","סה״כ"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[217,396,63,22]},{"value":"3453697","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["עלות הפעילויות","סה״כ"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[137,399,63,22]},{"value":"296409","comment":null,"is_note":false,"note":null,"note_reference":"6,8","date":"2024-12-31","path":["הוצאות הנהלה וכלליות","שכר עבודה והוצאות נלוות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[225,432,63,22]},{"value":"314459","comment":null,"is_note":false,"note":null,"note_reference":"6,8","date":"2023-12-31","path":["הוצאות הנהלה וכלליות","שכר עבודה והוצאות נלוות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[137,430,63,22]},{"value":"62491","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024-12-31","path":["הוצאות הנהלה וכלליות","עלויות גיוס משאבים"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[225,449,63,22]},{"value":"56607","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["הוצאות הנהלה וכלליות","עלויות גיוס משאבים"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[139,450,63,22]},{"value":"145021","comment":null,"is_note":false,"note":null,"note_reference":"7","date":"2024-12-31","path":["הוצאות הנהלה וכלליות","אחרות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[225,464,63,22]},{"value":"158638","comment":null,"is_note":false,"note":null,"note_reference":"7","date":"2023-12-31","path":["הוצאות הנהלה וכלליות","אחרות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[139,467,63,22]},{"value":"503921","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024-12-31","path":["הוצאות הנהלה וכלליות","סה״כ"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[225,484,63,22]},{"value":"529704","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["הוצאות הנהלה וכלליות","סה״כ"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[138,486,63,22]},{"value":"(1514)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024-12-31","path":["הפסד הון"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[224,516,69,25]},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["הפסד הון"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[186,515,23,25]},{"value":"566","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024-12-31","path":["הכנסות מימון - נטו"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[242,545,54,23]},{"value":"5649","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["הכנסות מימון - נטו"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[150,545,54,23]},{"value":"345907","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024-12-31","path":["הכנסות נטו לשנה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[225,581,60,29]},{"value":"132894","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["הכנסות נטו לשנה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[141,582,68,26]},{"value":"(16939)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024-12-31","path":["גרעון נטו לתחילת השנה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[227,609,68,26]},{"value":"(149833)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["גרעון נטו לתחילת השנה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[138,608,68,26]},{"value":"328968","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024-12-31","path":["נכסים (גרעון) נטו לגמר השנה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[223,643,63,22]},{"value":"(16939)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["נכסים (גרעון) נטו לגמר השנה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[142,642,63,22]}]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"צלול - עמותה לאיכות הסביבה (ע״ר)","page_num":"6","type":"notes","title":"ביאורים לדוחות הכספיים"},"facts":[]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"צלול - עמותה לאיכות הסביבה (ע״ר)","page_num":"6","type":"notes","title":"ביאורים לדוחות הכספיים (המשך)"},"facts":[{"value":"33","comment":"2","is_note":true,"note":"2","note_reference":"","date":"2024-12-31","path":["שיעורי הפחת השנתיים","מחשבים"],"currency":null,"scale":1,"value_type":"%","bbox":[340,748,21,18]},{"value":"10","comment":"2","is_note":true,"note":"2","note_reference":"","date":"2024-12-31","path":["שיעורי הפחת השנתיים","שיפורים במושכר"],"currency":null,"scale":1,"value_type":"%","bbox":[340,760,21,18]},{"value":"","comment":"2","is_note":true,"note":"2","note_reference":"6-15","date":"2024-12-31","path":["שיעורי הפחת השנתיים","רהוט וציוד"],"currency":null,"scale":1,"value_type":"%","bbox":[325,779,43,20]}]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"צלול - עמותה לאיכות הסביבה (ע״ר)","page_num":"7","type":"notes","title":"ביאורים לדוחות הכספיים (המשך)"},"facts":[]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"צלול - עמותה לאיכות הסביבה (ע״ר)","page_num":"8","type":"notes","title":"ביאורים לדוחות הכספיים (המשך)"},"facts":[{"value":"90904","comment":"4","is_note":true,"note":"4","note_reference":"","date":"2024-12-31","path":["ביאור 4 - רכוש קבוע","ריהוט וציוד","עלות","יתרה לתחילת השנה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[435,416,42,18]},{"value":"128153","comment":"4","is_note":true,"note":"4","note_reference":"","date":"2024-12-31","path":["ביאור 4 - רכוש קבוע","מחשבים","עלות","יתרה לתחילת השנה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[362,414,50,21]},{"value":"49113","comment":"4","is_note":true,"note":"4","note_reference":"","date":"2024-12-31","path":["ביאור 4 - רכוש קבוע","שיפורים במושכר","עלות","יתרה לתחילת השנה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[286,418,46,23]},{"value":"268170","comment":"4","is_note":true,"note":"4","note_reference":"","date":"2024-12-31","path":["ביאור 4 - רכוש קבוע","סה״כ","עלות","יתרה לתחילת השנה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[209,420,52,18]},{"value":"251466","comment":"4","is_note":true,"note":"4","note_reference":"","date":"2023-12-31","path":["ביאור 4 - רכוש קבוע","סה״כ","עלות","יתרה לתחילת השנה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[131,421,53,19]},{"value":"6230","comment":"4","is_note":true,"note":"4","note_reference":"","date":"2024-12-31","path":["ביאור 4 - רכוש קבוע","רהוט וציוד","עלות","תוספות במשך השנה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[438,432,42,18]},{"value":"","comment":"4","is_note":true,"note":"4","note_reference":"","date":"2024-12-31","path":["ביאור 4 - רכוש קבוע","מחשבים","עלות","תוספות במשך השנה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[401,435,14,15]},{"value":"","comment":"4","is_note":true,"note":"4","note_reference":"","date":"2024-12-31","path":["ביאור 4 - רכוש קבוע","שיפור במושכר","עלות","תוספות במשך השנה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[323,438,14,15]},{"value":"6230","comment":"4","is_note":true,"note":"4","note_reference":"","date":"2024-12-31","path":["ביאור 4 - רכוש קבוע","סה״כ","עלות","תוספות במשך השנה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[218,438,46,14]},{"value":"43803","comment":"4","is_note":true,"note":"4","note_reference":"","date":"2023-12-31","path":["ביאור 4 - רכוש קבוע","סה״כ","עלות","תוספות במשך השנה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[141,439,47,18]},{"value":"(4432)","comment":"4","is_note":true,"note":"4","note_reference":"","date":"2024-12-31","path":["ביאור 4 - רכוש קבוע","ריהוט וציוד","עלות","גריעות במשך השנה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[436,449,42,18]},{"value":"","comment":"4","is_note":true,"note":"4","note_reference":"","date":"2024-12-31","path":["ביאור 4 - רכוש קבוע","מחשבים","עלות","גריעות במשך השנה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[401,450,14,18]},{"value":"","comment":"4","is_note":true,"note":"4","note_reference":"","date":"2024-12-31","path":["ביאור 4 - רכוש קבוע","שיפורים במושכר","עלות","גריעות במשך השנה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[321,452,14,18]},{"value":"269968","comment":"4","is_note":true,"note":"4","note_reference":"","date":"2024-12-31","path":["ביאור 4 - רכוש קבוע","סה״כ","עלות","יתרה לגמר השנה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[212,452,52,21]},{"value":"(27099)","comment":"4","is_note":true,"note":"4","note_reference":"","date":"2023-12-31","path":["ביאור 4 - רכוש קבוע","גריעות במשך השנה","עלות","סה״כ"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[131,452,56,23]},{"value":"92702","comment":"4","is_note":true,"note":"4","note_reference":"","date":"2024-12-31","path":["ביאור 4 - רכוש קבוע","ריהוט וציוד","עלות","יתרה לגמר השנה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[436,471,42,18]},{"value":"128153","comment":"4","is_note":true,"note":"4","note_reference":"","date":"2024-12-31","path":["ביאור 4 - רכוש קבוע","מחשבים","עלות","יתרה לגמר השנה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[360,470,57,22]},{"value":"49113","comment":"4","is_note":true,"note":"4","note_reference":"","date":"2024-12-31","path":["ביאור 4 - רכוש קבוע","שיפורים במושכר","עלות","יתרה לגמר השנה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[285,472,48,19]},{"value":"(4432)","comment":"4","is_note":true,"note":"4","note_reference":"","date":"2024-12-31","path":["ביאור 4 - רכוש קבוע","סה״כ","עלות","גריעות במשך השנה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[208,475,54,18]},{"value":"268170","comment":"4","is_note":true,"note":"4","note_reference":"","date":"2023-12-31","path":["ביאור 4 - רכוש קבוע","סה״כ","עלות","יתרה לגמר השנה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[130,475,59,23]},{"value":"78534","comment":"4","is_note":true,"note":"4","note_reference":"","date":"2024-12-31","path":["ביאור 4 - רכוש קבוע","ריהוט וציוד","פחת שנצבר","יתרה לתחילת השנה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[437,518,42,18]},{"value":"83018","comment":"4","is_note":true,"note":"4","note_reference":"","date":"2024-12-31","path":["ביאור 4 - רכוש קבוע","מחשבים","פחת שנצבר","יתרה לתחילת השנה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[361,520,42,18]},{"value":"18664","comment":"4","is_note":true,"note":"4","note_reference":"","date":"2024-12-31","path":["ביאור 4 - רכוש קבוע","שיפורים במושכר","פחת שנצבר","יתרה לתחילת השנה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[292,522,41,18]},{"value":"180216","comment":"4","is_note":true,"note":"4","note_reference":"","date":"2024-12-31","path":["ביאור 4 - רכוש קבוע","סה״כ","פחת שנצבר","יתרה לתחילת השנה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[210,523,55,18]},{"value":"176075","comment":"4","is_note":true,"note":"4","note_reference":"","date":"2023-12-31","path":["ביאור 4 - רכוש קבוע","סה״כ","פחת שנצבר","יתרה לתחילת השנה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[133,523,64,18]},{"value":"3373","comment":"4","is_note":true,"note":"4","note_reference":"","date":"2024-12-31","path":["ביאור 4 - רכוש קבוע","ריהוט וציוד","פחת שנצבר","תוספות במשך השנה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[439,533,42,19]},{"value":"23672","comment":"4","is_note":true,"note":"4","note_reference":"","date":"2024-12-31","path":["ביאור 4 - רכוש קבוע","מחשבים","פחת שנצבר","תוספות במשך השנה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[361,536,44,18]},{"value":"4912","comment":"4","is_note":true,"note":"4","note_reference":"","date":"2024-12-31","path":["ביאור 4 - רכוש קבוע","שיפורים במושכר","פחת שנצבר","תוספות במשך השנה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[294,540,38,18]},{"value":"31957","comment":"4","is_note":true,"note":"4","note_reference":"","date":"2024-12-31","path":["ביאור 4 - רכוש קבוע","סה״כ","פחת שנצבר","תוספות במשך השנה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[218,540,47,18]},{"value":"31240","comment":"4","is_note":true,"note":"4","note_reference":"","date":"2023-12-31","path":["ביאור 4 - רכוש קבוע","סה״כ","פחת שנצבר","תוספות במשך השנה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[141,540,47,18]},{"value":"(2918)","comment":"4","is_note":true,"note":"4","note_reference":"","date":"2024-12-31","path":["ביאור 4 - רכוש קבוע","ריהוט וציוד","פחת שנצבר","גריעות במשך השנה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[438,548,44,20]},{"value":"","comment":"4","is_note":true,"note":"4","note_reference":"","date":"2024-12-31","path":["ביאור 4 - רכוש קבוע","ריהוט וציוד","פחת שנצבר","גריעות במשך השנה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[393,554,15,11]},{"value":"","comment":"4","is_note":true,"note":"4","note_reference":"","date":"2024-12-31","path":["ביאור 4 - רכוש קבוע","שיפורים במושכר","פחת שנצבר","גריעות במשך השנה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[321,554,15,11]},{"value":"(2918)","comment":"4","is_note":true,"note":"4","note_reference":"","date":"2024-12-31","path":["ביאור 4 - רכוש קבוע","סה״כ","פחת שנצבר","גריעות במשך השנה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[217,554,47,18]},{"value":"(27099)","comment":"4","is_note":true,"note":"4","note_reference":"","date":"2023-12-31","path":["ביאור 4 - רכוש קבוע","סה״כ","פחת שנצבר","גריעות במשך השנה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[138,558,47,18]},{"value":"78989","comment":"4","is_note":true,"note":"4","note_reference":"","date":"2024-12-31","path":["ביאור 4 - רכוש קבוע","ריהוט וציוד","פחת שנצבר","יתרה לגמר השנה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[439,573,42,18]},{"value":"106690","comment":"4","is_note":true,"note":"4","note_reference":"","date":"2024-12-31","path":["ביאור 4 - רכוש קבוע","מחשבים","פחת שנצבר","יתרה לגמר השנה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[357,575,47,19]},{"value":"23576","comment":"4","is_note":true,"note":"4","note_reference":"","date":"2024-12-31","path":["ביאור 4 - רכוש קבוע","שיפורים במושכר","פחת שנצבר","יתרה לגמר השנה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[289,578,45,18]},{"value":"209255","comment":"4","is_note":true,"note":"4","note_reference":"","date":"2024-12-31","path":["ביאור 4 - רכוש קבוע","סה״כ","פחת שנצבר","יתרה לגמר השנה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[210,578,53,16]},{"value":"180216","comment":"4","is_note":true,"note":"4","note_reference":"","date":"2023-12-31","path":["ביאור 4 - רכוש קבוע","סה״כ","פחת שנצבר","יתרה לגמר השנה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[140,580,47,18]},{"value":"13713","comment":"4","is_note":true,"note":"4","note_reference":"","date":"2024-12-31","path":["ביאור 4 - רכוש קבוע","ריהוט וציוד","יתרה מופחתת"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[436,608,47,17]},{"value":"21463","comment":"4","is_note":true,"note":"4","note_reference":"","date":"2024-12-31","path":["ביאור 4 - רכוש קבוע","מחשבים","יתרה מופחתת"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[363,607,42,20]},{"value":"25537","comment":"4","is_note":true,"note":"4","note_reference":"","date":"2024-12-31","path":["ביאור 4 - רכוש קבוע","שיפורים במושכר","יתרה מופחתת"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[291,610,43,18]},{"value":"60713","comment":"4","is_note":true,"note":"4","note_reference":"","date":"2024-12-31","path":["ביאור 4 - רכוש קבוע","סה״כ","יתרה מופחתת"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[217,610,47,18]},{"value":"87954","comment":"4","is_note":true,"note":"4","note_reference":"","date":"2023-12-31","path":["ביאור 4 - רכוש קבוע","סה״כ","יתרה מופחתת"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[142,613,47,18]},{"value":"1930880","comment":"5","is_note":true,"note":"5","note_reference":"","date":"2024-12-31","path":["ביאור 5 - הכנסות מתרומות","מצדדים קשורים"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[241,742,60,20]},{"value":"2200295","comment":"5","is_note":true,"note":"5","note_reference":"","date":"2023-12-31","path":["ביאור 5 - הכנסות מתרומות","מצדדים קשורים"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[160,744,65,19]},{"value":"197784","comment":"5","is_note":true,"note":"5","note_reference":"9","date":"2024-12-31","path":["ביאור 5 - הכנסות מתרומות","פרוייקט השפעה מקומית"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[250,760,59,18]},{"value":"808711","comment":"5","is_note":true,"note":"5","note_reference":"9","date":"2023-12-31","path":["ביאור 5 - הכנסות מתרומות","פרוייקט השפעה מקומית"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[168,764,59,18]},{"value":"844368","comment":"5","is_note":true,"note":"5","note_reference":"10","date":"2024-12-31","path":["ביאור 5 - הכנסות מתרומות","פרוייקט צלול ברשויות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[249,780,59,18]},{"value":"","comment":"5","is_note":true,"note":"5","note_reference":"10","date":"2024-12-31","path":["ביאור 5 - הכנסות מתרומות","פרוייקט צלול ברשויות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[215,780,12,14]},{"value":"1112712","comment":"5","is_note":true,"note":"5","note_reference":"","date":"2024-12-31","path":["ביאור 5 - הכנסות מתרומות","מאחרים"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[238,798,67,16]},{"value":"1101640","comment":"5","is_note":true,"note":"5","note_reference":"","date":"2023-12-31","path":["ביאור 5 - הכנסות מתרומות","מאחרים"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[161,797,65,20]},{"value":"4085744","comment":"5","is_note":true,"note":"5","note_reference":"","date":"2024-12-31","path":["ביאור 5 - הכנסות מתרומות","סה\"כ"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[241,831,65,21]},{"value":"4110646","comment":"5","is_note":true,"note":"5","note_reference":"","date":"2023-12-31","path":["ביאור 5 - הכנסות מתרומות","סה\"כ"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[159,832,68,20]}]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"צלול - עמותה לאיכות הסביבה (ע״ר)","page_num":"9","type":"notes","title":"ביאורים לדוחות הכספיים (המשך)"},"facts":[{"value":"16654","comment":"7","is_note":true,"note":"7","note_reference":"","date":"2024-12-31","path":["ביאור 7 - הוצאות הנהלה וכלליות - אחרות","שכר דירה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[215,348,42,18]},{"value":"16947","comment":"7","is_note":true,"note":"7","note_reference":"","date":"2023-12-31","path":["ביאור 7 - הוצאות הנהלה וכלליות - אחרות","שכר דירה"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[149,348,42,18]},{"value":"2656","comment":"7","is_note":true,"note":"7","note_reference":"","date":"2024-12-31","path":["ביאור 7 - הוצאות הנהלה וכלליות - אחרות","דואר וטלפון"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[217,365,42,18]},{"value":"3986","comment":"7","is_note":true,"note":"7","note_reference":"","date":"2023-12-31","path":["ביאור 7 - הוצאות הנהלה וכלליות - אחרות","דואר וטלפון"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[151,365,42,18]},{"value":"37824","comment":"7","is_note":true,"note":"7","note_reference":"","date":"2024-12-31","path":["ביאור 7 - הוצאות הנהלה וכלליות - אחרות","משרדיות וביטוח"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[214,384,42,18]},{"value":"42209","comment":"7","is_note":true,"note":"7","note_reference":"","date":"2023-12-31","path":["ביאור 7 - הוצאות הנהלה וכלליות - אחרות","משרדיות וביטוח"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[146,386,42,18]},{"value":"12643","comment":"7","is_note":true,"note":"7","note_reference":"","date":"2024-12-31","path":["ביאור 7 - הוצאות הנהלה וכלליות - אחרות","אחזקה ומיסים"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[215,401,42,18]},{"value":"12396","comment":"7","is_note":true,"note":"7","note_reference":"","date":"2023-12-31","path":["ביאור 7 - הוצאות הנהלה וכלליות - אחרות","אחזקה ומסים"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[149,403,42,18]},{"value":"4394","comment":"7","is_note":true,"note":"7","note_reference":"","date":"2024-12-31","path":["ביאור 7 - הוצאות הנהלה וכלליות - אחרות","פחת"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[218,418,42,18]},{"value":"4544","comment":"7","is_note":true,"note":"7","note_reference":"","date":"2023-12-31","path":["ביאור 7 - הוצאות הנהלה וכלליות - אחרות","פחת"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[151,421,42,18]},{"value":"21307","comment":"7","is_note":true,"note":"7","note_reference":"","date":"2024-12-31","path":["ביאור 7 - הוצאות הנהלה וכלליות - אחרות","שירותים מקצועים"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[215,437,42,18]},{"value":"29952","comment":"7","is_note":true,"note":"7","note_reference":"","date":"2023-12-31","path":["ביאור 7 - הוצאות הנהלה וכלליות - אחרות","שירותים מקצועים"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[149,438,42,18]},{"value":"21792","comment":"7","is_note":true,"note":"7","note_reference":"","date":"2024-12-31","path":["ביאור 7 - הוצאות הנהלה וכלליות - אחרות","טיסות ונסיעות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[213,456,45,18]},{"value":"21597","comment":"7","is_note":true,"note":"7","note_reference":"","date":"2023-12-31","path":["ביאור 7 - הוצאות הנהלה וכלליות - אחרות","טיסות ונסיעות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[148,456,42,18]},{"value":"27751","comment":"7","is_note":true,"note":"7","note_reference":"","date":"2024-12-31","path":["ביאור 7 - הוצאות הנהלה וכלליות - אחרות","אחרות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[210,475,47,18]},{"value":"27007","comment":"7","is_note":true,"note":"7","note_reference":"","date":"2023-12-31","path":["ביאור 7 - הוצאות הנהלה וכלליות - אחרות","אחרות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[146,476,45,15]},{"value":"145021","comment":"7","is_note":true,"note":"7","note_reference":"","date":"2024-12-31","path":["ביאור 7 - הוצאות הנהלה וכלליות - אחרות","סה\"כ"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[209,509,47,18]},{"value":"158638","comment":"7","is_note":true,"note":"7","note_reference":"","date":"2023-12-31","path":["ביאור 7 - הוצאות הנהלה וכלליות - אחרות","סה\"כ"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[141,510,51,18]},{"value":"85404","comment":"8","is_note":true,"note":"8","note_reference":"","date":"2024-12-31","path":["ביאור 8 - הוצאות צדדים קשורים","עלות הפעילויות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[215,623,42,18]},{"value":"80943","comment":"8","is_note":true,"note":"8","note_reference":"","date":"2023-12-31","path":["ביאור 8 - הוצאות צדדים קשורים","עלות הפעילויות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[148,623,42,18]},{"value":"27655","comment":"8","is_note":true,"note":"8","note_reference":"","date":"2024-12-31","path":["ביאור 8 - הוצאות צדדים קשורים","הוצאות הנהלה וכלליות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[214,646,42,18]},{"value":"20617","comment":"8","is_note":true,"note":"8","note_reference":"","date":"2023-12-31","path":["ביאור 8 - הוצאות צדדים קשורים","הוצאות הנהלה וכלליות"],"currency":"ILS","scale":1,"value_type":"amount","bbox":[149,646,42,18]}]}
You are a precise financial statement extraction system. Return only valid JSON that matches the required schema.
You are extracting financial-statement annotations from a single page image into the exact Pydantic schema `PageExtraction`. Return ONLY valid JSON. Do NOT return markdown, code fences, comments, prose, or extra keys. Top-level schema (exact keys only): { "meta": { "entity_name": "<string or null>", "page_num": "<string or null>", "type": "balance_sheet|income_statement|cash_flow|notes|contents_page|title|declaration|profits|other", "title": "<string or null>" }, "facts": [ { "bbox": { "x": <number>, "y": <number>, "w": <number>, "h": <number> }, "value": "<string>", "comment": "<string or null>", "is_note": <true|false>, "note": "<string or null>", "note_reference": "<string>", "date": "<string or null>", "path": ["<string>", "..."], "currency": "ILS|USD|EUR|GBP|null", "scale": 1|1000|1000000|null, "value_type": "amount|%|null" } ] } Type/validation rules (must match schema): 1. `meta` and `facts` are required. 2. `note_reference` is required string. Use "" when missing. 3. `path` is required list of strings (use [] when unknown, never null). 4. `is_note` must be boolean (never null and never "true"/"false" strings). 5. `date` must be `YYYY` or `YYYY-MM-DD` when provided. 6. `value` rules: - If the value is a percentage, include `%` (for example `12%`, `12.5%`). - If not a percentage, output only canonical numeric text: `Num`, `Num.Num`, `(Num)`, or `(Num.Num)`. - For non-`%` values remove commas, spaces, currency signs/codes, and use parentheses for negatives (never leading `-`). 7. Use JSON null literal for missing optional values (never "null" string). 8. Do not include any keys not listed above. Extraction rules: 1. Extract all visible numeric/table facts, including negatives in parentheses and totals. 2. If source is a dash placeholder (`-`, `—`, `–`), still extract the fact but set `value` to empty string `""`. 3. For non-`%` values, normalize `value` to canonical numeric shape only (`Num`, `Num.Num`, `(Num)`, `(Num.Num)`). 4. For `%` values, keep `%` in `value`. 5. `bbox` must tightly cover the value text only, in pixel coordinates of the original image. 6. `comment`: textual qualifier tied to the specific fact (for example `*without debt insurance`), else null. 7. `is_note`: true when the fact is itself inside a note section, else false. 8. `note`: use when this fact belongs to data presented inside a note section; else null. 9. `note_reference`: use when this fact points/references another note; else "". 10. `currency`: infer from page/header context (for example "שקלים חדשים" -> "ILS"), else null. 11. `scale`: 1 unless page/header indicates thousands or millions. 12. `value_type`: "amount" unless the fact is a percentage ("%"). 13. `date`: output only `YYYY` or `YYYY-MM-DD`. Convert dotted dates (`D.M.YYYY` / `DD.MM.YYYY`) to `YYYY-MM-DD` using day-first parsing. 14. `meta.type`: use "profits" for "דוחות על הפעילויות"; otherwise choose the best enum value. 15. No duplicate facts. Order `facts` top-to-bottom; within each row use right-to-left for Hebrew/RTL pages and left-to-right for English/LTR pages (fallback RTL if uncertain). 16. Output UTF-8 Hebrew directly (do not escape to unicode sequences). Path hierarchy rule: 1. Build `path` with horizontal-axis hierarchy first (row-side structure: group -> subgroup -> line item). 2. Then append vertical-axis hierarchy only when it adds business semantics not already represented by dedicated fields. 3. Do not encode period/currency/scale/value-format in `path` when already represented by `date`/`currency`/`scale`/`value_type`. 4. Keep labels exactly as shown. Do not invent levels.
{"meta":{"entity_name":"צלול - עמותה לאיכות הסביבה (ע״ר)","page_num":"10","type":"notes","title":"ביאורים לדוחות הכספיים (המשך)"},"facts":[]}