image
imagewidth (px)
812
812
system
stringclasses
1 value
instruction
stringclasses
1 value
text
stringclasses
10 values
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": [ { "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`. 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":"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": [ { "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`. 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": [ { "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`. 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":"745384","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024-12-31","path":["רכוש","רכוש שוטף","מזומנים ושווה מזומנים"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"851625","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["רכוש","רכוש שוטף","מזומנים ושווה מזומנים"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"322816","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024-12-31","path":["רכוש","רכוש שוטף","השקעות בניירות ערך"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"537962","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["רכוש","רכוש שוטף","השקעות בניירות ערך"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"6644","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024-12-31","path":["רכוש","רכוש שוטף","חייבים ויתרות חובה"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["רכוש","רכוש שוטף","חייבים ויתרות חובה"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"1074844","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024-12-31","path":["רכוש","רכוש שוטף"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"1389587","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["רכוש","רכוש שוטף"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"40006913","comment":null,"is_note":false,"note":null,"note_reference":"3","date":"2024-12-31","path":["רכוש","השקעות","פקדונות בבנקים"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"7016757","comment":null,"is_note":false,"note":null,"note_reference":"3","date":"2023-12-31","path":["רכוש","השקעות","פקדונות בבנקים"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"1642248","comment":null,"is_note":false,"note":null,"note_reference":"4","date":"2024-12-31","path":["רכוש","רכוש קבוע"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"810066","comment":null,"is_note":false,"note":null,"note_reference":"4","date":"2023-12-31","path":["רכוש","רכוש קבוע"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"42724005","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024-12-31","path":["רכוש"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"9216410","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["רכוש"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"43125","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024-12-31","path":["התחייבויות ונכסים נטו","התחייבויות שוטפות:","המחאות לפרעון"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"14250","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["התחייבויות ונכסים נטו","התחייבויות שוטפות:","המחאות לפרעון"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"137754","comment":null,"is_note":false,"note":null,"note_reference":"5","date":"2024-12-31","path":["התחייבויות ונכסים נטו","התחייבויות שוטפות:","זכאים ויתרות זכות"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"84159","comment":null,"is_note":false,"note":null,"note_reference":"5","date":"2023-12-31","path":["התחייבויות ונכסים נטו","התחייבויות שוטפות:","זכאים ויתרות זכות"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"6","date":"2024-12-31","path":["התחייבויות ונכסים נטו","התחייבויות שוטפות:","מקדמות על-חשבון מכירת מקרקעין"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"7864400","comment":null,"is_note":false,"note":null,"note_reference":"6","date":"2023-12-31","path":["התחייבויות ונכסים נטו","התחייבויות שוטפות:","מקדמות על-חשבון מכירת מקרקעין"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"180879","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024-12-31","path":["התחייבויות ונכסים נטו","התחייבויות שוטפות:"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"7962809","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["התחייבויות ונכסים נטו","התחייבויות שוטפות:"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"247368","comment":null,"is_note":false,"note":null,"note_reference":"7","date":"2024-12-31","path":["התחייבויות ונכסים נטו","התחייבויות לזמן ארוך -","בגין סיום יחסי עובד-מעביד"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"247368","comment":null,"is_note":false,"note":null,"note_reference":"7","date":"2023-12-31","path":["התחייבויות ונכסים נטו","התחייבויות לזמן ארוך -","בגין סיום יחסי עובד-מעביד"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"(1537213)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024-12-31","path":["התחייבויות ונכסים נטו","נכסים נטו:","שלא יועדו ע\"י מוסדות המלכ\"ר"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"(464404)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["התחייבויות ונכסים נטו","נכסים נטו:","שלא יועדו ע\"י מוסדות המלכ\"ר"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"42190723","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024-12-31","path":["התחייבויות ונכסים נטו","נכסים נטו:","שיועדו ע\"י מוסדות המלכ\"ר להשקעה ברכוש קבוע"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"660571","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["התחייבויות ונכסים נטו","נכסים נטו:","שיועדו ע\"י מוסדות המלכ\"ר להשקעה ברכוש קבוע"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"1642248","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024-12-31","path":["התחייבויות ונכסים נטו","נכסים נטו:","ששימשו לרכוש קבוע"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"810066","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["התחייבויות ונכסים נטו","נכסים נטו:","ששימשו לרכוש קבוע"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"42295758","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024-12-31","path":["התחייבויות ונכסים נטו","נכסים נטו:"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"1006233","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["התחייבויות ונכסים נטו","נכסים נטו:"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"42724005","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024-12-31","path":["התחייבויות ונכסים נטו"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"9216410","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["התחייבויות ונכסים נטו"],"currency":"ILS","scale":1,"value_type":"amount"}]}
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": [ { "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`. 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":"other","title":"דוחות על הפעילויות"},"facts":[{"value":"1182689","comment":null,"is_note":false,"note":null,"note_reference":"8","date":"2024-12-31","path":["מחזור הפעילויות:","הקצבות"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"1200704","comment":null,"is_note":false,"note":null,"note_reference":"8","date":"2023-12-31","path":["מחזור הפעילויות:","הקצבות"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"929884","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024-12-31","path":["מחזור הפעילויות:","שכר לימוד והשתתפויות"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"864227","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["מחזור הפעילויות:","שכר לימוד והשתתפויות"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"411371","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024-12-31","path":["מחזור הפעילויות:","תרומות"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"614831","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["מחזור הפעילויות:","תרומות"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"2523944","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024-12-31","path":["מחזור הפעילויות:"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"2679762","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["מחזור הפעילויות:"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"795690","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024-12-31","path":["עלות הפעילויות:","משכורות ותוספות סוציאליות"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"919976","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["עלות הפעילויות:","משכורות ותוספות סוציאליות"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"754895","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024-12-31","path":["עלות הפעילויות:","מלגות לאברכים"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"849868","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["עלות הפעילויות:","מלגות לאברכים"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"471840","comment":null,"is_note":false,"note":null,"note_reference":"9","date":"2024-12-31","path":["עלות הפעילויות:","כלכלת תלמידים"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"448860","comment":null,"is_note":false,"note":null,"note_reference":"9","date":"2023-12-31","path":["עלות הפעילויות:","כלכלת תלמידים"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"186727","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024-12-31","path":["עלות הפעילויות:","אחזקת מבנה"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"243092","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["עלות הפעילויות:","אחזקת מבנה"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"20755","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024-12-31","path":["עלות הפעילויות:","אירועים וכנסים חברתיים"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"22586","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["עלות הפעילויות:","אירועים וכנסים חברתיים"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"48392","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024-12-31","path":["עלות הפעילויות:","הסעות תלמידים"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"28663","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["עלות הפעילויות:","הסעות תלמידים"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"16030","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024-12-31","path":["עלות הפעילויות:","פחת מרכוש קבוע"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"17069","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["עלות הפעילויות:","פחת מרכוש קבוע"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"2294329","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024-12-31","path":["עלות הפעילויות:"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"2530114","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["עלות הפעילויות:"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"229615","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024-12-31","path":["הכנסות נטו מפעילויות"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"149648","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["הכנסות נטו מפעילויות"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"489126","comment":null,"is_note":false,"note":null,"note_reference":"10","date":"2024-12-31","path":["הוצאות הנהלה וכלליות"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"290228","comment":null,"is_note":false,"note":null,"note_reference":"10","date":"2023-12-31","path":["הוצאות הנהלה וכלליות"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"(259511)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024-12-31","path":[],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"(140580)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":[],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"18884","comment":null,"is_note":false,"note":null,"note_reference":"11","date":"2024-12-31","path":["הכנסות מימון, נטו"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"98807","comment":null,"is_note":false,"note":null,"note_reference":"11","date":"2023-12-31","path":["הכנסות מימון, נטו"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"(240627)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024-12-31","path":[],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"(41773)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":[],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024-12-31","path":["הוצאות אחרות, נטו"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"85099","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["הוצאות אחרות, נטו"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"(240627)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024-12-31","path":["הכנסות (הוצאות) נטו לשנה"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"43326","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["הכנסות (הוצאות) נטו לשנה"],"currency":"ILS","scale":1,"value_type":"amount"}]}
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": [ { "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`. 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":"cash_flow","title":"דוחות על תזרימי מזומנים"},"facts":[{"value":"(240627)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024-12-31","path":["תזרימי מזומנים מפעילות שוטפת","הכנסות (הוצאות) נטו לשנה"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"43326","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["תזרימי מזומנים מפעילות שוטפת","הכנסות (הוצאות) נטו לשנה"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"53905","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024-12-31","path":["תזרימי מזומנים מפעילות שוטפת","התאמות הדרושות כדי להציג את תזרימי המזומנים מפעילות שוטפת (ראה להלן)"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"(74279)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["תזרימי מזומנים מפעילות שוטפת","התאמות הדרושות כדי להציג את תזרימי המזומנים מפעילות שוטפת (ראה להלן)"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"(186722)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024-12-31","path":["תזרימי מזומנים מפעילות שוטפת"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"(30953)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["תזרימי מזומנים מפעילות שוטפת"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"253097","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024-12-31","path":["תזרימי מזומנים מפעילות השקעה","תמורה ממכירת ניירות ערך, נטו"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"327","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["תזרימי מזומנים מפעילות השקעה","תמורה ממכירת ניירות ערך, נטו"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"32667923","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024-12-31","path":["תזרימי מזומנים מפעילות השקעה","תמורה ממכירת מקרקעין"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"7864400","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["תזרימי מזומנים מפעילות השקעה","תמורה ממכירת מקרקעין"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"(31992327)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024-12-31","path":["תזרימי מזומנים מפעילות השקעה","השקעה בפיקדונות"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"(7016757)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["תזרימי מזומנים מפעילות השקעה","השקעה בפיקדונות"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"(848212)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024-12-31","path":["תזרימי מזומנים מפעילות השקעה","רכישת רכוש קבוע"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"(286449)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["תזרימי מזומנים מפעילות השקעה","רכישת רכוש קבוע"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"80481","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024-12-31","path":["תזרימי מזומנים מפעילות השקעה"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"561521","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["תזרימי מזומנים מפעילות השקעה"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"(106241)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024-12-31","path":["גידול (קיטון) במזומנים ושווה מזומנים","גידול (קיטון) במזומנים ושווה מזומנים"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"530568","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["גידול (קיטון) במזומנים ושווה מזומנים","גידול (קיטון) במזומנים ושווה מזומנים"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"851625","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024-12-31","path":["גידול (קיטון) במזומנים ושווה מזומנים","יתרת מזומנים ושווה מזומנים לתחילת השנה"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"321057","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["גידול (קיטון) במזומנים ושווה מזומנים","יתרת מזומנים ושווה מזומנים לתחילת השנה"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"745384","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024-12-31","path":["גידול (קיטון) במזומנים ושווה מזומנים","יתרת מזומנים ושווה מזומנים לסוף השנה"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"851625","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["גידול (קיטון) במזומנים ושווה מזומנים","יתרת מזומנים ושווה מזומנים לסוף השנה"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"16030","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024-12-31","path":["התאמות הדרושות כדי להציג את תזרימי המזומנים מפעילות שוטפת","הוצאות (הכנסות) שאינן כרוכות בתזרימי מזומנים","פחת מרכוש קבוע"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"17068","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["התאמות הדרושות כדי להציג את תזרימי המזומנים מפעילות שוטפת","הוצאות (הכנסות) שאינן כרוכות בתזרימי מזומנים","פחת מרכוש קבוע"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"(37951)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024-12-31","path":["התאמות הדרושות כדי להציג את תזרימי המזומנים מפעילות שוטפת","הוצאות (הכנסות) שאינן כרוכות בתזרימי מזומנים","רווח ממימוש והתאמת ערך ניירות ערך"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"(31369)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["התאמות הדרושות כדי להציג את תזרימי המזומנים מפעילות שוטפת","הוצאות (הכנסות) שאינן כרוכות בתזרימי מזומנים","רווח ממימוש והתאמת ערך ניירות ערך"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"(21921)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024-12-31","path":["התאמות הדרושות כדי להציג את תזרימי המזומנים מפעילות שוטפת","הוצאות (הכנסות) שאינן כרוכות בתזרימי מזומנים"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"(14301)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["התאמות הדרושות כדי להציג את תזרימי המזומנים מפעילות שוטפת","הוצאות (הכנסות) שאינן כרוכות בתזרימי מזומנים"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"(6644)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024-12-31","path":["התאמות הדרושות כדי להציג את תזרימי המזומנים מפעילות שוטפת","שינויים בסעיפי רכוש והתחייבויות","גידול בחייבים ויתרות חובה"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["התאמות הדרושות כדי להציג את תזרימי המזומנים מפעילות שוטפת","שינויים בסעיפי רכוש והתחייבויות","גידול בחייבים ויתרות חובה"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"82470","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024-12-31","path":["התאמות הדרושות כדי להציג את תזרימי המזומנים מפעילות שוטפת","שינויים בסעיפי רכוש והתחייבויות","גידול (קיטון) בזכאים ויתרות זכות"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"(59978)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["התאמות הדרושות כדי להציג את תזרימי המזומנים מפעילות שוטפת","שינויים בסעיפי רכוש והתחייבויות","גידול (קיטון) בזכאים ויתרות זכות"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"75826","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024-12-31","path":["התאמות הדרושות כדי להציג את תזרימי המזומנים מפעילות שוטפת","שינויים בסעיפי רכוש והתחייבויות"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"(59978)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["התאמות הדרושות כדי להציג את תזרימי המזומנים מפעילות שוטפת","שינויים בסעיפי רכוש והתחייבויות"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"53905","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024-12-31","path":["התאמות הדרושות כדי להציג את תזרימי המזומנים מפעילות שוטפת"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"(74279)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["התאמות הדרושות כדי להציג את תזרימי המזומנים מפעילות שוטפת"],"currency":"ILS","scale":1,"value_type":"amount"}]}
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": [ { "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`. 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":"(238349)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-01-01","path":["יתרה ליום 1 בינואר 2023","לשימוש לפעילויות שלא יועדו ע''י מוסדות המלכ''ר"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"660571","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-01-01","path":["יתרה ליום 1 בינואר 2023","שיועדו ע''י מוסדות המלכ''ר להשקעה ברכוש קבוע"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"540685","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-01-01","path":["יתרה ליום 1 בינואר 2023","ששימשו לרכוש קבוע"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"962907","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-01-01","path":["יתרה ליום 1 בינואר 2023","סה''כ"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"43326","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023","path":["שינויים במהלך שנת 2023:","הכנסות נטו לשנה","לשימוש לפעילויות שלא יועדו ע''י מוסדות המלכ''ר"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023","path":["שינויים במהלך שנת 2023:","הכנסות נטו לשנה","שיועדו ע''י מוסדות המלכ''ר להשקעה ברכוש קבוע"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023","path":["שינויים במהלך שנת 2023:","הכנסות נטו לשנה","ששימשו לרכוש קבוע"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"43326","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023","path":["שינויים במהלך שנת 2023:","הכנסות נטו לשנה","סה''כ"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"(286449)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023","path":["שינויים במהלך שנת 2023:","העברת סכומים לרכישת רכוש קבוע","לשימוש לפעילויות שלא יועדו ע''י מוסדות המלכ''ר"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023","path":["שינויים במהלך שנת 2023:","העברת סכומים לרכישת רכוש קבוע","שיועדו ע''י מוסדות המלכ''ר להשקעה ברכוש קבוע"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"286449","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023","path":["שינויים במהלך שנת 2023:","העברת סכומים לרכישת רכוש קבוע","ששימשו לרכוש קבוע"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023","path":["שינויים במהלך שנת 2023:","העברת סכומים לרכישת רכוש קבוע","סה''כ"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"17068","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023","path":["שינויים במהלך שנת 2023:","סכומים שיועדו לכיסוי הוצאות פחת","לשימוש לפעילויות שלא יועדו ע''י מוסדות המלכ''ר"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023","path":["שינויים במהלך שנת 2023:","סכומים שיועדו לכיסוי הוצאות פחת","שיועדו ע''י מוסדות המלכ''ר להשקעה ברכוש קבוע"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"(17068)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023","path":["שינויים במהלך שנת 2023:","סכומים שיועדו לכיסוי הוצאות פחת","ששימשו לרכוש קבוע"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023","path":["שינויים במהלך שנת 2023:","סכומים שיועדו לכיסוי הוצאות פחת","סה''כ"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"(464404)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["יתרה ליום 31 בדצמבר 2023","לשימוש לפעילויות שלא יועדו ע''י מוסדות המלכ''ר"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"660571","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["יתרה ליום 31 בדצמבר 2023","שיועדו ע''י מוסדות המלכ''ר להשקעה ברכוש קבוע"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"810066","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["יתרה ליום 31 בדצמבר 2023","ששימשו לרכוש קבוע"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"1006233","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2023-12-31","path":["יתרה ליום 31 בדצמבר 2023","סה''כ"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"(240627)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024","path":["שינויים במהלך שנת 2024:","הוצאות נטו לשנה","לשימוש לפעילויות שלא יועדו ע''י מוסדות המלכ''ר"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024","path":["שינויים במהלך שנת 2024:","הוצאות נטו לשנה","שיועדו ע''י מוסדות המלכ''ר להשקעה ברכוש קבוע"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024","path":["שינויים במהלך שנת 2024:","הוצאות נטו לשנה","ששימשו לרכוש קבוע"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"(240627)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024","path":["שינויים במהלך שנת 2024:","הוצאות נטו לשנה","סה''כ"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"באור 1ב.","date":"2024","path":["שינויים במהלך שנת 2024:","סכומים שהתקבלו ויועדו לרכישת רכוש קבוע (ראה באור 1ב.)","לשימוש לפעילויות שלא יועדו ע''י מוסדות המלכ''ר"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"40532323","comment":null,"is_note":false,"note":null,"note_reference":"באור 1ב.","date":"2024","path":["שינויים במהלך שנת 2024:","סכומים שהתקבלו ויועדו לרכישת רכוש קבוע (ראה באור 1ב.)","שיועדו ע''י מוסדות המלכ''ר להשקעה ברכוש קבוע"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"באור 1ב.","date":"2024","path":["שינויים במהלך שנת 2024:","סכומים שהתקבלו ויועדו לרכישת רכוש קבוע (ראה באור 1ב.)","ששימשו לרכוש קבוע"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"40532323","comment":null,"is_note":false,"note":null,"note_reference":"באור 1ב.","date":"2024","path":["שינויים במהלך שנת 2024:","סכומים שהתקבלו ויועדו לרכישת רכוש קבוע (ראה באור 1ב.)","סה''כ"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024","path":["שינויים במהלך שנת 2024:","הכנסות מימון שנצברו בפקדונות בבנק","לשימוש לפעילויות שלא יועדו ע''י מוסדות המלכ''ר"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"997829","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024","path":["שינויים במהלך שנת 2024:","הכנסות מימון שנצברו בפקדונות בבנק","שיועדו ע''י מוסדות המלכ''ר להשקעה ברכוש קבוע"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024","path":["שינויים במהלך שנת 2024:","הכנסות מימון שנצברו בפקדונות בבנק","ששימשו לרכוש קבוע"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"997829","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024","path":["שינויים במהלך שנת 2024:","הכנסות מימון שנצברו בפקדונות בבנק","סה''כ"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"(848212)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024","path":["שינויים במהלך שנת 2024:","העברת סכומים לרכישת רכוש קבוע","לשימוש לפעילויות שלא יועדו ע''י מוסדות המלכ''ר"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024","path":["שינויים במהלך שנת 2024:","העברת סכומים לרכישת רכוש קבוע","שיועדו ע''י מוסדות המלכ''ר להשקעה ברכוש קבוע"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"848212","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024","path":["שינויים במהלך שנת 2024:","העברת סכומים לרכישת רכוש קבוע","ששימשו לרכוש קבוע"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024","path":["שינויים במהלך שנת 2024:","העברת סכומים לרכישת רכוש קבוע","סה''כ"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"16030","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024","path":["שינויים במהלך שנת 2024:","סכומים שיועדו לכיסוי הוצאות פחת","לשימוש לפעילויות שלא יועדו ע''י מוסדות המלכ''ר"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024","path":["שינויים במהלך שנת 2024:","סכומים שיועדו לכיסוי הוצאות פחת","שיועדו ע''י מוסדות המלכ''ר להשקעה ברכוש קבוע"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"(16030)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024","path":["שינויים במהלך שנת 2024:","סכומים שיועדו לכיסוי הוצאות פחת","ששימשו לרכוש קבוע"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024","path":["שינויים במהלך שנת 2024:","סכומים שיועדו לכיסוי הוצאות פחת","סה''כ"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"(1537213)","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024-12-31","path":["יתרה ליום 31 בדצמבר 2024","לשימוש לפעילויות שלא יועדו ע''י מוסדות המלכ''ר"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"42190723","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024-12-31","path":["יתרה ליום 31 בדצמבר 2024","שיועדו ע''י מוסדות המלכ''ר להשקעה ברכוש קבוע"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"1642248","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024-12-31","path":["יתרה ליום 31 בדצמבר 2024","ששימשו לרכוש קבוע"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"42295758","comment":null,"is_note":false,"note":null,"note_reference":"","date":"2024-12-31","path":["יתרה ליום 31 בדצמבר 2024","סה''כ"],"currency":"ILS","scale":1,"value_type":"amount"}]}
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": [ { "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`. 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":"4","comment":"2","is_note":true,"note":"2","note_reference":"","date":null,"path":["2. עיקרי המדיניות החשבונאית","ד. רכוש קבוע","(2) פחת מהרכוש הקבוע מחושב בשיטת הקו הישר בשיעורים השנתיים הבאים","מבנה"],"currency":null,"scale":null,"value_type":"%"},{"value":"","comment":"2","is_note":true,"note":"2","note_reference":"7-10","date":null,"path":["2. עיקרי המדיניות החשבונאית","ד. רכוש קבוע","(2) פחת מהרכוש הקבוע מחושב בשיטת הקו הישר בשיעורים השנתיים הבאים","ריהוט וציוד"],"currency":null,"scale":null,"value_type":"%"}]}
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": [ { "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`. 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":"1299782","comment":"4","is_note":true,"note":"4","note_reference":"","date":"2024-12-31","path":["4. רכוש קבוע","א. הרכב","מבנה","עלות"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"1214744","comment":"4","is_note":true,"note":"4","note_reference":"","date":"2024-12-31","path":["4. רכוש קבוע","א. הרכב","מבנה","פחת שנצבר"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"85038","comment":"4","is_note":true,"note":"4","note_reference":"","date":"2024-12-31","path":["4. רכוש קבוע","א. הרכב","מבנה","עלות מופחתת"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"86974","comment":"4","is_note":true,"note":"4","note_reference":"","date":"2023-12-31","path":["4. רכוש קבוע","א. הרכב","מבנה","עלות מופחתת"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"475416","comment":"4","is_note":true,"note":"4","note_reference":"","date":"2024-12-31","path":["4. רכוש קבוע","א. הרכב","ריהוט וציוד","עלות"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"276813","comment":"4","is_note":true,"note":"4","note_reference":"","date":"2024-12-31","path":["4. רכוש קבוע","א. הרכב","ריהוט וציוד","פחת שנצבר"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"198603","comment":"4","is_note":true,"note":"4","note_reference":"","date":"2024-12-31","path":["4. רכוש קבוע","א. הרכב","ריהוט וציוד","עלות מופחתת"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"140060","comment":"4","is_note":true,"note":"4","note_reference":"","date":"2023-12-31","path":["4. רכוש קבוע","א. הרכב","ריהוט וציוד","עלות מופחתת"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"1775198","comment":"4","is_note":true,"note":"4","note_reference":"","date":"2024-12-31","path":["4. רכוש קבוע","א. הרכב","סה\"כ","עלות"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"1491557","comment":"4","is_note":true,"note":"4","note_reference":"","date":"2024-12-31","path":["4. רכוש קבוע","א. הרכב","סה\"כ","פחת שנצבר"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"283641","comment":"4","is_note":true,"note":"4","note_reference":"","date":"2024-12-31","path":["4. רכוש קבוע","א. הרכב","סה\"כ","עלות מופחתת"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"227034","comment":"4","is_note":true,"note":"4","note_reference":"","date":"2023-12-31","path":["4. רכוש קבוע","א. הרכב","סה\"כ","עלות מופחתת"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"1358607","comment":"4","is_note":true,"note":"4","note_reference":"ב. להלן","date":"2024-12-31","path":["4. רכוש קבוע","א. הרכב","תשלומים על-חשבון מבנה בתכנון (ב. להלן)","עלות מופחתת"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"583032","comment":"4","is_note":true,"note":"4","note_reference":"ב. להלן","date":"2023-12-31","path":["4. רכוש קבוע","א. הרכב","תשלומים על-חשבון מבנה בתכנון (ב. להלן)","עלות מופחתת"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"1642248","comment":"4","is_note":true,"note":"4","note_reference":"","date":"2024-12-31","path":["4. רכוש קבוע","א. הרכב","סה\"כ רכוש קבוע","עלות מופחתת"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"810066","comment":"4","is_note":true,"note":"4","note_reference":"","date":"2023-12-31","path":["4. רכוש קבוע","א. הרכב","סה\"כ רכוש קבוע","עלות מופחתת"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"61907","comment":"5","is_note":true,"note":"5","note_reference":"","date":"2024-12-31","path":["5. זכאים ויתרות זכות","הרכב :","ספקים ונותני שירותים"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"40447","comment":"5","is_note":true,"note":"5","note_reference":"","date":"2023-12-31","path":["5. זכאים ויתרות זכות","הרכב :","ספקים ונותני שירותים"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"25000","comment":"5","is_note":true,"note":"5","note_reference":"","date":"2024-12-31","path":["5. זכאים ויתרות זכות","הרכב :","בעלי מניות"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"","comment":"5","is_note":true,"note":"5","note_reference":"","date":"2023-12-31","path":["5. זכאים ויתרות זכות","הרכב :","בעלי מניות"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"50847","comment":"5","is_note":true,"note":"5","note_reference":"","date":"2024-12-31","path":["5. זכאים ויתרות זכות","הרכב :","שכר ונלוות לשלם"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"43712","comment":"5","is_note":true,"note":"5","note_reference":"","date":"2023-12-31","path":["5. זכאים ויתרות זכות","הרכב :","שכר ונלוות לשלם"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"137754","comment":"5","is_note":true,"note":"5","note_reference":"","date":"2024-12-31","path":["5. זכאים ויתרות זכות","הרכב :","סה\"כ"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"84159","comment":"5","is_note":true,"note":"5","note_reference":"","date":"2023-12-31","path":["5. זכאים ויתרות זכות","הרכב :","סה\"כ"],"currency":"ILS","scale":1,"value_type":"amount"}]}
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": [ { "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`. 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":"990027","comment":"8","is_note":true,"note":"8","note_reference":"","date":"2024-12-31","path":["8. הקצבות ותמיכות","הרכב","ממשרד החינוך"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"973336","comment":"8","is_note":true,"note":"8","note_reference":"","date":"2023-12-31","path":["8. הקצבות ותמיכות","הרכב","ממשרד החינוך"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"192662","comment":"8","is_note":true,"note":"8","note_reference":"","date":"2024-12-31","path":["8. הקצבות ותמיכות","הרכב","ממשרד החינוך - מוסדות דת"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"227368","comment":"8","is_note":true,"note":"8","note_reference":"","date":"2023-12-31","path":["8. הקצבות ותמיכות","הרכב","ממשרד החינוך - מוסדות דת"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"1182689","comment":"8","is_note":true,"note":"8","note_reference":"","date":"2024-12-31","path":["8. הקצבות ותמיכות","הרכב"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"1200704","comment":"8","is_note":true,"note":"8","note_reference":"","date":"2023-12-31","path":["8. הקצבות ותמיכות","הרכב"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"81990","comment":"9","is_note":true,"note":"9","note_reference":"","date":"2024-12-31","path":["9. כלכלת תלמידים","הרכב","משכורות ונלוות לעובדי מטבח"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"81529","comment":"9","is_note":true,"note":"9","note_reference":"","date":"2023-12-31","path":["9. כלכלת תלמידים","הרכב","משכורות ונלוות לעובדי מטבח"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"389850","comment":"9","is_note":true,"note":"9","note_reference":"","date":"2024-12-31","path":["9. כלכלת תלמידים","הרכב","קניות מזון וכלי מטבח"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"367331","comment":"9","is_note":true,"note":"9","note_reference":"","date":"2023-12-31","path":["9. כלכלת תלמידים","הרכב","קניות מזון וכלי מטבח"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"471840","comment":"9","is_note":true,"note":"9","note_reference":"","date":"2024-12-31","path":["9. כלכלת תלמידים","הרכב"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"448860","comment":"9","is_note":true,"note":"9","note_reference":"","date":"2023-12-31","path":["9. כלכלת תלמידים","הרכב"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"382675","comment":"10","is_note":true,"note":"10","note_reference":"","date":"2024-12-31","path":["10. הוצאות הנהלה וכלליות","הרכב","משכורות ונלוות"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"217349","comment":"10","is_note":true,"note":"10","note_reference":"","date":"2023-12-31","path":["10. הוצאות הנהלה וכלליות","הרכב","משכורות ונלוות"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"80212","comment":"10","is_note":true,"note":"10","note_reference":"","date":"2024-12-31","path":["10. הוצאות הנהלה וכלליות","הרכב","שכר מקצועי"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"51728","comment":"10","is_note":true,"note":"10","note_reference":"","date":"2023-12-31","path":["10. הוצאות הנהלה וכלליות","הרכב","שכר מקצועי"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"7093","comment":"10","is_note":true,"note":"10","note_reference":"","date":"2024-12-31","path":["10. הוצאות הנהלה וכלליות","הרכב","טלפון ותקשורת"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"6533","comment":"10","is_note":true,"note":"10","note_reference":"","date":"2023-12-31","path":["10. הוצאות הנהלה וכלליות","הרכב","טלפון ותקשורת"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"16484","comment":"10","is_note":true,"note":"10","note_reference":"","date":"2024-12-31","path":["10. הוצאות הנהלה וכלליות","הרכב","משרדיות ונסיעות"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"12203","comment":"10","is_note":true,"note":"10","note_reference":"","date":"2023-12-31","path":["10. הוצאות הנהלה וכלליות","הרכב","משרדיות ונסיעות"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"2662","comment":"10","is_note":true,"note":"10","note_reference":"","date":"2024-12-31","path":["10. הוצאות הנהלה וכלליות","הרכב","אגרות"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"2415","comment":"10","is_note":true,"note":"10","note_reference":"","date":"2023-12-31","path":["10. הוצאות הנהלה וכלליות","הרכב","אגרות"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"489126","comment":"10","is_note":true,"note":"10","note_reference":"","date":"2024-12-31","path":["10. הוצאות הנהלה וכלליות","הרכב"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"290228","comment":"10","is_note":true,"note":"10","note_reference":"","date":"2023-12-31","path":["10. הוצאות הנהלה וכלליות","הרכב"],"currency":"ILS","scale":1,"value_type":"amount"}]}
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": [ { "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`. 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":[{"value":"","comment":"11","is_note":true,"note":"11","note_reference":"","date":"2022-12-31","path":["הכנסות מימון, נטו","רבית מפקדונות בבנק"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"84155","comment":"11","is_note":true,"note":"11","note_reference":"","date":"2023-12-31","path":["הכנסות מימון, נטו","רבית מפקדונות בבנק"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"37951","comment":"11","is_note":true,"note":"11","note_reference":"","date":"2022-12-31","path":["הכנסות מימון, נטו","רווח ממימוש והתאמת ערך ניירות ערך"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"31369","comment":"11","is_note":true,"note":"11","note_reference":"","date":"2023-12-31","path":["הכנסות מימון, נטו","רווח ממימוש והתאמת ערך ניירות ערך"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"(19067)","comment":"11","is_note":true,"note":"11","note_reference":"","date":"2022-12-31","path":["הכנסות מימון, נטו","ריבית ועמלות בנק"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"(16717)","comment":"11","is_note":true,"note":"11","note_reference":"","date":"2023-12-31","path":["הכנסות מימון, נטו","ריבית ועמלות בנק"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"18884","comment":"11","is_note":true,"note":"11","note_reference":"","date":"2022-12-31","path":["הכנסות מימון, נטו"],"currency":"ILS","scale":1,"value_type":"amount"},{"value":"98807","comment":"11","is_note":true,"note":"11","note_reference":"","date":"2023-12-31","path":["הכנסות מימון, נטו"],"currency":"ILS","scale":1,"value_type":"amount"}]}