conversations
listlengths
2
2
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/estatement bca rahmat_page-0007.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 45,\n 92,\n 232,\n 152\n ],\n \"category\": \"Page-header\",\n \"text\": \"BCA\"\n },\n {\n \"bbox\": [\n 434,\n 114,\n 800,\n 146\n ],\n \"category\": \"Section-header\",\n \"text\": \"REKENING TAHAPAN\"\n },\n {\n \"bbox\": [\n 61,\n 174,\n 194,\n 189\n ],\n \"category\": \"Text\",\n \"text\": \"KCP UJUNG BERUNG\"\n },\n {\n \"bbox\": [\n 677,\n 202,\n 1016,\n 222\n ],\n \"category\": \"Text\",\n \"text\": \"NO. REKENING : 2831227046\"\n },\n {\n \"bbox\": [\n 677,\n 233,\n 956,\n 252\n ],\n \"category\": \"Text\",\n \"text\": \"HALAMAN : 7/8\"\n },\n {\n \"bbox\": [\n 59,\n 200,\n 303,\n 344\n ],\n \"category\": \"Text\",\n \"text\": \"RAHMAT HIDAYAT\\nCIBIRU\\nPALASARI RT02 RW11\\nKOMP VIJAYAKUSUMAH A3-C2\\nBANDUNG 40614\\nINDONESIA\"\n },\n {\n \"bbox\": [\n 677,\n 263,\n 1063,\n 282\n ],\n \"category\": \"Text\",\n \"text\": \"PERIODE : NOVEMBER 2020\"\n },\n {\n \"bbox\": [\n 677,\n 293,\n 948,\n 313\n ],\n \"category\": \"Text\",\n \"text\": \"MATA UANG : IDR\"\n },\n {\n \"bbox\": [\n 50,\n 381,\n 118,\n 397\n ],\n \"category\": \"Text\",\n \"text\": \"CATATAN:\"\n },\n {\n \"bbox\": [\n 640,\n 405,\n 1185,\n 444\n ],\n \"category\": \"List-item\",\n \"text\": \"* BCA berhak setiap saat melakukan koreksi apabila ada kesalahan pada Laporan Mutasi Rekening.\"\n },\n {\n \"bbox\": [\n 54,\n 405,\n 596,\n 463\n ],\n \"category\": \"List-item\",\n \"text\": \"* Apabila nasabah tidak melakukan sanggahan atas Laporan Mutasi Rekening ini sampai dengan akhir bulan berikutnya, nasabah dianggap telah menyetujui segala data yang tercantum pada Laporan Mutasi Rekening ini.\"\n },\n {\n \"bbox\": [\n 42,\n 484,\n 1195,\n 1532\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>TANGGAL</th><th>KETERANGAN</th><th>CBG</th><th>MUTASI</th><th>SALDO</th></tr></thead><tbody><tr><td>25/11</td><td>TRSF E-BANKING DB 25/11 /95031/00000 SURDUK SUMEDANG FIRMAN SUHUD ARIFI</td><td></td><td>500,000.00 DB</td><td>6,862,910.20</td></tr><tr><td>25/11</td><td>TARIKAN ATM 25/11</td><td></td><td>700,000.00 DB</td><td>6,162,910.20</td></tr><tr><td>26/11</td><td>TRSF E-BANKING DB 26/11 /95031/00000 OPS CIANJUR OSIE FANINA</td><td></td><td>1,000,000.00 DB</td><td></td></tr><tr><td>26/11</td><td>TRSF E-BANKING CR 26/11 /95031/00000 OSIE FANINA</td><td></td><td>1,000,000.00</td><td>6,162,910.20</td></tr><tr><td>27/11</td><td>TRSF E-BANKING CR TANGGAL :26/11 26/11 /95031/00000 UNTUNG MULYONO</td><td></td><td>4,500,000.00</td><td></td></tr><tr><td>27/11</td><td>TRSF E-BANKING DB TANGGAL :26/11 26/11 /95031/00000 ERWIN NURHIDAYAT</td><td></td><td>500,000.00 DB</td><td></td></tr><tr><td>27/11</td><td>TRSF E-BANKING DB TANGGAL :26/11 26/11 /95031/00000 UANG JAGA JAJAT APRIATNA</td><td></td><td>50,000.00 DB</td><td></td></tr><tr><td>27/11</td><td>TRSF E-BANKING DB TANGGAL :26/11 26/11 /95031/00000 ALI SYAEFUDIN</td><td></td><td>150,000.00 DB</td><td></td></tr><tr><td>27/11</td><td>SWITCHING DB TANGGAL :26/11 TRANSFER KE 009 SDR RAHMAT HIDAYA /M-BCA</td><td></td><td>3,500,000.00 DB</td><td></td></tr><tr><td>27/11</td><td>SWITCHING DB TANGGAL :26/11 TRANSFER KE 009 SDR RAHMAT HIDAYA /M-BCA</td><td></td><td>6,500.00 DB</td><td></td></tr><tr><td>27/11</td><td>SWITCHING DB TRANSFER KE 009 SDR MOCH HAIKAL HI /M-BCA</td><td></td><td>250,000.00 DB</td><td></td></tr><tr><td>27/11</td><td>SWITCHING DB TRANSFER KE 009 SDR MOCH HAIKAL HI /M-BCA</td><td></td><td>6,500.00 DB</td><td></td></tr><tr><td>27/11</td><td>TRSF E-BANKING DB 27/11 /95031/00000 OPS DISDIK KOTA CI REBON WAHYUDI LAELI</td><td></td><td>200,000.00 DB</td><td></td></tr><tr><td>27/11</td><td>TRSF E-BANKING DB 27/11 /95031/00000 OPS SURDUK KOTA CI REBON WAHYUDI LAELI</td><td></td><td>200,000.00 DB</td><td>5,799,910.20</td></tr><tr><td>30/11</td><td>TRSF E-BANKING CR TANGGAL :28/11 28/11 /95031/00000 PA RAHMAT NITA NOVRIANY CHAN</td><td></td><td>700,000.00</td><td></td></tr><tr><td>30/11</td><td>SWITCHING DB TANGGAL :28/11 TRANSFER KE 009 SDR RAHMAT HIDAYA /M-BCA</td><td></td><td>700,000.00 DB</td><td></td></tr><tr><td>30/11</td><td>SWITCHING DB TANGGAL :28/11 TRANSFER KE 009 SDR RAHMAT HIDAYA /M-BCA</td><td></td><td>6,500.00 DB</td><td></td></tr><tr><td>30/11</td><td>TRSF E-BANKING DB 2911/FTFVA/WS95031</td><td></td><td>22,000.00 DB</td><td>5,771,410.20</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 869,\n 1553,\n 1162,\n 1575\n ],\n \"category\": \"Text\",\n \"text\": \"Bersambung ke Halaman berikut\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/BTN A Sarwono Suhar Kunn_page-0002.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 987,\n 62,\n 1103,\n 130\n ],\n \"category\": \"Page-header\",\n \"text\": \"btñ\"\n },\n {\n \"bbox\": [\n 60,\n 69,\n 315,\n 124\n ],\n \"category\": \"Page-header\",\n \"text\": \"BUMN UNTUK INDONESIA\"\n },\n {\n \"bbox\": [\n 70,\n 176,\n 1168,\n 375\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><td>Tgl & Waktu<br/>Date & Time</td><td>Jenis Transaksi<br/>Transaction Type</td><td>Debit (IDR)<br/>Debit (IDR)</td><td>Kredit (IDR)<br/>Credit (IDR)</td><td>Saldo(IDR)<br/>Balance (IDR)</td></tr></thead><tbody><tr><td>Saldo akhir<br/>Ending Balance</td><td></td><td></td><td></td><td>1.669.587,00</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 67,\n 1553,\n 547,\n 1637\n ],\n \"category\": \"Text\",\n \"text\": \"Karena Hidup Gak Cuma\\nTentang Hari Ini\"\n },\n {\n \"bbox\": [\n 1179,\n 1622,\n 1196,\n 1646\n ],\n \"category\": \"Page-footer\",\n \"text\": \"2\"\n },\n {\n \"bbox\": [\n 343,\n 1702,\n 896,\n 1730\n ],\n \"category\": \"Page-footer\",\n \"text\": \"© PT Bank Tabungan Negara (Persero) TBK\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/REKENING KORAN BRI JANUARI 2023_page-0016.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 988,\n 63,\n 1345,\n 86\n ],\n \"category\": \"Page-header\",\n \"text\": \"LAPORAN TRANSAKSI FINANSIAL\"\n },\n {\n \"bbox\": [\n 76,\n 46,\n 356,\n 143\n ],\n \"category\": \"Page-header\",\n \"text\": \"BANK BRI\\nMelayani Dengan Setulus Hati\"\n },\n {\n \"bbox\": [\n 1211,\n 106,\n 1335,\n 125\n ],\n \"category\": \"Page-header\",\n \"text\": \"Halaman 16 dari\"\n },\n {\n \"bbox\": [\n 1317,\n 128,\n 1337,\n 143\n ],\n \"category\": \"Page-header\",\n \"text\": \"19\"\n },\n {\n \"bbox\": [\n 64,\n 179,\n 1328,\n 1589\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><td>Tanggal Transaksi</td><td>Uraian Transaksi</td><td>Teller</td><td>Debet</td><td>Kredit</td><td>Saldo</td></tr></thead><tbody><tr><td>24/01/23 09:52:12</td><td>BRIVA1269710233721030NBMBIKN-Asharina Au BRIVA 1269710233721030NBMBIKN-Asharina ESB:NBMB:0200200P:501588702158</td><td>8888602</td><td>260,499.00</td><td>0.00</td><td>76,272.00</td></tr><tr><td>24/01/23 11:59:04</td><td>BRIVA1269710233721030NBMBIKN-Asharina Au BRIVA 1269710233721030NBMBIKN-Asharina ESB:NBMB:0200200P:501618393420</td><td>8888494</td><td>51,500.00</td><td>0.00</td><td>24,772.00</td></tr><tr><td>25/01/23 10:39:58</td><td>BFST007701002482300MULTI KARYA :BMRIIDJA 20230125BMRIIDJA010O9932333949 ESB:BFST:0008N:20230125BRINIDJA110498252</td><td>8888610</td><td>0.00</td><td>700,000.00</td><td>724,772.00</td></tr><tr><td>25/01/23 10:44:17</td><td>NBMB PT MULTI KARYA TO DARMA SANJAYA ESB:NBMB:0001500F:501845011980</td><td>8888160</td><td>588,100.00</td><td>0.00</td><td>136,672.00</td></tr><tr><td>25/01/23 10:45:29</td><td>NBMB PT MULTI KARYA TO DIDIK SETIAWAN ESB:NBMB:0001500F:501845343509</td><td>8888404</td><td>50,000.00</td><td>0.00</td><td>86,672.00</td></tr><tr><td>25/01/23 12:08:55</td><td>BRIVA1269710233721030NBMBIKN-Asharina Au BRIVA 1269710233721030NBMBIKN-Asharina ESB:NBMB:0200200P:501868351863</td><td>8888255</td><td>45,000.00</td><td>0.00</td><td>41,672.00</td></tr><tr><td>25/01/23 14:10:37</td><td>BFST007701002482300MULTI KARYA :BMRIIDJA 20230125BMRIIDJA010O9932341490 ESB:BFST:0008N:20230125BRINIDJA110499109</td><td>8888669</td><td>0.00</td><td>5,000,000.00</td><td>5,041,672.00</td></tr><tr><td>25/01/23 14:42:57</td><td>BFST007701002482300MULTI KARYA :BMRIIDJA 20230125BMRIIDJA010O9932342961 ESB:BFST:0008N:20230125BRINIDJA110499229</td><td>8888657</td><td>0.00</td><td>33,230,225.00</td><td>38,271,897.00</td></tr><tr><td>25/01/23 14:45:09</td><td>BRIVA698995432200721NBMBJOHANES TRI HART BRIVA 698995432200721NBMBJOHANES TRI H ESB:NBMB:0200200P:501909327141</td><td>8888450</td><td>33,230,225.00</td><td>0.00</td><td>5,041,672.00</td></tr><tr><td>25/01/23 14:48:09</td><td>NBMB PT MULTI KARYA TO RUSDI RADI ESB:NBMB:0001500F:501910087491</td><td>8888146</td><td>1,000,000.00</td><td>0.00</td><td>4,041,672.00</td></tr><tr><td>25/01/23 14:50:13</td><td>NBMB PT MULTI KARYA TO AZMI ALBAEHAQI ESB:NBMB:0001500F:501910609724</td><td>8888489</td><td>1,000,000.00</td><td>0.00</td><td>3,041,672.00</td></tr><tr><td>25/01/23 16:17:52</td><td>NBMB PT MULTI KARYA TO KATHERINA RISMANA ESB:NBMB:0001500F:501932755360</td><td>8888114</td><td>200,000.00</td><td>0.00</td><td>2,841,672.00</td></tr><tr><td>25/01/23 16:18:26</td><td>NBMB PT MULTI KARYA TO FLIPTECH LENTERA ESB:NBMB:0001500F:501932900425</td><td>8888265</td><td>1,001,852.00</td><td>0.00</td><td>1,839,820.00</td></tr><tr><td>25/01/23 23:59:59</td><td>Bunga Rekening</td><td></td><td>0.00</td><td>5,364.00</td><td>1,845,184.00</td></tr><tr><td>25/01/23 23:59:59</td><td>Pajak</td><td></td><td>1,073.00</td><td>0.00</td><td>1,844,111.00</td></tr><tr><td>25/01/23 23:59:59</td><td>Biaya Bulanan ATM</td><td></td><td>1,500.00</td><td>0.00</td><td>1,842,611.00</td></tr><tr><td>26/01/23 08:04:55</td><td>NBMB PT MULTI KARYA TO SAMINO ESB:NBMB:0001500F:502069579420</td><td>8888258</td><td>1,000,000.00</td><td>0.00</td><td>842,611.00</td></tr><tr><td>26/01/23 08:25:01</td><td>NBMB PT MULTI KARYA TO ABAS BUDIONO ESB:NBMB:0001500F:502073330946</td><td>8888200</td><td>500,000.00</td><td>0.00</td><td>342,611.00</td></tr><tr><td>26/01/23 10:17:04</td><td>BFST007701002482300MULTI KARYA :BMRIIDJA 20230126BMRIIDJA010O9932354841 ESB:BFST:0008N:20230126BRINIDJA110501736</td><td>8888620</td><td>0.00</td><td>5,000,000.00</td><td>5,342,611.00</td></tr><tr><td>26/01/23 10:24:21</td><td>NBMB PT MULTI KARYA TO TRI HATMOKO ESB:NBMB:0001500F:502099709019</td><td>8888383</td><td>500,000.00</td><td>0.00</td><td>4,842,611.00</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 1156,\n 1648,\n 1365,\n 1710\n ],\n \"category\": \"Page-footer\",\n \"text\": \"02/10/2023 10:16:16 AM\\n00329563\\nAlpita Mah\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/Mandiri Widi rahayu_page-0003.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 1077,\n 30,\n 1339,\n 111\n ],\n \"category\": \"Page-header\",\n \"text\": \"mandiri\"\n },\n {\n \"bbox\": [\n 82,\n 156,\n 312,\n 182\n ],\n \"category\": \"Section-header\",\n \"text\": \"## Tabungan / Savings\"\n },\n {\n \"bbox\": [\n 71,\n 188,\n 1343,\n 1383\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>No. Rekening<br>Account Number</th><th>Nama Produk<br>Product Name</th><th>Cabang<br>Branch</th><th>Periode<br>Period</th><th>Valuta<br>Currency</th><th>Saldo<br>Balance</th></tr></thead><tbody><tr><td>132-00-2430647-5</td><td>MANDIRI TABUNGAN<br>NOW</td><td>13275 - KCP MMU Bandung<br>Batujajar</td><td>1/09/21 s/d<br>30/09/21</td><td>Indonesian<br>Rupiah<br>(IDR)</td><td>192,040.00</td></tr></tbody></table><table><tbody><tr><td>01/09</td><td></td><td>Saldo Awal</td><td></td><td>10,000.00</td></tr><tr><td>10/09</td><td>10/09</td><td>-</td><td>400,000.00</td><td>410,000.00</td></tr><tr><td>10/09</td><td>10/09</td><td>-UBP60308950801FFFFFF89508895355269051</td><td>400,000.00 D</td><td>10,000.00</td></tr><tr><td>25/09</td><td>25/09</td><td>ATMB trf Credt-</td><td>752,000.00</td><td>762,000.00</td></tr><tr><td>25/09</td><td>25/09</td><td>-</td><td>2,500.00 D</td><td>759,500.00</td></tr><tr><td>25/09</td><td>25/09</td><td>PRMA SA CSH WD-14655 /161 /PRM-14655</td><td>700,000.00 D</td><td>59,500.00</td></tr><tr><td>25/09</td><td>25/09</td><td>PRMA SA CSH WD-14655 /161 /PRM-14655</td><td>7,500.00 D</td><td>52,000.00</td></tr><tr><td>25/09</td><td>25/09</td><td>ATMB trf Credt-</td><td>267,000.00</td><td>319,000.00</td></tr><tr><td>25/09</td><td>25/09</td><td>-UBP60308950801FFFFFF89508895355269051</td><td>309,000.00 D</td><td>10,000.00</td></tr><tr><td>27/09</td><td>27/09</td><td>MCM InhouseTrf-SHOPEE_108000803 A163270786044710310</td><td>113,856.00</td><td>123,856.00</td></tr><tr><td>27/09</td><td>27/09</td><td>-UBP60308950801FFFFFF89508895355269051</td><td>113,856.00 D</td><td>10,000.00</td></tr><tr><td>28/09</td><td>28/09</td><td>MCM InhouseTrf-Bantu SPP</td><td>2,000,000.00</td><td>2,010,000.00</td></tr><tr><td>28/09</td><td>28/09</td><td>MCM InhouseTrf-</td><td>2,000,000.00 D</td><td>10,000.00</td></tr><tr><td>29/09</td><td>29/09</td><td>MCM InhouseTrf-</td><td>200,000.00</td><td>210,000.00</td></tr><tr><td>29/09</td><td>29/09</td><td>-UBP60308950801FFFFFF89508895355269051</td><td>200,000.00 D</td><td>10,000.00</td></tr><tr><td>30/09</td><td>30/09</td><td>MCM InhouseTrf-SHOPEE_108000803 A163301671945533790</td><td>191,040.00</td><td>201,040.00</td></tr><tr><td>30/09</td><td>30/09</td><td>-MONTHLY CARD CHARGE 0004616996002993084</td><td>4,500.00 D</td><td>196,540.00</td></tr><tr><td>30/09</td><td>30/09</td><td>-MONTHLY CARD CHARGE 0004616996002993084</td><td>4,500.00 D</td><td>192,040.00</td></tr></tbody></table><table><tbody><tr><td>Saldo Awal / Previous Balance</td><td>:</td><td>10,000.00</td></tr><tr><td>Mutasi Kredit / Total of Credit Transactions</td><td>:</td><td>3,923,896.00</td></tr><tr><td>Mutasi Debit / Total of Debit Transactions</td><td>:</td><td>3,741,856.00</td></tr><tr><td>Saldo Akhir / Current Balance</td><td>:</td><td>192,040.00</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 1290,\n 1681,\n 1322,\n 1698\n ],\n \"category\": \"Page-footer\",\n \"text\": \"3 / 4\"\n },\n {\n \"bbox\": [\n 1135,\n 1681,\n 1174,\n 1718\n ],\n \"category\": \"Page-footer\",\n \"text\": \"Hal\\nPage\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/OCBC Farhad fff_page-0001.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 39,\n 39,\n 523,\n 153\n ],\n \"category\": \"Page-header\",\n \"text\": \"OCBC Bank\\nOCBC Bank (Malaysia) Berhad (295400-W)\"\n },\n {\n \"bbox\": [\n 739,\n 133,\n 1241,\n 173\n ],\n \"category\": \"Page-header\",\n \"text\": \"Personal Banking Enquiries 03-8317 5000\\nBusiness Banking Enquiries 1300-88 7000 / 03-8317 5200\"\n },\n {\n \"bbox\": [\n 44,\n 201,\n 254,\n 275\n ],\n \"category\": \"Text\",\n \"text\": \"Farhad fff\\n25, Jalan Tempinis 3,\\nBangsar,59100\"\n },\n {\n \"bbox\": [\n 44,\n 299,\n 303,\n 330\n ],\n \"category\": \"Caption\",\n \"text\": \"## Account Summary\"\n },\n {\n \"bbox\": [\n 34,\n 345,\n 750,\n 527\n ],\n \"category\": \"Text\",\n \"text\": \"Opening Balance : 5,234.09RM\\nWithdrawals : 2,342.07RM\\nDeposits : 872.45RM\\nClosing Balance on Jan 25, 2023 : 3,764.47RM\"\n },\n {\n \"bbox\": [\n 41,\n 536,\n 595,\n 572\n ],\n \"category\": \"Text\",\n \"text\": \"You are eligible for a 100RM bonus\"\n },\n {\n \"bbox\": [\n 41,\n 601,\n 424,\n 697\n ],\n \"category\": \"Text\",\n \"text\": \"Scan this QR code with your Smartphone\\nTo find out more about a High Interest\\nSavings Account – with the first 100RM\\nDeposit on us!\"\n },\n {\n \"bbox\": [\n 459,\n 589,\n 577,\n 708\n ],\n \"category\": \"Picture\"\n },\n {\n \"bbox\": [\n 612,\n 584,\n 738,\n 706\n ],\n \"category\": \"Picture\"\n },\n {\n \"bbox\": [\n 41,\n 728,\n 599,\n 747\n ],\n \"category\": \"Text\",\n \"text\": \"You may need to get a QR Code® reader from your SmartPhone App Store\"\n },\n {\n \"bbox\": [\n 786,\n 201,\n 1168,\n 225\n ],\n \"category\": \"Text\",\n \"text\": \"For Nov 25, 2022 to Jan 25, 2023\"\n },\n {\n \"bbox\": [\n 786,\n 230,\n 979,\n 275\n ],\n \"category\": \"Text\",\n \"text\": \"Account Number\\n7079445451-785221\"\n },\n {\n \"bbox\": [\n 786,\n 281,\n 954,\n 325\n ],\n \"category\": \"Text\",\n \"text\": \"Account Branch\\nJALAN TEMPINIS\"\n },\n {\n \"bbox\": [\n 786,\n 355,\n 986,\n 374\n ],\n \"category\": \"Caption\",\n \"text\": \"## Contact Information\"\n },\n {\n \"bbox\": [\n 786,\n 390,\n 1237,\n 503\n ],\n \"category\": \"Text\",\n \"text\": \"03-8317-5000\\nContact us by phone for questions, on this statement, change of personal information, and general inquiries, 24 hours a day, 7 days a week\"\n },\n {\n \"bbox\": [\n 786,\n 529,\n 1078,\n 574\n ],\n \"category\": \"Text\",\n \"text\": \"TTY for the hearing impaired:\\n03-8314-9310\"\n },\n {\n \"bbox\": [\n 786,\n 604,\n 924,\n 752\n ],\n \"category\": \"Text\",\n \"text\": \"Head Office\\nMenara OCBC\\nNo. 18 Jalan\\nTun Perak\\n50050\\nKuala Lumpur\"\n },\n {\n \"bbox\": [\n 39,\n 784,\n 335,\n 807\n ],\n \"category\": \"Caption\",\n \"text\": \"## Your Transaction Details\"\n },\n {\n \"bbox\": [\n 31,\n 811,\n 1231,\n 1245\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>Date</th><th>Details</th><th>Withdrawals</th><th>Deposits</th><th>Balance</th></tr></thead><tbody><tr><td>Jan 08</td><td>Opening Balance</td><td></td><td></td><td>5,234.09</td></tr><tr><td>Jan 08</td><td>Insurance</td><td></td><td>272.45</td><td>5,506.54</td></tr><tr><td>Jan 10</td><td>ATM</td><td>200.00</td><td></td><td>5,306.54</td></tr><tr><td>Jan 12</td><td>Internet Transfer</td><td></td><td>250.00</td><td>5,556.54</td></tr><tr><td>Jan 12</td><td>Payroll</td><td></td><td>100.00</td><td>5,656.54</td></tr><tr><td>Jan 13</td><td>Bill payment</td><td>135.07</td><td></td><td>5,521.47</td></tr><tr><td>Jan 14</td><td>Direct debit</td><td>200.00</td><td></td><td>5,321.47</td></tr><tr><td>Jan 14</td><td>Deposit</td><td></td><td>250.00</td><td>5,571.47</td></tr><tr><td>Jan 15</td><td>Bill payment</td><td>525.72</td><td></td><td>5,045.75</td></tr><tr><td>Jan 17</td><td>Bill payment</td><td>327.63</td><td></td><td>4,718.12</td></tr><tr><td>Jan 18</td><td>Bill payment</td><td>729.96</td><td></td><td>3,988.16</td></tr><tr><td>Jan 22</td><td>Bill payment</td><td>223.69</td><td></td><td>3,764.47</td></tr></tbody><tfoot><tr><td colspan=\\\"3\\\">Closing Balance</td><td></td><td>3,764.47RM</td></tr></tfoot></table>\"\n },\n {\n \"bbox\": [\n 44,\n 1265,\n 331,\n 1513\n ],\n \"category\": \"Text\",\n \"text\": \"Are you\\nready\\nto go\\npaperless?\"\n },\n {\n \"bbox\": [\n 371,\n 1262,\n 700,\n 1497\n ],\n \"category\": \"Text\",\n \"text\": \"Get your statements\\ndelivered directly to\\nyour email account\\nAvoid the monthly\\n2RM paperstatement\\nprint fee!\"\n },\n {\n \"bbox\": [\n 798,\n 1265,\n 1215,\n 1321\n ],\n \"category\": \"Text\",\n \"text\": \"Scan the QR Code below with your\\nSmartPhone to sign up now!\"\n },\n {\n \"bbox\": [\n 971,\n 1350,\n 1093,\n 1470\n ],\n \"category\": \"Picture\"\n },\n {\n \"bbox\": [\n 838,\n 1508,\n 1208,\n 1556\n ],\n \"category\": \"Text\",\n \"text\": \"You may need to get a QR Code reader\\nfrom your SmartPhone App Store\"\n },\n {\n \"bbox\": [\n 44,\n 1572,\n 403,\n 1587\n ],\n \"category\": \"Page-footer\",\n \"text\": \"QR Code is a Registered trademark of Denso Wave Corporation\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/UOB SHABRINA JASMINE (3)_page-0002.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 74,\n 49,\n 562,\n 118\n ],\n \"category\": \"Page-header\",\n \"text\": \"UOB | TMRW\"\n },\n {\n \"bbox\": [\n 1078,\n 188,\n 1165,\n 208\n ],\n \"category\": \"Page-header\",\n \"text\": \"Page 2 of 4\"\n },\n {\n \"bbox\": [\n 106,\n 230,\n 401,\n 277\n ],\n \"category\": \"Section-header\",\n \"text\": \"Rincian Transaksi\\nAccount Transaction Details\"\n },\n {\n \"bbox\": [\n 106,\n 291,\n 450,\n 310\n ],\n \"category\": \"Text\",\n \"text\": \"TMRW EVERYDAY ACCT 727-301-205-6\"\n },\n {\n \"bbox\": [\n 94,\n 338,\n 1166,\n 1040\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>Tanggal Transaksi Trans Date</th><th>Tanggal Valuta Value Date</th><th>Deskripsi Description</th><th>Debit Withdrawals (IDR)</th><th>Kredit Deposits (IDR)</th><th>Saldo Balance (IDR)</th></tr></thead><tbody><tr><td>01 Juli</td><td>01 Juli</td><td>BALANCE B/F</td><td></td><td></td><td>1,768,860</td></tr><tr><td>01 Juli</td><td>01 Juli</td><td>BI FAST DEBIT SP24070100705116 CENAIDJA ANDIEK MURSID P logo cost</td><td>150,000</td><td></td><td>1,618,860</td></tr><tr><td>02 Juli</td><td>02 Juli</td><td>BI FAST DEBIT SP24070200769107 CENAIDJA CLIF FORESTER O Transfer</td><td>500,000</td><td></td><td>1,118,860</td></tr><tr><td>02 Juli</td><td>02 Juli</td><td>Pemindahbukuan Funds Trf</td><td></td><td>500,000</td><td>1,618,860</td></tr><tr><td>25 Juli</td><td>25 Juli</td><td>BI FAST DEBIT SP24072500412858 CENAIDJA CLIF FORESTER O Transfer</td><td>425,000</td><td></td><td>1,193,860</td></tr><tr><td>25 Juli</td><td>25 Juli</td><td>Pemindahbukuan Funds Trf</td><td></td><td>425,000</td><td>1,618,860</td></tr><tr><td>31 Juli</td><td>31 Juli</td><td>Bunga Interest Credit</td><td></td><td>687</td><td>1,619,547</td></tr><tr><td>31 Juli</td><td>31 Juli</td><td>Pajak Withholding Tax Dr</td><td>137</td><td></td><td>1,619,410</td></tr><tr><td></td><td></td><td>Total</td><td>1,075,137</td><td>925,687</td><td>1,619,410</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 526,\n 1054,\n 796,\n 1099\n ],\n \"category\": \"Text\",\n \"text\": \"Akhir Detail Transaksi\\nEnd of Transaction Details\"\n },\n {\n \"bbox\": [\n 73,\n 1664,\n 970,\n 1688\n ],\n \"category\": \"Page-footer\",\n \"text\": \"UOB Indonesia berizin dan diawasi oleh Otoritas Jasa Keuangan serta merupakan peserta penjaminan LPS.\"\n },\n {\n \"bbox\": [\n 1109,\n 1721,\n 1144,\n 1737\n ],\n \"category\": \"Page-footer\",\n \"text\": \"S727\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/OCBC-7_page-0010.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 741,\n 142,\n 990,\n 169\n ],\n \"category\": \"Section-header\",\n \"text\": \"## REKENING KORAN\"\n },\n {\n \"bbox\": [\n 123,\n 154,\n 179,\n 177\n ],\n \"category\": \"Text\",\n \"text\": \"99693\"\n },\n {\n \"bbox\": [\n 543,\n 154,\n 699,\n 177\n ],\n \"category\": \"Text\",\n \"text\": \"01/21-10/15-2029\"\n },\n {\n \"bbox\": [\n 741,\n 181,\n 1356,\n 205\n ],\n \"category\": \"Text\",\n \"text\": \"NOMOR REKENING : 6938 105420 29 - Tanda360Plus Digital\"\n },\n {\n \"bbox\": [\n 648,\n 195,\n 704,\n 216\n ],\n \"category\": \"Text\",\n \"text\": \"99693\"\n },\n {\n \"bbox\": [\n 123,\n 221,\n 232,\n 245\n ],\n \"category\": \"Text\",\n \"text\": \"Kepada Yth:\"\n },\n {\n \"bbox\": [\n 741,\n 233,\n 1184,\n 256\n ],\n \"category\": \"Text\",\n \"text\": \"CABANG : 99693 - DIGITAL\"\n },\n {\n \"bbox\": [\n 123,\n 260,\n 280,\n 283\n ],\n \"category\": \"Text\",\n \"text\": \"NORDIANSYAH\"\n },\n {\n \"bbox\": [\n 741,\n 285,\n 1367,\n 309\n ],\n \"category\": \"Text\",\n \"text\": \"PERIODE : 01 Desember 2020 - 31 Desember 2020\"\n },\n {\n \"bbox\": [\n 123,\n 312,\n 372,\n 335\n ],\n \"category\": \"Text\",\n \"text\": \"JL. HJ. JAHRAH RT : RW :\"\n },\n {\n \"bbox\": [\n 741,\n 337,\n 1115,\n 360\n ],\n \"category\": \"Text\",\n \"text\": \"TANGGAL PERCETAKAN : 20210104\"\n },\n {\n \"bbox\": [\n 123,\n 339,\n 580,\n 362\n ],\n \"category\": \"Text\",\n \"text\": \"SUNGAI KELEDANG, KOTA SAMARINDA 75131\"\n },\n {\n \"bbox\": [\n 741,\n 390,\n 1065,\n 414\n ],\n \"category\": \"Text\",\n \"text\": \"MATA UANG : IDR\"\n },\n {\n \"bbox\": [\n 741,\n 443,\n 1103,\n 466\n ],\n \"category\": \"Text\",\n \"text\": \"HALAMAN : 10 of 15\"\n },\n {\n \"bbox\": [\n 69,\n 506,\n 1485,\n 1564\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>TGL TRANS</th><th>TGL VALUTA</th><th>URAIAN</th><th>DEBET</th><th>KREDIT</th><th>SALDO</th></tr></thead><tbody><tr><td>20/12/2020</td><td>20/12/2020</td><td>Transfer Masuk</td><td>0.00</td><td>200,000.00</td><td>301,119.00</td></tr><tr><td></td><td></td><td>Berita : 9482 009 BPK ARDY FARDIANSYAH</td><td></td><td></td><td></td></tr><tr><td>20/12/2020</td><td>20/12/2020</td><td>Transfer Masuk</td><td>0.00</td><td>300,000.00</td><td>601,119.00</td></tr><tr><td></td><td></td><td>Berita : 8080 009 BPK ARDY FARDIANSYAH</td><td></td><td></td><td></td></tr><tr><td>20/12/2020</td><td>20/12/2020</td><td>Transfer Masuk</td><td>0.00</td><td>300,000.00</td><td>901,119.00</td></tr><tr><td></td><td></td><td>Berita : 9151 009 BPK ARDY FARDIANSYAH</td><td></td><td></td><td></td></tr><tr><td>20/12/2020</td><td>20/12/2020</td><td>Transfer Masuk</td><td>0.00</td><td>300,221.00</td><td>1,201,340.00</td></tr><tr><td></td><td></td><td>Berita : 5913 009 BPK ARDY FARDIANSYAH</td><td></td><td></td><td></td></tr><tr><td>20/12/2020</td><td>20/12/2020</td><td>Transfer Masuk</td><td>0.00</td><td>300,221.00</td><td>1,501,561.00</td></tr><tr><td></td><td></td><td>Berita : 7004 009 BPK ARDY FARDIANSYAH</td><td></td><td></td><td></td></tr><tr><td>20/12/2020</td><td>20/12/2020</td><td>Transfer Masuk</td><td>0.00</td><td>1,200,222.00</td><td>2,701,783.00</td></tr><tr><td></td><td></td><td>Berita : 8508 009 BPK ARDY FARDIANSYAH</td><td></td><td></td><td></td></tr><tr><td>20/12/2020</td><td>20/12/2020</td><td>Biaya transaksi via ATM</td><td>6,500.00</td><td>0.00</td><td>2,695,283.00</td></tr><tr><td></td><td></td><td>Berita : 5397 014 6585063723 GHONIE ALBASITU 2020</td><td></td><td></td><td></td></tr><tr><td>20/12/2020</td><td>20/12/2020</td><td>Memo Debet</td><td>2,693,500.00</td><td>0.00</td><td>1,783.00</td></tr><tr><td></td><td></td><td>Berita : 5397 014 6585063723 GHONIE ALBASITU 2020</td><td></td><td></td><td></td></tr><tr><td>20/12/2020</td><td>20/12/2020</td><td>Transfer Masuk</td><td>0.00</td><td>200,000.00</td><td>201,783.00</td></tr><tr><td></td><td></td><td>Berita : 3799 014 ADAM RENALDI</td><td></td><td></td><td></td></tr><tr><td>20/12/2020</td><td>20/12/2020</td><td>Transfer Masuk</td><td>0.00</td><td>300,000.00</td><td>501,783.00</td></tr><tr><td></td><td></td><td>Berita : 1411 213 HALIMAH LUTHFIANI</td><td></td><td></td><td></td></tr><tr><td>20/12/2020</td><td>20/12/2020</td><td>Transfer Masuk</td><td>0.00</td><td>300,000.00</td><td>801,783.00</td></tr><tr><td></td><td></td><td>Berita : 4920 213 HALIMAH LUTHFIANI</td><td></td><td></td><td></td></tr><tr><td>20/12/2020</td><td>20/12/2020</td><td>Bill payment Dr customer acct</td><td>800,000.00</td><td>0.00</td><td>1,783.00</td></tr><tr><td></td><td></td><td>Berita : 0656 082193235612 GOJEK</td><td></td><td></td><td></td></tr><tr><td>21/12/2020</td><td>21/12/2020</td><td>Transfer Masuk</td><td>0.00</td><td>300,000.00</td><td>301,783.00</td></tr><tr><td></td><td></td><td>Berita : 8818 008 IRAWAN YUSUF</td><td></td><td></td><td></td></tr><tr><td>21/12/2020</td><td>21/12/2020</td><td>Bill payment Dr customer acct</td><td>299,500.00</td><td>0.00</td><td>2,283.00</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 70,\n 1906,\n 1071,\n 1981\n ],\n \"category\": \"Text\",\n \"text\": \"BILAMANA DALAM 7 HARI TERHITUNG SEJAK TANGGAL STEMPEL POS ATAU DITERIMANYA PER EKSPEDISI ATAU TANGGAL TERKIRIMNYA LAYANAN ESTATEMENT REKENING KORAN INI TIDAK ADA SANGGAHAN DARI NASABAH MAKA DIANGGAP NASABAH TELAH MENYETUJUI SEGALA SESUATU YANG TERMUAT DALAM REKENING KORAN INI. SETIAP PEMBEBANAN ONGKOS / BIAYA KAMI TIDAK MEMBUATKAN NOTANYA. CETAKAN KOMPUTER INI TIDAK MEMERLUKAN TANDA TANGAN PEJABAT\"\n },\n {\n \"bbox\": [\n 82,\n 2013,\n 1071,\n 2105\n ],\n \"category\": \"Text\",\n \"text\": \"Efektif Per Tanggal 1 Februari 2016, produk-produk Trade Loan mengalami perubahan nama untuk memberikan kemudahan pemahaman nasabah atas nama produk Trade Finances & Services. Info lebih lanjut hubungi Kantor Cabang terdekat atau Call OCBC NISP di 1500-999 / 66-999 via HP.\"\n },\n {\n \"bbox\": [\n 1105,\n 2061,\n 1465,\n 2140\n ],\n \"category\": \"Page-footer\",\n \"text\": \"OCBC NISP\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/estatement bca oktria_page-0004.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 45,\n 92,\n 232,\n 152\n ],\n \"category\": \"Page-header\",\n \"text\": \"BCA\\nGRUP BCA\"\n },\n {\n \"bbox\": [\n 434,\n 114,\n 800,\n 146\n ],\n \"category\": \"Section-header\",\n \"text\": \"REKENING TAHAPAN\"\n },\n {\n \"bbox\": [\n 61,\n 175,\n 140,\n 189\n ],\n \"category\": \"Text\",\n \"text\": \"KCP BANGIL\"\n },\n {\n \"bbox\": [\n 676,\n 202,\n 1043,\n 312\n ],\n \"category\": \"Text\",\n \"text\": \"NO. REKENING : 2250938414\\nHALAMAN : 4/9\\nPERIODE : JANUARI 2019\\nMATA UANG : IDR\"\n },\n {\n \"bbox\": [\n 59,\n 200,\n 293,\n 344\n ],\n \"category\": \"Text\",\n \"text\": \"OKTRIA MARIA JAYANTIE\\nKEC PRIGEN\\nPECALUKAN RT 007 RW 008\\nJL RAUNG NO 295\\nPASURUAN 67157\\nINDONESIA\"\n },\n {\n \"bbox\": [\n 50,\n 381,\n 118,\n 397\n ],\n \"category\": \"Text\",\n \"text\": \"CATATAN:\"\n },\n {\n \"bbox\": [\n 640,\n 405,\n 1185,\n 444\n ],\n \"category\": \"List-item\",\n \"text\": \"* BCA berhak setiap saat melakukan koreksi apabila ada kesalahan pada Laporan Mutasi Rekening.\"\n },\n {\n \"bbox\": [\n 54,\n 405,\n 597,\n 464\n ],\n \"category\": \"List-item\",\n \"text\": \"* Apabila nasabah tidak melakukan sanggahan atas Laporan Mutasi Rekening ini sampai dengan akhir bulan berikutnya, nasabah dianggap telah menyetujui segala data yang tercantum pada Laporan Mutasi Rekening ini.\"\n },\n {\n \"bbox\": [\n 42,\n 483,\n 1196,\n 1530\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>TANGGAL</th><th>KETERANGAN</th><th>CBG</th><th>MUTASI</th><th>SALDO</th></tr></thead><tbody><tr><td></td><td>OKTRIA MARIA JAYAN</td><td></td><td></td><td></td></tr><tr><td>10/01</td><td>TTRSF E-BANKING CR 1001/FTSCY/WS95011 300000.00 OKTRIA MARIA JAYAN</td><td></td><td>300,000.00</td><td>355,417.00</td></tr><tr><td>10/01</td><td>TRSF E-BANKING DB 10/01 /95031/00000 ENDANG RUSTIANA</td><td></td><td>100,000.00 DB</td><td>255,417.00</td></tr><tr><td>11/01</td><td>SWITCHING DB TANGGAL :10/01 TRANSFER KE 011 HO IRRA /M-BCA</td><td></td><td>100,111.00 DB</td><td></td></tr><tr><td>11/01</td><td>SWITCHING DB TANGGAL :10/01 TRANSFER KE 011 HO IRRA /M-BCA</td><td></td><td>6,500.00 DB</td><td></td></tr><tr><td>11/01</td><td>SWITCHING DB TANGGAL :10/01 TRANSFER KE 022 AMIR /M-BCA</td><td></td><td>70,000.00 DB</td><td></td></tr><tr><td>11/01</td><td>SWITCHING DB TANGGAL :10/01 TRANSFER KE 022 AMIR /M-BCA</td><td></td><td>6,500.00 DB</td><td></td></tr><tr><td>11/01</td><td>SWITCHING DB TRANSFER KE 022 AMIR /M-BCA</td><td></td><td>15,000.00 DB</td><td></td></tr><tr><td>11/01</td><td>SWITCHING DB TRANSFER KE 022 AMIR /M-BCA</td><td></td><td>6,500.00 DB</td><td>50,806.00</td></tr><tr><td>14/01</td><td>TRSF E-BANKING CR TANGGAL :11/01 1101/FTSCY/WS95011 1000000.00 buat istriku OKTRIA MARIA JAYAN</td><td></td><td>1,000,000.00</td><td></td></tr><tr><td>14/01</td><td>SWITCHING DB TANGGAL :11/01 TRANSFER KE 022 AMIR /M-BCA</td><td></td><td>100,111.00 DB</td><td></td></tr><tr><td>14/01</td><td>SWITCHING DB TANGGAL :11/01 TRANSFER KE 022 AMIR /M-BCA</td><td></td><td>6,500.00 DB</td><td></td></tr><tr><td>14/01</td><td>SWITCHING DB TANGGAL :11/01 TRANSFER KE 011 HO IRRA /M-BCA</td><td></td><td>100,111.00 DB</td><td></td></tr><tr><td>14/01</td><td>SWITCHING DB TANGGAL :11/01 TRANSFER KE 011 HO IRRA /M-BCA</td><td></td><td>6,500.00 DB</td><td></td></tr><tr><td>14/01</td><td>SWITCHING DB TANGGAL :12/01 TRANSFER KE 022 AMIR /M-BCA</td><td></td><td>100,111.00 DB</td><td></td></tr><tr><td>14/01</td><td>SWITCHING DB TANGGAL :12/01 TRANSFER KE 022 AMIR /M-BCA</td><td></td><td>6,500.00 DB</td><td></td></tr><tr><td>14/01</td><td>TRSF E-BANKING DB TANGGAL :12/01 12/01 /95031/00000 MERI INDRIYANI</td><td></td><td>50,000.00 DB</td><td>680,973.00</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 868,\n 1554,\n 1162,\n 1575\n ],\n \"category\": \"Text\",\n \"text\": \"Bersambung ke Halaman berikut\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/permata bank robi agustriadi_page-0001.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 552,\n 20,\n 646,\n 111\n ],\n \"category\": \"Picture\",\n \"text\": \"\"\n },\n {\n \"bbox\": [\n 0,\n 0,\n 197,\n 156\n ],\n \"category\": \"Picture\",\n \"text\": \"\"\n },\n {\n \"bbox\": [\n 234,\n 70,\n 569,\n 114\n ],\n \"category\": \"Page-header\",\n \"text\": \"PermataBank\"\n },\n {\n \"bbox\": [\n 40,\n 219,\n 150,\n 242\n ],\n \"category\": \"Text\",\n \"text\": \"Kepada Yth.\"\n },\n {\n \"bbox\": [\n 665,\n 219,\n 1113,\n 265\n ],\n \"category\": \"Text\",\n \"text\": \"**Periode Laporan** : 01 MARET 2023 - 31 MARET 2023\\n*Statement Period*\"\n },\n {\n \"bbox\": [\n 40,\n 244,\n 513,\n 344\n ],\n \"category\": \"Text\",\n \"text\": \"ROBI AGUSTRIADI\\nPT BANK PERKREDITAN RAKYAT KREDITMANDIRI\\nJL TERUSAN KOPO MARGAHAYU NO 341D MARGAH\\nBANDUNG, KAB. 40000\"\n },\n {\n \"bbox\": [\n 665,\n 281,\n 956,\n 327\n ],\n \"category\": \"Text\",\n \"text\": \"**Tanggal Laporan** : 1 APRIL 2023\\n*Statement Date*\"\n },\n {\n \"bbox\": [\n 665,\n 344,\n 924,\n 389\n ],\n \"category\": \"Text\",\n \"text\": \"**No.CIF** : R0063Z0\\n*CIF No.*\"\n },\n {\n \"bbox\": [\n 769,\n 438,\n 1198,\n 464\n ],\n \"category\": \"Text\",\n \"text\": \"Ekuivalen Saldo Rupiah – 31 MARET 2023\"\n },\n {\n \"bbox\": [\n 42,\n 438,\n 383,\n 466\n ],\n \"category\": \"Section-header\",\n \"text\": \"RINGKASAN REKENING\"\n },\n {\n \"bbox\": [\n 40,\n 497,\n 1198,\n 613\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th colspan=\\\"4\\\">REKENING SIMPANAN</th><th>Total</th><th>3.916.507,00</th></tr><tr><th>Nama Produk<br>Product Name</th><th>Mata Uang<br>Currency</th><th>Jumlah Rekening<br>No. of Account</th><th>Saldo<br>Balance</th><th></th><th></th></tr></thead><tbody><tr><td>Payroll PLUS</td><td>IDR</td><td>1</td><td>3.916.507,00</td><td></td><td>3.916.507,00</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 862,\n 1683,\n 1142,\n 1704\n ],\n \"category\": \"Page-footer\",\n \"text\": \"Halaman /Page : 1 / 2\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/BTN Diana_page-0004.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 61,\n 69,\n 314,\n 123\n ],\n \"category\": \"Page-header\",\n \"text\": \"BUMN UNTUK INDONESIA\"\n },\n {\n \"bbox\": [\n 987,\n 62,\n 1103,\n 130\n ],\n \"category\": \"Page-header\",\n \"text\": \"btn\"\n },\n {\n \"bbox\": [\n 68,\n 175,\n 1168,\n 1497\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>Tgl & Waktu<br>Date & Time</th><th>Jenis Transaksi<br>Transaction Type</th><th>Debit (IDR)<br>Debit (IDR)</th><th>Kredit (IDR)<br>Credit (IDR)</th><th>Saldo(IDR)<br>Balance (IDR)</th></tr></thead><tbody><tr><td></td><td>SETTLEQRS 430001558120001 1275661458<br>RM RASA UTAMA off us<br>000134884927 BTN_MERCHANT</td><td></td><td></td><td></td></tr><tr><td>02/05/2025 02:46:58</td><td>POST Misc GL SA<br>SETTLEQRS 430001558120001 1400301405<br>RM RASA UTAMA off us<br>709740412580 BTN_MERCHANT</td><td>0,00</td><td>51.000,00</td><td>5.026.830,20</td></tr><tr><td>02/05/2025 02:46:58</td><td>POST Misc GL SA<br>SETTLEQRS 430001558120001 1273721413<br>RM RASA UTAMA off us<br>000134286812 BTN_MERCHANT</td><td>0,00</td><td>19.000,00</td><td>5.045.830,20</td></tr><tr><td>02/05/2025 02:46:58</td><td>POST Misc GL SA<br>SETTLEQRS 430001558120001 1684981945<br>RM RASA UTAMA off us<br>1ct99f174335 BTN_MERCHANT</td><td>0,00</td><td>18.500,00</td><td>5.064.330,20</td></tr><tr><td>02/05/2025 17:27:16</td><td>SA Credit GL Debit<br>INSENTIF KASIR QRIS BTN MARET 2025</td><td>0,00</td><td>200.000,00</td><td>5.264.330,20</td></tr><tr><td>02/05/2025 17:31:25</td><td>BIFAST Outgoing SA<br>TRF 00000000008825000379 DIANA<br>ESB502202260 BCA</td><td>202.500,00</td><td>0,00</td><td>5.061.830,20</td></tr><tr><td>02/05/2025 17:41:28</td><td>AutoCashback SA<br>Bale be free transfer BI Fast AUTOCB<br>25050230000110988590 020525 173125<br>H0205202501236 7129</td><td>0,00</td><td>2.500,00</td><td>5.064.330,20</td></tr><tr><td>03/05/2025 03:27:13</td><td>POST Misc GL SA<br>SETTLEQRS 430001558120001 2467371202<br>RM RASA UTAMA off us<br>000145097124 BTN_MERCHANT</td><td>0,00</td><td>233.000,00</td><td>5.297.330,20</td></tr><tr><td>03/05/2025 03:27:13</td><td>POST Misc GL SA<br>SETTLEQRS 430001558120001 2763211303<br>RM RASA UTAMA off us<br>000145981112 BTN_MERCHANT</td><td>0,00</td><td>89.000,00</td><td>5.386.330,20</td></tr><tr><td>03/05/2025 03:27:13</td><td>POST Misc GL SA<br>SETTLEQRS 430001558120001 3296231733<br>RM RASA UTAMA off us<br>327112035742 BTN_MERCHANT</td><td>0,00</td><td>83.000,00</td><td>5.469.330,20</td></tr><tr><td>03/05/2025 03:27:13</td><td>POST Misc GL SA<br>SETTLEQRS 430001558120001 2780301226<br>RM RASA UTAMA off us<br>000145419420 BTN_MERCHANT</td><td>0,00</td><td>82.000,00</td><td>5.551.330,20</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 1179,\n 1622,\n 1195,\n 1645\n ],\n \"category\": \"Page-footer\",\n \"text\": \"4\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/CIMB_IDR_APR_2022_page-0003.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 36,\n 100,\n 1546,\n 744\n ],\n \"category\": \"Table\",\n \"text\": \"<table><tbody><tr><td>40</td><td>4/25/2022</td><td>4/25/2022</td><td>cont smrg BCA (BANK CENTRAL A UNIVERSAL EKSPRES INT<br/>1686897789 202204251118265457</td><td>30,000.00</td><td>0.00</td><td>138,394,129.29</td><td>803</td><td>220425BI02470121</td></tr><tr><td>41</td><td>4/25/2022</td><td>4/25/2022</td><td>cont smrg BCA (BANK CENTRAL A UNIVERSAL EKSPRES INT<br/>1686897789 202204251118265457</td><td>900,000,000.00</td><td>0.00</td><td>138,424,129.29</td><td>63</td><td>220425BI02470121</td></tr><tr><td>42</td><td>4/25/2022</td><td>4/25/2022</td><td>INCOMING SKN BMRIIDJA/AP. PT JINGGA TATA PERS PAYMENT<br/>INV INJKT14</td><td>0.00</td><td>500,000,000.00</td><td>1,038,424,129.29</td><td>513</td><td>220425VRM5271446</td></tr><tr><td>43</td><td>4/25/2022</td><td>4/25/2022</td><td>INCOMING SKN BMRIIDJA/AP. PT JINGGA TATA PERS PAYMENT<br/>INV INJKT26</td><td>0.00</td><td>500,000,000.00</td><td>538,424,129.29</td><td>625</td><td>220425VRM3731423</td></tr><tr><td>44</td><td>4/23/2022</td><td>4/23/2022</td><td>ATM Prima TRF FR EUFRAT MED 9999999999900000 BANK<br/>MANDIRI</td><td>0.00</td><td>1,100,000.00</td><td>38,424,129.29</td><td>529</td><td>220423AP01431233</td></tr><tr><td>45</td><td>4/22/2022</td><td>4/22/2022</td><td>BizChannel TRF TO PUTRA ABADI TRANS inv air lax</td><td>195,000,000.00</td><td>0.00</td><td>37,324,129.29</td><td>566</td><td>220422BI02952615</td></tr><tr><td>46</td><td>4/22/2022</td><td>4/22/2022</td><td>BizChannel TRF TO SAMUDERA AGENCIES IND cont smrg</td><td>392,000,000.00</td><td>0.00</td><td>232,324,129.29</td><td>565</td><td>220422BI02952603</td></tr><tr><td>47</td><td>4/22/2022</td><td>4/22/2022</td><td>20220422CENAIDJA01000126697254 Investasi BFS FR<br/>CENAIDJA SA SURYATAMA MAUFINDO</td><td>0.00</td><td>200,000,000.00</td><td>624,324,129.29</td><td>638</td><td>220422BF01099567</td></tr><tr><td>48</td><td>4/22/2022</td><td>4/22/2022</td><td>20220422CENAIDJA01000126697221 Investasi BFS FR<br/>CENAIDJA SA SURYATAMA MAUFINDO</td><td>0.00</td><td>250,000,000.00</td><td>424,324,129.29</td><td>638</td><td>220422BF01099566</td></tr><tr><td>49</td><td>4/22/2022</td><td>4/22/2022</td><td>INCOMING SKN CENAIDJA/AP. PT NEO ESENSIAL TEKNOLOGI<br/>TRANSFER DANA</td><td>0.00</td><td>21,570,000.00</td><td>174,324,129.29</td><td>625</td><td>220422VRM3254943</td></tr><tr><td>50</td><td>4/22/2022</td><td>4/22/2022</td><td>202204221222841724 BSMDIDJA BIZ FR CA WORLDTRANS</td><td>2,500.00</td><td>0.00</td><td>152,754,129.29</td><td>803</td><td>220422BI02872972</td></tr><tr><td>51</td><td>4/22/2022</td><td>4/22/2022</td><td>202204221222841724 BSMDIDJA BIZ FR CA WORLDTRANS</td><td>80,000,000.00</td><td>0.00</td><td>152,756,629.29</td><td>63</td><td>220422BI02872972</td></tr><tr><td>52</td><td>4/21/2022</td><td>4/21/2022</td><td>202204211326286548 CENAIDJA BIZ FR CA WORLDTRANS</td><td>2,500.00</td><td>0.00</td><td>232,756,629.29</td><td>803</td><td>220421BI02712253</td></tr><tr><td>53</td><td>4/21/2022</td><td>4/21/2022</td><td>202204211326286548 CENAIDJA BIZ FR CA WORLDTRANS</td><td>250,000,000.00</td><td>0.00</td><td>232,759,129.29</td><td>63</td><td>220421BI02712253</td></tr><tr><td>54</td><td>4/21/2022</td><td>4/21/2022</td><td>20220421612400050 CENAIDJA BIZ FR CA WORLDTRANS</td><td>2,500.00</td><td>0.00</td><td>482,759,129.29</td><td>803</td><td>220421BI02712244</td></tr><tr><td>55</td><td>4/21/2022</td><td>4/21/2022</td><td>20220421612400050 CENAIDJA BIZ FR CA WORLDTRANS</td><td>250,000,000.00</td><td>0.00</td><td>482,761,629.29</td><td>63</td><td>220421BI02712244</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 36,\n 754,\n 80,\n 799\n ],\n \"category\": \"Picture\"\n },\n {\n \"bbox\": [\n 84,\n 761,\n 300,\n 794\n ],\n \"category\": \"Text\",\n \"text\": \"CIMB NIAGA\"\n },\n {\n \"bbox\": [\n 40,\n 813,\n 598,\n 1000\n ],\n \"category\": \"Text\",\n \"text\": \"Account Number 800047827000\\nAccount Name WORLDTRANS INDOPERSA - 1700100221002\\nAccount Type CURRENT ACCOUNT\\nCurrency IDR\\nTotal Debit 24,838,125,941.70\\nTotal Credit 24,245,276,400.52\"\n },\n {\n \"bbox\": [\n 41,\n 1012,\n 370,\n 1032\n ],\n \"category\": \"Text\",\n \"text\": \"Period : 01-Apr-2022 - 30-Apr-2022\"\n },\n {\n \"bbox\": [\n 36,\n 1037,\n 1564,\n 1147\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>No.</th><th>Post Date</th><th>Eff Date</th><th>C<br/>h</th><th>Description</th><th>Debit</th><th>Credit</th><th>Balance</th><th>Trans<br/>action</th><th>Ref No</th></tr></thead><tbody><tr><td>56</td><td>4/21/2022</td><td>4/21/2022</td><td></td><td>BizChannel TRF TO SWIFT KARGONIZE inv air lax</td><td>498,053,500.00</td><td>0.00</td><td>732,761,629.29</td><td>566</td><td>220421BI02616393</td></tr><tr><td>57</td><td>4/21/2022</td><td>4/21/2022</td><td></td><td>BizChannel TRF TO SAMUDERA AGENCIES IND</td><td>509,007,000.00</td><td>0.00</td><td>1,230,815,129.29</td><td>565</td><td>220421BI02616382</td></tr><tr><td>58</td><td>4/20/2022</td><td>4/20/2022</td><td></td><td>MONTHLY ADMIN FEE</td><td>30,000.00</td><td>0.00</td><td>1,739,822,129.29</td><td>480</td><td>DD4400040001344</td></tr></tbody></table>\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/estatement bri nita_page-0002.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 988,\n 65,\n 1345,\n 87\n ],\n \"category\": \"Page-header\",\n \"text\": \"LAPORAN TRANSAKSI FINANSIAL\"\n },\n {\n \"bbox\": [\n 78,\n 48,\n 356,\n 144\n ],\n \"category\": \"Page-header\",\n \"text\": \"BANK BRI\\nMelayani Dengan Setulus Hati\"\n },\n {\n \"bbox\": [\n 1278,\n 109,\n 1336,\n 127\n ],\n \"category\": \"Page-header\",\n \"text\": \"2 dari 2\"\n },\n {\n \"bbox\": [\n 1076,\n 186,\n 1325,\n 206\n ],\n \"category\": \"Text\",\n \"text\": \"Biaya materai telah dibayar Lunas\"\n },\n {\n \"bbox\": [\n 88,\n 369,\n 1039,\n 387\n ],\n \"category\": \"List-item\",\n \"text\": \"- Apabila terdapat perbedaan dengan catatan Saudara, harap menghubungi kami selambat-lambatnya 14 hari sejak diterimanya rekening koran ini.\"\n },\n {\n \"bbox\": [\n 88,\n 394,\n 787,\n 413\n ],\n \"category\": \"List-item\",\n \"text\": \"- Salinan rekening koran ini merupakan hasil cetakan komputer, tidak diperlukan tanda tangan pejabat Bank\"\n },\n {\n \"bbox\": [\n 88,\n 421,\n 655,\n 439\n ],\n \"category\": \"List-item\",\n \"text\": \"- Apabila ada perubahan alamat email mohon diinformasikan pada Unit Kerja BANK BRI\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/UOB DANNY NGU MING HUANG (1)_page-0001.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 71,\n 42,\n 460,\n 119\n ],\n \"category\": \"Page-header\",\n \"text\": \"UOB 大华银行\"\n },\n {\n \"bbox\": [\n 1120,\n 69,\n 1163,\n 112\n ],\n \"category\": \"Page-header\",\n \"text\": \"PERSADA BANK\\nBHD\"\n },\n {\n \"bbox\": [\n 155,\n 246,\n 407,\n 266\n ],\n \"category\": \"Section-header\",\n \"text\": \"DANNY NGU MING HUANG\"\n },\n {\n \"bbox\": [\n 155,\n 266,\n 494,\n 342\n ],\n \"category\": \"Text\",\n \"text\": \"A-15-03, RESIDENSI KEPONGMAS,\\nNO.7 JALAN METRO PERDANA BARAT\\nTAMAN METROPOLITAN KEPONG\\n52100 KUALA LUMPUR\"\n },\n {\n \"bbox\": [\n 730,\n 238,\n 847,\n 259\n ],\n \"category\": \"Section-header\",\n \"text\": \"Contact Us\"\n },\n {\n \"bbox\": [\n 737,\n 284,\n 766,\n 314\n ],\n \"category\": \"Picture\"\n },\n {\n \"bbox\": [\n 784,\n 291,\n 950,\n 308\n ],\n \"category\": \"Text\",\n \"text\": \"Call +60 3 2612 8121\"\n },\n {\n \"bbox\": [\n 736,\n 344,\n 766,\n 374\n ],\n \"category\": \"Picture\"\n },\n {\n \"bbox\": [\n 784,\n 352,\n 1069,\n 370\n ],\n \"category\": \"Text\",\n \"text\": \"Email [email protected]\"\n },\n {\n \"bbox\": [\n 97,\n 531,\n 372,\n 585\n ],\n \"category\": \"Section-header\",\n \"text\": \"Penyata Akaun\\nStatement of Account\"\n },\n {\n \"bbox\": [\n 97,\n 590,\n 514,\n 613\n ],\n \"category\": \"Text\",\n \"text\": \"Tempoh: 01 Oct 2024 sehingga 31 Oct 2024\"\n },\n {\n \"bbox\": [\n 97,\n 615,\n 430,\n 635\n ],\n \"category\": \"Text\",\n \"text\": \"Period: 01 Oct 2024 to 31 Oct 2024\"\n },\n {\n \"bbox\": [\n 106,\n 656,\n 622,\n 703\n ],\n \"category\": \"Section-header\",\n \"text\": \"Gambaran Keseluruhan Akaun pada 31 Oct 2024\\nAccount Overview as at 31 Oct 2024\"\n },\n {\n \"bbox\": [\n 95,\n 708,\n 1165,\n 812\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th></th><th>Amaun (RM)<br>Amount (RM)</th></tr></thead><tbody><tr><td>Deposit / Deposits</td><td>78,449.88</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 107,\n 880,\n 202,\n 927\n ],\n \"category\": \"Section-header\",\n \"text\": \"Deposit\\nDeposits\"\n },\n {\n \"bbox\": [\n 95,\n 930,\n 1165,\n 1122\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th></th><th>Mata Wang<br>Currency</th><th>Talian Kredit<br>Credit Line</th><th>Faedah Diperolehi^<br>Interest Earned^</th><th>Faedah Dikenakan^<br>Interest Charged^</th><th>Baki<br>Balance</th></tr></thead><tbody><tr><td><strong>Simpanan / Savings</strong><br>ONE Account<br>910-359-786-9</td><td>RM</td><td>0.00</td><td>1,311.19</td><td>-</td><td>78,449.88</td></tr><tr><td colspan=\\\"5\\\"><strong>Jumlah / Total (RM)</strong></td><td><strong>78,449.88</strong></td></tr><tr><td colspan=\\\"5\\\"><strong>Jumlah Keseluruhan (Bersamaan RM) / Grand Total (RM Equivalent)</strong></td><td><strong>78,449.88</strong></td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 107,\n 1124,\n 436,\n 1142\n ],\n \"category\": \"Text\",\n \"text\": \"^Faedah Diperolehi / Dikenakan untuk 2024\"\n },\n {\n \"bbox\": [\n 107,\n 1144,\n 378,\n 1162\n ],\n \"category\": \"Text\",\n \"text\": \"^Interest Earned / Charged for 2024\"\n },\n {\n \"bbox\": [\n 107,\n 1227,\n 598,\n 1274\n ],\n \"category\": \"Section-header\",\n \"text\": \"Gambaran Keseluruhan Faedah ONE Account^\\nONE Account Interest Overview^\"\n },\n {\n \"bbox\": [\n 95,\n 1276,\n 1165,\n 1495\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th></th><th>Amaun (RM)<br>Amount (RM)</th></tr></thead><tbody><tr><td>Perbelanjaan Layak Kad Kredit / Credit Card Eligible Spend</td><td>3,910.06</td></tr><tr><td>Perbelanjaan Layak Kad Debit / Debit Card Eligible Spend</td><td>0.00</td></tr><tr><td>Jumlah Perbelanjaan Layak Kad / Total Card(s) Eligible Spend</td><td>3,910.06</td></tr><tr><td>Baki Purata Bulanan / Monthly Average Balance</td><td>38,670.07</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 75,\n 1545,\n 394,\n 1559\n ],\n \"category\": \"Section-header\",\n \"text\": \"Notifikasi Percanggahan / Discrepancy Notification :-\"\n },\n {\n \"bbox\": [\n 75,\n 1560,\n 1170,\n 1632\n ],\n \"category\": \"Text\",\n \"text\": \"Sila ambil perhatian bahawa anda terikat dengan kewajipan di bawah peraturan yang mengawal operasi akaun ini, untuk memeriksa catatan dalam kenyataan di atas. Jika anda tidak memaklumkan kami secara bertulis, sebarang kesilapan, peninggalan atau debit yang tak dibenarkan dalam tempoh lima belas (15) hari dari kenyataan ini, kenyataan di atas akan hendaklah dianggap sah, betul, tepat dan meyakinkan mengikat anda, dan anda tidak boleh membuat tuntutan berkenaan dengannya terhadap bank. Untuk sebarang percanggahan, anda boleh menghubungi Pusat Hubungan UOB di nombor berikut 03-2612 8121 (Kuala Lumpur), 04-2401 121 (P. Pinang), 07-2881 121 (Johor Bahru), 082-287121 (Kuching), 088-477 121 (Kota Kinabalu) atau boleh emelkan kepada [email protected].\"\n },\n {\n \"bbox\": [\n 75,\n 1633,\n 1170,\n 1677\n ],\n \"category\": \"Text\",\n \"text\": \"Please note that you are bound by a duty under the rules governing the operation of this account, to check the entries in the above statement. If you do not notify us in writing of any errors, omissions or unauthorised debits within fifteen (15) days of this statement, the entries above shall be deemed valid, correct, accurate and conclusively binding upon you, and you shall have no claim against the bank in relation thereto.\"\n },\n {\n \"bbox\": [\n 75,\n 1677,\n 1170,\n 1703\n ],\n \"category\": \"Text\",\n \"text\": \"For any discrepancies, you may notify UOB Contact Centre at 03-2612 8121 (Kuala Lumpur), 04-2401 121 (Penang), 07-2881 121 (Johor Bahru), 082-287 121 (Kuching), 088-477 121 (Kota Kinabalu) or email [email protected].\"\n },\n {\n \"bbox\": [\n 75,\n 1718,\n 684,\n 1733\n ],\n \"category\": \"Page-footer\",\n \"text\": \"United Overseas Bank (Malaysia) Bhd (271809K) Menara UOB, Jalan Raja Laut, 50350 Kuala Lumpur 720681\"\n },\n {\n \"bbox\": [\n 1109,\n 1703,\n 1146,\n 1718\n ],\n \"category\": \"Page-footer\",\n \"text\": \"N 376\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/BNI Alvian_page-0003.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 258,\n 91,\n 423,\n 112\n ],\n \"category\": \"Text\",\n \"text\": \":211114369181376\"\n },\n {\n \"bbox\": [\n 80,\n 124,\n 1123,\n 1633\n ],\n \"category\": \"Table\",\n \"text\": \"<table><tbody><tr><td></td><td>:211114369181376</td><td></td><td></td><td></td></tr><tr><td>2022-10-18</td><td>TRF/PAY/TOP-UP ECHANNEL KARTU 6010043330000001 PLN PREPAID 211114369181376</td><td>Db.</td><td>400.000,00</td><td>34.348.897,00</td></tr><tr><td>2022-10-17</td><td>TARIK TUNAI KARTU 5198931810443108 BANK NEGARA INDONESIA BEK ASI</td><td>Db.</td><td>100.000,00</td><td>34.648.897,00</td></tr><tr><td>2022-10-16</td><td>TRF/PAY/TOP-UP ECHANNEL KARTU 5260512011281803 0000000000000000000000</td><td>Cr.</td><td>800.000,00</td><td>34.748.897,00</td></tr><tr><td>2022-10-16</td><td>TARIK TUNAI KARTU 5198931810443108 BANK NEGARA INDONESIA BEK ASI</td><td>Db.</td><td>1.000.000,00</td><td>33.948.897,00</td></tr><tr><td>2022-10-16</td><td>TRF/PAY/TOP-UP ECHANNEL KARTU 5260512011281803 0000000000000000000000</td><td>Cr.</td><td>8.000.000,00</td><td>34.948.897,00</td></tr><tr><td>2022-10-15</td><td>TRANSFER KE IWA KARTIWA</td><td>Db.</td><td>200.000,00</td><td>26.948.897,00</td></tr><tr><td>2022-10-15</td><td>TARIK TUNAI KARTU 5198931810443108 BANK NEGARA INDONESIA BEK ASI</td><td>Db.</td><td>200.000,00</td><td>27.148.897,00</td></tr><tr><td>2022-10-15</td><td>BY TRX ATM PRIMA</td><td>Db.</td><td>6.500,00</td><td>27.348.897,00</td></tr><tr><td>2022-10-15</td><td>TRF/PAY/TOP-UP ECHANNEL KARTU 5198931810443108 46.46.46.46 LANDMARK IBJ AKARTA JK</td><td>Db.</td><td>2.000.000,00</td><td>27.355.397,00</td></tr><tr><td>2022-10-15</td><td>TRF/PAY/TOP-UP ECHANNEL KARTU 6019007518921805 0000000000000000000000</td><td>Cr.</td><td>4.500.000,00</td><td>29.355.397,00</td></tr><tr><td>2022-10-15</td><td>TRANSFER DARI Sdri DEVINA HANDAYANI</td><td>Cr.</td><td>4.000.000,00</td><td>24.855.397,00</td></tr><tr><td>2022-10-14</td><td>TRANSFER DARI Sdr ALI SAPUTRA</td><td>Cr.</td><td>3.000.000,00</td><td>20.855.397,00</td></tr><tr><td>2022-10-12</td><td>TRANSFER DARI Ibu RINI ASTUTI Ari</td><td>Cr.</td><td>200.000,00</td><td>17.855.397,00</td></tr><tr><td>2022-10-11</td><td>TARIK TUNAI KARTU 5198931810443108 BANK NEGARA INDONESIA BEK ASI</td><td>Db.</td><td>5.000.000,00</td><td>18.055.397,00</td></tr><tr><td>2022-10-11</td><td>TRF/PAY/TOP-UP ECHANNEL KARTU 5260512011281803 0000000000000000000000</td><td>Cr.</td><td>3.000.000,00</td><td>23.055.397,00</td></tr><tr><td>2022-10-07</td><td>TRF/PAY/TOP-P ECHANNEL KARTU 5198931810443108 46.46.46.46 LANDMARK IBJ AKARTA</td><td>Db.</td><td>2.000.000,00</td><td>20.055.397,00</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 39,\n 1708,\n 256,\n 1723\n ],\n \"category\": \"Page-footer\",\n \"text\": \"Printed on 24/11/2022 17:32:23 Waktu\"\n },\n {\n \"bbox\": [\n 1135,\n 1708,\n 1202,\n 1723\n ],\n \"category\": \"Page-footer\",\n \"text\": \"Page 3 of 3\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/RC BNI Arcamanik 2018033330 Mei 2023_page-0001.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 147,\n 72,\n 360,\n 139\n ],\n \"category\": \"Page-header\",\n \"text\": \"BNI\"\n },\n {\n \"bbox\": [\n 605,\n 249,\n 868,\n 279\n ],\n \"category\": \"Section-header\",\n \"text\": \"Account Information\"\n },\n {\n \"bbox\": [\n 567,\n 318,\n 901,\n 347\n ],\n \"category\": \"Section-header\",\n \"text\": \"ACCOUNT STATEMENT\"\n },\n {\n \"bbox\": [\n 27,\n 405,\n 369,\n 502\n ],\n \"category\": \"Text\",\n \"text\": \"MAJU JAYA TEKNOLOGI PT\\nJL PURI DAGO 3 NO 11 ANTAPANI\\nINDONESIA\"\n },\n {\n \"bbox\": [\n 459,\n 405,\n 1096,\n 551\n ],\n \"category\": \"Text\",\n \"text\": \"Account No. : 2018033330 / PT MAJU JAYA TEKNOLOGI(IDR)\\nAccount Type : Saving\\nPeriod : 01-May-23 - 31-May-23\\nPage : 1\"\n },\n {\n \"bbox\": [\n 26,\n 608,\n 1446,\n 1687\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>Posting Date</th><th>Effective Date</th><th>Branch</th><th>Journal</th><th>Transaction Description</th><th>Amount</th><th>DB/CR</th><th>Balance</th></tr></thead><tbody><tr><td colspan=\\\"8\\\">Ledger Balance</td><td></td><td></td><td>423,673,032.00</td></tr><tr><td>03/05/2023 09.11.37</td><td>03/05/2023 09.11.37</td><td>DIVISI TRANSACTIONAL BANKING SERVICES (TBS)</td><td>975351</td><td>TRF/PAY/TOP-UP ECHANNEL | PEMINDAHAN KE 1300055512340 | 00000000000000000000 | 1300055512340 | 03052023MJT | sweep fr BNI t</td><td>250,000,000.00</td><td>D</td><td>173,673,032.00</td></tr><tr><td>03/05/2023 00.00.00</td><td>03/05/2023 00.00.00</td><td>DIVISI TRANSACTIONAL BANKING SERVICES (TBS)</td><td>975351</td><td>BY TRX BIFAST</td><td>2,500.00</td><td>D</td><td>173,670,532.00</td></tr><tr><td>08/05/2023 09.31.33</td><td>08/05/2023 09.31.33</td><td>DIVISI OPERASIONAL</td><td>323479</td><td>KREDIT LAIN-LAIN | 013 EKA MAS REPUBLI Pt. Maju Jaya Tekno / Pt. Maju</td><td>45,006,463.00</td><td>K</td><td>218,676,995.00</td></tr><tr><td>22/05/2023 08.49.42</td><td>22/05/2023 08.49.42</td><td>DUMMY BRANCH RTGS</td><td>478707</td><td>TRANSFER DARI | EKA MAS REPUBLIK - PT BANK PERMATA | Pt. Maju Jaya Tekno / Pt. Maju Jaya Teknologi 1 invoice | 0897139268900012</td><td>156,916,538.00</td><td>K</td><td>375,593,533.00</td></tr><tr><td>25/05/2023 17.26.49</td><td>25/05/2023 17.26.49</td><td>INTERNAL</td><td>051092</td><td>TRF/PAY/TOP-UP ECHANNEL | PEMINDAHAN KE 66800002694 | 6010047890819061 | BNI DIRECT</td><td>50,000,000.00</td><td>D</td><td>325,593,533.00</td></tr><tr><td>25/05/2023 00.00.00</td><td>25/05/2023 00.00.00</td><td>INTERNAL</td><td>051092</td><td>BY TRX ATM PRIMA</td><td>6,500.00</td><td>D</td><td>325,587,033.00</td></tr><tr><td>25/05/2023 17.35.23</td><td>25/05/2023 17.35.23</td><td>DIVISI TRANSACTIONAL BANKING SERVICES (TBS)</td><td>943952</td><td>TRANSFER KE | 25A052023MJT | sweep fr BNI to OCBC NISP | PEMINDAHAN KE 902288696 SIMSEM ONLINE TRANSFER BNID | KARTU 6010047890040177 | ONLINE 202305252399915248</td><td>30,000,000.00</td><td>D</td><td>295,587,033.00</td></tr><tr><td>25/05/2023 23.46.51</td><td>25/05/2023 23.46.51</td><td>BANDUNG</td><td>600793</td><td>BV TRK TRF/STD ORD | PEMINDAHAN KE 1182671462 MAJU JAYA TEKNOLOGI</td><td>124,108,750.00</td><td>D</td><td>171,478,283.00</td></tr><tr><td>25/05/2023 23.47.19</td><td>25/05/2023 23.47.19</td><td>BANDUNG</td><td>612113</td><td>BV TRK TRF/STD ORD | PEMINDAHAN KE 1238117922 MAJU JAYA TEKNOLOGI</td><td>6,379,583.00</td><td>D</td><td>165,098,700.00</td></tr><tr><td>25/05/2023 23.48.32</td><td>25/05/2023 23.48.32</td><td>BANDUNG</td><td>645892</td><td>BV TRK TRF/STD ORD | PEMINDAHAN KE 1328526808 MAJU JAYA TEKNOLOGI</td><td>3,686,875.00</td><td>D</td><td>161,411,825.00</td></tr></tbody></table>\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/BTN AHMAD WAHYU BUDIMAN_page-0001.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 60,\n 68,\n 315,\n 124\n ],\n \"category\": \"Page-header\",\n \"text\": \"BUMN UNTUK INDONESIA\"\n },\n {\n \"bbox\": [\n 987,\n 62,\n 1103,\n 130\n ],\n \"category\": \"Page-header\",\n \"text\": \"btñ\"\n },\n {\n \"bbox\": [\n 69,\n 194,\n 335,\n 229\n ],\n \"category\": \"Section-header\",\n \"text\": \"# Mutasi Rekening\"\n },\n {\n \"bbox\": [\n 69,\n 233,\n 264,\n 253\n ],\n \"category\": \"Text\",\n \"text\": \"## Account Statement\"\n },\n {\n \"bbox\": [\n 73,\n 288,\n 351,\n 309\n ],\n \"category\": \"Text\",\n \"text\": \"AHMAD WAHYU BUDIMAN\"\n },\n {\n \"bbox\": [\n 75,\n 325,\n 253,\n 345\n ],\n \"category\": \"Text\",\n \"text\": \"10201500180530\"\n },\n {\n \"bbox\": [\n 840,\n 325,\n 1163,\n 347\n ],\n \"category\": \"Text\",\n \"text\": \"01 April 2024 s/d 30 April 2024\"\n },\n {\n \"bbox\": [\n 69,\n 376,\n 1167,\n 1266\n ],\n \"category\": \"Table\",\n \"text\": \"<table>\\n <thead>\\n <tr>\\n <th>Tgl & Waktu Date & Time</th>\\n <th>Jenis Transaksi Transaction Type</th>\\n <th>Debit (IDR) Debit (IDR)</th>\\n <th>Kredit (IDR) Credit (IDR)</th>\\n <th>Saldo(IDR) Balance (IDR)</th>\\n </tr>\\n\\n </thead>\\n <tbody>\\n<tr><td colspan=\\\"4\\\">Saldo Awal Beginning Balance</td>\\n <td>32.500,00</td>\\n </tr> <tr>\\n <td>30/04/2024 00:00:00</td>\\n <td>Biaya Administrasi</td>\\n <td>12.500,00</td>\\n <td>0,00</td>\\n <td>15.000,00</td>\\n </tr> <tr>\\n <td>30/04/2024 00:00:00</td>\\n <td>Pungutan denda saldo dibawah</td>\\n <td>5.000,00</td>\\n <td>0,00</td>\\n <td>27.500,00</td>\\n </tr> <tr>\\n <td>30/04/2024 18:26:44</td>\\n <td>BIFAST Incoming SA GoPay Bank Transfer ID24121412016514G7 DR 00000000000702597781 DOMPET ANAK BANG 000066572786 PERMATABANK PERMATA BANK</td>\\n <td>0,00</td>\\n <td>100.000,00</td>\\n <td>115.000,00</td>\\n </tr> <tr>\\n <td>30/04/2024 21:26:52</td>\\n <td>Bill Pay Gopay SA 9000|081369764844|4121ESB378600545 2126520430200 6017ESB378600545</td>\\n <td>81.000,00</td>\\n <td>0,00</td>\\n <td>34.000,00</td>\\n </tr> <tr>\\n <td>30/04/2024 23:59:59</td>\\n <td>Biaya Adm Kartu Atm ADM ATM CARD 0000010201500180530</td>\\n <td>1.450,00</td>\\n <td>0,00</td>\\n <td>32.550,00</td>\\n </tr><tr><td colspan=\\\"2\\\">Total Total</td>\\n <td>99.950,00</td>\\n <td>100.000,00</td>\\n <td></td>\\n </tr><tr><td colspan=\\\"4\\\">Saldo akhir Ending Balance</td>\\n <td>32.550,00</td>\\n </tr> </tbody>\\n</table>\"\n },\n {\n \"bbox\": [\n 66,\n 1552,\n 547,\n 1636\n ],\n \"category\": \"Text\",\n \"text\": \"**Karena Hidup Gak Cuma**\\n**Tentang Hari Ini**\"\n },\n {\n \"bbox\": [\n 1181,\n 1622,\n 1193,\n 1646\n ],\n \"category\": \"Page-footer\",\n \"text\": \"1\"\n },\n {\n \"bbox\": [\n 343,\n 1702,\n 896,\n 1730\n ],\n \"category\": \"Page-footer\",\n \"text\": \"© PT Bank Tabungan Negara (Persero) TBK\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/estatement bca rahmat_page-0003.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 44,\n 92,\n 232,\n 152\n ],\n \"category\": \"Page-header\",\n \"text\": \"BCA\"\n },\n {\n \"bbox\": [\n 434,\n 113,\n 800,\n 147\n ],\n \"category\": \"Section-header\",\n \"text\": \"REKENING TAHAPAN\"\n },\n {\n \"bbox\": [\n 60,\n 174,\n 194,\n 189\n ],\n \"category\": \"Text\",\n \"text\": \"KCP UJUNG BERUNG\"\n },\n {\n \"bbox\": [\n 677,\n 202,\n 1016,\n 222\n ],\n \"category\": \"Text\",\n \"text\": \"NO. REKENING : 2831227046\"\n },\n {\n \"bbox\": [\n 677,\n 233,\n 956,\n 252\n ],\n \"category\": \"Text\",\n \"text\": \"HALAMAN : 3/8\"\n },\n {\n \"bbox\": [\n 59,\n 199,\n 303,\n 344\n ],\n \"category\": \"Text\",\n \"text\": \"RAHMAT HIDAYAT\\nCIBIRU\\nPALASARI RT02 RW11\\nKOMP VIJAYAKUSUMAH A3-C2\\nBANDUNG 40614\\nINDONESIA\"\n },\n {\n \"bbox\": [\n 677,\n 262,\n 1063,\n 282\n ],\n \"category\": \"Text\",\n \"text\": \"PERIODE : NOVEMBER 2020\"\n },\n {\n \"bbox\": [\n 677,\n 293,\n 948,\n 312\n ],\n \"category\": \"Text\",\n \"text\": \"MATA UANG : IDR\"\n },\n {\n \"bbox\": [\n 50,\n 381,\n 118,\n 397\n ],\n \"category\": \"Text\",\n \"text\": \"CATATAN:\"\n },\n {\n \"bbox\": [\n 639,\n 405,\n 1185,\n 444\n ],\n \"category\": \"List-item\",\n \"text\": \"* BCA berhak setiap saat melakukan koreksi apabila ada kesalahan pada Laporan Mutasi Rekening.\"\n },\n {\n \"bbox\": [\n 54,\n 405,\n 597,\n 463\n ],\n \"category\": \"List-item\",\n \"text\": \"* Apabila nasabah tidak melakukan sanggahan atas Laporan Mutasi Rekening ini sampai dengan akhir bulan berikutnya, nasabah dianggap telah menyetujui segala data yang tercantum pada Laporan Mutasi Rekening ini.\"\n },\n {\n \"bbox\": [\n 42,\n 483,\n 1195,\n 1530\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>TANGGAL</th><th>KETERANGAN</th><th>CBG</th><th>MUTASI</th><th>SALDO</th></tr></thead><tbody><tr><td></td><td>/M-BCA</td><td></td><td></td><td></td></tr><tr><td>02/11</td><td>TARIKAN ATM 02/11</td><td></td><td>2,500,000.00 DB</td><td>6,485,867.20</td></tr><tr><td>02/11</td><td>TARIKAN ATM 02/11</td><td></td><td>500,000.00 DB</td><td></td></tr><tr><td>02/11</td><td>TRSF E-BANKING DB 0211/FTFVA/WS95031 12608/SHOPEE - - 5294494306</td><td></td><td>200,497.00 DB</td><td></td></tr><tr><td>02/11</td><td>TRSF E-BANKING DB 02/11 /95031/00000 KASBON PA EDWIN BL ACK YUSRON ISMAIL</td><td></td><td>1,500,000.00 DB</td><td></td></tr><tr><td>02/11</td><td>SWITCHING DB TRANSFER KE 008 ARIEF YANTO RUKMAN /M-BCA</td><td></td><td>550,000.00 DB</td><td></td></tr><tr><td>02/11</td><td>SWITCHING DB TRANSFER KE 008 ARIEF YANTO RUKMAN /M-BCA</td><td></td><td>6,500.00 DB</td><td></td></tr><tr><td>02/11</td><td>TRSF E-BANKING DB 0211/FTFVA/WS95031 22999/DIPOSTAR - - 52040021183</td><td></td><td>3,629,580.00 DB</td><td></td></tr><tr><td>02/11</td><td>SWITCHING CR TRANSFER DR 008 FIRMAN SUHUD ARIFI /MARTADINATA</td><td></td><td>1,000,000.00</td><td></td></tr><tr><td>02/11</td><td>SWITCHING DB TRANSFER KE 008 WULUKU RAYA /M-BCA</td><td></td><td>490,000.00 DB</td><td></td></tr><tr><td>02/11</td><td>SWITCHING DB TRANSFER KE 008 WULUKU RAYA /M-BCA</td><td></td><td>6,500.00 DB</td><td>602,790.20</td></tr><tr><td>04/11</td><td>TRSF E-BANKING DB 04/11 /95031/00000 PENGURUSAN SPT KAR YAWAN YUYUN YUNIA DEWI</td><td></td><td>200,000.00 DB</td><td>402,790.20</td></tr><tr><td>06/11</td><td>TRSF E-BANKING DB 06/11 /95031/00000 DUKUNGAN OSIE FANINA</td><td></td><td>250,000.00 DB</td><td></td></tr><tr><td>06/11</td><td>SWITCHING DB TRANSFER KE 009 SDRI DIANA FATMAWA /M-BCA</td><td></td><td>20,000.00 DB</td><td></td></tr><tr><td>06/11</td><td>SWITCHING DB TRANSFER KE 009 SDRI DIANA FATMAWA /M-BCA</td><td></td><td>6,500.00 DB</td><td>126,290.20</td></tr><tr><td>09/11</td><td>TRSF E-BANKING CR TANGGAL :08/11 08/11 /95031/00000 DP TO PROJECT LIFT PT SMP</td><td></td><td>10,000,000.00</td><td>10,126,290.20</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 868,\n 1553,\n 1162,\n 1575\n ],\n \"category\": \"Page-footer\",\n \"text\": \"Bersambung ke Halaman berikut\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/OCBC 88f62fd2-c3ba-4ee3-bf64-951b1f5e3af1-Koran88_page-0002.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 733,\n 99,\n 1020,\n 122\n ],\n \"category\": \"Section-header\",\n \"text\": \"ACCOUNT STATEMENT\"\n },\n {\n \"bbox\": [\n 72,\n 84,\n 388,\n 153\n ],\n \"category\": \"Page-header\",\n \"text\": \"OCBC NISP\"\n },\n {\n \"bbox\": [\n 667,\n 141,\n 1085,\n 165\n ],\n \"category\": \"Text\",\n \"text\": \"FROM : 2023-09-01 TO : 2023-09-10\"\n },\n {\n \"bbox\": [\n 82,\n 200,\n 774,\n 282\n ],\n \"category\": \"Text\",\n \"text\": \"Account No : 545800078978 - IDR\\nAccount Name : PT. COKRO SEMPURNA JAYA\\nTotal Debit : \\nTotal Credit : \\n3,165,812,400.00\\n3,234,572,414.00\"\n },\n {\n \"bbox\": [\n 875,\n 200,\n 1421,\n 282\n ],\n \"category\": \"Text\",\n \"text\": \"Opening Balance : 81,977,986.00\\nClosing Balance : 150,738,000.00\\nLedger Balance : 14,073,627.00\\nAvailable Balance : 14,073,627.00\"\n },\n {\n \"bbox\": [\n 72,\n 323,\n 1673,\n 1018\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><td>Transaction Date</td><td>Value Date</td><td>Reference No.</td><td>Cheque No.</td><td>Description</td><td>Debit</td><td>Credit</td><td>Balance</td></tr></thead><tbody><tr><td>09/09/2023 13:37:55</td><td>09/09/2023</td><td>232521333298</td><td></td><td>069 - Transfer Keluar BI Fast ROMI OR JULIA/-</td><td>50,000,000.00</td><td></td><td>192,013,900.00</td></tr><tr><td>09/09/2023 13:38:03</td><td>09/09/2023</td><td>232521330285</td><td></td><td>069 - Transfer Keluar BI Fast DEWI MULYASARI/-</td><td>150,000,000.00</td><td></td><td>42,013,900.00</td></tr><tr><td>09/09/2023 16:04:40</td><td>09/09/2023</td><td>232521603400</td><td></td><td>005 - Pemindahbukuan (OVERBOOKING SI) SASTRA GUNAWAN/</td><td></td><td>1,000,000,000.00</td><td>1,042,013,900.00</td></tr><tr><td>09/09/2023 16:15:05</td><td>09/09/2023</td><td>232521612457</td><td></td><td>069 - Transfer Keluar BI Fast ROMI OR JULIA/-</td><td>25,000,000.00</td><td></td><td>1,017,013,900.00</td></tr><tr><td>09/09/2023 16:15:15</td><td>09/09/2023</td><td>232521607430</td><td></td><td>069 - Transfer Keluar BI Fast YUYUS/-</td><td>24,968,000.00</td><td></td><td>992,045,900.00</td></tr><tr><td>09/09/2023 16:15:22</td><td>09/09/2023</td><td>232521610454</td><td></td><td>069 - Transfer Keluar BI Fast FARDIMAN/-</td><td>37,131,500.00</td><td></td><td>954,914,400.00</td></tr><tr><td>09/09/2023 16:15:28</td><td>09/09/2023</td><td>232521604411</td><td></td><td>069 - Transfer Keluar BI Fast SUPRI BAHRUDIN/-</td><td>25,548,000.00</td><td></td><td>929,366,400.00</td></tr><tr><td>09/09/2023 16:15:34</td><td>09/09/2023</td><td>232521609446</td><td></td><td>069 - Transfer Keluar BI Fast DEDE MAUSUL YUSUP/-</td><td>8,678,500.00</td><td></td><td>920,687,900.00</td></tr><tr><td>09/09/2023 16:32:35</td><td>09/09/2023</td><td>232521628575</td><td></td><td>069 - Transfer Keluar BI Fast PARIS LOGAM SEJAHTERA, CV/-</td><td>200,000,000.00</td><td></td><td>720,687,900.00</td></tr><tr><td>09/09/2023 16:32:43</td><td>09/09/2023</td><td>232521624540</td><td></td><td>069 - Transfer Keluar BI Fast SAWINA/-</td><td>12,216,000.00</td><td></td><td>708,471,900.00</td></tr><tr><td>09/09/2023 16:32:52</td><td>09/09/2023</td><td>232521622528</td><td></td><td>069 - Transfer Keluar BI Fast ABU NAIM/-</td><td>177,478,750.00</td><td></td><td>530,993,150.00</td></tr><tr><td>09/09/2023 16:33:01</td><td>09/09/2023</td><td>232521621517</td><td></td><td>069 - Transfer Keluar BI Fast IMAM SYAFEI/-</td><td>87,568,400.00</td><td></td><td>443,424,750.00</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 95,\n 1060,\n 333,\n 1079\n ],\n \"category\": \"Text\",\n \"text\": \"Printed By : CSJ251201CO\"\n },\n {\n \"bbox\": [\n 1397,\n 1083,\n 1645,\n 1102\n ],\n \"category\": \"Text\",\n \"text\": \"Page 2 of 3\"\n },\n {\n \"bbox\": [\n 98,\n 1093,\n 420,\n 1111\n ],\n \"category\": \"Text\",\n \"text\": \"Printed On : 13-Sep-2023 02:16:10 PM\"\n },\n {\n \"bbox\": [\n 72,\n 1136,\n 601,\n 1154\n ],\n \"category\": \"Page-footer\",\n \"text\": \"This is computer-generated and does not require Bank's signature\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/estatement bca laila_page-0002.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 45,\n 92,\n 232,\n 153\n ],\n \"category\": \"Page-header\",\n \"text\": \"BCA\"\n },\n {\n \"bbox\": [\n 363,\n 113,\n 874,\n 147\n ],\n \"category\": \"Page-header\",\n \"text\": \"REKENING TAHAPAN XPRESI\"\n },\n {\n \"bbox\": [\n 61,\n 175,\n 188,\n 189\n ],\n \"category\": \"Text\",\n \"text\": \"KCP TAMAN MELATI\"\n },\n {\n \"bbox\": [\n 677,\n 202,\n 1014,\n 222\n ],\n \"category\": \"Text\",\n \"text\": \"NO. REKENING : 5465323831\"\n },\n {\n \"bbox\": [\n 677,\n 233,\n 956,\n 253\n ],\n \"category\": \"Text\",\n \"text\": \"HALAMAN : 2/2\"\n },\n {\n \"bbox\": [\n 59,\n 200,\n 283,\n 344\n ],\n \"category\": \"Text\",\n \"text\": \"LAILA NURAENI\\nCIMANGGIS\\nRTO05 RW009 JAWA BARAT\\nKP RUMBUT\\nKOTA DEPOK 16951\\nINDONESIA\"\n },\n {\n \"bbox\": [\n 677,\n 262,\n 1073,\n 282\n ],\n \"category\": \"Text\",\n \"text\": \"PERIODE : SEPTEMBER 2022\"\n },\n {\n \"bbox\": [\n 677,\n 294,\n 948,\n 313\n ],\n \"category\": \"Text\",\n \"text\": \"MATA UANG : IDR\"\n },\n {\n \"bbox\": [\n 50,\n 381,\n 118,\n 397\n ],\n \"category\": \"Text\",\n \"text\": \"CATATAN:\"\n },\n {\n \"bbox\": [\n 640,\n 405,\n 1185,\n 444\n ],\n \"category\": \"List-item\",\n \"text\": \"* BCA berhak setiap saat melakukan koreksi apabila ada kesalahan pada Laporan Mutasi Rekening.\"\n },\n {\n \"bbox\": [\n 54,\n 405,\n 597,\n 464\n ],\n \"category\": \"List-item\",\n \"text\": \"* Apabila nasabah tidak melakukan sanggahan atas Laporan Mutasi Rekening ini sampai dengan akhir bulan berikutnya, nasabah dianggap telah menyetujui segala data yang tercantum pada Laporan Mutasi Rekening ini.\"\n },\n {\n \"bbox\": [\n 42,\n 484,\n 1196,\n 1273\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>TANGGAL</th><th>KETERANGAN</th><th>CBG</th><th>MUTASI</th><th>SALDO</th></tr></thead><tbody><tr><td>19/09</td><td>TRSF E-BANKING CR TANGGAL : 18/09 18/09 /95031/00000 SERVICE 15AUG 15SE PT PTG 250 FRANCISS CLAUDYA T</td><td></td><td>452,332.00</td><td>469,384.68</td></tr><tr><td>19/09</td><td>SETORAN VIA CDM 19/09 WSID:ZN8C1 LAILA NURAENI</td><td></td><td>450,000.00</td><td></td></tr><tr><td>19/09</td><td>TRSF E-BANKING DB AHMAD JUANDA 19/09 /95031/00000</td><td></td><td>450,000.00 DB</td><td>469,384.68</td></tr><tr><td>26/09</td><td>TARIKAN ATM 24/09</td><td></td><td>100,000.00 DB</td><td></td></tr><tr><td>26/09</td><td>KARTU DEBIT TANGGAL : 24/09 001-VIVO RADAR AUR 5379413036533609</td><td></td><td>59,000.00 DB</td><td></td></tr><tr><td>26/09</td><td>TRSF E-BANKING CR TANGGAL : 24/09 2409/FTCLS/WS95031 Q0877XXXXXX27</td><td></td><td>100,000.00</td><td></td></tr><tr><td>26/09</td><td>TRSF E-BANKING DB TANGGAL : 24/09 FRANSISCA VELENSIA 2409/FTCLS/WS95031 Q0896XXXXXX55 buat ngewe JULIA ARDILAH</td><td></td><td>25,000.00 DB</td><td></td></tr><tr><td>26/09</td><td>TRSF E-BANKING CR 26/09 /95031/00000 MUHAMMAD ALI SYAHB</td><td></td><td>500,000.00</td><td>885,384.68</td></tr><tr><td>28/09</td><td>TRSF E-BANKING CR TANGGAL : 27/09 27/09 /95031/00000 MUHAMMAD ALI SYAHB</td><td></td><td>50,000.00</td><td></td></tr><tr><td>28/09</td><td>TRSF E-BANKING DB TANGGAL : 27/09 27/09 /95031/00000 ROFY SAPUTRA</td><td></td><td>75,000.00 DB</td><td></td></tr><tr><td>28/09</td><td>TARIKAN ATM 28/09</td><td></td><td>50,000.00 DB</td><td>810,384.68</td></tr><tr><td>30/09</td><td>KARTU DEBIT 001-VIVO RADAR AUR 5379413036533609</td><td></td><td>50,000.00 DB</td><td></td></tr><tr><td>30/09</td><td>TRSF E-BANKING DB 30/09 /95031/00000 MUHAMMAD ALI SYAHB</td><td></td><td>50,000.00 DB</td><td>710,384.68</td></tr><tr><td colspan=\\\"2\\\">SALDO AWAL :</td><td>425,090.68</td><td></td><td></td></tr><tr><td colspan=\\\"2\\\">MUTASI CR :</td><td>4,584,106.00</td><td>13</td><td></td></tr><tr><td colspan=\\\"2\\\">MUTASI DB :</td><td>4,298,812.00</td><td>17</td><td></td></tr><tr><td colspan=\\\"2\\\">SALDO AKHIR :</td><td>710,384.68</td><td></td><td></td></tr></tbody></table>\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/Permata Koperasi Karyawan Toyota_page-0001.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 566,\n 17,\n 668,\n 107\n ],\n \"category\": \"Picture\",\n \"text\": \"\"\n },\n {\n \"bbox\": [\n 0,\n 0,\n 190,\n 132\n ],\n \"category\": \"Picture\",\n \"text\": \"\"\n },\n {\n \"bbox\": [\n 223,\n 67,\n 584,\n 111\n ],\n \"category\": \"Text\",\n \"text\": \"PermataBank\"\n },\n {\n \"bbox\": [\n 792,\n 200,\n 1221,\n 222\n ],\n \"category\": \"Text\",\n \"text\": \"Periode Laporan : 01 JAN 2019 - 31 JAN 2019\"\n },\n {\n \"bbox\": [\n 97,\n 201,\n 232,\n 228\n ],\n \"category\": \"Section-header\",\n \"text\": \"Kepada / To\"\n },\n {\n \"bbox\": [\n 792,\n 222,\n 1221,\n 267\n ],\n \"category\": \"Text\",\n \"text\": \"Statement Period\\nTanggal Laporan : 01 FEBRUARI 2019\"\n },\n {\n \"bbox\": [\n 97,\n 230,\n 719,\n 340\n ],\n \"category\": \"Text\",\n \"text\": \"KOPERASI KARYAWAN TOYOTA (KOPKAR TOYOTA)\\nGED TOYOTA JL. YOS SUDARSO\\nNO I SUNTER II SUNGAI BAMBU TJ PRIOK\\nKOD. JAKARTA UTARA 14350\"\n },\n {\n \"bbox\": [\n 792,\n 267,\n 1221,\n 327\n ],\n \"category\": \"Text\",\n \"text\": \"Statement Date\\nNo CIF : K543094\\nCIF No.\"\n },\n {\n \"bbox\": [\n 327,\n 359,\n 755,\n 423\n ],\n \"category\": \"Picture\",\n \"text\": \"\"\n },\n {\n \"bbox\": [\n 306,\n 426,\n 757,\n 449\n ],\n \"category\": \"Text\",\n \"text\": \"T: IPK/REGULER/C:000073/A:000073/VIPKURIR\"\n },\n {\n \"bbox\": [\n 102,\n 486,\n 429,\n 538\n ],\n \"category\": \"Text\",\n \"text\": \"No Rekening : 353529005\\nAccount No.\"\n },\n {\n \"bbox\": [\n 687,\n 540,\n 1182,\n 625\n ],\n \"category\": \"Text\",\n \"text\": \"Dapatkan suku bunga spesial untuk Pembukaan Deposito melalui\\nPermataNet atau PermataMobile X dengan minimum penempatan Rp 10\\njuta khusus untuk nasabah perorangan yang telah melakukan registrasi\\nInternet Banking PermataNet.info PermataTel 1500111\"\n },\n {\n \"bbox\": [\n 102,\n 558,\n 529,\n 610\n ],\n \"category\": \"Text\",\n \"text\": \"Cabang : PermataBank SUNTER\\nBranch\"\n },\n {\n \"bbox\": [\n 102,\n 630,\n 569,\n 682\n ],\n \"category\": \"Text\",\n \"text\": \"Nama Produk : PERMATAGIRO PERSH-WB\\nProduct Name\"\n },\n {\n \"bbox\": [\n 102,\n 702,\n 357,\n 755\n ],\n \"category\": \"Text\",\n \"text\": \"Mata Uang : IDR\\nCurrency\"\n },\n {\n \"bbox\": [\n 85,\n 789,\n 1212,\n 1472\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>Tgl Trx.<br>Trx. Date<br>(dd/mm)</th><th>Tgl Valuta<br>Val.Date<br>(dd/mm)</th><th>Uraian Trx.<br>Trx. Description</th><th>Debet<br>Debit</th><th>Kredit<br>Credit</th><th>Saldo<br>Balance</th></tr></thead><tbody><tr><td></td><td></td><td>SALDO AWAL</td><td></td><td></td><td>337.008.576,07</td></tr><tr><td>01/01</td><td>01/01</td><td>Biaya adm. bulan JANUARI 2019</td><td>50.000,00</td><td></td><td>336.958.576,07</td></tr><tr><td>04/01</td><td>04/01</td><td>TRF DARI (R) TMMI MUFG BANK, LTD0307/TMMIN/SHD</td><td></td><td>74.564.000,00</td><td>411.522.576,07</td></tr><tr><td>04/01</td><td>04/01</td><td>TRF DARI TOYOTA ASTRA MOTOR, PT SUMITOMO MITSUI INDONESIA0309 NA</td><td></td><td>15.705.000,00</td><td>427.227.576,07</td></tr><tr><td>04/01</td><td>04/01</td><td>SETORAN TUNAI 530</td><td></td><td>13.000.000,00</td><td>440.227.576,07</td></tr><tr><td>04/01</td><td>04/01</td><td>PB KE HERNI 4119553151 PeB 17:18:46 Pemb Perpanjangan STNK ANGGOTA CV Herni No.18 0897003908558294</td><td>34.573.000,00</td><td></td><td>405.654.576,07</td></tr><tr><td>04/01</td><td>04/01</td><td>PB KE DESI PRIMAYANI 9813273338 PeB 17:18:48 Pemb. Perpanjang STNK ANGGOTACV DEPRA KRW No.83 0897003908558328</td><td>41.237.000,00</td><td></td><td>364.417.576,07</td></tr><tr><td>04/01</td><td>04/01</td><td>TRF KE SUDIRO 03870100483 BANK RAKYAT INDONESI PeB via Base24 17:40:36</td><td>5.600.000,00</td><td></td><td>358.817.576,07</td></tr><tr><td>04/01</td><td>04/01</td><td>Biaya Adm. Online Pemb Bai Barang a/n Aan Darmawan 9406117 0897004908564811</td><td>7.500,00</td><td></td><td>358.810.076,07</td></tr><tr><td>07/01</td><td>07/01</td><td>347853PHC-TUNAI 304</td><td>250.000.000,00</td><td></td><td>108.810.076,07</td></tr><tr><td>07/01</td><td>07/01</td><td>SETORAN TUNAI 530</td><td></td><td>26.000.000,00</td><td>134.810.076,07</td></tr><tr><td>07/01</td><td>07/01</td><td>PB DARI PT TOYOTA ASTRA MOTOR PeB 12:07:49 TAM to KOPERASI KARYAWAN TOYOTA 0897007908571858</td><td></td><td>252.682.197,00</td><td>387.492.273,07</td></tr><tr><td>07/01</td><td>07/01</td><td>TRF KE DUTAMASINDO LABO 01093035333 BANK CENTRAL ASIA PeB via Base24 18:26:32</td><td>6.630.000,00</td><td></td><td>380.862.273,07</td></tr><tr><td>07/01</td><td>07/01</td><td>Biaya Adm. Online Pemb Vendor Kafe Karawang PT Dutamasindo 0897007908575889</td><td>7.500,00</td><td></td><td>380.854.773,07</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 918,\n 1924,\n 1199,\n 1968\n ],\n \"category\": \"Page-footer\",\n \"text\": \"Halaman /Page : 1\\nC:000073/A:000073/P:002654/069/\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/UOB MR LIU, SHUAI (1)_page-0002.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 71,\n 42,\n 460,\n 119\n ],\n \"category\": \"Page-header\",\n \"text\": \"UOB 大华银行\"\n },\n {\n \"bbox\": [\n 908,\n 65,\n 1165,\n 94\n ],\n \"category\": \"Page-header\",\n \"text\": \"PRIVILEGE BANKING\"\n },\n {\n \"bbox\": [\n 1069,\n 188,\n 1164,\n 208\n ],\n \"category\": \"Page-header\",\n \"text\": \"Page 2 of 11\"\n },\n {\n \"bbox\": [\n 125,\n 232,\n 219,\n 255\n ],\n \"category\": \"Section-header\",\n \"text\": \"Deposits\"\n },\n {\n \"bbox\": [\n 94,\n 257,\n 1165,\n 614\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th></th><th>Currency</th><th>Credit Line</th><th>Interest Earned<sup>2</sup></th><th>Interest Charged<sup>2</sup></th><th>Balance</th></tr></thead><tbody><tr><td><strong>Current</strong><br/>GLOBAL PREMIUM A/C<br/>422-903-842-1</td><td>GBP</td><td>0.00</td><td>0.00</td><td>0.00</td><td>0.00</td></tr><tr><td></td><td></td><td></td><td><strong>Total (AUD)</strong></td><td></td><td><strong>0.00</strong></td></tr><tr><td></td><td></td><td></td><td><strong>Total (EUR)</strong></td><td></td><td><strong>0.00</strong></td></tr><tr><td></td><td></td><td></td><td><strong>Total (GBP)</strong></td><td></td><td><strong>0.00</strong></td></tr><tr><td></td><td></td><td></td><td><strong>Total (NZD)</strong></td><td></td><td><strong>0.00</strong></td></tr><tr><td></td><td></td><td></td><td><strong>Total (SGD)</strong></td><td></td><td><strong>52,880.49</strong></td></tr><tr><td></td><td></td><td></td><td><strong>Total (USD)</strong></td><td></td><td><strong>0.00</strong></td></tr><tr><td></td><td></td><td></td><td><strong>Grand Total (SGD Equivalent<sup>3</sup>)</strong></td><td></td><td><strong>52,880.49</strong></td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 125,\n 615,\n 354,\n 635\n ],\n \"category\": \"Text\",\n \"text\": \"² Interest Earned/Charged for 2023\"\n },\n {\n \"bbox\": [\n 125,\n 671,\n 313,\n 695\n ],\n \"category\": \"Section-header\",\n \"text\": \"Interest Summary\"\n },\n {\n \"bbox\": [\n 94,\n 696,\n 1165,\n 851\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th></th><th>Account Number</th><th>Currency</th><th>Interest Earned</th></tr></thead><tbody><tr><td>Privilege Account</td><td>422-316-397-6</td><td>SGD</td><td>2.62</td></tr><tr><td></td><td></td><td></td><td><strong>Total Interest (SGD)</strong></td><td><strong>2.62</strong></td></tr><tr><td></td><td></td><td></td><td><strong>Grand Total (SGD Equivalent<sup>3</sup>)</strong></td><td><strong>2.62</strong></td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 591,\n 866,\n 729,\n 886\n ],\n \"category\": \"Text\",\n \"text\": \"End of Summary\"\n },\n {\n \"bbox\": [\n 75,\n 1639,\n 1168,\n 1682\n ],\n \"category\": \"Page-footer\",\n \"text\": \"Please note that you are bound by a duty under the rules governing the operation of this account, to check the entries in the above statement. If you do not notify us in writing of any errors, omissions or unauthorised debits within fourteen (14) days of this statement, the entries above shall be deemed valid, correct, accurate and conclusively binding upon you, and you shall have no claim against the bank in relation thereto.\"\n },\n {\n \"bbox\": [\n 75,\n 1682,\n 1056,\n 1695\n ],\n \"category\": \"Page-footer\",\n \"text\": \"请注意,在此户口的管理条规下,您必须核对此结单所列项目,并在十四(14)天内,以书面通知本行任何错误,遗漏或未经授权支账,否则上述项目当被视为有效,适当和准确并受其约束,您不得向本行索取赔偿。\"\n },\n {\n \"bbox\": [\n 75,\n 1696,\n 1000,\n 1710\n ],\n \"category\": \"Page-footer\",\n \"text\": \"United Overseas Bank Limited • 80 Raffles Place UOB Plaza Singapore 048624 • Co. Reg. No. 193500026Z • GST Reg. No. MR-8500194-3 • www.uob.com.sg\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/estatement bca titi_page-0002.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 45,\n 92,\n 232,\n 153\n ],\n \"category\": \"Page-header\",\n \"text\": \"BCA\"\n },\n {\n \"bbox\": [\n 434,\n 113,\n 800,\n 147\n ],\n \"category\": \"Section-header\",\n \"text\": \"REKENING TAHAPAN\"\n },\n {\n \"bbox\": [\n 61,\n 174,\n 197,\n 189\n ],\n \"category\": \"Text\",\n \"text\": \"KCU TANJUNG PRIOK\"\n },\n {\n \"bbox\": [\n 677,\n 202,\n 1015,\n 313\n ],\n \"category\": \"Text\",\n \"text\": \"NO. REKENING : 0072717293\\nHALAMAN : 2/9\\nPERIODE : APRIL 2018\\nMATA UANG : IDR\"\n },\n {\n \"bbox\": [\n 59,\n 199,\n 283,\n 344\n ],\n \"category\": \"Text\",\n \"text\": \"TITI RAHAYU\\nKEC CILINCING\\nKEL CILINCING RT 12/05\\nJL BAKTI III 40\\nJAKARTA 14120\\nINDONESIA\"\n },\n {\n \"bbox\": [\n 50,\n 381,\n 118,\n 397\n ],\n \"category\": \"Text\",\n \"text\": \"CATATAN:\"\n },\n {\n \"bbox\": [\n 640,\n 405,\n 1185,\n 444\n ],\n \"category\": \"List-item\",\n \"text\": \"* BCA berhak setiap saat melakukan koreksi apabila ada kesalahan pada Laporan Mutasi Rekening.\"\n },\n {\n \"bbox\": [\n 54,\n 405,\n 596,\n 464\n ],\n \"category\": \"List-item\",\n \"text\": \"* Apabila nasabah tidak melakukan sanggahan atas Laporan Mutasi Rekening ini sampai dengan akhir bulan berikutnya, nasabah dianggap telah menyetujui segala data yang tercantum pada Laporan Mutasi Rekening ini.\"\n },\n {\n \"bbox\": [\n 42,\n 484,\n 1195,\n 1533\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>TANGGAL</th><th>KETERANGAN</th><th>CBG</th><th>MUTASI</th><th>SALDO</th></tr></thead><tbody><tr><td>02/04</td><td>TRSF E-BANKING DB 02/04 /95031/00000 LUMAR DAN PERTAMAX REZA WIJAYA</td><td></td><td>3,250,000.00 DB</td><td>9,943,649.45</td></tr><tr><td>02/04</td><td>TRSF E-BANKING DB 02/04 /95031/00000 AMI NURHAYATI</td><td></td><td>1,000,000.00 DB</td><td>8,943,649.45</td></tr><tr><td>03/04</td><td>TRSF E-BANKING CR 03/04 /95031/00000 BYR KURANG BPHTB W ARIS SRI BUDININGSIH</td><td></td><td>1,500,000.00</td><td>10,443,649.45</td></tr><tr><td>05/04</td><td>SWITCHING DB TRANSFER KE 426 TITI RAHAYU /M-BCA</td><td></td><td>750,000.00 DB</td><td></td></tr><tr><td>05/04</td><td>SWITCHING DB TRANSFER KE 426 TITI RAHAYU /M-BCA</td><td></td><td>6,500.00 DB</td><td></td></tr><tr><td>05/04</td><td>SETORAN VIA CDM 05/04 WSID:Z71F1 TITI RAHAYU</td><td></td><td>5,000,000.00</td><td></td></tr><tr><td>05/04</td><td>SETORAN VIA CDM 05/04 WSID:Z71F1 TITI RAHAYU</td><td></td><td>3,100,000.00</td><td></td></tr><tr><td>05/04</td><td>SETORAN VIA CDM 05/04 WSID:Z71F1 TITI RAHAYU</td><td></td><td>900,000.00</td><td></td></tr><tr><td>05/04</td><td>SETORAN VIA CDM 05/04 WSID:Z47H1 TITI RAHAYU</td><td></td><td>5,000,000.00</td><td></td></tr><tr><td>05/04</td><td>SETORAN VIA CDM 05/04 WSID:Z47H1 TITI RAHAYU</td><td></td><td>5,000,000.00</td><td></td></tr><tr><td>05/04</td><td>SETORAN VIA CDM 05/04 WSID:Z47H1 TITI RAHAYU</td><td></td><td>5,000,000.00</td><td></td></tr><tr><td>06/04</td><td>SETORAN VIA CDM 06/04 WSID:Z71H1 TITI RAHAYU</td><td></td><td>5,000,000.00</td><td></td></tr><tr><td>06/04</td><td>TRSF E-BANKING CR 0604/FTSCY/WS95011 25000000.00 Pengurusan anton Klp gading BUDI YONO</td><td></td><td>25,000,000.00</td><td></td></tr><tr><td>06/04</td><td>TRSF E-BANKING DB 06/04 /95031/00000 PELUNASAN BY. MALA YSIA ANGEL PRASISKA FEBIANTI</td><td></td><td>8,360,000.00 DB</td><td></td></tr><tr><td>06/04</td><td>TRSF E-BANKING CR 06/04 /95031/00000 ARISAN PERDANA 244 RULLY WYDASTUTI</td><td></td><td>70,000.00</td><td></td></tr><tr><td>06/04</td><td>SWITCHING DB TRANSFER KE 019 TITI RAHAYU /M-BCA</td><td></td><td>25,000,000.00 DB</td><td></td></tr><tr><td>06/04</td><td>SWITCHING DB TRANSFER KE 019 TITI RAHAYU /M-BCA</td><td></td><td>6,500.00 DB</td><td></td></tr><tr><td>06/04</td><td>TRSF E-BANKING DB 06/04 /95031/00000</td><td></td><td>12,000,000.00 DB</td><td>18,390,649.45</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 868,\n 1554,\n 1162,\n 1575\n ],\n \"category\": \"Page-footer\",\n \"text\": \"Bersambung ke Halaman berikut\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/permata bank muhammad yusril_page-0003.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 552,\n 21,\n 645,\n 111\n ],\n \"category\": \"Picture\",\n \"text\": \"\"\n },\n {\n \"bbox\": [\n 234,\n 70,\n 568,\n 146\n ],\n \"category\": \"Page-header\",\n \"text\": \"PermataBank\\nSyariah\"\n },\n {\n \"bbox\": [\n 665,\n 204,\n 1159,\n 250\n ],\n \"category\": \"Text\",\n \"text\": \"**Periode Laporan** : 01 AGUSTUS 2023 - 31 AGUSTUS 2023\\n*Statement Period*\"\n },\n {\n \"bbox\": [\n 665,\n 267,\n 973,\n 312\n ],\n \"category\": \"Text\",\n \"text\": \"**Tanggal Laporan** : 1 SEPTEMBER\\n*Statement Date* : 2023\"\n },\n {\n \"bbox\": [\n 665,\n 330,\n 938,\n 375\n ],\n \"category\": \"Text\",\n \"text\": \"**No.CIF** : \\n*CIF No.* : M211PP99\"\n },\n {\n \"bbox\": [\n 40,\n 403,\n 1201,\n 1085\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>Tgl Trx.<br>Trx. Date<br>(dd/mm)</th><th>Tgl Valuta<br>Val. Date<br>(dd/mm)</th><th>Uraian Trx.<br>Trx. Description</th><th>Debet<br>Debit</th><th>Kredit<br>Credit</th><th>Saldo<br>Balance</th></tr></thead><tbody><tr><td>25/08</td><td>25/08</td><td>13:20:49</td><td>181.300,00</td><td></td><td>1.111.279,00</td></tr><tr><td>25/08</td><td>25/08</td><td>PAY SHOPEE 704082112136839<br>PERMATAM OBILE</td><td>46.000,00</td><td></td><td>1.405.536,00</td></tr><tr><td>25/08</td><td>25/08</td><td>PAY BUKALAPAK 750882112136839<br>PERMA TAMOBILE<br>PLS2563755967 99TPD99CINDY</td><td>98.564,00</td><td></td><td>1.308.972,00</td></tr><tr><td>25/08</td><td>25/08</td><td>PAY DANA INDONESIA<br>8528082112136839 PERMATAMOBILE</td><td>10.000,00</td><td></td><td>1.296.972,00</td></tr><tr><td>25/08</td><td>26/08</td><td>PAY DANA INDONESIA<br>8528082112136839 PERMATAMOBILE</td><td>8.000,00</td><td></td><td>1.980.972,00</td></tr><tr><td>26/08</td><td>26/08</td><td>TRF KE DOKU TIKTOK SHOP<br>73022235835 PERMATAMOBILE</td><td>159.900,00</td><td></td><td>1.777.072,00</td></tr><tr><td>26/08</td><td>26/08</td><td>PAY SHOPEEPAY 708082112136839<br>PERMA TAMOBILE</td><td>730.000,00</td><td></td><td>909.072,00</td></tr><tr><td>26/08</td><td>26/08</td><td>PAY SHOPEE 704082112136839<br>PERMATAM OBILE</td><td>12.500,00</td><td></td><td>932.572,00</td></tr><tr><td>27/08</td><td>27/08</td><td>BIAYA ADM. SHOPEEPAY8980<br>XXXXXXXX6839 PERMATAMOBILE</td><td>1.201,00</td><td></td><td>991.572,00</td></tr><tr><td>27/08</td><td>27/08</td><td>SHOPEEPAY 8980XXXXXXXX6839<br>PERMATAMOBILE</td><td>88.000,00</td><td></td><td>922.572,00</td></tr><tr><td>28/08</td><td>28/08</td><td>TARIK TUNAI ATM PRIMA 20:33:29 7660<br>851244157116</td><td>230.000,00</td><td></td><td>331.572,00</td></tr><tr><td>31/08</td><td>31/08</td><td>PAY SHOPEE 704082112136839<br>PERMATAM OBILE</td><td>900.725,00</td><td></td><td>54.847,00</td></tr></tbody><tfoot><tr><td colspan=\\\"3\\\">Total</td><td>2.700.711,00</td><td>2.790.900,00</td><td></td></tr></tfoot></table>\"\n },\n {\n \"bbox\": [\n 47,\n 1095,\n 1193,\n 1141\n ],\n \"category\": \"Text\",\n \"text\": \"Realisasi bg hsl Feb 23 dg Nisbah 7:93 (Nsb:Bank) eqRate 0.39%. Efektif 1 Mei 2023, Syarat dan Ketentuan Umum Pembukaan\\nRekening di PermataBank telah diperbarui. Informasi lengkap dapat di aksesdi www.permatabank.com\"\n },\n {\n \"bbox\": [\n 40,\n 1203,\n 129,\n 1221\n ],\n \"category\": \"Section-header\",\n \"text\": \"Disclaimer:\"\n },\n {\n \"bbox\": [\n 40,\n 1230,\n 836,\n 1250\n ],\n \"category\": \"List-item\",\n \"text\": \"1. Laporan transaksi ini sah dan tidak memerlukan tanda tangan pejabat dari PT. Bank Permata, Tbk\"\n },\n {\n \"bbox\": [\n 62,\n 1254,\n 632,\n 1272\n ],\n \"category\": \"Text\",\n \"text\": \"This statement is valid without authorized signature of PT Bank Permata, Tbk\"\n },\n {\n \"bbox\": [\n 40,\n 1278,\n 1189,\n 1318\n ],\n \"category\": \"List-item\",\n \"text\": \"2. Jika dalam waktu 7 (tujuh) hari kalender sejak tanggal stempel ekspedisi atau diterimanya laporan transaksi kami tidak menerima sanggahan dari Nasabah, maka Nasabah dianggap setuju dengan informasi yang tercantum dalam laporan transaksi ini.\"\n },\n {\n \"bbox\": [\n 62,\n 1321,\n 1168,\n 1359\n ],\n \"category\": \"Text\",\n \"text\": \"This statement shall be considered correct unless notice of any exception is given by the Customer within 7 (seven) calendar days after the date of the courier stamp or the receipt of this statement.\"\n },\n {\n \"bbox\": [\n 40,\n 1363,\n 1193,\n 1424\n ],\n \"category\": \"List-item\",\n \"text\": \"3. File eStatement yang di unduh melalui PermataMobile X / PermataNet sudah tidak menggunakan password, mohon jaga kerahasiaan file ini, termasuk keamanan dan penerusan informasi kepada pihak ketiga lainnya. PermataBank merekomendasikan untuk menghapus file jika sudah tidak di gunakan.\"\n },\n {\n \"bbox\": [\n 62,\n 1427,\n 1193,\n 1466\n ],\n \"category\": \"Text\",\n \"text\": \"Downloaded eStatement file through PermataMobile X / PermataNet no longer use password. Kindly keep this file secure, privately, and at your discretion to forward this information carefully for other party. PermataBank recommend to delete the file if no longer used.\"\n },\n {\n \"bbox\": [\n 862,\n 1683,\n 1142,\n 1704\n ],\n \"category\": \"Page-footer\",\n \"text\": \"Halaman /Page : 3 / 3\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/UOB MR CHONG WEI SHEN (1)_page-0004.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 71,\n 42,\n 460,\n 119\n ],\n \"category\": \"Page-header\",\n \"text\": \"UOB 大华银行\"\n },\n {\n \"bbox\": [\n 1079,\n 189,\n 1165,\n 208\n ],\n \"category\": \"Page-header\",\n \"text\": \"Page 4 of 7\"\n },\n {\n \"bbox\": [\n 106,\n 231,\n 406,\n 253\n ],\n \"category\": \"Section-header\",\n \"text\": \"Account Transaction Details\"\n },\n {\n \"bbox\": [\n 106,\n 272,\n 514,\n 293\n ],\n \"category\": \"Text\",\n \"text\": \"UOB Stash Account 379-391-124-4 (continued)\"\n },\n {\n \"bbox\": [\n 94,\n 315,\n 1165,\n 1593\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>Date</th><th>Description</th><th>Withdrawals SGD</th><th>Deposits SGD</th><th>Balance SGD</th></tr></thead><tbody><tr><td>13 Dec</td><td>PAYNOW-FAST PIB2312130944404000 LIWEI OTHR Transfer - Mobile</td><td>5.00</td><td></td><td>11,049.60</td></tr><tr><td>13 Dec</td><td>PAYNOW-FAST PIB2312130947272680 kennethloh OTHR Transfer - Mobile</td><td>9,450.00</td><td></td><td>1,599.60</td></tr><tr><td>13 Dec</td><td>Misc DR-Debit Card MYR 77.00 11 DEC 6714 3516394 GRABPAY-EC PETALING JAYAMY</td><td>22.94</td><td></td><td>1,576.66</td></tr><tr><td>13 Dec</td><td>Inward CR - GIRO SALA Salary Payment BEN FOODS (S) PTE LT 1213471870208278</td><td></td><td>653.71</td><td>2,230.37</td></tr><tr><td>14 Dec</td><td>NETS Debit-Consumer MEI CHENG B06184241 xxxxxx1244</td><td>2.30</td><td></td><td>2,228.07</td></tr><tr><td>14 Dec</td><td>PAYNOW-FAST PIB2312140951657956 kei OTHR Transfer - Mobile</td><td>9.70</td><td></td><td>2,218.37</td></tr><tr><td>15 Dec</td><td>PAYNOW-FAST PIB2312150961722055 Rufaidah OTHR Transfer - Mobile</td><td>7.50</td><td></td><td>2,210.87</td></tr><tr><td>15 Dec</td><td>PAYNOW-FAST PAYNOW OTHR TARIGAN DANIEL PayNow Transfer</td><td></td><td>120.00</td><td>2,330.87</td></tr><tr><td>16 Dec</td><td>PAYNOW-FAST PAYNOW OTHR LIM WEI JIE (LIN WEI PayNow Transfer</td><td></td><td>50.00</td><td>2,380.87</td></tr><tr><td>16 Dec</td><td>NETS Debit-Consumer L.B. BEVERA11208409 xxxxxx1244</td><td>1.50</td><td></td><td>2,379.37</td></tr><tr><td>16 Dec</td><td>Misc DR-Debit Card 15 DEC 6714 2798725 NFPMOBILE-OFFUSUOB SINGAPORE SG</td><td>100.00</td><td></td><td>2,279.37</td></tr><tr><td>18 Dec</td><td>Misc DR-Debit Card 14 DEC 6714 7044620 M1LTD RECURRING SINGAPORE SG</td><td>84.55</td><td></td><td>2,194.82</td></tr><tr><td>18 Dec</td><td>Misc DR-Debit Card MYR 63.00 15 DEC 6714 3202520 GRABPAY-EC PETALING JAYAMY</td><td>18.77</td><td></td><td>2,176.05</td></tr><tr><td>19 Dec</td><td>NETS Debit-Consumer MEI CHENG B06114241 xxxxxx1244</td><td>2.30</td><td></td><td>2,173.75</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 75,\n 1639,\n 1169,\n 1683\n ],\n \"category\": \"Page-footer\",\n \"text\": \"Please note that you are bound by a duty under the rules governing the operation of this account, to check the entries in the above statement. If you do not notify us in writing of any errors, omissions or unauthorised debits within fourteen (14) days of this statement, the entries above shall be deemed valid, correct, accurate and conclusively binding upon you, and you shall have no claim against the bank in relation thereto.\"\n },\n {\n \"bbox\": [\n 75,\n 1682,\n 1056,\n 1695\n ],\n \"category\": \"Page-footer\",\n \"text\": \"请注意,在此户口的管理条规下,您必须核对此结单所列项目,并在十四(14)天内,以书面通知本行任何错误,遗漏或未经授权支账,否则上述项目当被视为有效,适当和准确并受其约束,您不得向本行索取赔偿.\"\n },\n {\n \"bbox\": [\n 75,\n 1695,\n 1001,\n 1710\n ],\n \"category\": \"Page-footer\",\n \"text\": \"United Overseas Bank Limited • 80 Raffles Place UOB Plaza Singapore 048624 • Co. Reg. No. 193500026Z • GST Reg. No. MR-8500194-3 • www.uob.com.sg\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/BNI Aprilia_page-0004.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 80,\n 81,\n 1122,\n 776\n ],\n \"category\": \"Table\",\n \"text\": \"<table><tbody><tr><td>2022-08-13</td><td>TRF/PAY/TOP-UP ECHANNEL KARTU 6010043330000002 XL VOUCHER 087875122420</td><td>Db.</td><td>25.000,00</td><td>5.391.496,00</td></tr><tr><td>2022-08-12</td><td>TRANSFER KE BIAYA ADMIN (GOPAY CUST ) NO :941660290890337</td><td>Db.</td><td>1.000,00</td><td>5.416.496,00</td></tr><tr><td>2022-08-12</td><td>TRANSFER KE GOPAY CUST 941660290890337</td><td>Db.</td><td>50.000,00</td><td>5.417.496,00</td></tr><tr><td>2022-08-12</td><td>BY TRX ATM PRIMA</td><td>Db.</td><td>6.500,00</td><td>5.467.496,00</td></tr><tr><td>2022-08-12</td><td>TRF/PAY/TOP-UP ECHANNEL KARTU 5264222362834665 46.46.46.46 LANDMARK IBJ AKARTA JK</td><td>Db.</td><td>60.000,00</td><td>5.473.996,00</td></tr><tr><td>2022-08-12</td><td>TRANSFER DARI RPKBUNP.span-BNI 0520206001 221331303009527000005 33130300952700000</td><td>Cr.</td><td>595.150,00</td><td>5.533.996,00</td></tr><tr><td>2022-08-11</td><td>BY TRX ATM ALTO</td><td>Db.</td><td>7.500,00</td><td>4.938.846,00</td></tr><tr><td>2022-08-11</td><td>TARIK TUNAI KARTU 5264222362834665 0000000 000000000000000BAN DUNG</td><td>Db.</td><td>400.000,00</td><td>4.946.346,00</td></tr></tbody></table>\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/UOB MR CHONG WEI SHEN (1)_page-0002.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 71,\n 42,\n 460,\n 119\n ],\n \"category\": \"Page-header\",\n \"text\": \"UOB 大华银行\"\n },\n {\n \"bbox\": [\n 1079,\n 189,\n 1166,\n 208\n ],\n \"category\": \"Page-header\",\n \"text\": \"Page 2 of 7\"\n },\n {\n \"bbox\": [\n 106,\n 231,\n 406,\n 253\n ],\n \"category\": \"Section-header\",\n \"text\": \"Account Transaction Details\"\n },\n {\n \"bbox\": [\n 106,\n 273,\n 414,\n 291\n ],\n \"category\": \"Text\",\n \"text\": \"UOB Stash Account 379-391-124-4\"\n },\n {\n \"bbox\": [\n 94,\n 318,\n 1166,\n 1511\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>Date</th><th>Description</th><th>Withdrawals SGD</th><th>Deposits SGD</th><th>Balance SGD</th></tr></thead><tbody><tr><td>01 Dec</td><td>BALANCE B/F</td><td></td><td></td><td>10,159.87</td></tr><tr><td>01 Dec</td><td>PAYNOW-FAST PAYNOW OTHR LIM WEI JIE (LIN WEI PayNow Transfer</td><td></td><td>100.00</td><td>10,259.87</td></tr><tr><td>01 Dec</td><td>PAYNOW-FAST PAYNOW OTHR TARIGAN DANIEL PayNow Transfer</td><td></td><td>230.00</td><td>10,489.87</td></tr><tr><td>01 Dec</td><td>Inward DR - GIRO OTHR G8709459L NTUC-UMS -</td><td>9.00</td><td></td><td>10,480.87</td></tr><tr><td>02 Dec</td><td>Misc CR-Debit Card 30 NOV 6714 One Debit Card Cash Rebate</td><td></td><td>0.08</td><td>10,480.95</td></tr><tr><td>02 Dec</td><td>Misc DR-Debit Card MYR 4.90 01 DEC 6714 0525086 Grab* v4-821df73859224 KUALA LUMPUR MY</td><td>1.45</td><td></td><td>10,479.50</td></tr><tr><td>04 Dec</td><td>PAYNOW-FAST TIYAGARAJAN A/L MUN MBK2312040859041596</td><td>50.00</td><td></td><td>10,429.50</td></tr><tr><td>04 Dec</td><td>PAYNOW-FAST PAYNOW OTHR LIM WEI JIE (LIN WEI PayNow Transfer</td><td></td><td>840.00</td><td>11,269.50</td></tr><tr><td>04 Dec</td><td>PAYNOW-FAST PIB2312040861292034 quzhi OTHR Transfer - Mobile</td><td>170.00</td><td></td><td>11,099.50</td></tr><tr><td>04 Dec</td><td>Misc DR-Debit Card MYR 23.00 01 DEC 6714 6097857 GRABPAY-EC PETALING JAYAMY</td><td>6.84</td><td></td><td>11,092.66</td></tr><tr><td>04 Dec</td><td>Misc DR-Debit Card MYR 20.00 01 DEC 6714 6103150 GRABPAY-EC PETALING JAYAMY</td><td>5.95</td><td></td><td>11,086.71</td></tr><tr><td>04 Dec</td><td>Misc DR-Debit Card MYR 20.00 01 DEC 6714 6105098 GRABPAY-EC PETALING JAYAMY</td><td>5.95</td><td></td><td>11,080.76</td></tr><tr><td>04 Dec</td><td>PAYNOW-FAST PAYNOW OTHR CHONG LI CHIN MEDICAL</td><td></td><td>49.60</td><td>11,130.36</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 75,\n 1639,\n 1169,\n 1684\n ],\n \"category\": \"Page-footer\",\n \"text\": \"Please note that you are bound by a duty under the rules governing the operation of this account, to check the entries in the above statement. If you do not notify us in writing of any errors, omissions or unauthorised debits within fourteen (14) days of this statement, the entries above shall be deemed valid, correct, accurate and conclusively binding upon you, and you shall have no claim against the bank in relation thereto.\"\n },\n {\n \"bbox\": [\n 75,\n 1684,\n 1056,\n 1696\n ],\n \"category\": \"Page-footer\",\n \"text\": \"请注意,在此户口的管理条规下,您必须核对此结单所列项目,并在十四(14)天内,以书面通知本行任何错误,遗漏或未经授权支账,否则上述项目当被视为有效,适当和准确并受其约束,您不得向本行索取赔偿.\"\n },\n {\n \"bbox\": [\n 75,\n 1697,\n 1001,\n 1711\n ],\n \"category\": \"Page-footer\",\n \"text\": \"United Overseas Bank Limited • 80 Raffles Place UOB Plaza Singapore 048624 • Co. Reg. No. 193500026Z • GST Reg. No. MR-8500194-3 • www.uob.com.sg\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/BNI Aminah hasanah_page-0003.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 258,\n 90,\n 395,\n 113\n ],\n \"category\": \"Section-header\",\n \"text\": \"HA****H FA***N\"\n },\n {\n \"bbox\": [\n 80,\n 124,\n 1123,\n 1710\n ],\n \"category\": \"Table\",\n \"text\": \"<table><tbody><tr><td></td><td>HA****H FA***N</td><td></td><td></td><td></td></tr><tr><td>2023-08-18</td><td>BY TRX BIFAST</td><td>Db.</td><td>2.500,00</td><td>119.999,00</td></tr><tr><td>2023-08-18</td><td>TRF/PAY/TOP-UP ECHANNEL KARTU 0000000000000000 BIZID 20230818BNINIDJA010 O0291736859 3151133060</td><td>Db.</td><td>21.000,00</td><td>122.499,00</td></tr><tr><td>2023-08-18</td><td>TARIK TUNAI KARTU 5371762530182505 BANK NEGARA INDONESIA MAL ANG</td><td>Db.</td><td>60.000,00</td><td>143.499,00</td></tr><tr><td>2023-08-15</td><td>TARIK TUNAI KARTU 5371762530182505 BANK NEGARA INDONESIA MAL ANG</td><td>Db.</td><td>100.000,00</td><td>203.499,00</td></tr><tr><td>2023-08-15</td><td>TRANSFER KE VISIONET INTERNASIONAL 8740085755932400 OVO-OVO N** AM***H HA****H FA***N</td><td>Db.</td><td>40.000,00</td><td>303.499,00</td></tr><tr><td>2023-08-14</td><td>BY TRX BIFAST</td><td>Db.</td><td>2.500,00</td><td>343.499,00</td></tr><tr><td>2023-08-14</td><td>TRF/PAY/TOP-UP ECHANNEL KARTU 0000000000000000 BIZID 20230813BNINIDJA010 O0287045191 0113167405 Bayar salad thai</td><td>Db.</td><td>115.000,00</td><td>345.999,00</td></tr><tr><td>2023-08-13</td><td>TRANSFER KE VISIONET INTERNASIONAL 8740085755932400 OVO-OVO N** AM***H HA****H FA***N</td><td>Db.</td><td>40.000,00</td><td>460.999,00</td></tr><tr><td>2023-08-13</td><td>TRANSFER KE VISIONET INTERNASIONAL 8740085755932400 OVO-OVO N** AM***H HA****H FA***N</td><td>Db.</td><td>15.000,00</td><td>500.999,00</td></tr><tr><td>2023-08-13</td><td>TRANSFER KE SPC H2H ITS 917232100527</td><td>Db.</td><td>11.250.000,00</td><td>515.999,00</td></tr><tr><td>2023-08-13</td><td>TRANSFER DARI Bpk AKHMAD FAIZIN Ukt</td><td>Cr.</td><td>11.500.000,00</td><td>11.765.999,00</td></tr><tr><td>2023-08-07</td><td>TRANSFER KE SIMSEM POS PURCHASE QRIS Q 9360091436839407850 2a18040d0723 G683940785</td><td>Db.</td><td>21.500,00</td><td>265.999,00</td></tr><tr><td>2023-08-07</td><td>TRANSFER KE VISIONET INTERNASIONAL 8740085755932400 OVO-OVO N** AM***H HA****H FA***N</td><td>Db.</td><td>10.000,00</td><td>287.499,00</td></tr><tr><td>2023-08-06</td><td>TRANSFER KE VISIONET INTERNASIONAL 8740085755932400 OVO-OVO N** AM***H HA****H FA***N</td><td>Db.</td><td>20.000,00</td><td>297.499,00</td></tr><tr><td>2023-08-06</td><td>TRANSFER KE VISIONET INTERNASIONAL 8740085755932400</td><td>Db.</td><td>50.000,00</td><td>317.499,00</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 39,\n 1709,\n 250,\n 1723\n ],\n \"category\": \"Page-footer\",\n \"text\": \"Printed on 27/8/2023 17:16:36 Waktu\"\n },\n {\n \"bbox\": [\n 1135,\n 1709,\n 1202,\n 1723\n ],\n \"category\": \"Page-footer\",\n \"text\": \"Page 3 of 3\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/BTN Kiki Hermawan_page-0001.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 51,\n 85,\n 313,\n 140\n ],\n \"category\": \"Page-header\",\n \"text\": \"BUMN UNTUK INDONESIA\"\n },\n {\n \"bbox\": [\n 859,\n 85,\n 1184,\n 165\n ],\n \"category\": \"Page-header\",\n \"text\": \"Bank BTN\"\n },\n {\n \"bbox\": [\n 621,\n 251,\n 1055,\n 279\n ],\n \"category\": \"Text\",\n \"text\": \"Nomor Rekening : 0038101500064617\"\n },\n {\n \"bbox\": [\n 78,\n 251,\n 374,\n 283\n ],\n \"category\": \"Text\",\n \"text\": \"KIKI HERMAWAN\"\n },\n {\n \"bbox\": [\n 621,\n 288,\n 1018,\n 315\n ],\n \"category\": \"Text\",\n \"text\": \"Tanggal Laporan : 04 October 2021\"\n },\n {\n \"bbox\": [\n 697,\n 320,\n 1004,\n 345\n ],\n \"category\": \"Text\",\n \"text\": \"Refferensi : SB2030021308\"\n },\n {\n \"bbox\": [\n 724,\n 354,\n 1201,\n 403\n ],\n \"category\": \"Text\",\n \"text\": \"Periode : 28 September 2021 - 04 October 2021\"\n },\n {\n \"bbox\": [\n 685,\n 412,\n 977,\n 440\n ],\n \"category\": \"Text\",\n \"text\": \"Saldo Awal : Rp11.403,00\"\n },\n {\n \"bbox\": [\n 682,\n 446,\n 1009,\n 474\n ],\n \"category\": \"Text\",\n \"text\": \"Saldo Akhir : Rp1.550.000,00\"\n },\n {\n \"bbox\": [\n 12,\n 544,\n 1227,\n 1075\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>Tgl Txn<br>Txn Date</th><th>Waktu<br>Time</th><th>Uraian Transaksi<br>Description</th><th>Debet<br>Debit</th><th>Kredit<br>Credit</th><th>Saldo<br>Balance</th></tr></thead><tbody><tr><td></td><td></td><td><strong>SALDO AWAL</strong></td><td></td><td></td><td><strong>11.403,00</strong></td></tr><tr><td>30/09</td><td>00:00:00</td><td>Bunga Rekening</td><td></td><td>224,00</td><td>11.627,00</td></tr><tr><td>30/09</td><td>00:00:00</td><td>Biaya Administrasi</td><td>3.403,00</td><td></td><td>8.224,00</td></tr><tr><td>30/09</td><td>23:59:59</td><td>Biaya SMS Notifikasi<br>ADM SMS NOTIF<br>0000038101500064617</td><td>8.000,00</td><td></td><td>224,00</td></tr><tr><td>01/10</td><td>23:59:59</td><td>Biaya admin bulanan -<br>Tunggakan</td><td>224,00</td><td></td><td>,00</td></tr><tr><td>04/10</td><td>00:00:01</td><td>Cr salary<br>crediting(employee)<br>Salary crediting GAJI PT<br>MPP SEPTEMBER 2</td><td></td><td>1.550.000,00</td><td>1.561.403,00</td></tr><tr><td></td><td></td><td><strong>TOTAL</strong></td><td><strong>11.627,00</strong></td><td><strong>1.550.224,00</strong></td><td><strong>1.550.000,00</strong></td></tr><tr><td></td><td></td><td><strong>SALDO AKHIR</strong></td><td></td><td></td><td></td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 33,\n 1116,\n 801,\n 1149\n ],\n \"category\": \"Text\",\n \"text\": \"KARENA HIDUP GAK CUMA TENTANG HARI INI\"\n },\n {\n \"bbox\": [\n 427,\n 1172,\n 518,\n 1209\n ],\n \"category\": \"Page-footer\",\n \"text\": \"LEMBAGA PENJAMIN SIMPANAN\"\n },\n {\n \"bbox\": [\n 541,\n 1176,\n 800,\n 1205\n ],\n \"category\": \"Page-footer\",\n \"text\": \"Bank BTN merupakan peserta penjaminan LPS\\nBank BTN terdaftar dan diawasi oleh Otoritas Jasa Keuangan\"\n },\n {\n \"bbox\": [\n 335,\n 1174,\n 410,\n 1211\n ],\n \"category\": \"Page-footer\",\n \"text\": \"Bank BTN\\n@BankBTNcoid\\nbankbtn\"\n },\n {\n \"bbox\": [\n 122,\n 1177,\n 314,\n 1212\n ],\n \"category\": \"Page-footer\",\n \"text\": \"AyoPunyaRumah DenganBankTabungan\"\n },\n {\n \"bbox\": [\n 33,\n 1172,\n 105,\n 1218\n ],\n \"category\": \"Page-footer\",\n \"text\": \"CONTACT CENTRE\\n1500-286\\nWWW.BTN.CO.ID\"\n },\n {\n \"bbox\": [\n 819,\n 1150,\n 1229,\n 1266\n ],\n \"category\": \"Picture\",\n \"text\": \"\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/permata bank muh fachmi_page-0004.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 552,\n 20,\n 645,\n 111\n ],\n \"category\": \"Picture\",\n \"text\": \"\"\n },\n {\n \"bbox\": [\n 234,\n 70,\n 569,\n 146\n ],\n \"category\": \"Page-header\",\n \"text\": \"PermataBank\\nSyariah\"\n },\n {\n \"bbox\": [\n 665,\n 205,\n 1074,\n 250\n ],\n \"category\": \"Text\",\n \"text\": \"**Periode Laporan** : 01 JUNI 2023 - 31 JUNI 2023\\n*Statement Period*\"\n },\n {\n \"bbox\": [\n 665,\n 267,\n 943,\n 312\n ],\n \"category\": \"Text\",\n \"text\": \"**Tanggal Laporan** : 1 JULI 2023\\n*Statement Date*\"\n },\n {\n \"bbox\": [\n 665,\n 330,\n 926,\n 375\n ],\n \"category\": \"Text\",\n \"text\": \"**No.CIF** : C002V32\\n*CIF No.*\"\n },\n {\n \"bbox\": [\n 40,\n 403,\n 1201,\n 1085\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>Tgl Trx.<br>Trx. Date<br>(dd/mm)</th><th>Tgl Valuta<br>Val. Date<br>(dd/mm)</th><th>Uraian Trx.<br>Trx. Description</th><th>Debet<br>Debit</th><th>Kredit<br>Credit</th><th>Saldo<br>Balance</th></tr></thead><tbody><tr><td>25/06</td><td>25/06</td><td>13:20:49</td><td>114.090,00</td><td></td><td>1.111.279,00</td></tr><tr><td>25/06</td><td>25/06</td><td>PAY SHOPEE 704082112136839<br>PERMATAM OBILE</td><td>46.000,00</td><td></td><td>1.405.536,00</td></tr><tr><td>25/06</td><td>25/06</td><td>PAY BUKALAPAK 750882112136839<br>PERMA TAMOBILE<br>PLS2563755967 99TPD99CINDY</td><td>98.564,00</td><td></td><td>1.306.972,00</td></tr><tr><td>25/06</td><td>25/06</td><td>PAY DANA INDONESIA<br>8528082112136839 PERMATAMOBILE</td><td>10.000,00</td><td></td><td>1.296.972,00</td></tr><tr><td>25/06</td><td>26/06</td><td>PAY DANA INDONESIA<br>8528082112136839 PERMATAMOBILE</td><td>8.000,00</td><td></td><td>1.980.972,00</td></tr><tr><td>26/06</td><td>26/06</td><td>TRF KE DOKU TIKTOK SHOP<br>89022235835 PERMATAMOBILE</td><td>159.900,00</td><td></td><td>1.777.072,00</td></tr><tr><td>26/06</td><td>26/06</td><td>PAY SHOPEEPAY 706082112136839<br>PERMA TAMOBILE</td><td>890.000,00</td><td></td><td>909.072,00</td></tr><tr><td>26/06</td><td>26/06</td><td>PAY SHOPEE 704082112136839<br>PERMATAM OBILE</td><td>12.500,00</td><td></td><td>932.572,00</td></tr><tr><td>27/06</td><td>27/06</td><td>BIAYA ADM. PAY DANA CUSTOMER<br>8980 XXXXXXXX6839 PERMATAMOBILE</td><td>1.000,00</td><td></td><td>991.572,00</td></tr><tr><td>27/06</td><td>27/06</td><td>PAY DANA CUSTOMER<br>8980XXXXXXXX6839 PERMATAMOBILE</td><td>88.000,00</td><td></td><td>922.572,00</td></tr><tr><td>28/06</td><td>28/06</td><td>TARIK TUNAI ATM PRIMA 20:33:29 5893<br>851244157116</td><td>230.000,00</td><td></td><td>331.572,00</td></tr><tr><td>31/06</td><td>31/06</td><td>PAY SHOPEE 704082112136839<br>PERMATAM OBILE</td><td>900.725,00</td><td></td><td>54.847,00</td></tr></tbody><tfoot><tr><td colspan=\\\"3\\\">Total</td><td>3.324.876,00</td><td>3.265.044,00</td><td></td></tr></tfoot></table>\"\n },\n {\n \"bbox\": [\n 46,\n 1095,\n 1193,\n 1141\n ],\n \"category\": \"Text\",\n \"text\": \"Realisasi bg hsl Feb 23 dg Nisbah 7:93 (Nsb:Bank) eqRate 0.39%. Efektif 1 Mei 2023, Syarat dan Ketentuan Umum Pembukaan\\nRekening di PermataBank telah diperbarui. Informasi lengkap dapat di aksesdi www.permatabank.com\"\n },\n {\n \"bbox\": [\n 40,\n 1203,\n 129,\n 1221\n ],\n \"category\": \"Section-header\",\n \"text\": \"Disclaimer:\"\n },\n {\n \"bbox\": [\n 40,\n 1230,\n 836,\n 1250\n ],\n \"category\": \"List-item\",\n \"text\": \"1. Laporan transaksi ini sah dan tidak memerlukan tanda tangan pejabat dari PT. Bank Permata, Tbk\"\n },\n {\n \"bbox\": [\n 61,\n 1254,\n 632,\n 1272\n ],\n \"category\": \"Text\",\n \"text\": \"*This statement is valid without authorized signature of PT Bank Permata, Tbk*\"\n },\n {\n \"bbox\": [\n 40,\n 1278,\n 1189,\n 1319\n ],\n \"category\": \"List-item\",\n \"text\": \"2. Jika dalam waktu 7 (tujuh) hari kalender sejak tanggal stempel ekspedisi atau diterimanya laporan transaksi kami tidak menerima sanggahan dari Nasabah, maka Nasabah dianggap setuju dengan informasi yang tercantum dalam laporan transaksi ini.\"\n },\n {\n \"bbox\": [\n 61,\n 1320,\n 1169,\n 1360\n ],\n \"category\": \"Text\",\n \"text\": \"*This statement shall be considered correct unless notice of any exception is given by the Customer within 7 (seven) calendar days after the date of the courier stamp or the receipt of this statement.*\"\n },\n {\n \"bbox\": [\n 40,\n 1363,\n 1193,\n 1425\n ],\n \"category\": \"List-item\",\n \"text\": \"3. File eStatement yang di unduh melalui PermataMobile X / PermataNet sudah tidak menggunakan password, mohon jaga kerahasiaan file ini, termasuk keamanan dan penerusan informasi kepada pihak ketiga lainnya. PermataBank merekomendasikan untuk menghapus file jika sudah tidak di gunakan.\"\n },\n {\n \"bbox\": [\n 61,\n 1427,\n 1193,\n 1466\n ],\n \"category\": \"Text\",\n \"text\": \"*Downloaded eStatement file through PermataMobile X / PermataNet no longer use password. Kindly keep this file secure, privately, and at your discretion to forward this information carefully for other party. PermataBank recommend to delete the file if no longer used.*\"\n },\n {\n \"bbox\": [\n 862,\n 1683,\n 1142,\n 1703\n ],\n \"category\": \"Page-footer\",\n \"text\": \"Halaman /Page : 4 / 3\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/estatement bca oktria_page-0007.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 45,\n 92,\n 232,\n 152\n ],\n \"category\": \"Page-header\",\n \"text\": \"BCA\"\n },\n {\n \"bbox\": [\n 434,\n 114,\n 800,\n 146\n ],\n \"category\": \"Page-header\",\n \"text\": \"REKENING TAHAPAN\"\n },\n {\n \"bbox\": [\n 61,\n 174,\n 140,\n 189\n ],\n \"category\": \"Text\",\n \"text\": \"KCP BANGIL\"\n },\n {\n \"bbox\": [\n 677,\n 202,\n 1015,\n 222\n ],\n \"category\": \"Text\",\n \"text\": \"NO. REKENING : 2250938414\"\n },\n {\n \"bbox\": [\n 677,\n 233,\n 956,\n 253\n ],\n \"category\": \"Text\",\n \"text\": \"HALAMAN : 7 / 9\"\n },\n {\n \"bbox\": [\n 59,\n 200,\n 293,\n 344\n ],\n \"category\": \"Text\",\n \"text\": \"OKTRIA MARIA JAYANTIE\\nKEC PRIGEN\\nPECALUKAN RT 007 RW 008\\nJL RAUNG NO 295\\nPASURUAN 67157\\nINDONESIA\"\n },\n {\n \"bbox\": [\n 677,\n 263,\n 1043,\n 282\n ],\n \"category\": \"Text\",\n \"text\": \"PERIODE : JANUARI 2019\"\n },\n {\n \"bbox\": [\n 677,\n 294,\n 948,\n 313\n ],\n \"category\": \"Text\",\n \"text\": \"MATA UANG : IDR\"\n },\n {\n \"bbox\": [\n 50,\n 381,\n 118,\n 396\n ],\n \"category\": \"Text\",\n \"text\": \"CATATAN:\"\n },\n {\n \"bbox\": [\n 640,\n 405,\n 1184,\n 443\n ],\n \"category\": \"List-item\",\n \"text\": \"* BCA berhak setiap saat melakukan koreksi apabila ada kesalahan pada Laporan Mutasi Rekening.\"\n },\n {\n \"bbox\": [\n 54,\n 405,\n 596,\n 463\n ],\n \"category\": \"List-item\",\n \"text\": \"* Apabila nasabah tidak melakukan sanggahan atas Laporan Mutasi Rekening ini sampai dengan akhir bulan berikutnya, nasabah dianggap telah menyetujui segala data yang tercantum pada Laporan Mutasi Rekening ini.\"\n },\n {\n \"bbox\": [\n 42,\n 484,\n 1195,\n 1532\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>TANGGAL</th><th>KETERANGAN</th><th>CBG</th><th>MUTASI</th><th>SALDO</th></tr></thead><tbody><tr><td>21/01</td><td>TRSF E-BANKING DB TANGGAL : 20/01 20/01 /95031/00000 DWI KRISTANTO</td><td></td><td>25,000.00 DB</td><td>140,973.00</td></tr><tr><td>21/01</td><td>TRSF E-BANKING DB TANGGAL : 20/01 20/01 /95031/00000 ENDANG RUSTIANA</td><td></td><td>30,000.00 DB</td><td></td></tr><tr><td>21/01</td><td>TRSF E-BANKING DB TANGGAL : 20/01 20/01 /95031/00000 ENDANG RUSTIANA</td><td></td><td>20,000.00 DB</td><td></td></tr><tr><td>21/01</td><td>TRSF E-BANKING DB TANGGAL : 20/01 20/01 /95031/00000 ENDANG RUSTIANA</td><td></td><td>18,000.00 DB</td><td></td></tr><tr><td>21/01</td><td>TRSF E-BANKING DB TANGGAL : 20/01 20/01 /95031/00000 ENDANG RUSTIANA</td><td></td><td>22,000.00 DB</td><td></td></tr><tr><td>21/01</td><td>TRSF E-BANKING CR 2101/FTSCY/WS95011 50000.00 I GUSTI PUTU SUARB</td><td></td><td>50,000.00</td><td></td></tr><tr><td>21/01</td><td>TRSF E-BANKING DB 2101/FTFVA/WS95221 61001/ONEKLIK GOPA - - 1548045367971TC0JP</td><td></td><td>50,000.00 DB</td><td></td></tr><tr><td>21/01</td><td>TRSF E-BANKING CR 2101/FTSCY/WS95011 50000.00 I GUSTI PUTU SUARB</td><td></td><td>50,000.00</td><td></td></tr><tr><td>21/01</td><td>BYR VIA E-BANKING 21/01 WSID9503100 0865 PLN PREPAID 86050806610 OKTRIA MARIA JAYAN</td><td></td><td>22,500.00 DB</td><td></td></tr><tr><td>21/01</td><td>TRSF E-BANKING DB 21/01 /95031/00000 ENDANG RUSTIANA</td><td></td><td>28,000.00 DB</td><td></td></tr><tr><td>21/01</td><td>TRSF E-BANKING CR 21/01 /95031/00000 MOCH ALI FIKRI</td><td></td><td>100,000.00</td><td></td></tr><tr><td>21/01</td><td>TRSF E-BANKING DB 21/01 /95031/00000 ENDANG RUSTIANA</td><td></td><td>20,000.00 DB</td><td></td></tr><tr><td>21/01</td><td>TRSF E-BANKING DB 21/01 /95031/00000 DWI KRISTANTO</td><td></td><td>20,000.00 DB</td><td></td></tr><tr><td>21/01</td><td>TRSF E-BANKING DB 21/01 /95031/00000 ENDANG RUSTIANA</td><td></td><td>10,000.00 DB</td><td></td></tr><tr><td>21/01</td><td>TRSF E-BANKING DB 2101/FTFVA/WS95221 61001/ONEKLIK GOPA - - 15480729846500N4XG</td><td></td><td>50,000.00 DB</td><td></td></tr><tr><td>21/01</td><td>TRSF E-BANKING CR 21/01 /95031/00000 ANIK NURBANIYAH</td><td></td><td>50,000.00</td><td></td></tr><tr><td>21/01</td><td>TRSF E-BANKING DB 2101/FTFVA/WS95221 61001/ONEKLIK GOPA - - 1548076950806SI0KA</td><td></td><td>50,000.00 DB</td><td>50,473.00</td></tr><tr><td>24/01</td><td>TRSF E-BANKING CR 24/01 /95031/00000</td><td></td><td>300,000.00</td><td>350,473.00</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 868,\n 1554,\n 1162,\n 1575\n ],\n \"category\": \"Page-footer\",\n \"text\": \"Bersambung ke Halaman berikut\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/BNI Aprilia_page-0003.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 78,\n 86,\n 1126,\n 1658\n ],\n \"category\": \"Table\",\n \"text\": \"<table><tr><td>2022-08-26</td><td>TRANSFER DARI Sdr UMAR GHAIZAN RAHMAN</td><td>Cr.</td><td>2.000.000,00</td><td>4.263.646,00</td></tr><tr><td>2022-08-26</td><td>KREDIT LAIN-LAIN 014 BCA SENTRA SETE 39582059--19--RDM BNPPA BIBITD</td><td>Cr.</td><td>90.126,00</td><td>2.263.646,00</td></tr><tr><td>2022-08-26</td><td>KREDIT LAIN-LAIN 014 BCA SENTRA SETE 39581530--33--RDM SSEF BIBIT D</td><td>Cr.</td><td>101.606,00</td><td>2.173.520,00</td></tr><tr><td>2022-08-25</td><td>KREDIT LAIN-LAIN 542 REKSA DANA SYAR SKN</td><td>Cr.</td><td>7.666,00</td><td>2.071.914,00</td></tr><tr><td>2022-08-25</td><td>KREDIT LAIN-LAIN 014 BCA SENTRA SETE 39581534--906--RDM SSMMF BIBIT</td><td>Cr.</td><td>248.810,00</td><td>2.064.248,00</td></tr><tr><td>2022-08-25</td><td>KREDIT LAIN-LAIN 014 BCA SENTRA SETE 39581534--906--RDM SSMMF BIBIT</td><td>Cr.</td><td>1.008.242,00</td><td>1.815.438,00</td></tr><tr><td>2022-08-23</td><td>TARIK TUNAI KARTU 5264222362834665 BANK NEGARA INDONESIA DEP OK</td><td>Db.</td><td>300.000,00</td><td>807.196,00</td></tr><tr><td>2022-08-22</td><td>TRF/PAY/TOP-UP ECHANNEL KARTU 6010043330000001 BIAYA ADMIN (PLN PREPAID ) NO :2111538750395752</td><td>Db.</td><td>3.000,00</td><td>1.107.196,00</td></tr><tr><td>2022-08-22</td><td>TRF/PAY/TOP-UP ECHANNEL KARTU 6010043330000001 PLN PREPAID 2111538750395752</td><td>Db.</td><td>200.000,00</td><td>1.110.196,00</td></tr><tr><td>2022-08-20</td><td>TRANSFER KE Bpk ADITYA RAHMAN</td><td>Db.</td><td>3.000.000,00</td><td>1.310.196,00</td></tr><tr><td>2022-08-19</td><td>TRANSFER DARI AIRPAY INTERNATIONAL INDONESIA SHOPEE API #20220819084757049635 SHOPEE_200001012 20220819084757049635</td><td>Cr.</td><td>116.500,00</td><td>4.310.196,00</td></tr><tr><td>2022-08-18</td><td>TARIK TUNAI KARTU 5264222362834665 BANK NEGARA INDONESIA BAN DUNG</td><td>Db.</td><td>500.000,00</td><td>4.193.696,00</td></tr><tr><td>2022-08-16</td><td>TRANSFER KE GIRO POS PURCHASE QRIS Q 9360091200012431131 29c504002938 vjYmxLslkFwwzyS</td><td>Db.</td><td>196.300,00</td><td>4.693.696,00</td></tr><tr><td>2022-08-13</td><td>TARIK TUNAI KARTU 5264222362834665 BANK NEGARA INDONESIA BAN DUNG</td><td>Db.</td><td>500.000,00</td><td>4.889.996,00</td></tr><tr><td>2022-08-13</td><td>TRF/PAY/TOP-UP ECHANNEL KARTU 6010043330000002 BIAYA ADMIN (XL VOUCHER ) NO :087875122420 623</td><td>Db.</td><td>1.500,00</td><td>5.389.996,00</td></tr></table>\"\n },\n {\n \"bbox\": [\n 39,\n 1709,\n 253,\n 1723\n ],\n \"category\": \"Page-footer\",\n \"text\": \"Printed on 11/9/2022 10:23:8 Western\"\n },\n {\n \"bbox\": [\n 1135,\n 1709,\n 1202,\n 1723\n ],\n \"category\": \"Page-footer\",\n \"text\": \"Page 3 of 3\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/Mandiri_7_sellurly_page-0003.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 975,\n 33,\n 1174,\n 97\n ],\n \"category\": \"Page-header\",\n \"text\": \"mandiri\"\n },\n {\n \"bbox\": [\n 72,\n 145,\n 291,\n 173\n ],\n \"category\": \"Section-header\",\n \"text\": \"## Tabungan / Savings\"\n },\n {\n \"bbox\": [\n 69,\n 183,\n 1174,\n 307\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>No, Rekening<br>Account Number</th><th>Nama Produk<br>Product Name</th><th>Cabang<br>Branch</th><th>Periode<br>Period</th><th>Valuta<br>Currency</th><th>Saldo<br>Balance</th></tr></thead><tbody><tr><td>176-00-0174556-9</td><td>Mandiri Tabungan<br>Rupiah</td><td>15509 - KCP Tangerang Cikupa</td><td>1/10/22 s/d<br>31/10/22</td><td>Indonesian<br>Rupiah<br>(IDR)</td><td>27,873,404.51</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 67,\n 356,\n 1174,\n 1564\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>TANGGAL</th><th>TRANSAKSI</th><th>DEBIT</th><th>KREDIT</th></tr></thead><tbody><tr><td>01/10</td><td>01/10</td><td>Saldo Awal</td><td></td><td>21,374,255.51</td></tr><tr><td>01/10</td><td>01/10</td><td>-S1RK1OEW /40582803014/ATM-CILEDUG CRM</td><td>2,250,000.00</td><td>23,624,255.51</td></tr><tr><td>01/10</td><td>01/10</td><td>-UBP60146000101FFFFFF087774229255</td><td>422,300.00 D</td><td>23,201,955.51</td></tr><tr><td>01/10</td><td>01/10</td><td>-UBP601470014018000007001400214761313</td><td>1,078,400.00 D</td><td>22,123,555.51</td></tr><tr><td>02/10</td><td>02/10</td><td>-UBP60148950801FFFFFF89508083805634580</td><td>1,000.00 D</td><td>22,122,555.51</td></tr><tr><td>02/10</td><td>02/10</td><td>-S1RK1OEW /40582803014/ATM-CILEDUG CRM</td><td>1,050,000.00</td><td>23,172,555.51</td></tr><tr><td>02/10</td><td>02/10</td><td>-UBP60146000101FFFFFF087774229255</td><td>75,000.00 D</td><td>23,097,555.51</td></tr><tr><td>02/10</td><td>02/10</td><td>MCM InhouseTrf-</td><td>200,000.00</td><td>23,297,555.51</td></tr><tr><td>02/10</td><td>02/10</td><td>-20221002CENAIDJA010O0258168615</td><td>1,000,000.00</td><td>24,297,555.51</td></tr><tr><td>03/10</td><td>03/10</td><td>-UBP601470014018000007001400214761313</td><td>173,250.00 D</td><td>24,124,305.51</td></tr><tr><td>03/10</td><td>03/10</td><td>MCM InhouseTrf-</td><td>1,000,000.00 D</td><td>23,124,305.51</td></tr><tr><td>04/10</td><td>04/10</td><td>ATMB trf Credt</td><td>273,000.00</td><td>23,397,305.51</td></tr><tr><td>04/10</td><td>04/10</td><td>ATMB trf Credt</td><td>98,000.00</td><td>23,495,305.51</td></tr><tr><td>04/10</td><td>04/10</td><td>MCM InhouseTrf-</td><td>500,000.00</td><td>23,995,305.51</td></tr><tr><td>04/10</td><td>04/10</td><td>Tarik ATM -S1AW1G61 /6931095159/ATM-RAYASERANG1 01</td><td>1,500,000.00 D</td><td>22,495,305.51</td></tr><tr><td>05/10</td><td>05/10</td><td>-20221005DBSBIDJA10O9461443351</td><td>78,500.00</td><td>22,573,805.51</td></tr><tr><td>05/10</td><td>05/10</td><td>MCM InhouseTrf-</td><td>1,000,000.00</td><td>23,573,805.51</td></tr><tr><td>05/10</td><td>05/10</td><td>-UBP60148950801FFFFFF89508083805634580</td><td>1,000.00 D</td><td>23,572,805.51</td></tr><tr><td>05/10</td><td>05/10</td><td>-UBP60148950801FFFFFF89508083805634580</td><td>150,000.00 D</td><td>23,422,805.51</td></tr><tr><td>05/10</td><td>05/10</td><td>PRMA CR Transf-</td><td>630,000.00</td><td>24,052,805.51</td></tr><tr><td>05/10</td><td>05/10</td><td>MCM InhouseTrf-DANA001022290548129 01017881944829</td><td>43,000.00</td><td>24,095,805.51</td></tr><tr><td>06/10</td><td>06/10</td><td>-73332876 /0000810814/VAP-</td><td>104,780.00 D</td><td>23,991,025.51</td></tr><tr><td>06/10</td><td>06/10</td><td>-UBP601470014018000007001400214761313</td><td>197,326.00 D</td><td>23,793,699.51</td></tr><tr><td>06/10</td><td>06/10</td><td>-S1RK1OEW /40582803014/ATM-CILEDUG CRM</td><td>1,300,000.00</td><td>25,093,699.51</td></tr><tr><td>07/10</td><td>07/10</td><td>-20221007DBSBIDJA10O9461443351</td><td>250,000.00</td><td>25,343,699.51</td></tr><tr><td>07/10</td><td>07/10</td><td>Tarik ATM -S1AW1G61 /6931095159/ATM-RAYASERANG1 01</td><td>500,000.00 D</td><td>24,843,699.51</td></tr><tr><td>07/10</td><td>07/10</td><td>ATMB trf Credt</td><td>150,000.00</td><td>24,993,699.51</td></tr><tr><td>08/10</td><td>08/10</td><td>MCM InhouseTrf-</td><td>2,000,000.00 D</td><td>22,993,699.51</td></tr><tr><td>08/10</td><td>08/10</td><td>MCM InhouseTrf-</td><td>150,000.00 D</td><td>22,843,699.51</td></tr><tr><td>08/10</td><td>08/10</td><td>-73332876 /0000810814/VAP-</td><td>202,589.00 D</td><td>22,641,110.51</td></tr><tr><td>09/10</td><td>09/10</td><td>MCM InhouseTrf-</td><td>400,000.00</td><td>23,041,110.51</td></tr><tr><td>09/10</td><td>09/10</td><td>Tarik ATM -S1AW1G61 /6931095159/ATM-RAYASERANG1 01</td><td>500,000.00 D</td><td>22,541,110.51</td></tr><tr><td>09/10</td><td>09/10</td><td>MCM InhouseTrf-</td><td>1,150,000.00</td><td>23,691,110.51</td></tr><tr><td>09/10</td><td>09/10</td><td>MCM InhouseTrf-DANA001012457937850 01011880592730</td><td>230,000.00</td><td>23,921,110.51</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 998,\n 1629,\n 1039,\n 1673\n ],\n \"category\": \"Page-footer\",\n \"text\": \"Hal\\nPage\"\n },\n {\n \"bbox\": [\n 1080,\n 1629,\n 1165,\n 1647\n ],\n \"category\": \"Page-footer\",\n \"text\": \"Page 3 of 6\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/estatement bca saeful_page-0007.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 44,\n 91,\n 233,\n 153\n ],\n \"category\": \"Page-header\",\n \"text\": \"BCA\"\n },\n {\n \"bbox\": [\n 434,\n 113,\n 802,\n 147\n ],\n \"category\": \"Section-header\",\n \"text\": \"REKENING TAHAPAN\"\n },\n {\n \"bbox\": [\n 60,\n 174,\n 202,\n 189\n ],\n \"category\": \"Text\",\n \"text\": \"KCP KAS RANCAEKEK\"\n },\n {\n \"bbox\": [\n 44,\n 201,\n 575,\n 286\n ],\n \"category\": \"Text\",\n \"text\": \"SAEFUL MALIK CIMANGGUNG\\nRT001 RW007 JAWA BARAT DUSUN BABAKAN TANJUNG SUMEDANG\\n45364\\nINDONESIA\"\n },\n {\n \"bbox\": [\n 675,\n 201,\n 1027,\n 311\n ],\n \"category\": \"Text\",\n \"text\": \"NO. REKENING :2831663652\\nHALAMAN :7/7\\nPERIODE :DESEMBER 2022\\nMATA UANG :IDR\"\n },\n {\n \"bbox\": [\n 49,\n 378,\n 118,\n 394\n ],\n \"category\": \"Text\",\n \"text\": \"CATATAN:\"\n },\n {\n \"bbox\": [\n 639,\n 403,\n 1114,\n 442\n ],\n \"category\": \"Text\",\n \"text\": \"BCA berhak setiap saat melakukan koreksi apabila ada kesalahan pada Laporan Mutasi\\nRekening.\"\n },\n {\n \"bbox\": [\n 49,\n 403,\n 597,\n 460\n ],\n \"category\": \"Text\",\n \"text\": \"Apabila nasabah tidak melakukan sanggahan atas Laporan Mutasi Rekening ini sampai dengan akhir\\nbulan berikutnya, nasabah dianggap telah menyetujui segala data yang tercantum pada Laporan\\nMutasi Rekening ini.\"\n },\n {\n \"bbox\": [\n 44,\n 479,\n 1202,\n 1122\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>TANGGAL</th><th>KETERANGAN</th><th>CBG</th><th>MUTASI</th><th>SALDO</th></tr></thead><tbody><tr><td></td><td></td><td></td><td></td><td>1,531,377,02</td></tr><tr><td>28/12</td><td>TRSF E-BANKING DB 28/12 /95031/00000 M RIFALDI</td><td></td><td>150,000.00 DB</td><td>1,381,377,02</td></tr><tr><td>28/12</td><td>TRSF E-BANKING DB 28/12 /95031/00000 M RIFALDI</td><td></td><td>300,000.00 DB</td><td></td></tr><tr><td>29/12</td><td>SWITCHING CR TRANSFER DR 008 SUMIATI /EDC Mini-AT</td><td></td><td>340,000.00</td><td></td></tr><tr><td>29/12</td><td>TRSF E-BANKING DB 29/12 /95031/00000 MHD EFRI APRIANDI</td><td></td><td>100,000.00 DB</td><td></td></tr><tr><td>30/12</td><td>TRSF E-BANKING DB 30/12 /95031/00000 M RIFALDI</td><td></td><td>250,000.00 DB</td><td></td></tr><tr><td>30/12</td><td>BI-FAST CR BIF TRANSFER DR 008 NABILAH</td><td></td><td>200,000.00</td><td></td></tr><tr><td>31/12</td><td>TRSF E-BANKING DB TANGGAL :31/12 31/12 /95031/00000 ATASYA SEPTILA IRA</td><td></td><td>100,000.00 DB</td><td></td></tr><tr><td>31/12</td><td>TTRSF E-BANKING DB TANGGAL :17/12 31/12 /95031/00000 MHD EFRI APRIANDI</td><td></td><td>100,000.00 DB</td><td>1,071,377,02</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 373,\n 1026,\n 775,\n 1051\n ],\n \"category\": \"Text\",\n \"text\": \"SALDO AWAL : 5,190,279.02\"\n },\n {\n \"bbox\": [\n 373,\n 1050,\n 776,\n 1075\n ],\n \"category\": \"Text\",\n \"text\": \"MUTASI CR : 20,791,030.00\"\n },\n {\n \"bbox\": [\n 842,\n 1051,\n 870,\n 1075\n ],\n \"category\": \"Text\",\n \"text\": \"28\"\n },\n {\n \"bbox\": [\n 840,\n 1076,\n 871,\n 1100\n ],\n \"category\": \"Text\",\n \"text\": \"75\"\n },\n {\n \"bbox\": [\n 374,\n 1077,\n 772,\n 1101\n ],\n \"category\": \"Text\",\n \"text\": \"MUTASI DB : 23,959,936.00\"\n },\n {\n \"bbox\": [\n 373,\n 1100,\n 775,\n 1125\n ],\n \"category\": \"Text\",\n \"text\": \"SALDO AKHIR : 1,071,377,02\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/UOB MS CALIMPUSAN PRINCESS GEE_page-0003.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 72,\n 43,\n 461,\n 119\n ],\n \"category\": \"Page-header\",\n \"text\": \"UOB 大华银行\"\n },\n {\n \"bbox\": [\n 1080,\n 190,\n 1166,\n 208\n ],\n \"category\": \"Page-header\",\n \"text\": \"Page 3 of 3\"\n },\n {\n \"bbox\": [\n 126,\n 233,\n 449,\n 256\n ],\n \"category\": \"Section-header\",\n \"text\": \"## Foreign Exchange, Gold, Silver\"\n },\n {\n \"bbox\": [\n 135,\n 275,\n 901,\n 294\n ],\n \"category\": \"Caption\",\n \"text\": \"*Rates against Singapore Dollar as at 31 Jul 2021. Rates in the table are for reference only.\"\n },\n {\n \"bbox\": [\n 126,\n 299,\n 629,\n 500\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><td>Code</td><td>FX, Gold, Silver</td><td>Unit</td><td>FX/Price</td></tr></thead><tbody><tr><td>USD</td><td>US DOLLAR</td><td>1</td><td>1.3409</td></tr><tr><td>GBP</td><td>BRITISH POUND</td><td>1</td><td>1.8681</td></tr><tr><td>EUR</td><td>EURO</td><td>1</td><td>1.5924</td></tr><tr><td>AUD</td><td>AUSTRALIAN DOLLAR</td><td>1</td><td>0.9848</td></tr><tr><td>CAD</td><td>CANADIAN DOLLAR</td><td>1</td><td>1.0755</td></tr><tr><td>NZD</td><td>NEW ZEALAND DOLLAR</td><td>1</td><td>0.9334</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 658,\n 299,\n 1159,\n 500\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><td>Code</td><td>FX, Gold, Silver</td><td>Unit</td><td>FX/Price</td></tr></thead><tbody><tr><td>CHF</td><td>SWISS FRANC</td><td>100</td><td>147.7300</td></tr><tr><td>JPY</td><td>JAPANESE YEN</td><td>100</td><td>1.2175</td></tr><tr><td>HKD</td><td>HONG KONG DOLLAR</td><td>100</td><td>17.1850</td></tr><tr><td>CNH</td><td>CHINESE RENMINBI (OFF-SHORE)</td><td>100</td><td>20.7100</td></tr><tr><td></td><td>Gold Savings Account</td><td>1 GM</td><td>78.9500</td></tr><tr><td></td><td>Silver Savings Account</td><td>1 OZ</td><td>33.9600</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 126,\n 545,\n 357,\n 568\n ],\n \"category\": \"Section-header\",\n \"text\": \"## Important Information\"\n },\n {\n \"bbox\": [\n 126,\n 585,\n 353,\n 602\n ],\n \"category\": \"Section-header\",\n \"text\": \"### Deposit Insurance Scheme\"\n },\n {\n \"bbox\": [\n 126,\n 605,\n 1156,\n 706\n ],\n \"category\": \"Text\",\n \"text\": \"Singapore dollar deposits of non-bank depositors and monies and deposits denominated in Singapore dollars under the Supplementary Retirement Scheme are insured by the Singapore Deposit Insurance Corporation, for up to S$75,000 in aggregate per depositor per Scheme member by law. Monies and deposits denominated in Singapore dollars under the CPF Investment Scheme and CPF Retirement Sum Scheme are aggregated and separately insured up to S$75,000 for each depositor per Scheme member. Foreign currency deposits, dual currency investments, structured deposits and other investment products are not insured.\"\n },\n {\n \"bbox\": [\n 126,\n 720,\n 397,\n 738\n ],\n \"category\": \"Section-header\",\n \"text\": \"### UOB's Fair Dealing Commitment\"\n },\n {\n \"bbox\": [\n 126,\n 741,\n 1154,\n 801\n ],\n \"category\": \"Text\",\n \"text\": \"We put you and your financial goals first by offering suitable products and services. You will receive relevant, timely and quality information to make informed financial decisions. We will listen to your feedback and handle it independently and promptly. We know that what is right for you is right for us. Please visit www.UOBGroup.com.\"\n },\n {\n \"bbox\": [\n 126,\n 845,\n 454,\n 865\n ],\n \"category\": \"Section-header\",\n \"text\": \"## General Debit Card Information\"\n },\n {\n \"bbox\": [\n 126,\n 884,\n 307,\n 902\n ],\n \"category\": \"Section-header\",\n \"text\": \"### Overseas Card Usage\"\n },\n {\n \"bbox\": [\n 126,\n 905,\n 1156,\n 965\n ],\n \"category\": \"Text\",\n \"text\": \"If you are travelling overseas, please remember to enable the magentic stripe on your UOB Debit card for overseas card use and overseas ATM cash withdrawals. To enable, simply: (1) visit uob.com.sg/overseas; (2) call 1800 386 8188 or +65 6386 8188 (if overseas); or (3) visit any UOB ATM.\"\n },\n {\n \"bbox\": [\n 126,\n 1008,\n 232,\n 1030\n ],\n \"category\": \"Section-header\",\n \"text\": \"## Highlights\"\n },\n {\n \"bbox\": [\n 126,\n 1062,\n 308,\n 1103\n ],\n \"category\": \"Section-header\",\n \"text\": \"### Update of Personal Particulars\"\n },\n {\n \"bbox\": [\n 362,\n 1062,\n 831,\n 1171\n ],\n \"category\": \"Text\",\n \"text\": \"Please inform the Bank of any change to your personal particulars, including your citizenship, to ensure they are up to date. For enquiries/assistance, please contact the UOB Call Centre at 1800 222 2121 (Singapore) or +65 6222 2121 (Overseas).\"\n },\n {\n \"bbox\": [\n 126,\n 1180,\n 308,\n 1245\n ],\n \"category\": \"Section-header\",\n \"text\": \"### Shortening of Property Loan Redemption Period\"\n },\n {\n \"bbox\": [\n 362,\n 1180,\n 898,\n 1288\n ],\n \"category\": \"Text\",\n \"text\": \"With effect from 1 July 2021, the redemption period for property loans secured by all types of Singapore properties shall be reduced from current three (3) months to two (2) months. If you have any questions, please contact our Customer Service Call Centre at 1800-3882121 (8am - 8pm)\"\n },\n {\n \"bbox\": [\n 126,\n 1327,\n 256,\n 1347\n ],\n \"category\": \"Section-header\",\n \"text\": \"## Useful Links\"\n },\n {\n \"bbox\": [\n 126,\n 1370,\n 380,\n 1389\n ],\n \"category\": \"Section-header\",\n \"text\": \"### Update of Address & Contacts\"\n },\n {\n \"bbox\": [\n 126,\n 1393,\n 992,\n 1412\n ],\n \"category\": \"Text\",\n \"text\": \"Update your address and contact details via UOB Personal Internet Banking (www.uob.com.sg/personal/index.html)\"\n },\n {\n \"bbox\": [\n 126,\n 1441,\n 372,\n 1459\n ],\n \"category\": \"Section-header\",\n \"text\": \"### Debit Card Fees and Charges\"\n },\n {\n \"bbox\": [\n 126,\n 1465,\n 728,\n 1482\n ],\n \"category\": \"Text\",\n \"text\": \"For general Debit Card fees and charges, visit http://www.uob.com.sg/debit/fees\"\n },\n {\n \"bbox\": [\n 126,\n 1512,\n 435,\n 1529\n ],\n \"category\": \"Section-header\",\n \"text\": \"### UOB Debit Cardmembers Agreement\"\n },\n {\n \"bbox\": [\n 126,\n 1537,\n 896,\n 1577\n ],\n \"category\": \"Text\",\n \"text\": \"For UOB Debit Card Terms and Conditions and useful information on using your UOB Debit Cards, visit www.uob.com.sg/personal/cards/debit/tnc.html\"\n },\n {\n \"bbox\": [\n 76,\n 1640,\n 1170,\n 1711\n ],\n \"category\": \"Page-footer\",\n \"text\": \"Please note that you are bound by a duty under the rules governing the operation of this account, to check the entries in the above statement. If you do not notify us in writing of any errors, omissions or unauthorised debits within fourteen (14) days of this statement, the entries above shall be deemed valid, correct, accurate and conclusively binding upon you, and you shall have no claim against the bank in relation thereto.\\n\\n请注意,在此户口的管理条规下,您必须核对此结单所列项目,并在十四(14)天内,以书面通知本行任何错误,遗漏或未经授权支账,否则上述项目当被视为有效,适当和准确并受其约束,您不得向本行索取赔偿.\\nUnited Overseas Bank Limited • 80 Raffles Place UOB Plaza Singapore 048624 • Co. Reg. No. 193500026Z • GST Reg. No. MR-8500194-3 • www.uob.com.sg\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/Mandiri Timindo Manufaktur_page-0010.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 922,\n 89,\n 1163,\n 154\n ],\n \"category\": \"Page-header\",\n \"text\": \"mandiri\"\n },\n {\n \"bbox\": [\n 506,\n 142,\n 711,\n 192\n ],\n \"category\": \"Section-header\",\n \"text\": \"Rekening Koran\\n(Account Statement)\"\n },\n {\n \"bbox\": [\n 50,\n 219,\n 730,\n 368\n ],\n \"category\": \"Text\",\n \"text\": \"Periode : From 01 September 2019\\nTo 30 September 2019\\nAccount No : 1400066780058 - TIMINDO MANUFAKTUR\\nCurrency : IDR\\nBranch : KCP Sby Diponegoro\\nOpening Balance : 259,022,606.35\"\n },\n {\n \"bbox\": [\n 47,\n 398,\n 1187,\n 527\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>Date & Time</th><th>Value Date</th><th>Description</th><th>Reference No.</th><th>Debit</th><th>Credit</th><th>Balance</th></tr></thead><tbody><tr><td></td><td></td><td>No of Debit</td><td></td><td>65</td><td></td><td></td></tr><tr><td></td><td></td><td>Total Amount Debited</td><td></td><td>3,398,500,530.19</td><td></td><td></td></tr><tr><td></td><td></td><td>Closing Balance</td><td></td><td>294,565,155.11</td><td></td><td></td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 584,\n 1421,\n 689,\n 1440\n ],\n \"category\": \"Page-footer\",\n \"text\": \"Page 10 of 18\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/Permata Juli 2023_page-0001.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 56,\n 36,\n 270,\n 222\n ],\n \"category\": \"Picture\"\n },\n {\n \"bbox\": [\n 320,\n 119,\n 736,\n 185\n ],\n \"category\": \"Page-header\",\n \"text\": \"PermataBank\"\n },\n {\n \"bbox\": [\n 713,\n 48,\n 832,\n 179\n ],\n \"category\": \"Picture\"\n },\n {\n \"bbox\": [\n 918,\n 119,\n 1520,\n 185\n ],\n \"category\": \"Page-header\",\n \"text\": \"Permatae-Business\"\n },\n {\n \"bbox\": [\n 1526,\n 136,\n 1625,\n 213\n ],\n \"category\": \"Picture\"\n },\n {\n \"bbox\": [\n 713,\n 279,\n 1033,\n 322\n ],\n \"category\": \"Section-header\",\n \"text\": \"Transaction Inquiry\"\n },\n {\n \"bbox\": [\n 56,\n 425,\n 1689,\n 594\n ],\n \"category\": \"Text\",\n \"text\": \"Inquiry Time : Sep 14 2023 10:17:44 Group : B579199001 / BHAKTI SATRIA PERSADA PT Account : 00902321578/BHAKTI SATRIA PERSADA (IDR) Period : 01-Jul-2023 - 31-Jul-2023\"\n },\n {\n \"bbox\": [\n 56,\n 653,\n 1730,\n 2384\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>No.</th><th>Post Date</th><th>Eff Date</th><th>Transaction Code</th><th>Cheque Number</th><th>Ref No</th><th>Customer Ref No</th><th>Description</th><th>Debit</th><th>Credit</th></tr></thead><tbody><tr><td colspan=\\\"10\\\">Opening Ledger Balance per</td></tr><tr><td colspan=\\\"10\\\">01-Jul-2023</td></tr><tr><td>101-Jul-2023</td><td>01-Jul-2023</td><td>098</td><td>0000000000</td><td></td><td></td><td></td><td>TRF DARI DYNAMO MEDIA NET BANK CENTRAL ASIA ATM PRIMA (BANK PERMATA TBK) 04:01:39</td><td>0.00</td><td>25,176,609.68</td></tr><tr><td>201-Jul-2023</td><td>01-Jul-2023</td><td>180</td><td>0000000000</td><td></td><td></td><td></td><td>Biaya adm. bulan JULI 2023</td><td>40,000.00</td><td>16,991,407.00</td></tr><tr><td colspan=\\\"10\\\">Total</td></tr><tr><td colspan=\\\"10\\\"></td></tr><tr><td colspan=\\\"10\\\"></td></tr><tr><td colspan=\\\"10\\\">Ledger Balance per</td></tr><tr><td colspan=\\\"10\\\">02-Jul-2023</td></tr><tr><td>302-Jul-2023</td><td>02-Jul-2023</td><td>374</td><td>0007022023</td><td>0897183919440610</td><td></td><td></td><td>TRF KE PT BHAKTI SATRIA 07777775515 PT. BANK SYARIAH IND PeB via Base24 08:53:05</td><td>40,000,000.00</td><td>42,128,016.68</td></tr><tr><td>402-Jul-2023</td><td>02-Jul-2023</td><td>559</td><td>0000000000</td><td>0897183919440610</td><td></td><td></td><td>Biaya Adm. Online PB ke BSI Bhakti 0897183919440610</td><td>7,500.00</td><td>0.00</td></tr><tr><td colspan=\\\"10\\\">Total</td></tr><tr><td colspan=\\\"10\\\"></td></tr><tr><td colspan=\\\"10\\\">Ledger Balance per</td></tr><tr><td colspan=\\\"10\\\">03-Jul-2023</td></tr><tr><td>503-Jul-2023</td><td>03-Jul-2023</td><td>803</td><td>0000000000</td><td>CL022396</td><td></td><td></td><td>TRF DARI THALES INDONESIA, PT BNP PARIBAS INDONESIA INV 434-438A</td><td>0.00</td><td>2,120,516.68</td></tr><tr><td>603-Jul-2023</td><td>03-Jul-2023</td><td>803</td><td>0000000000</td><td>CMB7235641132700</td><td></td><td></td><td>TRF DARI SCG BARITO LOGISTICS BANK CIMB NIAGAV2305250023/2 305250024/2305250026/202306301862612391</td><td>0.00</td><td>375,605,396.00</td></tr><tr><td>703-Jul-2023</td><td>03-Jul-2023</td><td>803</td><td>0000000000</td><td>CMB7235641154700</td><td></td><td></td><td>TRF DARI SCG BARITO LOGISTICS BANK CIMB NIAGAV2306120001/2 306120002/2306120004/2023063052469349</td><td>0.00</td><td>496,496,433.00</td></tr><tr><td>803-Jul-2023</td><td>03-Jul-2023</td><td>050</td><td>0000000000</td><td>0897184919451394</td><td></td><td></td><td>BIAYA ADM. TRF RTGS KE PT BHAKTI SATRIA PERSADA 7777775515 BANK SYARIAH INDONES JAKARTA PeB 13:22:52 PB ke BSI Bhakti</td><td>30,000.00</td><td>0.00</td></tr><tr><td>903-Jul-2023</td><td>03-Jul-2023</td><td>371</td><td>0000000000</td><td>0897184919451394</td><td></td><td></td><td>TRF RTGS KE PT BHAKTI SATRIA PERSADA 7777775515 BANK SYARIAH INDONES JAKARTA PeB 13:22:52 PB ke BSI Bhakti</td><td>910,000,000.00</td><td>0.00</td></tr><tr><td>1003-Jul-2023</td><td>03-Jul-2023</td><td>582</td><td>0000000000</td><td></td><td></td><td></td><td>TRF INCOMING BIFAST DARI ASIA</td><td>0.00</td><td>1,013,358.00</td></tr></tbody></table>\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/BTN AGUS RIZA_page-0002.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 986,\n 61,\n 1104,\n 131\n ],\n \"category\": \"Page-header\",\n \"text\": \"btn\"\n },\n {\n \"bbox\": [\n 60,\n 68,\n 315,\n 125\n ],\n \"category\": \"Page-header\",\n \"text\": \"BUMN UNTUK INDONESIA\"\n },\n {\n \"bbox\": [\n 68,\n 174,\n 1169,\n 1494\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>Tgl & Waktu<br>Date & Time</th><th>Jenis Transaksi<br>Transaction Type</th><th>Debit (IDR)<br>Debit (IDR)</th><th>Kredit (IDR)<br>Credit (IDR)</th><th>Saldo(IDR)<br>Balance (IDR)</th></tr></thead><tbody><tr><td></td><td>9000|082331316668|4041ESB742004155<br>1831300210200 6017ESB742004155</td><td></td><td></td><td></td></tr><tr><td>11/02/2024 07:51:21</td><td>ATM SA Cardless WDW<br>60996128 6221009200010891 1502<br>6011 0006282331316668 1502<br>0006282331316668</td><td>1.000.000,00</td><td>0,00</td><td>27.869.201,00</td></tr><tr><td>11/02/2024 10:31:04</td><td>JALIN AMP SA Ex<br>TRF - MANDIRI 808522929505<br>MOB 13000011<br>REF 460701702</td><td>6.500,00</td><td>0,00</td><td>27.800.737,00</td></tr><tr><td>11/02/2024 10:31:04</td><td>JALIN AMP SA Ex<br>TRF - MANDIRI 808522929505<br>MOB 13000011<br>REF 460701702</td><td>61.964,00</td><td>0,00</td><td>27.807.237,00</td></tr><tr><td>15/02/2024 09:59:01</td><td>Pay QRIS Iss SA<br>PAY 9360000201104910354 COFFEE GUNUNG HA<br>MOB 13000007 000001999289632<br>ESB064505525</td><td>25.007,00</td><td>0,00</td><td>27.775.730,00</td></tr><tr><td>15/02/2024 10:00:25</td><td>Pay QRIS Iss SA<br>PAY 9360000200135546427 AB GROUP<br>MOB 13000007 13554642<br>ESB240900499</td><td>55.000,00</td><td>0,00</td><td>27.720.730,00</td></tr><tr><td>15/02/2024 17:44:25</td><td>Bill Pay TSEL SA<br>PAY TSEL 0081378888734<br>NEWMB 3000007 PREPAID<br>ESB820609601</td><td>16.500,00</td><td>0,00</td><td>27.704.230,00</td></tr><tr><td>16/02/2024 10:44:03</td><td>BIFAST Outgoing SA<br>TRF 00000000008640400715 SITI KHOIRIYAH<br>ESB337408560 BCA</td><td>362.500,00</td><td>0,00</td><td>27.341.730,00</td></tr><tr><td>17/02/2024 09:35:17</td><td>BIFAST Outgoing SA<br>TRF 00000001101000117567 M ARIS FARKHAN<br>ESB726602264 BRI</td><td>1.007.500,00</td><td>0,00</td><td>26.334.230,00</td></tr><tr><td>18/02/2024 10:40:12</td><td>BIFAST Outgoing SA<br>TRF 00000000008640885751 AGUS RIZA<br>ESB245803643 BCA</td><td>1.002.500,00</td><td>0,00</td><td>25.331.730,00</td></tr><tr><td>20/02/2024 14:20:50</td><td>Bill Pay Telkom SA<br>PAY NMB TELKOM 609301713<br>NMB 13000008ESB391802531Mukayati<br>ESB3918025316282331316668</td><td>363.250,00</td><td>0,00</td><td>24.968.480,00</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 1179,\n 1622,\n 1195,\n 1646\n ],\n \"category\": \"Page-footer\",\n \"text\": \"2\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/estatement bca margaret_page-0024.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 44,\n 92,\n 232,\n 152\n ],\n \"category\": \"Page-header\",\n \"text\": \"BCA\"\n },\n {\n \"bbox\": [\n 434,\n 114,\n 800,\n 146\n ],\n \"category\": \"Section-header\",\n \"text\": \"REKENING TAHAPAN\"\n },\n {\n \"bbox\": [\n 60,\n 174,\n 147,\n 189\n ],\n \"category\": \"Text\",\n \"text\": \"KCU ASEMKA\"\n },\n {\n \"bbox\": [\n 676,\n 202,\n 1049,\n 313\n ],\n \"category\": \"Text\",\n \"text\": \"NO. REKENING : 0010364493\\nHALAMAN : 24 / 25\\nPERIODE : AGUSTUS 2019\\nMATA UANG : IDR\"\n },\n {\n \"bbox\": [\n 58,\n 200,\n 262,\n 344\n ],\n \"category\": \"Text\",\n \"text\": \"MARGARET FENHART\\nKEC ANCOL\\nKEL ANCOL RT 002/011\\nPARANG TERITIS 11/24\\nJAKARTA 14430\\nINDONESIA\"\n },\n {\n \"bbox\": [\n 50,\n 381,\n 118,\n 397\n ],\n \"category\": \"Text\",\n \"text\": \"CATATAN:\"\n },\n {\n \"bbox\": [\n 640,\n 405,\n 1184,\n 444\n ],\n \"category\": \"List-item\",\n \"text\": \"* BCA berhak setiap saat melakukan koreksi apabila ada kesalahan pada Laporan Mutasi Rekening.\"\n },\n {\n \"bbox\": [\n 54,\n 405,\n 596,\n 463\n ],\n \"category\": \"List-item\",\n \"text\": \"* Apabila nasabah tidak melakukan sanggahan atas Laporan Mutasi Rekening ini sampai dengan akhir bulan berikutnya, nasabah dianggap telah menyetujui segala data yang tercantum pada Laporan Mutasi Rekening ini.\"\n },\n {\n \"bbox\": [\n 42,\n 484,\n 1195,\n 1532\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>TANGGAL</th><th>KETERANGAN</th><th>CBG</th><th>MUTASI</th><th>SALDO</th></tr></thead><tbody><tr><td></td><td>HANNY</td><td></td><td></td><td></td></tr><tr><td>29/08</td><td>SWITCHING CR TRANSFER DR 451 ALFIAN /BANK SYARIA</td><td></td><td>4,993,200.00</td><td>1,260,127,678.13</td></tr><tr><td>29/08</td><td>TRSF E-BANKING CR 29/08 /95031/00000 AGUS JAFAR</td><td></td><td>993,400.00</td><td></td></tr><tr><td>29/08</td><td>TRSF E-BANKING CR 29/08 /95031/00000 BU LENI HANNY</td><td></td><td>2,023,000.00</td><td></td></tr><tr><td>29/08</td><td>TRSF E-BANKING DB 2908/FTSCY/WS95051 2571570.00 PENNY</td><td></td><td>2,571,570.00 DB</td><td></td></tr><tr><td>29/08</td><td>SWITCHING CR TRANSFER DR 002 WIRA ASTUTI /9898-UNIT M</td><td></td><td>3,710,500.00</td><td></td></tr><tr><td>29/08</td><td>TRSF E-BANKING DB 2908/FTSCY/WS95051 73810600.00 MAKMUR BERIKAT SUK</td><td></td><td>73,810,600.00 DB</td><td></td></tr><tr><td>29/08</td><td>TRSF E-BANKING CR 2908/FTSCY/WS95031 737000.00 MISHELL ERIYANTI</td><td></td><td>737,000.00</td><td></td></tr><tr><td>29/08</td><td>TRSF E-BANKING CR 29/08 /95031/00000 LUNAS ANISAH</td><td></td><td>6,974,000.00</td><td>1,198,183,408.13</td></tr><tr><td>30/08</td><td>KR OTOMATIS MID : 885000538505 MEILYN JEWELLERY TGH: 13019400.00 DDR: 19529.10</td><td>0998</td><td>12,999,870.90</td><td></td></tr><tr><td>30/08</td><td>TRSF E-BANKING DB 3008/FTSCY/WS95051 52000000.00 PE-MLN1907918 BINTANG BARU COUSIN AGUSTIAN</td><td></td><td>52,000,000.00 DB</td><td></td></tr><tr><td>30/08</td><td>TRSF E-BANKING DB 3008/FTLLG/0000100 0080017PT. BANK MA TRANSFER VIA LLG REF NO PPU =Z0JX ARIAN</td><td></td><td>39,650,000.00 DB</td><td></td></tr><tr><td>30/08</td><td>BA JASA E-BANKING 3008/DMCHG/0000100 BIAYA TRANSFER SME</td><td></td><td>5,000.00 DB</td><td></td></tr><tr><td>30/08</td><td>SETORAN TUNAI</td><td>0001</td><td>35,405,500.00</td><td></td></tr><tr><td>30/08</td><td>TRSF E-BANKING CR 3008/FTSCY/WS95011 3379800.00 tbb ADITHIO JABBARNOSA</td><td></td><td>3,379,800.00</td><td></td></tr><tr><td>30/08</td><td>TRSF E-BANKING CR 30/08 WSID:Z0RW1 FATIMAH BATUBARA</td><td></td><td>7,182,000.00</td><td></td></tr><tr><td>30/08</td><td>TRSF E-BANKING DB 3008/FTSCY/WS95051</td><td></td><td>1,000,000,000.00 DB</td><td>165,495,579.03</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 869,\n 1553,\n 1162,\n 1575\n ],\n \"category\": \"Text\",\n \"text\": \"Bersambung ke Halaman berikut\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/01 Januari 2023 OCBC Giro_page-0001.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 73,\n 84,\n 387,\n 152\n ],\n \"category\": \"Page-header\",\n \"text\": \"OCBC NISP\"\n },\n {\n \"bbox\": [\n 732,\n 99,\n 1020,\n 122\n ],\n \"category\": \"Section-header\",\n \"text\": \"ACCOUNT STATEMENT\"\n },\n {\n \"bbox\": [\n 667,\n 141,\n 1083,\n 165\n ],\n \"category\": \"Text\",\n \"text\": \"FROM : 2023-01-01 TO : 2023-01-31\"\n },\n {\n \"bbox\": [\n 82,\n 201,\n 700,\n 93\n ],\n \"category\": \"Text\",\n \"text\": \"Account No : 403800012599 - IDR\\nAccount Name : PT. AEGIS ULTIMA TEKNOLOGI\\nTotal Debit : 4,009,833,153.00\\nTotal Credit : 4,015,001,873.00\"\n },\n {\n \"bbox\": [\n 875,\n 201,\n 1422,\n 282\n ],\n \"category\": \"Text\",\n \"text\": \"Opening Balance : 4,387,821.00\\nClosing Balance : 9,556,541.00\\nLedger Balance : 9,556,541.00\\nAvailable Balance : 9,556,541.00\"\n },\n {\n \"bbox\": [\n 73,\n 324,\n 1676,\n 1030\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>Transaction Date</th><th>Value Date</th><th>Reference No.</th><th>Cheque No.</th><th>Description</th><th>Debit</th><th>Credit</th><th>Balance</th></tr></thead><tbody><tr><td>02/01/2023<br>09:43:05</td><td>02/01/2023</td><td>7799999304089101</td><td></td><td>014 - Transfer Masuk (INWARD RTGS<br>CR)<br>AEGIS ULTIMA TEKNOLOGI/RTGS<br>Fee 20230102093AEGIS<br>ULTIMA TEKNOLOGI</td><td></td><td>1,000,000,000.00</td><td>1,004,387,821.00</td></tr><tr><td>02/01/2023<br>09:45:10</td><td>02/01/2023</td><td>0200000890001778</td><td></td><td>014 - Transfer Masuk (TRF CN-SKN<br>MSK)<br>KREARIA ATERACTIVE VERSE/</td><td></td><td>1,000,000,000.00</td><td>2,004,387,821.00</td></tr><tr><td>02/01/2023<br>11:23:52</td><td>02/01/2023</td><td>0200431528937724</td><td></td><td>004 - Pemindahbukuan<br>PEMBAYARAN POKOK<br>-403830034811</td><td>2,000,000,000.00</td><td></td><td>4,387,821.00</td></tr><tr><td>02/01/2023<br>11:24:44</td><td>02/01/2023</td><td>0200431528937788</td><td></td><td>004 - Pemindahbukuan (PELUNASAN<br>KRDT)<br>PELUNASAN - 403830034811</td><td>3,111,111.00</td><td></td><td>1,276,710.00</td></tr><tr><td>11/01/2023<br>10:27:47</td><td>11/01/2023</td><td>1109990694120128</td><td></td><td>005 - Pemindahbukuan (PENCAIRAN<br>KRDT)<br>PENCAIRAN KREDIT - 403830036758</td><td></td><td>2,000,000,000.00</td><td>2,001,276,710.00</td></tr><tr><td>11/01/2023<br>13:08:47</td><td>11/01/2023</td><td>230111304932</td><td></td><td>004 - Pemindahbukuan<br>7001526 6670 INT-BK Outw RTGS</td><td>25,000.00</td><td></td><td>2,001,251,710.00</td></tr><tr><td>11/01/2023<br>13:08:47</td><td>11/01/2023</td><td>230111304932</td><td></td><td>952 - Penarikan Melalui RTGS iBank<br>PT Aegis Ultima Teknologi/</td><td>2,000,000,000.00</td><td></td><td>1,251,710.00</td></tr><tr><td>24/01/2023<br>07:05:48</td><td>24/01/2023</td><td>2476001800068384</td><td></td><td>079 - Transfer Masuk BI Fast<br>AEGIS ULTIMA TEKNOLOGI P/-</td><td></td><td>5,000,000.00</td><td>6,251,710.00</td></tr><tr><td>24/01/2023<br>07:05:53</td><td>24/01/2023</td><td>2476001900068262</td><td></td><td>079 - Transfer Masuk BI Fast<br>AEGIS ULTIMA TEKNOLOGI P/-</td><td></td><td>5,000,000.00</td><td>11,251,710.00</td></tr><tr><td>24/01/2023<br>07:05:55</td><td>24/01/2023</td><td>2476000630068579</td><td></td><td>079 - Transfer Masuk BI Fast<br>AEGIS ULTIMA TEKNOLOGI P/-</td><td></td><td>4,000,000.00</td><td>15,251,710.00</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 96,\n 1060,\n 299,\n 1079\n ],\n \"category\": \"Text\",\n \"text\": \"Printed By : AEGIS101\"\n },\n {\n \"bbox\": [\n 97,\n 1093,\n 420,\n 1110\n ],\n \"category\": \"Text\",\n \"text\": \"Printed On : 01-Feb-2023 07:55:00 AM\"\n },\n {\n \"bbox\": [\n 1397,\n 1083,\n 1645,\n 1102\n ],\n \"category\": \"Text\",\n \"text\": \"Page 1 of 2\"\n },\n {\n \"bbox\": [\n 73,\n 1136,\n 600,\n 1154\n ],\n \"category\": \"Page-footer\",\n \"text\": \"This is computer-generated and does not require Bank's signature\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/UOB MISS ZHANG LING_page-0002.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 71,\n 42,\n 460,\n 118\n ],\n \"category\": \"Page-header\",\n \"text\": \"UOB 大华银行\"\n },\n {\n \"bbox\": [\n 1079,\n 189,\n 1166,\n 208\n ],\n \"category\": \"Page-header\",\n \"text\": \"Page 2 of 6\"\n },\n {\n \"bbox\": [\n 106,\n 231,\n 406,\n 253\n ],\n \"category\": \"Section-header\",\n \"text\": \"Account Transaction Details\"\n },\n {\n \"bbox\": [\n 106,\n 273,\n 409,\n 292\n ],\n \"category\": \"Text\",\n \"text\": \"Lady's Savings A/c 658-373-803-4\"\n },\n {\n \"bbox\": [\n 94,\n 318,\n 1166,\n 1553\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>Date</th><th>Description</th><th>Withdrawals SGD</th><th>Deposits SGD</th><th>Balance SGD</th></tr></thead><tbody><tr><td>01 Aug</td><td>BALANCE B/F</td><td></td><td></td><td>15,592.61</td></tr><tr><td>01 Aug</td><td>NETS Debit-Consumer JCU S0811560503 xxxxxx8034</td><td>5.60</td><td></td><td>15,587.01</td></tr><tr><td>02 Aug</td><td>NETS Debit-Consumer JCU S0812250503 xxxxxx8034</td><td>4.10</td><td></td><td>15,582.91</td></tr><tr><td>02 Aug</td><td>NETS Debit-Consumer NTUC FAIRPR17557600 xxxxxx8034</td><td>6.80</td><td></td><td>15,576.11</td></tr><tr><td>03 Aug</td><td>PAYNOW-FAST PIB2308039817639252 Aom Goh OTHR Transfer - Mobile</td><td>700.00</td><td></td><td>14,876.11</td></tr><tr><td>03 Aug</td><td>NETS Debit-Consumer JCU S0811500503 xxxxxx8034</td><td>4.60</td><td></td><td>14,871.51</td></tr><tr><td>03 Aug</td><td>NETS Debit-Consumer NTUC FAIRPR14277200 xxxxxx8034</td><td>5.85</td><td></td><td>14,865.66</td></tr><tr><td>03 Aug</td><td>NETS Debit-Consumer JAPAN HOME 18082700 xxxxxx8034</td><td>9.10</td><td></td><td>14,856.56</td></tr><tr><td>03 Aug</td><td>NETS Debit-Consumer SHENG SIONG18574899 xxxxxx8034</td><td>13.30</td><td></td><td>14,843.26</td></tr><tr><td>05 Aug</td><td>NETS Debit-Consumer SHENG SIONG14464899 xxxxxx8034</td><td>6.95</td><td></td><td>14,836.31</td></tr><tr><td>07 Aug</td><td>NETS Debit-Consumer FR NEX - LA12289900 xxxxxx8034</td><td>4.60</td><td></td><td>14,831.71</td></tr><tr><td>07 Aug</td><td>NETS Debit-Consumer NTUC FAIRPR13147200 xxxxxx8034</td><td>4.35</td><td></td><td>14,827.36</td></tr><tr><td>07 Aug</td><td>NETS Debit-Consumer NTUC FAIRPR16237200 xxxxxx8034</td><td>3.20</td><td></td><td>14,824.16</td></tr><tr><td>07 Aug</td><td>NETS Debit-Consumer JCU S0812050503 xxxxxx8034</td><td>5.60</td><td></td><td>14,818.56</td></tr><tr><td>07 Aug</td><td>NETS Debit-Consumer SHENG SIONG17524899 xxxxxx8034</td><td>8.00</td><td></td><td>14,810.56</td></tr><tr><td>08 Aug</td><td>NETS Debit-Consumer JCU S0812170503 xxxxxx8034</td><td>4.60</td><td></td><td>14,805.96</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 75,\n 1639,\n 1169,\n 1683\n ],\n \"category\": \"Page-footer\",\n \"text\": \"Please note that you are bound by a duty under the rules governing the operation of this account, to check the entries in the above statement. If you do not notify us in writing of any errors, omissions or unauthorised debits within fourteen (14) days of this statement, the entries above shall be deemed valid, correct, accurate and conclusively binding upon you, and you shall have no claim against the bank in relation thereto.\"\n },\n {\n \"bbox\": [\n 75,\n 1683,\n 1056,\n 1695\n ],\n \"category\": \"Page-footer\",\n \"text\": \"请注意,在此户口的管理条规下,您必须核对此结单所列项目,并在十四(14)天内,以书面通知本行任何错误,遗漏或未经授权支账,否则上述项目当被视为有效,适当和准确并受其约束,您不得向本行索取赔偿.\"\n },\n {\n \"bbox\": [\n 75,\n 1697,\n 1001,\n 1710\n ],\n \"category\": \"Page-footer\",\n \"text\": \"United Overseas Bank Limited • 80 Raffles Place UOB Plaza Singapore 048624 • Co. Reg. No. 193500026Z • GST Reg. No. MR-8500194-3 • www.uob.com.sg\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/OCBC-1_page-0001.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 97,\n 112,\n 141,\n 130\n ],\n \"category\": \"Page-header\",\n \"text\": \"99693\"\n },\n {\n \"bbox\": [\n 445,\n 112,\n 550,\n 130\n ],\n \"category\": \"Page-header\",\n \"text\": \"01/21-1/1-3270\"\n },\n {\n \"bbox\": [\n 511,\n 144,\n 554,\n 161\n ],\n \"category\": \"Page-header\",\n \"text\": \"99693\"\n },\n {\n \"bbox\": [\n 95,\n 195,\n 319,\n 213\n ],\n \"category\": \"Text\",\n \"text\": \"NINA NURSITA RAMADHAN\"\n },\n {\n \"bbox\": [\n 95,\n 238,\n 445,\n 277\n ],\n \"category\": \"Text\",\n \"text\": \"KOST PUTRI SAKINAH JL. H. MAHALI NO. 3A\\nPONDOK CINA, KOTA DEPOK 16424\"\n },\n {\n \"bbox\": [\n 582,\n 102,\n 1141,\n 121\n ],\n \"category\": \"Section-header\",\n \"text\": \"REKENING KORAN GIRO / CURRENT ACCOUNT STATEMENT\"\n },\n {\n \"bbox\": [\n 582,\n 133,\n 1071,\n 152\n ],\n \"category\": \"Text\",\n \"text\": \"NOMOR REKENING / : 693812643270 - Tanda360Plus Digital\"\n },\n {\n \"bbox\": [\n 582,\n 154,\n 742,\n 170\n ],\n \"category\": \"Text\",\n \"text\": \"ACCOUNT NUMBER\"\n },\n {\n \"bbox\": [\n 582,\n 180,\n 931,\n 198\n ],\n \"category\": \"Text\",\n \"text\": \"CABANG / BRANCH : 99693 - DIGITAL\"\n },\n {\n \"bbox\": [\n 582,\n 225,\n 1074,\n 244\n ],\n \"category\": \"Text\",\n \"text\": \"PERIODE / PERIOD : 01 Desember 2021 - 31 Desember 2021\"\n },\n {\n \"bbox\": [\n 582,\n 271,\n 939,\n 308\n ],\n \"category\": \"Text\",\n \"text\": \"TANGGAL PERCETAKAN / : 03 December 2021\\nPRINTING DATE\"\n },\n {\n \"bbox\": [\n 582,\n 318,\n 840,\n 336\n ],\n \"category\": \"Text\",\n \"text\": \"MATA UANG / CURRENCY : IDR\"\n },\n {\n \"bbox\": [\n 582,\n 363,\n 854,\n 382\n ],\n \"category\": \"Text\",\n \"text\": \"HALAMAN / PAGE : 1 of 1\"\n },\n {\n \"bbox\": [\n 55,\n 417,\n 1167,\n 627\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>TGL TRANS / TRANS DATE</th><th>TGL VALUTA / VALUE DATE</th><th>URAIAN / DESCRIPTION</th><th>DEBET / DEBIT</th><th>KREDIT / CREDIT</th><th>SALDO / BALANCE</th></tr></thead><tbody><tr><td></td><td></td><td>Currency Code : IDR</td><td></td><td></td><td></td></tr><tr><td></td><td></td><td>Beginning Balance</td><td></td><td></td><td>0.00</td></tr><tr><td>03/12/2021</td><td>03/12/2021</td><td>Transfer Masuk/Incoming Transfer</td><td>0.00</td><td>200,000.00</td><td>200,000.00</td></tr><tr><td></td><td></td><td>Berita : 6642 009 SDRI NINA NURSITA RAMADHAN</td><td></td><td></td><td></td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 55,\n 687,\n 1053,\n 764\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>Mata Uang / Currency</th><th>Tunggakan Bunga / Overdue Interest</th><th>Tunggakan Denda / Overdue Penalty</th><th>Overdue Other's Liabilities</th><th>Total Tunggakan / Total Overdue Amount</th></tr></thead><tbody><tr><td>IDR</td><td>0.00</td><td>0.00</td><td>0.00</td><td>0.00</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 55,\n 824,\n 1053,\n 928\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>Mata Uang / Currency</th><th>Kurs Valas IDR / IDR Exchange Rate</th><th>Saldo / Balance</th><th>Saldo Dalam IDR / Balance in IDR</th></tr></thead><tbody><tr><td>IDR</td><td>1.00</td><td>200,000.00</td><td>200,000.00</td></tr><tr><td colspan=\\\"3\\\">Total Saldo Dalam IDR / Balance Total in IDR</td><td>200,000.00</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 61,\n 932,\n 733,\n 951\n ],\n \"category\": \"Text\",\n \"text\": \"CATATAN : Kurs Valas / IDR adalah Kurs Indikasi Penutupan yang berlaku di Bank OCBC NISP /\"\n },\n {\n \"bbox\": [\n 61,\n 950,\n 909,\n 988\n ],\n \"category\": \"Text\",\n \"text\": \"NOTE : Foreign Currency Exchange Rates / IDR Exchange Rates is Closing Indicative Exchange that apply in Bank OCBC NISP\"\n },\n {\n \"bbox\": [\n 54,\n 1425,\n 865,\n 1482\n ],\n \"category\": \"Text\",\n \"text\": \"BILAMANA DALAM 7 HARI TERHITUNG SEJAK TANGGAL STEMPEL POS ATAU DITERIMANYA PER EKSPEDISI ATAU TANGGAL TERKIRIMNYA LAYANAN ESTATEMENT REKENING KORAN INI TIDAK ADA SANGGAHAN DARI NASABAH MAKA DIANGGAP NASABAH TELAH MENYETUJUI SEGALA SESUATU YANG TERMUAT DALAM REKENING KORAN INI. SETIAP PEMBEBANAN ONGKOS / BIAYA KAMI TIDAK MEMBUATKAN NOTANYA. CETAKAN KOMPUTER INI TIDAK MEMERLUKAN TANDA TANGAN PEJABAT BANK.\"\n },\n {\n \"bbox\": [\n 54,\n 1509,\n 865,\n 1565\n ],\n \"category\": \"Text\",\n \"text\": \"IN THE EVENT THAT WITHIN 7 DAYS COMMENCING FROM THE DATE OF POST STAMP OR RECEIPT OF THIS CURRENT ACCOUNT STATEMENT VIA COURIER SERVICE NO COMPLAINT IS MADE BY THE CUSTOMER AGAINST THIS CURRENT ACCOUNT, THE CUSTOMER IS DEEMED TO HAVE AGREED TO ANYTHING HERE IN CONTAINED ANY COMPLAINT REGARDING THIS CURRENT ACCOUNT STATEMENT IS TO BE MADE AT ACCOUNT OPENING BRANCH. NO BILL SHALL BE MADE TO ANY INTEREST CREDITED\"\n },\n {\n \"bbox\": [\n 65,\n 1595,\n 865,\n 1692\n ],\n \"category\": \"Text\",\n \"text\": \"WASPADA! Penipuan dengan modus Business Email Compromise (BEC), modus penipuan e-mail palsu yang terlihat mirip seperti e-mail asli dari pengirim yang benar atau e-mail yang sudah diretas oleh penipu untuk mengelabui korban. Selalu waspada dan cek dengan teliti setiap e-mail yang Anda terima. Segera hubungi TANYA OCBC NISP di 1500999 apabila Anda mendapatkan email palsu yang mengatasnamakan Bank OCBC NISP.\"\n },\n {\n \"bbox\": [\n 883,\n 1637,\n 1162,\n 1698\n ],\n \"category\": \"Page-footer\",\n \"text\": \"OCBC NISP\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/BSI April 2023_page-0027.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 146,\n 110,\n 1166,\n 1531\n ],\n \"category\": \"Table\",\n \"text\": \"<table>\\n <tbody>\\n <tr>\\n <td>1609</td>\\n <td>10/4/2023 17:13</td>\\n <td>FT23100KGL2V\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,906,798.00</td>\\n <td></td>\\n <td>1,710,256,025.71</td>\\n </tr>\\n <tr>\\n <td>1610</td>\\n <td>10/4/2023 17:13</td>\\n <td>FT23100LF9G1\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,906,798.00</td>\\n <td></td>\\n <td>1,705,349,227.71</td>\\n </tr>\\n <tr>\\n <td>1611</td>\\n <td>10/4/2023 17:13</td>\\n <td>FT23100M2LSH\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,906,798.00</td>\\n <td></td>\\n <td>1,700,442,429.71</td>\\n </tr>\\n <tr>\\n <td>1612</td>\\n <td>10/4/2023 17:13</td>\\n <td>FT23100NGWTT\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>5,117,035.00</td>\\n <td></td>\\n <td>1,695,325,394.71</td>\\n </tr>\\n <tr>\\n <td>1613</td>\\n <td>10/4/2023 17:13</td>\\n <td>FT23100HTMTQ\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>663,219.00</td>\\n <td></td>\\n <td>1,694,662,175.71</td>\\n </tr>\\n <tr>\\n <td>1614</td>\\n <td>10/4/2023 17:13</td>\\n <td>FT23100N7V2J\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>920,126.00</td>\\n <td></td>\\n <td>1,693,742,049.71</td>\\n </tr>\\n <tr>\\n <td>1615</td>\\n <td>10/4/2023 17:14</td>\\n <td>FT23100X2K21\\\\BNK</td>\\n <td>10042023</td>\\n <td>Gaji 10 April 2023</td>\\n <td>1,046,730.00</td>\\n <td></td>\\n <td>1,692,695,319.71</td>\\n </tr>\\n <tr>\\n <td>1616</td>\\n <td>10/4/2023 17:14</td>\\n <td>FT23100P9QFC\\\\BNK</td>\\n <td>10042023</td>\\n <td>Gaji 10 April 2023</td>\\n <td>1,225,867.00</td>\\n <td></td>\\n <td>1,691,469,452.71</td>\\n </tr>\\n <tr>\\n <td>1617</td>\\n <td>10/4/2023 17:14</td>\\n <td>FT23100SLN3K\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>1,542,370.00</td>\\n <td></td>\\n <td>1,689,927,082.71</td>\\n </tr>\\n <tr>\\n <td>1618</td>\\n <td>10/4/2023 17:14</td>\\n <td>FT23100T7WRY\\\\BNK</td>\\n <td>10042023</td>\\n <td>Gaji 10 April 2023</td>\\n <td>1,973,562.00</td>\\n <td></td>\\n <td>1,687,953,520.71</td>\\n </tr>\\n <tr>\\n <td>1619</td>\\n <td>10/4/2023 17:14</td>\\n <td>FT23100SXXD2\\\\BNK</td>\\n <td>10042023</td>\\n <td>Gaji 10 April 2023</td>\\n <td>2,139,607.00</td>\\n <td></td>\\n <td>1,685,813,913.71</td>\\n </tr>\\n <tr>\\n <td>1620</td>\\n <td>10/4/2023 17:14</td>\\n <td>FT23100NYZ6C\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,430,894.00</td>\\n <td></td>\\n <td>1,681,383,019.71</td>\\n </tr>\\n <tr>\\n <td>1621</td>\\n <td>10/4/2023 17:14</td>\\n <td>FT23100NT4FG\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,627,111.00</td>\\n <td></td>\\n <td>1,676,755,908.71</td>\\n </tr>\\n <tr>\\n <td>1622</td>\\n <td>10/4/2023 17:14</td>\\n <td>FT23100QFGDM\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,673,725.00</td>\\n <td></td>\\n <td>1,672,082,183.71</td>\\n </tr>\\n <tr>\\n <td>1623</td>\\n <td>10/4/2023 17:14</td>\\n <td>FT23100WF14Q\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,673,725.00</td>\\n <td></td>\\n <td>1,667,408,458.71</td>\\n </tr>\\n <tr>\\n <td>1624</td>\\n <td>10/4/2023 17:14</td>\\n <td>FT23100QS1TK\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,673,725.00</td>\\n <td></td>\\n <td>1,662,734,733.71</td>\\n </tr>\\n <tr>\\n <td>1625</td>\\n <td>10/4/2023 17:14</td>\\n <td>FT23100WR7XG\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,673,725.00</td>\\n <td></td>\\n <td>1,658,061,008.71</td>\\n </tr>\\n <tr>\\n <td>1626</td>\\n <td>10/4/2023 17:14</td>\\n <td>FT23100S8CK3\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,801,850.00</td>\\n <td></td>\\n <td>1,653,259,158.71</td>\\n </tr>\\n <tr>\\n <td>1627</td>\\n <td>10/4/2023 17:14</td>\\n <td>FT23100RYH61\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,898,303.00</td>\\n <td></td>\\n <td>1,648,360,855.71</td>\\n </tr>\\n <tr>\\n <td>1628</td>\\n <td>10/4/2023 17:14</td>\\n <td>FT23100R2HM9\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,906,798.00</td>\\n <td></td>\\n <td>1,643,454,057.71</td>\\n </tr>\\n <tr>\\n <td>1629</td>\\n <td>10/4/2023 17:14</td>\\n <td>FT23100PSHPN\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>5,117,035.00</td>\\n <td></td>\\n <td>1,638,337,022.71</td>\\n </tr>\\n <tr>\\n <td>1630</td>\\n <td>10/4/2023 17:14</td>\\n <td>FT23100R9TF0\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>5,117,035.00</td>\\n <td></td>\\n <td>1,633,219,987.71</td>\\n </tr>\\n <tr>\\n <td>1631</td>\\n <td>10/4/2023 17:14</td>\\n <td>FT23100TGB4G\\\\BNK</td>\\n <td>10042023</td>\\n <td>Gaji 10 April 2023</td>\\n <td>599,281.00</td>\\n <td></td>\\n <td>1,632,620,706.71</td>\\n </tr>\\n <tr>\\n <td>1632</td>\\n <td>10/4/2023 17:14</td>\\n <td>FT23100P5LZ3\\\\BNK</td>\\n <td>10042023</td>\\n <td>Gaji 10 April 2023</td>\\n <td>780,804.00</td>\\n <td></td>\\n <td>1,631,839,902.71</td>\\n </tr>\\n <tr>\\n <td>1633</td>\\n <td>10/4/2023 17:14</td>\\n <td>FT23100VRN36\\\\BNK</td>\\n <td>10042023</td>\\n <td>Gaji 10 April 2023</td>\\n <td>792,120.00</td>\\n <td></td>\\n <td>1,631,047,782.71</td>\\n </tr>\\n <tr>\\n <td>1634</td>\\n <td>10/4/2023 17:14</td>\\n <td>FT23100V45KP\\\\BNK</td>\\n <td>10042023</td>\\n <td>Gaji 10 April 2023</td>\\n <td>830,657.00</td>\\n <td></td>\\n <td>1,630,217,125.71</td>\\n </tr>\\n <tr>\\n <td>1635</td>\\n <td>10/4/2023 17:14</td>\\n <td>FT23100VFRXX\\\\BNK</td>\\n <td>10042023</td>\\n <td>Gaji 10 April 2023</td>\\n <td>966,000.00</td>\\n <td></td>\\n <td>1,629,251,125.71</td>\\n </tr>\\n <tr>\\n <td>1636</td>\\n <td>10/4/2023 17:15</td>\\n <td>FT2310015NP2\\\\BNK</td>\\n <td>10042023</td>\\n <td>Gaji 10 April 2023</td>\\n <td>1,133,481.00</td>\\n <td></td>\\n <td>1,628,117,644.71</td>\\n </tr>\\n <tr>\\n <td>1637</td>\\n <td>10/4/2023 17:15</td>\\n <td>FT231003KSJV\\\\BNK</td>\\n <td>10042023</td>\\n <td>Gaji 10 April 2023</td>\\n <td>1,172,343.00</td>\\n <td></td>\\n <td>1,626,945,301.71</td>\\n </tr>\\n <tr>\\n <td>1638</td>\\n <td>10/4/2023 17:15</td>\\n <td>FT23100Z0MV8\\\\BNK</td>\\n <td>10042023</td>\\n <td>Gaji 10 April 2023</td>\\n <td>1,173,480.00</td>\\n <td></td>\\n <td>1,625,771,821.71</td>\\n </tr>\\n <tr>\\n <td>1639</td>\\n <td>10/4/2023 17:15</td>\\n <td>FT23100Z7QT8\\\\BNK</td>\\n <td>10042023</td>\\n <td>Gaji 10 April 2023</td>\\n <td>1,174,978.00</td>\\n <td></td>\\n <td>1,624,596,843.71</td>\\n </tr>\\n <tr>\\n <td>1640</td>\\n <td>10/4/2023 17:15</td>\\n <td>FT23100ZWK6Y\\\\BNK</td>\\n <td>10042023</td>\\n <td>Gaji 10 April 2023</td>\\n <td>1,175,784.00</td>\\n <td></td>\\n <td>1,623,421,059.71</td>\\n </tr>\\n <tr>\\n <td>1641</td>\\n <td>10/4/2023 17:15</td>\\n <td>FT2310037Y0B\\\\BNK</td>\\n <td>10042023</td>\\n <td>Gaji 10 April 2023</td>\\n <td>1,263,015.00</td>\\n <td></td>\\n <td>1,622,158,044.71</td>\\n </tr>\\n <tr>\\n <td>1642</td>\\n <td>10/4/2023 17:15</td>\\n <td>FT23100ZKRL8\\\\BNK</td>\\n <td>10042023</td>\\n <td>Gaji 10 April 2023</td>\\n <td>30,000.00</td>\\n <td></td>\\n <td>1,622,128,044.71</td>\\n </tr>\\n <tr>\\n <td>1643</td>\\n <td>10/4/2023 17:15</td>\\n <td>FT2310006J64\\\\BNK</td>\\n <td>10042023</td>\\n <td>Gaji 10 April 2023</td>\\n <td>396,000.00</td>\\n <td></td>\\n <td>1,621,732,044.71</td>\\n </tr>\\n <tr>\\n <td>1644</td>\\n <td>10/4/2023 17:15</td>\\n <td>FT23100PHCSQ\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,525,212.00</td>\\n <td></td>\\n <td>1,617,206,832.71</td>\\n </tr>\\n <tr>\\n <td>1645</td>\\n <td>10/4/2023 17:15</td>\\n <td>FT231000Z6Q7\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,525,212.00</td>\\n <td></td>\\n <td>1,612,681,620.71</td>\\n </tr>\\n <tr>\\n <td>1646</td>\\n <td>10/4/2023 17:15</td>\\n <td>FT23100PZRDG\\\\BNK</td>\\n <td>10042023</td>\\n <td>Gaji 10 Apr 2023 CCDI</td>\\n <td>4,577,894.00</td>\\n <td></td>\\n <td>1,608,103,726.71</td>\\n </tr>\\n <tr>\\n <td>1647</td>\\n <td>10/4/2023 17:15</td>\\n <td>FT231000JQQV\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,898,303.00</td>\\n <td></td>\\n <td>1,603,205,423.71</td>\\n </tr>\\n <tr>\\n <td>1648</td>\\n <td>10/4/2023 17:15</td>\\n <td>FT231001TZ5V\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,898,303.00</td>\\n <td></td>\\n <td>1,598,307,120.71</td>\\n </tr>\\n <tr>\\n <td>1649</td>\\n <td>10/4/2023 17:15</td>\\n <td>FT23100XLQ4W\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>5,117,035.00</td>\\n <td></td>\\n <td>1,593,190,085.71</td>\\n </tr>\\n <tr>\\n <td>1650</td>\\n <td>10/4/2023 17:15</td>\\n <td>FT23100PJ9LM\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>5,117,035.00</td>\\n <td></td>\\n <td>1,588,073,050.71</td>\\n </tr>\\n <tr>\\n <td>1651</td>\\n <td>10/4/2023 17:15</td>\\n <td>FT2310057L5J\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>5,117,035.00</td>\\n <td></td>\\n <td>1,582,956,015.71</td>\\n </tr>\\n <tr>\\n <td>1652</td>\\n <td>10/4/2023 17:15</td>\\n <td>FT2310028FC7\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>5,142,575.00</td>\\n <td></td>\\n <td>1,577,813,440.71</td>\\n </tr>\\n <tr>\\n <td>1653</td>\\n <td>10/4/2023 17:15</td>\\n <td>FT231002LPRJ\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>545,268.00</td>\\n <td></td>\\n <td>1,577,268,172.71</td>\\n </tr>\\n <tr>\\n <td>1654</td>\\n <td>10/4/2023 17:15</td>\\n <td>FT23100YPMMF\\\\BNK</td>\\n <td>10042023</td>\\n <td>Gaji 10 April 2023</td>\\n <td>880,139.00</td>\\n <td></td>\\n <td>1,576,388,033.71</td>\\n </tr>\\n <tr>\\n <td>1655</td>\\n <td>10/4/2023 17:15</td>\\n <td>FT231001HPT2\\\\BNK</td>\\n <td>10042023</td>\\n <td>Gaji 10 April 2023</td>\\n <td>881,540.00</td>\\n <td></td>\\n <td>1,575,506,493.71</td>\\n </tr>\\n <tr>\\n <td>1656</td>\\n <td>10/4/2023 17:16</td>\\n <td>FT23100Q2YKK\\\\BNK</td>\\n <td>10042023</td>\\n <td>Gaji 10 April 2023</td>\\n <td>2,210,258.00</td>\\n <td></td>\\n <td>1,573,296,235.71</td>\\n </tr>\\n <tr>\\n <td>1657</td>\\n <td>10/4/2023 17:16</td>\\n <td>FT23100QM6FD\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>2,641,862.00</td>\\n <td></td>\\n <td>1,570,654,373.71</td>\\n </tr>\\n <tr>\\n <td>1658</td>\\n <td>10/4/2023 17:16</td>\\n <td>FT231009JJQM\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>3,012,649.00</td>\\n <td></td>\\n <td>1,567,641,724.71</td>\\n </tr>\\n <tr>\\n <td>1659</td>\\n <td>10/4/2023 17:16</td>\\n <td>FT23100QDNWM\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>3,377,885.00</td>\\n <td></td>\\n <td>1,564,263,839.71</td>\\n </tr>\\n <tr>\\n <td>1660</td>\\n <td>10/4/2023 17:16</td>\\n <td>FT231007WK79\\\\BNK</td>\\n <td>10042023</td>\\n <td>Gaji 10 Apr 2023 CCDI</td>\\n <td>3,390,901.00</td>\\n <td></td>\\n <td>1,560,872,938.71</td>\\n </tr>\\n <tr>\\n <td>1661</td>\\n <td>10/4/2023 17:16</td>\\n <td>FT231008K4WT\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,412,030.00</td>\\n <td></td>\\n <td>1,556,460,908.71</td>\\n </tr>\\n <tr>\\n <td>1662</td>\\n <td>10/4/2023 17:16</td>\\n <td>FT231004K1DG\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,430,894.00</td>\\n <td></td>\\n <td>1,552,030,014.71</td>\\n </tr>\\n <tr>\\n <td>1663</td>\\n <td>10/4/2023 17:16</td>\\n <td>FT231009VMV2\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,525,212.00</td>\\n <td></td>\\n <td>1,547,504,802.71</td>\\n </tr>\\n <tr>\\n <td>1664</td>\\n <td>10/4/2023 17:16</td>\\n <td>FT231007L3BT\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,673,725.00</td>\\n <td></td>\\n <td>1,542,831,077.71</td>\\n </tr>\\n <tr>\\n <td>1665</td>\\n <td>10/4/2023 17:16</td>\\n <td>FT231006Q179\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,673,725.00</td>\\n <td></td>\\n <td>1,538,157,352.71</td>\\n </tr>\\n <tr>\\n <td>1666</td>\\n <td>10/4/2023 17:16</td>\\n <td>FT231008VXX3\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,673,725.00</td>\\n <td></td>\\n <td>1,533,483,627.71</td>\\n </tr>\\n <tr>\\n <td>1667</td>\\n <td>10/4/2023 17:16</td>\\n <td>FT23100621ZK\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,673,725.00</td>\\n <td></td>\\n <td>1,528,809,902.71</td>\\n </tr>\\n <tr>\\n <td>1668</td>\\n <td>10/4/2023 17:16</td>\\n <td>FT23100Q7MB9\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,906,798.00</td>\\n <td></td>\\n <td>1,523,903,104.71</td>\\n </tr>\\n <tr>\\n <td>1669</td>\\n <td>10/4/2023 17:16</td>\\n <td>FT23100QBMZB\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,906,798.00</td>\\n <td></td>\\n <td>1,518,996,306.71</td>\\n </tr>\\n <tr>\\n <td>1670</td>\\n <td>10/4/2023 17:16</td>\\n <td>FT231005QGF7\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>5,111,927.00</td>\\n <td></td>\\n <td>1,513,884,379.71</td>\\n </tr>\\n <tr>\\n <td>1671</td>\\n <td>10/4/2023 17:16</td>\\n <td>FT23100Q6NPC\\\\BNK</td>\\n <td>10042023</td>\\n <td>Gaji 10 Apr 2023 CCDI</td>\\n <td>5,129,183.00</td>\\n <td></td>\\n <td>1,508,755,196.71</td>\\n </tr>\\n <tr>\\n <td>1672</td>\\n <td>10/4/2023 17:16</td>\\n <td>FT2310086QH8\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>7,263,239.00</td>\\n <td></td>\\n <td>1,501,491,957.71</td>\\n </tr>\\n <tr>\\n <td>1673</td>\\n <td>10/4/2023 17:16</td>\\n <td>FT231004VTBC\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>957,837.00</td>\\n <td></td>\\n <td>1,500,534,120.71</td>\\n </tr>\\n <tr>\\n <td>1674</td>\\n <td>10/4/2023 17:17</td>\\n <td>FT23100QW5JS\\\\BNK</td>\\n <td>10042023</td>\\n <td>Gaji 10 Apr 2023 CCDI</td>\\n <td>1,561,387.00</td>\\n <td></td>\\n <td>1,498,972,733.71</td>\\n </tr>\\n <tr>\\n <td>1675</td>\\n <td>10/4/2023 17:17</td>\\n <td>FT23100GYBMH\\\\BNK</td>\\n <td>10042023</td>\\n <td>Gaji 10 Apr 2023 CCDI</td>\\n <td>1,570,263.00</td>\\n <td></td>\\n <td>1,497,402,470.71</td>\\n </tr>\\n <tr>\\n <td>1676</td>\\n <td>10/4/2023 17:17</td>\\n <td>FT23100R83G4\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>3,163,282.00</td>\\n <td></td>\\n <td>1,494,239,188.71</td>\\n </tr>\\n </tbody>\\n</table>\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/estatement bca molay_page-0004.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 41,\n 91,\n 232,\n 154\n ],\n \"category\": \"Page-header\",\n \"text\": \"BCA\"\n },\n {\n \"bbox\": [\n 482,\n 113,\n 769,\n 147\n ],\n \"category\": \"Section-header\",\n \"text\": \"REKENING GIRO\"\n },\n {\n \"bbox\": [\n 59,\n 172,\n 152,\n 187\n ],\n \"category\": \"Text\",\n \"text\": \"KCP GEJAYAN\"\n },\n {\n \"bbox\": [\n 673,\n 199,\n 1006,\n 304\n ],\n \"category\": \"Text\",\n \"text\": \"NO. REKENING : 4569087888\\nHALAMAN : 4/6\\nPERIODE : JULI 2022\\nMATA UANG : IDR\"\n },\n {\n \"bbox\": [\n 54,\n 197,\n 308,\n 344\n ],\n \"category\": \"Text\",\n \"text\": \"MOLAY SATRYA INDONESIA PT\\nSEYEGAN SLEMAN\\nMARGODADI RT 01 RW 09\\nDUSUN PENDEKAN\\nYOGYAKARTA 55561\\nINDONESIA\"\n },\n {\n \"bbox\": [\n 48,\n 365,\n 116,\n 380\n ],\n \"category\": \"Text\",\n \"text\": \"CATATAN:\"\n },\n {\n \"bbox\": [\n 639,\n 390,\n 1184,\n 428\n ],\n \"category\": \"List-item\",\n \"text\": \"* BCA berhak setiap saat melakukan koreksi apabila ada kesalahan pada Laporan Mutasi Rekening.\"\n },\n {\n \"bbox\": [\n 52,\n 390,\n 595,\n 446\n ],\n \"category\": \"List-item\",\n \"text\": \"* Apabila nasabah tidak melakukan sanggahan atas Laporan Mutasi Rekening ini sampai dengan akhir bulan berikutnya, nasabah dianggap telah menyetujui segala data yang tercantum pada Laporan Mutasi Rekening ini.\"\n },\n {\n \"bbox\": [\n 41,\n 464,\n 1195,\n 1493\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>TANGGAL</th><th>KETERANGAN</th><th>CBG</th><th>MUTASI</th><th>SALDO</th></tr></thead><tbody><tr><td>13/07</td><td>TRSF E-BANKING CR 13/07 /95031/00000 TAGIHAN BSO PETER RIADI</td><td></td><td>331,654,400.00</td><td>728,933,245.63</td></tr><tr><td>13/07</td><td>TRSF E-BANKING DB 1307/FTSCY/WS95051 199233300.00 PEMBELIAN MATERIAL KEMEJA TACTICAL PER JULI 2022 ARIE SETYA YUDHA</td><td></td><td>199,233,300.00 DB</td><td></td></tr><tr><td>13/07</td><td>TRSF E-BANKING CR 13/07 /95031/00000 IMAM BAGUS WICAKSO</td><td></td><td>211,862,000.00</td><td>741,561,945.63</td></tr><tr><td>15/07</td><td>TRSF E-BANKING CR 15/07 /95031/00000 75000000.00 PETER RIADI</td><td></td><td>75,000,000.00</td><td></td></tr><tr><td>15/07</td><td>TRSF E-BANKING DB 1507/FTFVA/WS95051 21000000.00 B CETAK KATALOG DIAH SUPROBOWATI</td><td></td><td>21,000,000.00 DB</td><td>795,561,945.63</td></tr><tr><td>18/07</td><td>BI-FAST DB TANGGAL :16/07 BIF TRANSFER KE 002 MAXISTAR INTERMODA KBB</td><td></td><td>220,000,000.00 DB</td><td></td></tr><tr><td>18/07</td><td>BI-FAST DB TANGGAL :16/07 BIF BIAYA TXN KE 002 MAXISTAR INTERMODA KBB</td><td></td><td>2,500.00 DB</td><td></td></tr><tr><td>18/07</td><td>TRSF E-BANKING DB 1807/FTSCY/WS95051 227293000.00 PEM JASA LOGISTIK JARINGAN SAMUDRA L</td><td></td><td>227,293,000.00 DB</td><td></td></tr><tr><td>18/07</td><td>TRSF E-BANKING DB 1807/FTSCY/WS95051 188522000.00 JAEGER FULL LEATHE WANGTA AGUNG PT</td><td></td><td>188,522,000.00 DB</td><td>159,744,445.63</td></tr><tr><td>20/07</td><td>TRSF E-BANKING CR 20/07 /95031/00000 RIZKY KARISMA MAHA</td><td></td><td>387,342,200.00</td><td></td></tr><tr><td>20/07</td><td>TRSF E-BANKING DB 2007/FTSCT/WS95051 227845750.00 HERMANTO</td><td></td><td>227,845,750.00 DB</td><td></td></tr><tr><td>20/07</td><td>TRSF E-BANKING DB 2007/FTSCY/WS95051 150000000.00 KORDI DINAS JUNI ARIE SETYA YUDHA</td><td></td><td>150,000,000.00 DB</td><td>169,240,895.63</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 869,\n 1514,\n 1160,\n 1534\n ],\n \"category\": \"Text\",\n \"text\": \"Bersambung ke Halaman berikut\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/CIMB_IDR_APR_2023_page-0002.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 37,\n 101,\n 1554,\n 552\n ],\n \"category\": \"Table\",\n \"text\": \"<table><tr><td>17</td><td>4/28/2023</td><td>4/28/2023</td><td>202304282234450850 IBBKIDJA BIZ SAM</td><td>TO PT SUMBER MITRA</td><td>2,500.00</td><td>0.00</td><td>1,577,895,645.41</td><td>803</td><td>230428BI02794975</td></tr><tr><td>18</td><td>4/28/2023</td><td>4/28/2023</td><td>202304282234450850 IBBKIDJA BIZ SAM</td><td>TO PT SUMBER MITRA</td><td>225,000,000.00</td><td>0.00</td><td>1,577,898,145.41</td><td>63</td><td>230428BI02794975</td></tr><tr><td>19</td><td>4/28/2023</td><td>4/28/2023</td><td>202304282233180845 DBSBIDJA BIZ SAM</td><td>TO PT SUMBER MITRA</td><td>2,500.00</td><td>0.00</td><td>1,802,898,145.41</td><td>803</td><td>230428BI02794959</td></tr><tr><td>20</td><td>4/28/2023</td><td>4/28/2023</td><td>202304282233180845 DBSBIDJA BIZ SAM</td><td>TO PT SUMBER MITRA</td><td>250,000,000.00</td><td>0.00</td><td>1,802,900,645.41</td><td>63</td><td>230428BI02794959</td></tr><tr><td>21</td><td>4/28/2023</td><td>4/28/2023</td><td>BizChannel TRF FR DOMPET HARAPAN BANGS PG_TXN: JHO1S7LUOCE5BHXX.KOINNEO_KOININV OICE_DISBURSE_104457852_438441</td><td></td><td>0.00</td><td>1,931,892,820.00</td><td>2,052,900,645.41</td><td>514</td><td>230428BI02787812</td></tr><tr><td>22</td><td>4/28/2023</td><td>4/28/2023</td><td>BizChannel TRF TOJFC LOG cont smrg</td><td></td><td>200,000,000.00</td><td>0.00</td><td>121,007,825.41</td><td>566</td><td>230428BI02767535</td></tr><tr><td>23</td><td>4/28/2023</td><td>4/28/2023</td><td>20230428CENAIDJA01000148677714 PEMBAYARAN BFS CENAIDJA CA CIPTA SRIGATI</td><td>FR</td><td>0.00</td><td>39,860,000.00</td><td>321,007,825.41</td><td>638</td><td>230428BF01540099</td></tr><tr><td>24</td><td>4/28/2023</td><td>4/28/2023</td><td>20230428CENAIDJA01000148085186 INJKT-2303-0032 BFS FR CENAIDJA CA KOPI ARABIKA N</td><td></td><td>0.00</td><td>82,250,000.00</td><td>281,147,825.41</td><td>638</td><td>230428BF01523699</td></tr><tr><td>25</td><td>4/28/2023</td><td>4/28/2023</td><td>BCA (BANK CENTRAL A PT BIRU PRATAMA LOGI 0095588684 202304281247000590</td><td></td><td>30,000.00</td><td>0.00</td><td>198,897,825.41</td><td>803</td><td>230428BI02700770</td></tr><tr><td>26</td><td>4/28/2023</td><td>4/28/2023</td><td>BCA (BANK CENTRAL A PT BIRU PRATAMA LOGI 0095588684 202304281247000590</td><td></td><td>700,000,000.00</td><td>0.00</td><td>198,927,825.41</td><td>63</td><td>230428BI02700770</td></tr></table>\"\n },\n {\n \"bbox\": [\n 35,\n 569,\n 78,\n 613\n ],\n \"category\": \"Picture\"\n },\n {\n \"bbox\": [\n 84,\n 575,\n 300,\n 607\n ],\n \"category\": \"Text\",\n \"text\": \"CIMB NIAGA\"\n },\n {\n \"bbox\": [\n 39,\n 629,\n 599,\n 815\n ],\n \"category\": \"Text\",\n \"text\": \"Account Number 800047827000\\nAccount Name WORLDTRANS INDOPERSA - 1700100221002\\nAccount Type CURRENT ACCOUNT\\nCurrency IDR\\nTotal Debit 35,650,619,810.99\\nTotal Credit 34,236,157,754.94\"\n },\n {\n \"bbox\": [\n 41,\n 827,\n 388,\n 848\n ],\n \"category\": \"Text\",\n \"text\": \"Period : 01-Apr-2023 - 30-Apr-2023\"\n },\n {\n \"bbox\": [\n 37,\n 853,\n 1561,\n 1149\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>No.</th><th>Post Date</th><th>Eff Date</th><th>C<br>h</th><th>Description</th><th>Debit</th><th>Credit</th><th>Balance</th><th>Transaction</th><th>Ref No</th></tr></thead><tbody><tr><td>27</td><td>4/28/2023</td><td>4/28/2023</td><td></td><td>cont smrg BCA (BANK CENTRAL A PT BIRU PRATAMA LOGI 0095588684 202304281245380565</td><td>30,000.00</td><td>0.00</td><td>898,927,825.41</td><td>803</td><td>230428BI02700760</td></tr><tr><td>28</td><td>4/28/2023</td><td>4/28/2023</td><td></td><td>cont smrg BCA (BANK CENTRAL A PT BIRU PRATAMA LOGI 0095588684 202304281245380565</td><td>1,000,000,000.00</td><td>0.00</td><td>898,957,825.41</td><td>63</td><td>230428BI02700760</td></tr><tr><td>29</td><td>4/28/2023</td><td>4/28/2023</td><td></td><td>INCOMING SKN IBBKIDJA/AP. INGRESS MALINDO VENTURES, P IDIG230415582</td><td>0.00</td><td>35,718,998.00</td><td>1,898,957,825.41</td><td>625</td><td>230428VRM5704387</td></tr><tr><td>30</td><td>4/28/2023</td><td>4/28/2023</td><td></td><td>INCOMING RTGS CENAIDJA/INDONUSA BARA SEJAHTERA Net Disbursed OMU</td><td>0.00</td><td>1,846,789,867.00</td><td>1,863,238,827.41</td><td>624</td><td>230428VRM1709823</td></tr><tr><td>31</td><td>4/28/2023</td><td>4/28/2023</td><td></td><td>BizChannel TRF TO JKS LOGISTIK cont smrg</td><td>300,000,000.00</td><td>0.00</td><td>16,448,960.41</td><td>565</td><td>230428BI02677810</td></tr><tr><td>32</td><td>4/28/2023</td><td>4/28/2023</td><td></td><td>INCOMING SKN BMRIIDJA/AP. PT METEOR APAC INDONESIA INV WT</td><td>0.00</td><td>249,888,450.00</td><td>316,448,960.41</td><td>625</td><td>230428VRM3699018</td></tr></tbody></table>\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/UOB MR LIU, SHUAI (1)_page-0001.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 71,\n 43,\n 460,\n 119\n ],\n \"category\": \"Page-header\",\n \"text\": \"UOB 大华银行\"\n },\n {\n \"bbox\": [\n 909,\n 65,\n 1165,\n 93\n ],\n \"category\": \"Page-header\",\n \"text\": \"PRIVILEGE BANKING\"\n },\n {\n \"bbox\": [\n 155,\n 246,\n 351,\n 323\n ],\n \"category\": \"Text\",\n \"text\": \"**MR LIU, SHUAI**\\n99 CAIRNHILL CIRCLE\\n#05-02 HILLTOPS\\nSINGAPORE 229808\"\n },\n {\n \"bbox\": [\n 730,\n 251,\n 847,\n 271\n ],\n \"category\": \"Section-header\",\n \"text\": \"Contact Us\"\n },\n {\n \"bbox\": [\n 729,\n 283,\n 823,\n 335\n ],\n \"category\": \"Text\",\n \"text\": \"**QIAO YILIAN**\\nClient Advisor\\n(65)65985854\"\n },\n {\n \"bbox\": [\n 877,\n 283,\n 1000,\n 335\n ],\n \"category\": \"Text\",\n \"text\": \"**PATRICIA LIM**\\nSenior Team Head\\n(65) 65985126\"\n },\n {\n \"bbox\": [\n 729,\n 370,\n 960,\n 426\n ],\n \"category\": \"Text\",\n \"text\": \"**UOB Privilege Concierge**\\n1800 222 9889 (Within Singapore)\\n+65 6222 9889 (Outside Singapore)\"\n },\n {\n \"bbox\": [\n 97,\n 531,\n 372,\n 555\n ],\n \"category\": \"Section-header\",\n \"text\": \"Statement of Account\"\n },\n {\n \"bbox\": [\n 97,\n 562,\n 430,\n 583\n ],\n \"category\": \"Text\",\n \"text\": \"Period: 01 Jan 2023 to 31 Jan 2023\"\n },\n {\n \"bbox\": [\n 125,\n 596,\n 514,\n 618\n ],\n \"category\": \"Section-header\",\n \"text\": \"Portfolio Overview as at 31 Jan 2023\"\n },\n {\n \"bbox\": [\n 124,\n 632,\n 1130,\n 855\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th></th><th>Amount (SGD)</th></tr></thead><tbody><tr><td>Deposits</td><td>52,880.49</td></tr><tr><td>Investments</td><td>0.00</td></tr><tr><td>Structured Investments</td><td>0.00</td></tr><tr><td><strong>Total Deposits and Investments¹</strong></td><td><strong>52,880.49</strong></td></tr><tr><td>Loans (Total Outstanding Loan Amount)</td><td>0.00</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 119,\n 867,\n 550,\n 886\n ],\n \"category\": \"Footnote\",\n \"text\": \"¹ Excludes Deposits and Investments in CPFIS and SRS Accounts\"\n },\n {\n \"bbox\": [\n 125,\n 923,\n 219,\n 946\n ],\n \"category\": \"Section-header\",\n \"text\": \"Deposits\"\n },\n {\n \"bbox\": [\n 124,\n 961,\n 1136,\n 1345\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th></th><th>Currency</th><th>Credit Line</th><th>Interest Earned²</th><th>Interest Charged²</th><th>Balance</th></tr></thead><tbody><tr><td><strong>Current</strong><br>Privilege Account<br>422-316-397-6</td><td>SGD</td><td>0.00</td><td>2.62</td><td>0.00</td><td>52,880.49</td></tr><tr><td><strong>Current</strong><br>GLOBAL PREMIUM A/C<br>422-903-838-3</td><td>USD</td><td>0.00</td><td>0.00</td><td>0.00</td><td>0.00</td></tr><tr><td><strong>Current</strong><br>GLOBAL PREMIUM A/C<br>422-903-839-1</td><td>EUR</td><td>0.00</td><td>0.00</td><td>0.00</td><td>0.00</td></tr><tr><td><strong>Current</strong><br>GLOBAL PREMIUM A/C<br>422-903-840-5</td><td>AUD</td><td>0.00</td><td>0.00</td><td>0.00</td><td>0.00</td></tr><tr><td><strong>Current</strong><br>GLOBAL PREMIUM A/C<br>422-903-841-3</td><td>NZD</td><td>0.00</td><td>0.00</td><td>0.00</td><td>0.00</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 75,\n 1639,\n 1169,\n 1696\n ],\n \"category\": \"Page-footer\",\n \"text\": \"Please note that you are bound by a duty under the rules governing the operation of this account, to check the entries in the above statement. If you do not notify us in writing of any errors, omissions or unauthorised debits within fourteen (14) days of this statement, the entries above shall be deemed valid, correct, accurate and conclusively binding upon you, and you shall have no claim against the bank in relation thereto.\\n\\n请注意,在此户口的管理条规下,您必须核对此结单所列项目,并在十四(14)天内,以书面通知本行任何错误,遗漏或未经授权支账,否则上述项目当被视为有效,适当和准确并受其约束,您不得向本行索取赔偿.\"\n },\n {\n \"bbox\": [\n 75,\n 1697,\n 1056,\n 1712\n ],\n \"category\": \"Page-footer\",\n \"text\": \"United Overseas Bank Limited • 80 Raffles Place UOB Plaza Singapore 048624 • Co. Reg. No. 193500026Z • GST Reg. No. MR-8500194-3 • www.uob.com.sg\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/estatement bca titi_page-0003.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 44,\n 92,\n 232,\n 153\n ],\n \"category\": \"Page-header\",\n \"text\": \"BCA\"\n },\n {\n \"bbox\": [\n 434,\n 113,\n 800,\n 146\n ],\n \"category\": \"Section-header\",\n \"text\": \"REKENING TAHAPAN\"\n },\n {\n \"bbox\": [\n 60,\n 174,\n 197,\n 189\n ],\n \"category\": \"Text\",\n \"text\": \"KCU TANJUNG PRIOK\"\n },\n {\n \"bbox\": [\n 677,\n 202,\n 1015,\n 313\n ],\n \"category\": \"Text\",\n \"text\": \"NO. REKENING : 0072717293\\nHALAMAN : 3/9\\nPERIODE : APRIL 2018\\nMATA UANG : IDR\"\n },\n {\n \"bbox\": [\n 59,\n 199,\n 282,\n 344\n ],\n \"category\": \"Text\",\n \"text\": \"TITI RAHAYU\\nKEC CILINCING\\nKEL CILINCING RT 12/05\\nJL BAKTI III 40\\nJAKARTA 14120\\nINDONESIA\"\n },\n {\n \"bbox\": [\n 50,\n 381,\n 118,\n 397\n ],\n \"category\": \"Section-header\",\n \"text\": \"CATATAN:\"\n },\n {\n \"bbox\": [\n 640,\n 405,\n 1184,\n 444\n ],\n \"category\": \"List-item\",\n \"text\": \"* BCA berhak setiap saat melakukan koreksi apabila ada kesalahan pada Laporan Mutasi Rekening.\"\n },\n {\n \"bbox\": [\n 54,\n 405,\n 596,\n 463\n ],\n \"category\": \"List-item\",\n \"text\": \"* Apabila nasabah tidak melakukan sanggahan atas Laporan Mutasi Rekening ini sampai dengan akhir bulan berikutnya, nasabah dianggap telah menyetujui segala data yang tercantum pada Laporan Mutasi Rekening ini.\"\n },\n {\n \"bbox\": [\n 42,\n 484,\n 1195,\n 1532\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>TANGGAL</th><th>KETERANGAN</th><th>CBG</th><th>MUTASI</th><th>SALDO</th></tr></thead><tbody><tr><td></td><td>TITI RAHAYU</td><td></td><td></td><td></td></tr><tr><td>06/04</td><td>TRSF E-BANKING DB 06/04 /95031/00000 TKS YA DENI SUPRIADI</td><td></td><td>14,550,000.00 DB</td><td>3,840,649.45</td></tr><tr><td>06/04</td><td>TRSF E-BANKING DB 06/04 /95031/00000 MAKASIH YA ALVIN YOHANA</td><td></td><td>1,345,000.00 DB</td><td></td></tr><tr><td>06/04</td><td>SWITCHING CR TRANSFER DR 153 , AGUS BIBRIYANTO /SERANG 4</td><td></td><td>70,000.00</td><td></td></tr><tr><td>06/04</td><td>TRSF E-BANKING CR 06/04 /95031/00000 ARISAN PERDANA 244 MACHRIFUR RIZAL AD</td><td></td><td>70,000.00</td><td></td></tr><tr><td>06/04</td><td>SWITCHING CR TRANSFER DR 002 VICTOR STEVEN P /3227-UNIT C</td><td></td><td>350,000.00</td><td></td></tr><tr><td>06/04</td><td>TRSF E-BANKING CR 06/04 WSID:Z3HD1 RINA PRIASTUTI</td><td></td><td>70,000.00</td><td>3,055,649.45</td></tr><tr><td>09/04</td><td>TRSF E-BANKING DB TANGGAL :07/04 07/04 /95031/00000 AN. ZAHJIR SRI HARINI AK DRA</td><td></td><td>420,000.00 DB</td><td></td></tr><tr><td>09/04</td><td>TRSF E-BANKING CR TANGGAL :08/04 08/04 /95031/00000 ARISAN PERDANA MARIPAH</td><td></td><td>140,000.00</td><td></td></tr><tr><td>09/04</td><td>SWITCHING CR TANGGAL :08/04 TRANSFER DR 014 SULISTIYO RAHMAWAT 9822-ITC</td><td></td><td>70,000.00</td><td></td></tr><tr><td>09/04</td><td>SWITCHING DB TANGGAL :08/04 TRANSFER KE 008 YARA SYAUQIYAH /M-BCA</td><td></td><td>800,000.00 DB</td><td></td></tr><tr><td>09/04</td><td>SWITCHING DB TRANSFER KE 008 YARA SYAUQIYAH /M-BCA</td><td></td><td>6,500.00 DB</td><td></td></tr><tr><td>09/04</td><td>BYR VIA E-BANKING 09/04 WSID9503100 1200 TELKOMSEL 081318845310 TITI RAHAYU</td><td></td><td>151,500.00 DB</td><td></td></tr><tr><td>09/04</td><td>TRSF E-BANKING CR 09/04 /95031/00000 PENB.HAK MILIK AN. NURBAINI J NURBAINI JANAH</td><td></td><td>10,000,000.00</td><td></td></tr><tr><td>09/04</td><td>SWITCHING DB TRANSFER KE 009 IBU TITI RAHAYU /M-BCA</td><td></td><td>3,000,000.00 DB</td><td></td></tr><tr><td>09/04</td><td>SWITCHING DB TRANSFER KE 009 IBU TITI RAHAYU /M-BCA</td><td></td><td>6,500.00 DB</td><td></td></tr><tr><td>09/04</td><td>TRSF E-BANKING CR 09/04 /95031/00000</td><td></td><td>70,000.00</td><td>8,951,149.45</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 868,\n 1554,\n 1162,\n 1575\n ],\n \"category\": \"Page-footer\",\n \"text\": \"Bersambung ke Halaman berikut\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/CIMB IDR JAN 2023_page-0004.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 37,\n 101,\n 1565,\n 827\n ],\n \"category\": \"Table\",\n \"text\": \"<table><tbody><tr><td>64</td><td>1/23/2023</td><td>1/23/2023</td><td>202301232104140427 BMRIIDJA BIZ</td><td>TO PT SAKTI MANDRAG</td><td>157,974,690.00</td><td>0.00</td><td>716,341,344.93</td><td>63</td><td>230123BI02714456</td></tr><tr><td>65</td><td>1/22/2023</td><td>1/22/2023</td><td>20230122CENAIDJA01000110556670 - BFS</td><td>FR CENAIDJA CA</td><td>0.00</td><td>225,000,000.00</td><td>874,316,034.93</td><td>638</td><td>230122BF01953540</td></tr><tr><td></td><td></td><td></td><td colspan=\\\"2\\\">SURYATAMA MAUFIND</td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>66</td><td>1/20/2023</td><td>1/20/2023</td><td>MONTHLY ADMIN FEE</td><td></td><td>30,000.00</td><td>0.00</td><td>649,316,034.93</td><td>480</td><td>DD4400040001379</td></tr><tr><td>67</td><td>1/20/2023</td><td>1/20/2023</td><td>20230120CENAIDJA01000107237263 CLOSED PO 59 BFS</td><td>FR CENAIDJA CA CAHAYA ARITAMA</td><td>0.00</td><td>8,105,142.00</td><td>649,346,034.93</td><td>638</td><td>230120BF01865577</td></tr><tr><td>68</td><td>1/20/2023</td><td>1/20/2023</td><td>BizChannel TRF TO JKS LOGISTIK cont smrg</td><td></td><td>240,000,000.00</td><td>0.00</td><td>641,240,892.93</td><td>565</td><td>230120BI02196047</td></tr><tr><td>69</td><td>1/20/2023</td><td>1/20/2023</td><td>20230120CENAIDJA01000106930399 - BFS</td><td>FR CENAIDJA CA PT</td><td>0.00</td><td>11,727,000.00</td><td>881,240,892.93</td><td>638</td><td>230120BF01858487</td></tr><tr><td></td><td></td><td></td><td colspan=\\\"2\\\">JASA BELANJ</td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>70</td><td>1/20/2023</td><td>1/20/2023</td><td>20230120CENAIDJA01000106930299 - BFS</td><td>FR CENAIDJA CA PT</td><td>0.00</td><td>250,000,000.00</td><td>869,513,892.93</td><td>638</td><td>230120BF01858485</td></tr><tr><td></td><td></td><td></td><td colspan=\\\"2\\\">JASA BELANJ</td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>71</td><td>1/20/2023</td><td>1/20/2023</td><td>20230120CENAIDJA01000106930181 - BFS</td><td>FR CENAIDJA CA PT</td><td>0.00</td><td>250,000,000.00</td><td>619,513,892.93</td><td>638</td><td>230120BF01858482</td></tr><tr><td></td><td></td><td></td><td colspan=\\\"2\\\">JASA BELANJ</td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>72</td><td>1/20/2023</td><td>1/20/2023</td><td>20230120CENAIDJA01000106930090 - BFS</td><td>FR CENAIDJA CA PT</td><td>0.00</td><td>250,000,000.00</td><td>369,513,892.93</td><td>638</td><td>230120BF01858480</td></tr><tr><td></td><td></td><td></td><td colspan=\\\"2\\\">JASA BELANJ</td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>73</td><td>1/18/2023</td><td>1/18/2023</td><td>202301181808578386 CENAIDJA BIZ</td><td>TO PT BIRU PRATAMA LOG</td><td>2,500.00</td><td>0.00</td><td>119,513,892.93</td><td>803</td><td>230118BI02741577</td></tr><tr><td>74</td><td>1/18/2023</td><td>1/18/2023</td><td>202301181808578386 CENAIDJA BIZ</td><td>TO PT BIRU PRATAMA LOG</td><td>212,000,000.00</td><td>0.00</td><td>119,516,392.93</td><td>63</td><td>230118BI02741577</td></tr><tr><td>75</td><td>1/18/2023</td><td>1/18/2023</td><td>202301181806498368 CENAIDJA BIZ</td><td>TO PT BIRU PRATAMA LOG</td><td>2,500.00</td><td>0.00</td><td>331,516,392.93</td><td>803</td><td>230118BI02741568</td></tr><tr><td>76</td><td>1/18/2023</td><td>1/18/2023</td><td>202301181806498368 CENAIDJA BIZ</td><td>TO PT BIRU PRATAMA LOG</td><td>250,000,000.00</td><td>0.00</td><td>331,518,892.93</td><td>63</td><td>230118BI02741568</td></tr><tr><td>77</td><td>1/18/2023</td><td>1/18/2023</td><td>20230118CENAIDJA01000102404634 INJKT-2301-0024 BFS</td><td>FR CENAIDJA CA ORBIN PRATAMA</td><td>0.00</td><td>166,500,000.00</td><td>581,518,892.93</td><td>638</td><td>230118BF01740327</td></tr><tr><td>78</td><td>1/18/2023</td><td>1/18/2023</td><td>BDS TRF TO WORLDTRANS INDOPERSAD</td><td></td><td>109,404,000.00</td><td>0.00</td><td>415,018,892.93</td><td>60</td><td>230118J103000050</td></tr><tr><td>79</td><td>1/18/2023</td><td>1/18/2023</td><td>BizChannel TRF TO SAMUDERA AGENCIES IND cont smrg</td><td></td><td>400,000,000.00</td><td>0.00</td><td>524,422,892.93</td><td>565</td><td>230118BI02667789</td></tr><tr><td>80</td><td>1/18/2023</td><td>1/18/2023</td><td>INCOMING SKN BBIJIDJA/AP. METEOR APAC INDONESIA, PT PAYMENT FOR WHRS</td><td></td><td>0.00</td><td>140,168,000.00</td><td>924,422,892.93</td><td>625</td><td>230118VRM4069044</td></tr><tr><td>81</td><td>1/17/2023</td><td>1/17/2023</td><td>BizChannel TRF FR DOMPET HARAPAN BANGS PG_TXN: 52UHH6ATCZHH7YNO.REFUND COMMFEE KOMUNAL</td><td></td><td>0.00</td><td>10,000,000.00</td><td>784,254,892.93</td><td>514</td><td>230117BI02563464</td></tr><tr><td>82</td><td>1/17/2023</td><td>1/17/2023</td><td>INCOMING RTGS BMRIIDJA/AP. PETRODRILL MANUFAKTUR INDON - 800047827000</td><td></td><td>0.00</td><td>742,441,533.00</td><td>774,254,892.93</td><td>624</td><td>230117VRM5067264</td></tr><tr><td>83</td><td>1/17/2023</td><td>1/17/2023</td><td>Spooling CLEARING CENAIDJA 177031 177031</td><td></td><td>35,000,000.00</td><td>0.00</td><td>31,813,359.93</td><td>56</td><td>230117VACH050110</td></tr><tr><td>84</td><td>1/16/2023</td><td>1/16/2023</td><td>BizChannel TRF TO ANDALAN PASIFIK SAM inv air nyk</td><td></td><td>137,000,000.00</td><td>0.00</td><td>66,813,359.93</td><td>565</td><td>230116BI02270741</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 35,\n 845,\n 79,\n 890\n ],\n \"category\": \"Picture\",\n \"text\": \"\"\n },\n {\n \"bbox\": [\n 84,\n 852,\n 300,\n 885\n ],\n \"category\": \"Text\",\n \"text\": \"CIMB NIAGA\"\n },\n {\n \"bbox\": [\n 40,\n 903,\n 601,\n 1122\n ],\n \"category\": \"Text\",\n \"text\": \"Account Number 800047827000\\nAccount Name WORLDTRANS INDOPERSA - 1700100221002\\nAccount Type CURRENT ACCOUNT\\nCurrency IDR\\nTotal Debit 21,929,979,725.02\\nTotal Credit 19,615,973,026.09\\nPeriod : 01-Jan-2023 - 31-Jan-2023\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/CIMB IDR JAN 2023_page-0006.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 39,\n 105,\n 410,\n 259\n ],\n \"category\": \"Text\",\n \"text\": \"Account Type CURRENT ACCOUNT\\nCurrency IDR\\nTotal Debit 21,929,979,725.02\\nTotal Credit 19,615,973,026.09\\nPeriod : 01-Jan-2023 - 31-Jan-2023\"\n },\n {\n \"bbox\": [\n 36,\n 264,\n 1565,\n 1018\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>No.</th><th>Post Date</th><th>Eff Date</th><th>Description</th><th>Debit</th><th>Credit</th><th>Balance</th><th>Transaction</th><th>Ref No</th></tr></thead><tbody><tr><td>112</td><td>1/12/2023</td><td>1/12/2023</td><td>20230112CENAIDJA01000189062619 - BFS FR CENAIDJA CA GLOBAL ESTETIKA</td><td>0.00</td><td>101,425,200.00</td><td>1,993,324,525.93</td><td>638</td><td>230112BF01387495</td></tr><tr><td>113</td><td>1/12/2023</td><td>1/12/2023</td><td>INCOMING RTGS CENAIDJA/INDONUSA BARA SEJAHTERA Net Disbursed OMU PT Worldtran s I</td><td>0.00</td><td>1,783,190,048.00</td><td>1,891,899,325.93</td><td>624</td><td>230112VRM3041500</td></tr><tr><td>114</td><td>1/12/2023</td><td>1/12/2023</td><td>AtmBersama TRF FR CAHAYA ARITAMA MAN 9999999999999999 501002355530</td><td>0.00</td><td>5,114,361.00</td><td>108,709,277.93</td><td>529</td><td>230112AB01506588</td></tr><tr><td>115</td><td>1/11/2023</td><td>1/11/2023</td><td>202301111904243822 CENAIDJA BIZ TO PT SAKTI MANDRAGUN</td><td>2,500.00</td><td>0.00</td><td>103,594,916.93</td><td>803</td><td>230111BI02343499</td></tr><tr><td>116</td><td>1/11/2023</td><td>1/11/2023</td><td>202301111904243822 CENAIDJA BIZ TO PT SAKTI MANDRAGUN</td><td>150,000,000.00</td><td>0.00</td><td>103,597,416.93</td><td>63</td><td>230111BI02343499</td></tr><tr><td>117</td><td>1/11/2023</td><td>1/11/2023</td><td>202301111903543819 CENAIDJA BIZ TO PT SAKTI MANDRAGUN</td><td>2,500.00</td><td>0.00</td><td>253,597,416.93</td><td>803</td><td>230111BI02343490</td></tr><tr><td>118</td><td>1/11/2023</td><td>1/11/2023</td><td>202301111903543819 CENAIDJA BIZ TO PT SAKTI MANDRAGUN</td><td>250,000,000.00</td><td>0.00</td><td>253,599,916.93</td><td>63</td><td>230111BI02343490</td></tr><tr><td>119</td><td>1/11/2023</td><td>1/11/2023</td><td>ATM Prima TRF FR EUFRAT MED 9999999999900000 BANK MANDIRI</td><td>0.00</td><td>2,580,000.00</td><td>503,599,916.93</td><td>529</td><td>230111AP01784723</td></tr><tr><td>120</td><td>1/11/2023</td><td>1/11/2023</td><td>AtmBersama TRF FR SUBHI 9999999999999999</td><td>0.00</td><td>6,600,000.00</td><td>501,019,916.93</td><td>529</td><td>230111AB01457423</td></tr><tr><td>121</td><td>1/11/2023</td><td>1/11/2023</td><td>ATM Prima TRF FR CAHAYA ARITAMA MANDIR 9999999999983066</td><td>0.00</td><td>6,993,500.00</td><td>494,419,916.93</td><td>529</td><td>230111AP01769334</td></tr><tr><td>122</td><td>1/11/2023</td><td>1/11/2023</td><td>INCOMING RTGS CENAIDJA/PT MEDIBEST INDON TRANSFER DANA</td><td>0.00</td><td>327,250,000.00</td><td>487,426,416.93</td><td>624</td><td>230111VRM5032774</td></tr><tr><td>123</td><td>1/9/2023</td><td>1/9/2023</td><td>202301091650282684 HSBCIDJA BIZ TO CONTAINER M A-CGM</td><td>2,500.00</td><td>0.00</td><td>160,176,416.93</td><td>803</td><td>230109BI02864198</td></tr><tr><td>124</td><td>1/9/2023</td><td>1/9/2023</td><td>202301091650282684 HSBCIDJA BIZ TO CONTAINER M A-CGM</td><td>150,000,000.00</td><td>0.00</td><td>160,178,916.93</td><td>63</td><td>230109BI02864198</td></tr><tr><td>125</td><td>1/9/2023</td><td>1/9/2023</td><td>202301091649482667 HSBCIDJA BIZ TO CONTAINER M A-CGM</td><td>2,500.00</td><td>0.00</td><td>310,178,916.93</td><td>803</td><td>230109BI02864192</td></tr><tr><td>126</td><td>1/9/2023</td><td>1/9/2023</td><td>202301091649482667 HSBCIDJA BIZ TO CONTAINER M A-CGM</td><td>250,000,000.00</td><td>0.00</td><td>310,181,416.93</td><td>63</td><td>230109BI02864192</td></tr><tr><td>127</td><td>1/9/2023</td><td>1/9/2023</td><td>20230109CENAIDJA01000183121198 - BFS FR CENAIDJA CA JINGGA</td><td>0.00</td><td>170,722,000.00</td><td>560,181,416.93</td><td>638</td><td>230109BF01214094</td></tr><tr><td>128</td><td>1/9/2023</td><td>1/9/2023</td><td>20230109CENAIDJA01000183121090 - BFS FR CENAIDJA CA JINGGA</td><td>0.00</td><td>250,000,000.00</td><td>389,459,416.93</td><td>638</td><td>230109BF01214088</td></tr><tr><td>129</td><td>1/9/2023</td><td>1/9/2023</td><td>BANK HSBC PT CONTAINER M A-CMA CGM SA 050103225074</td><td>30,000.00</td><td>0.00</td><td>139,459,416.93</td><td>803</td><td>230109BI02812123</td></tr><tr><td>130</td><td>1/9/2023</td><td>1/9/2023</td><td>BANK HSBC PT CONTAINER M A-CMA CGM SA 050103225074 202301091214404521</td><td>379,679,633.00</td><td>0.00</td><td>139,489,416.93</td><td>63</td><td>230109BI02812123</td></tr><tr><td>131</td><td>1/9/2023</td><td>1/9/2023</td><td>BANK HSBC PT CONTAINER M A-CMA CGM SA 050103225074 202301091209214380</td><td>30,000.00</td><td>0.00</td><td>519,169,049.93</td><td>803</td><td>230109BI02812112</td></tr><tr><td>132</td><td>1/9/2023</td><td>1/9/2023</td><td>BANK HSBC PT CONTAINER M A-CMA CGM SA 050103225074 202301091209214380</td><td>1,000,000,000.00</td><td>0.00</td><td>519,199,049.93</td><td>63</td><td>230109BI02812112</td></tr><tr><td>133</td><td>1/9/2023</td><td>1/9/2023</td><td>CIMB Click TRF FR SUMBER MITRA SAM RB0109213867470 CIMB</td><td>0.00</td><td>335,000,000.00</td><td>1,519,199,049.93</td><td>514</td><td>230109CL05422772</td></tr><tr><td>134</td><td>1/9/2023</td><td>1/9/2023</td><td>INCOMING SKN CENAIDJA/AP. PT JAYA MURNI INV NO 019</td><td>0.00</td><td>139,201,300.00</td><td>1,184,199,049.93</td><td>625</td><td>230109VRM5006413</td></tr><tr><td>135</td><td>1/9/2023</td><td>1/9/2023</td><td>INCOMING SKN BMRIIDJA/AP. ARFEDA BIOFIX PERSADA -</td><td>0.00</td><td>35,725,000.00</td><td>1,044,997,749.93</td><td>625</td><td>230109VRM4006388</td></tr><tr><td>136</td><td>1/6/2023</td><td>1/6/2023</td><td>20230106CENAIDJA01000177432846 PEMBAYARAN BFS FR CENAIDJA CA CIPTA SRIGATI</td><td>0.00</td><td>33,869,242.00</td><td>1,009,272,749.93</td><td>638</td><td>230106BF01041692</td></tr><tr><td>137</td><td>1/6/2023</td><td>1/6/2023</td><td>202301061450184113 BMRIIDJA BIZ TO VINFLAIR LOGISTIC IND</td><td>2,500.00</td><td>0.00</td><td>975,403,507.93</td><td>803</td><td>230106BI02262652</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 35,\n 1027,\n 79,\n 1073\n ],\n \"category\": \"Picture\",\n \"text\": \"\"\n },\n {\n \"bbox\": [\n 85,\n 1034,\n 300,\n 1067\n ],\n \"category\": \"Text\",\n \"text\": \"CIMB NIAGA\"\n },\n {\n \"bbox\": [\n 39,\n 1087,\n 349,\n 1108\n ],\n \"category\": \"Text\",\n \"text\": \"Account Number 800047827000\"\n },\n {\n \"bbox\": [\n 39,\n 1121,\n 600,\n 1140\n ],\n \"category\": \"Text\",\n \"text\": \"Account Name WORLDTRANS INDOPERSA - 1700100221002\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/estatement bca molay_page-0006.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 42,\n 92,\n 232,\n 154\n ],\n \"category\": \"Page-header\",\n \"text\": \"BCA\"\n },\n {\n \"bbox\": [\n 482,\n 113,\n 769,\n 147\n ],\n \"category\": \"Section-header\",\n \"text\": \"REKENING GIRO\"\n },\n {\n \"bbox\": [\n 59,\n 172,\n 151,\n 187\n ],\n \"category\": \"Text\",\n \"text\": \"KCP GEJAYAN\"\n },\n {\n \"bbox\": [\n 675,\n 197,\n 1007,\n 302\n ],\n \"category\": \"Text\",\n \"text\": \"NO. REKENING : 4569087888\\nHALAMAN : 6/6\\nPERIODE : JULI 2022\\nMATA UANG : IDR\"\n },\n {\n \"bbox\": [\n 55,\n 193,\n 309,\n 339\n ],\n \"category\": \"Text\",\n \"text\": \"MOLAY SATRYA INDONESIA PT\\nSEYEGAN SLEMAN\\nMARGODADI RT 01 RW 09\\nDUSUN PENDEKAN\\nYOGYAKARTA 55561\\nINDONESIA\"\n },\n {\n \"bbox\": [\n 51,\n 362,\n 119,\n 377\n ],\n \"category\": \"Text\",\n \"text\": \"CATATAN:\"\n },\n {\n \"bbox\": [\n 640,\n 387,\n 1187,\n 425\n ],\n \"category\": \"List-item\",\n \"text\": \"* BCA berhak setiap saat melakukan koreksi apabila ada kesalahan pada Laporan Mutasi Rekening.\"\n },\n {\n \"bbox\": [\n 54,\n 387,\n 596,\n 443\n ],\n \"category\": \"List-item\",\n \"text\": \"* Apabila nasabah tidak melakukan sanggahan atas Laporan Mutasi Rekening ini sampai dengan akhir bulan berikutnya, nasabah dianggap telah menyetujui segala data yang tercantum pada Laporan Mutasi Rekening ini.\"\n },\n {\n \"bbox\": [\n 42,\n 461,\n 1196,\n 1371\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>TANGGAL</th><th>KETERANGAN</th><th>CBG</th><th>MUTASI</th><th>SALDO</th></tr></thead><tbody><tr><td>28/07</td><td>SWITCHING DB BIAYA TXN KE 213 ARIE SETYA YUDHA /KBB</td><td></td><td>6,500.00 DB</td><td>662,926,445.63</td></tr><tr><td>28/07</td><td>TRSF E-BANKING CR 28/07 /95031/00000 314986300.00 VELOX RICON LONG SLEEVE ELVIN DWI LARASWAT</td><td></td><td>314,986,300.00</td><td></td></tr><tr><td>28/07</td><td>TRSF E-BANKING CR 2807/FTSCY/WS95041 HONU SIZE 40,45,46 MUGIA YARRY JUNAND</td><td></td><td>331,752,000.00</td><td></td></tr><tr><td>28/07</td><td>TRSF E-BANKING DB 2807/FTSCY/WS95051 299467200.00 CNTN MOLAY APR 22 INV.12042022P118 HAFIZH OKTANIA ZUK</td><td></td><td>299,467,200.00 DB</td><td>1,010,197,545.63</td></tr><tr><td>29/07</td><td>SWITCHING CR TRANSFER DR 049 IMAM DIPSA MAULANA /81228109345</td><td></td><td>288,700,000.00</td><td></td></tr><tr><td>29/07</td><td>TRSF E-BANKING CR 29/07 /95031/00000 TAGIHAN BSO PETER RIADI</td><td></td><td>227,650,000.00</td><td></td></tr><tr><td>29/07</td><td>TRSF E-BANKING DB 2907/FTSCY/WS95051 375000000.00 DIAH SUPROBOWATI</td><td></td><td>375,000,000.00 DB</td><td></td></tr><tr><td>29/07</td><td>TRSF E-BANKING DB 2907/FTSCY/WS95051 299896500.00 INV 014/MSI/PO/IV/ ABADI EXPRESS PT</td><td></td><td>299,896,500.00 DB</td><td>851,651,045.63</td></tr><tr><td>31/07</td><td>BIAYA ADM</td><td></td><td>30,000.00 DB</td><td>851,621,045.63</td></tr><tr><td>SALDO AWAL</td><td>833,994,445.63</td><td></td></tr><tr><td>MUTASI CR</td><td>6,291,918,950.00</td><td>28</td></tr><tr><td>MUTASI DB</td><td>6,274,292,350.00</td><td>40</td></tr><tr><td>SALDO AKHIR</td><td>851,621,045.63</td><td></td></tr></tbody></table>\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/CIMB IDR AUGUST 2023_page-0010.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 40,\n 105,\n 396,\n 128\n ],\n \"category\": \"Text\",\n \"text\": \"Total Debit 22,306,653,695.31\"\n },\n {\n \"bbox\": [\n 40,\n 139,\n 396,\n 161\n ],\n \"category\": \"Text\",\n \"text\": \"Total Credit 22,049,218,131.78\"\n },\n {\n \"bbox\": [\n 40,\n 172,\n 410,\n 194\n ],\n \"category\": \"Text\",\n \"text\": \"Period : 01-Aug-2023 - 31-Aug-2023\"\n },\n {\n \"bbox\": [\n 36,\n 198,\n 1564,\n 1128\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>No.</th><th>Post Date</th><th>Eff Date</th><th>Ch eq</th><th>Description</th><th>Debit</th><th>Credit</th><th>Balance</th><th>Trans action</th><th>Ref No</th></tr></thead><tbody><tr><td>173</td><td>8/9/2023</td><td>8/9/2023</td><td></td><td>20230809CENAIDJA01000143843283 Net Disbursed Amount BFS<br>FR CENAIDJA CA INDONUSA BARA</td><td>0.00</td><td>250,000,000.00</td><td>1,476,994,649.37</td><td>638</td><td>230809BF01685154</td></tr><tr><td>174</td><td>8/9/2023</td><td>8/9/2023</td><td></td><td>20230809CENAIDJA01000143843032 Net Disbursed Amount BFS<br>FR CENAIDJA CA INDONUSA BARA</td><td>0.00</td><td>250,000,000.00</td><td>1,226,994,649.37</td><td>638</td><td>230809BF01685146</td></tr><tr><td>175</td><td>8/9/2023</td><td>8/9/2023</td><td></td><td>20230809CENAIDJA01000143409324 - BFS<br>FR CENAIDJA CA<br>PT JASA BELANJ</td><td>0.00</td><td>120,000,000.00</td><td>976,994,649.37</td><td>638</td><td>230809BF01675360</td></tr><tr><td>176</td><td>8/9/2023</td><td>8/9/2023</td><td></td><td>INCOMING RTGS CENAIDJA/PENYEDIA PRODUK DARING P<br>TRANSFER DANA</td><td>0.00</td><td>620,135,000.00</td><td>856,994,649.37</td><td>624</td><td>230809VRM1308761</td></tr><tr><td>177</td><td>8/8/2023</td><td>8/8/2023</td><td></td><td>BizChannel TRF TO ANDALAN PASIFIK SAM inv air sha</td><td>400,000,000.00</td><td>0.00</td><td>236,859,649.37</td><td>566</td><td>230808BI02182609</td></tr><tr><td>178</td><td>8/8/2023</td><td>8/8/2023</td><td></td><td>BizChannel TRF TO JKS LOGISTIK cont smrg</td><td>500,000,000.00</td><td>0.00</td><td>636,859,649.37</td><td>565</td><td>230808BI02182604</td></tr><tr><td>179</td><td>8/8/2023</td><td>8/8/2023</td><td></td><td>BizChannel TRF TO DANAI.ID-WORLDT 5576929425000001 BNI<br>202308081329168282</td><td>6,500.00</td><td>0.00</td><td>1,136,859,649.37</td><td>917</td><td>230808BI02106097</td></tr><tr><td>180</td><td>8/8/2023</td><td>8/8/2023</td><td></td><td>BizChannel TRF TO DANAI.ID-WORLDT 5576929425000001 BNI<br>202308081329168282</td><td>36,850,001.00</td><td>0.00</td><td>1,136,866,149.37</td><td>565</td><td>230808BI02106097</td></tr><tr><td>181</td><td>8/8/2023</td><td>8/8/2023</td><td></td><td>INCOMING RTGS HSBCIDJA/DATACOM IND INV DOME</td><td>0.00</td><td>1,000,000,000.00</td><td>1,173,716,150.37</td><td>624</td><td>230808VRM3297531</td></tr><tr><td>182</td><td>8/7/2023</td><td>8/7/2023</td><td></td><td>20230807CENAIDJA01000138104688 - BFS<br>FR CENAIDJA CA<br>BERKAT AIRHIDUP</td><td>0.00</td><td>39,256,410.00</td><td>173,716,150.37</td><td>638</td><td>230807BF01532954</td></tr><tr><td>183</td><td>8/7/2023</td><td>8/7/2023</td><td></td><td>20230807BRINIDJA01000138098781 - BFS<br>FR BRINIDJA CA<br>RATINDO SEJAHT</td><td>0.00</td><td>121,668,000.00</td><td>134,459,740.37</td><td>638</td><td>230807BF01532804</td></tr><tr><td>184</td><td>8/7/2023</td><td>8/7/2023</td><td></td><td>202308071934304700 BMRIIDJA BIZ<br>TO PT LAUTAN JAYA KU</td><td>2,500.00</td><td>0.00</td><td>12,791,740.37</td><td>803</td><td>230807BI02957085</td></tr><tr><td>185</td><td>8/7/2023</td><td>8/7/2023</td><td></td><td>202308071934304700 BMRIIDJA BIZ<br>TO PT LAUTAN JAYA KU</td><td>80,000,000.00</td><td>0.00</td><td>12,794,240.37</td><td>63</td><td>230807BI02957085</td></tr><tr><td>186</td><td>8/7/2023</td><td>8/7/2023</td><td></td><td>20230807CENAIDJA01000137078109 INJKT-2307-0109 BFS<br>FR CENAIDJA CA PT NEX TEKNOLO</td><td>0.00</td><td>11,368,000.00</td><td>92,794,240.37</td><td>638</td><td>230807BF01505711</td></tr><tr><td>187</td><td>8/7/2023</td><td>8/7/2023</td><td></td><td>BDS TRF TO WORLDTRANS INDOPERSAD</td><td>39,507,000.00</td><td>0.00</td><td>81,426,240.37</td><td>60</td><td>230807VZDJ000053</td></tr><tr><td>188</td><td>8/7/2023</td><td>8/7/2023</td><td></td><td>BizChannel TRF TO ANDALAN PASIFIK SAM inv air sha</td><td>440,000,000.00</td><td>0.00</td><td>120,933,240.37</td><td>566</td><td>230807BI02889702</td></tr><tr><td>189</td><td>8/7/2023</td><td>8/7/2023</td><td></td><td>BizChannel TRF TO JKS LOGISTIK cont smrg</td><td>500,000,000.00</td><td>0.00</td><td>560,933,240.37</td><td>565</td><td>230807BI02889699</td></tr><tr><td>190</td><td>8/7/2023</td><td>8/7/2023</td><td></td><td>202308071313095332 BMRIIDJA BIZ<br>TO PT SURVEYOR<br>SAMUDRA</td><td>2,500.00</td><td>0.00</td><td>1,060,933,240.37</td><td>803</td><td>230807BI02875074</td></tr><tr><td>191</td><td>8/7/2023</td><td>8/7/2023</td><td></td><td>202308071313095332 BMRIIDJA BIZ<br>TO PT SURVEYOR<br>SAMUDRA</td><td>40,000,000.00</td><td>0.00</td><td>1,060,935,740.37</td><td>63</td><td>230807BI02875074</td></tr><tr><td>192</td><td>8/7/2023</td><td>8/7/2023</td><td></td><td>20230807BMRIIDJA01000136227750 inv 70035 BFS<br>FR<br>BMRIIDJA CA PT VALIENT SYNERGY</td><td>0.00</td><td>171,771,361.00</td><td>1,100,935,740.37</td><td>638</td><td>230807BF01483097</td></tr><tr><td>193</td><td>8/7/2023</td><td>8/7/2023</td><td></td><td>INCOMING RTGS CENAIDJA/KELOLA LINTAS NUSANTARA<br>TRANSFER DANA</td><td>0.00</td><td>663,000,000.00</td><td>929,164,379.37</td><td>624</td><td>230807VRM4286573</td></tr><tr><td>194</td><td>8/7/2023</td><td>8/7/2023</td><td></td><td>20230807CENAIDJA01000135809704 - BFS<br>FR CENAIDJA CA<br>MACHINDOTAMA A</td><td>0.00</td><td>3,436,471.00</td><td>266,164,379.37</td><td>638</td><td>230807BF01472412</td></tr></tbody></table>\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/UOB MDM LU NING nov (1)_page-0003.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 71,\n 42,\n 460,\n 119\n ],\n \"category\": \"Page-header\",\n \"text\": \"UOB 大华银行\"\n },\n {\n \"bbox\": [\n 1079,\n 189,\n 1166,\n 208\n ],\n \"category\": \"Page-header\",\n \"text\": \"Page 3 of 7\"\n },\n {\n \"bbox\": [\n 105,\n 231,\n 407,\n 253\n ],\n \"category\": \"Section-header\",\n \"text\": \"## Account Transaction Details\"\n },\n {\n \"bbox\": [\n 105,\n 270,\n 398,\n 290\n ],\n \"category\": \"Text\",\n \"text\": \"### Privilege Account 365-311-390-9\"\n },\n {\n \"bbox\": [\n 95,\n 316,\n 1166,\n 435\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>Date</th><th>Description</th><th>Withdrawals<br>SGD</th><th>Deposits<br>SGD</th><th>Balance<br>SGD</th></tr></thead><tbody><tr><td>31 Oct</td><td>BALANCE B/F</td><td></td><td></td><td>13.90</td></tr><tr><td></td><td>Total</td><td></td><td></td><td>13.90</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 105,\n 472,\n 422,\n 491\n ],\n \"category\": \"Text\",\n \"text\": \"### GLOBAL CURRENCY 365-903-214-5\"\n },\n {\n \"bbox\": [\n 95,\n 518,\n 1166,\n 637\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>Date</th><th>Description</th><th>Withdrawals<br>HKD</th><th>Deposits<br>HKD</th><th>Balance<br>HKD</th></tr></thead><tbody><tr><td>31 Oct</td><td>BALANCE B/F</td><td></td><td></td><td>0.00</td></tr><tr><td></td><td>Total</td><td></td><td></td><td>0.00</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 105,\n 675,\n 446,\n 693\n ],\n \"category\": \"Text\",\n \"text\": \"### GLOBAL PREMIUM A/C 365-903-215-3\"\n },\n {\n \"bbox\": [\n 95,\n 721,\n 1166,\n 840\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>Date</th><th>Description</th><th>Withdrawals<br>EUR</th><th>Deposits<br>EUR</th><th>Balance<br>EUR</th></tr></thead><tbody><tr><td>31 Oct</td><td>BALANCE B/F</td><td></td><td></td><td>0.00</td></tr><tr><td></td><td>Total</td><td></td><td></td><td>0.00</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 105,\n 878,\n 446,\n 897\n ],\n \"category\": \"Text\",\n \"text\": \"### GLOBAL PREMIUM A/C 365-903-216-1\"\n },\n {\n \"bbox\": [\n 95,\n 924,\n 1166,\n 1043\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>Date</th><th>Description</th><th>Withdrawals<br>GBP</th><th>Deposits<br>GBP</th><th>Balance<br>GBP</th></tr></thead><tbody><tr><td>31 Oct</td><td>BALANCE B/F</td><td></td><td></td><td>0.00</td></tr><tr><td></td><td>Total</td><td></td><td></td><td>0.00</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 105,\n 1082,\n 446,\n 1100\n ],\n \"category\": \"Text\",\n \"text\": \"### GLOBAL PREMIUM A/C 365-903-218-8\"\n },\n {\n \"bbox\": [\n 95,\n 1128,\n 1166,\n 1247\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>Date</th><th>Description</th><th>Withdrawals<br>AUD</th><th>Deposits<br>AUD</th><th>Balance<br>AUD</th></tr></thead><tbody><tr><td>31 Oct</td><td>BALANCE B/F</td><td></td><td></td><td>0.00</td></tr><tr><td></td><td>Total</td><td></td><td></td><td>0.00</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 105,\n 1284,\n 446,\n 1303\n ],\n \"category\": \"Text\",\n \"text\": \"### GLOBAL PREMIUM A/C 365-903-219-6\"\n },\n {\n \"bbox\": [\n 95,\n 1330,\n 1166,\n 1449\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>Date</th><th>Description</th><th>Withdrawals<br>USD</th><th>Deposits<br>USD</th><th>Balance<br>USD</th></tr></thead><tbody><tr><td>31 Oct</td><td>BALANCE B/F</td><td></td><td></td><td>0.00</td></tr><tr><td></td><td>Total</td><td></td><td></td><td>0.00</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 75,\n 1639,\n 1169,\n 1682\n ],\n \"category\": \"Page-footer\",\n \"text\": \"Please note that you are bound by a duty under the rules governing the operation of this account, to check the entries in the above statement. If you do not notify us in writing of any errors, omissions or unauthorised debits within fourteen (14) days of this statement, the entries above shall be deemed valid, correct, accurate and conclusively binding upon you, and you shall have no claim against the bank in relation thereto.\"\n },\n {\n \"bbox\": [\n 75,\n 1682,\n 1056,\n 1695\n ],\n \"category\": \"Page-footer\",\n \"text\": \"请注意,在此户口的管理条规下,您必须核对此结单所列项目,并在十四(14)天内,以书面通知本行任何错误,遗漏或未经授权支账,否则上述项目当被视为有效,适当和准确并受其约束,您不得向本行索取赔偿。\"\n },\n {\n \"bbox\": [\n 75,\n 1696,\n 1001,\n 1710\n ],\n \"category\": \"Page-footer\",\n \"text\": \"United Overseas Bank Limited • 80 Raffles Place UOB Plaza Singapore 048624 • Co. Reg. No. 193500026Z • GST Reg. No. MR-8500194-3 • www.uob.com.sg\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/Mandiri_7_sellurly_page-0006.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 975,\n 33,\n 1174,\n 97\n ],\n \"category\": \"Page-header\",\n \"text\": \"mandiri\"\n },\n {\n \"bbox\": [\n 65,\n 143,\n 1175,\n 342\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>Tanggal Transaksi Transaction Date</th><th>Tanggal Valuta Valuta Date</th><th>Rincian Transaksi / Nomor Referensi Transaction Details / Reference Number</th><th>Debit / Kredit Debit / Kredit</th><th>Saldo Balance</th></tr></thead><tbody><tr><td>30/10</td><td>30/10</td><td>-UBP60148930801FFFFFF893083805634580</td><td>100,500.00 D</td><td>28,765,904.51</td></tr><tr><td>31/10</td><td>31/10</td><td>MCM InhouseTrf-</td><td>880,000.00 D</td><td>27,885,904.51</td></tr><tr><td>31/10</td><td>31/10</td><td>Biaya Adm -</td><td>12,500.00 D</td><td>27,873,404.51</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 61,\n 409,\n 1175,\n 531\n ],\n \"category\": \"Text\",\n \"text\": \"Saldo Awal / Previous Balance : 21,374,255.51\\nMutasi Kredit / Total of Credit Transaction : 40,380,200.00\\nMutasi Debit / Total of Debit Transaction : 33,881,051.00\\nSaldo Akhir / Current Balance : 27,873,404.51\"\n },\n {\n \"bbox\": [\n 74,\n 595,\n 612,\n 1004\n ],\n \"category\": \"Picture\"\n },\n {\n \"bbox\": [\n 624,\n 606,\n 1161,\n 1003\n ],\n \"category\": \"Picture\"\n },\n {\n \"bbox\": [\n 998,\n 1630,\n 1039,\n 1673\n ],\n \"category\": \"Page-footer\",\n \"text\": \"Hal\\nPage\"\n },\n {\n \"bbox\": [\n 1080,\n 1628,\n 1165,\n 1647\n ],\n \"category\": \"Page-footer\",\n \"text\": \"Page 6 of 6\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/ocbc nordiansyah_page-0004.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 98,\n 114,\n 140,\n 129\n ],\n \"category\": \"Text\",\n \"text\": \"99693\"\n },\n {\n \"bbox\": [\n 437,\n 113,\n 550,\n 129\n ],\n \"category\": \"Text\",\n \"text\": \"01/21-4/15-2029\"\n },\n {\n \"bbox\": [\n 512,\n 145,\n 554,\n 160\n ],\n \"category\": \"Text\",\n \"text\": \"99693\"\n },\n {\n \"bbox\": [\n 97,\n 166,\n 183,\n 184\n ],\n \"category\": \"Text\",\n \"text\": \"Kepada Yth:\"\n },\n {\n \"bbox\": [\n 97,\n 197,\n 219,\n 213\n ],\n \"category\": \"Text\",\n \"text\": \"NORDIANSYAH\"\n },\n {\n \"bbox\": [\n 97,\n 239,\n 292,\n 256\n ],\n \"category\": \"Text\",\n \"text\": \"JL. HJ. JAHRAH RT : RW :\"\n },\n {\n \"bbox\": [\n 97,\n 260,\n 459,\n 277\n ],\n \"category\": \"Text\",\n \"text\": \"SUNGAI KELEDANG, KOTA SAMARINDA 75131\"\n },\n {\n \"bbox\": [\n 583,\n 104,\n 779,\n 123\n ],\n \"category\": \"Section-header\",\n \"text\": \"REKENING KORAN\"\n },\n {\n \"bbox\": [\n 583,\n 134,\n 1070,\n 152\n ],\n \"category\": \"Text\",\n \"text\": \"NOMOR REKENING : 693810542029 - Tanda360Plus Digital\"\n },\n {\n \"bbox\": [\n 583,\n 177,\n 931,\n 193\n ],\n \"category\": \"Text\",\n \"text\": \"CABANG : 99693 - DIGITAL\"\n },\n {\n \"bbox\": [\n 583,\n 218,\n 1075,\n 234\n ],\n \"category\": \"Text\",\n \"text\": \"PERIODE : 01 Desember 2020 - 31 Desember 2020\"\n },\n {\n \"bbox\": [\n 583,\n 260,\n 877,\n 276\n ],\n \"category\": \"Text\",\n \"text\": \"TANGGAL PERCETAKAN : 20210104\"\n },\n {\n \"bbox\": [\n 583,\n 302,\n 840,\n 318\n ],\n \"category\": \"Text\",\n \"text\": \"MATA UANG : IDR\"\n },\n {\n \"bbox\": [\n 583,\n 344,\n 860,\n 360\n ],\n \"category\": \"Text\",\n \"text\": \"HALAMAN : 4 of 15\"\n },\n {\n \"bbox\": [\n 56,\n 394,\n 1167,\n 1217\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>TGL TRANS</th><th>TGL VALUTA</th><th>URAIAN</th><th>DEBET</th><th>KREDIT</th><th>SALDO</th></tr></thead><tbody><tr><td>09/12/2020</td><td>09/12/2020</td><td>Transfer Masuk<br>Berita : 1203 014 BINCAR</td><td>0.00</td><td>700,000.00</td><td>704,129.00</td></tr><tr><td>09/12/2020</td><td>09/12/2020</td><td>Transfer Masuk<br>Berita : 1596 014 BINCAR</td><td>0.00</td><td>500,000.00</td><td>1,204,129.00</td></tr><tr><td>09/12/2020</td><td>09/12/2020</td><td>Transfer Masuk<br>Berita : 1765 014 BINCAR</td><td>0.00</td><td>500,020.00</td><td>1,704,149.00</td></tr><tr><td>09/12/2020</td><td>09/12/2020</td><td>Biaya transaksi via ATM<br>Berita : 2061 014 6585063723 GHONIE ALBASITU 2020</td><td>6,500.00</td><td>0.00</td><td>1,697,649.00</td></tr><tr><td>09/12/2020</td><td>09/12/2020</td><td>Memo Debet<br>Berita : 2061 014 6585063723 GHONIE ALBASITU 2020</td><td>1,693,500.00</td><td>0.00</td><td>4,149.00</td></tr><tr><td>09/12/2020</td><td>09/12/2020</td><td>Transfer Masuk<br>Berita : 5011 022 YAQUB FIRMAN SYARIF</td><td>0.00</td><td>200,000.00</td><td>204,149.00</td></tr><tr><td>10/12/2020</td><td>10/12/2020</td><td>Transfer Masuk<br>Berita : 9155 014 RYAN RIZKI</td><td>0.00</td><td>150,000.00</td><td>354,149.00</td></tr><tr><td>10/12/2020</td><td>10/12/2020</td><td>Transfer Masuk<br>Berita : 6975 014 RYAN RIZKI</td><td>0.00</td><td>150,000.00</td><td>504,149.00</td></tr><tr><td>10/12/2020</td><td>10/12/2020</td><td>Bill payment Dr customer acct<br>Berita : 5203 081352256835 OVO</td><td>500,500.00</td><td>0.00</td><td>3,649.00</td></tr><tr><td>11/12/2020</td><td>11/12/2020</td><td>Transfer Masuk<br>Berita : 8898 014 ISMUNGI</td><td>0.00</td><td>200,000.00</td><td>203,649.00</td></tr><tr><td>11/12/2020</td><td>11/12/2020</td><td>Biaya transaksi via ATM<br>Berita : 0164 014 6585063723 GHONIE ALBASITU 2020</td><td>6,500.00</td><td>0.00</td><td>197,149.00</td></tr><tr><td>11/12/2020</td><td>11/12/2020</td><td>Memo Debet<br>Berita : 0164 014 6585063723 GHONIE ALBASITU 2020</td><td>194,000.00</td><td>0.00</td><td>3,149.00</td></tr><tr><td>12/12/2020</td><td>12/12/2020</td><td>Transfer Masuk</td><td>0.00</td><td>100,000.00</td><td>103,149.00</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 55,\n 1510,\n 846,\n 1565\n ],\n \"category\": \"Text\",\n \"text\": \"BILAMANA DALAM 7 HARI TERHITUNG SEJAK TANGGAL STEMPEL POS ATAU DITERIMANYA PER EKSPEDISI ATAU TANGGAL TERKIRIMNYA LAYANAN ESTATEMENT REKENING KORAN INI TIDAK ADA SANGGAHAN DARI NASABAH MAKA DIANGGAP NASABAH TELAH MENYETUJUI SEGALA SESUATU YANG TERMUAT DALAM REKENING KORAN INI. SETIAP PEMBEBANAN ONGKOS / BAYA KAMI TIDAK MEMBUATKAN NOTANYA. CETAKAN KOMPUTER INI TIDAK MEMERLUKAN TANDA TANGAN PEJABAT\"\n },\n {\n \"bbox\": [\n 65,\n 1595,\n 846,\n 1667\n ],\n \"category\": \"Text\",\n \"text\": \"Efektif Per Tanggal 1 Februari 2016, produk-produk Trade Loan mengalami perubahan nama untuk memberikan kemudahan pemahaman nasabah atas nama produk Trade Finances & Services. Info lebih lanjut hubungi Kantor Cabang terdekat atau Call OCBC NISP di 1500-999 / 66-999 via HP.\"\n },\n {\n \"bbox\": [\n 873,\n 1637,\n 1155,\n 1698\n ],\n \"category\": \"Page-footer\",\n \"text\": \"OCBC NISP\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/CIMB_IDR_APR_2023_page-0008.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 40,\n 105,\n 377,\n 128\n ],\n \"category\": \"Text\",\n \"text\": \"Total Debit 35,650,619,810.99\"\n },\n {\n \"bbox\": [\n 40,\n 139,\n 377,\n 161\n ],\n \"category\": \"Text\",\n \"text\": \"Total Credit 34,236,157,754.94\"\n },\n {\n \"bbox\": [\n 40,\n 172,\n 388,\n 194\n ],\n \"category\": \"Text\",\n \"text\": \"Period : 01-Apr-2023 - 30-Apr-2023\"\n },\n {\n \"bbox\": [\n 36,\n 197,\n 1563,\n 1135\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>No.</th><th>Post Date</th><th>Eff Date</th><th>C<br>h</th><th>Description</th><th>Debit</th><th>Credit</th><th>Balance</th><th>Transa<br>ction</th><th>Ref No</th></tr></thead><tbody><tr><td>122</td><td>4/18/2023</td><td>4/18/2023</td><td></td><td>INCOMING RTGS CENAIIDJA/PENYEDA PRODUK DARING P<br>120423L590010 20230418093035</td><td>0.00</td><td>506,226,000.00</td><td>2,223,639,218.41</td><td>624</td><td>230418VRM5661038</td></tr><tr><td>123</td><td>4/18/2023</td><td>4/18/2023</td><td></td><td>INCOMING RTGS CENAIDJA/KELOLA LINTAS 120423L590009<br>20230418093033</td><td>0.00</td><td>465,630,000.00</td><td>1,717,413,218.41</td><td>624</td><td>230418VRM4662415</td></tr><tr><td>124</td><td>4/18/2023</td><td>4/18/2023</td><td></td><td>INCOMING RTGS CENAIIDJA/JPT JAYA MURNI 110423L590005<br>20230418093031</td><td>0.00</td><td>421,850,000.00</td><td>1,251,783,218.41</td><td>624</td><td>230418VRM3663848</td></tr><tr><td>125</td><td>4/18/2023</td><td>4/18/2023</td><td></td><td>INCOMING RTGS IBBKIDJA/INGRESS MALINDO VENTURES, P<br>110423L590004 20230418093029</td><td>0.00</td><td>582,642,000.00</td><td>829,933,218.41</td><td>624</td><td>230418VRM2665288</td></tr><tr><td>126</td><td>4/18/2023</td><td>4/18/2023</td><td></td><td>BizChannel TRF TO PAT inv air</td><td>409,905,000.00</td><td>0.00</td><td>247,291,218.41</td><td>566</td><td>230418BI02068319</td></tr><tr><td>127</td><td>4/18/2023</td><td>4/18/2023</td><td></td><td>BizChannel TRF TO JKS LOGISTIK cont smrg</td><td>500,000,000.00</td><td>0.00</td><td>657,196,218.41</td><td>565</td><td>230418BI02068310</td></tr><tr><td>128</td><td>4/17/2023</td><td>4/17/2023</td><td></td><td>202304172024228720 CENAIDJA BIZ TO KLINE MOBARU<br>DIAMOND IND</td><td>2,500.00</td><td>0.00</td><td>1,157,196,218.41</td><td>803</td><td>230417BI02968033</td></tr><tr><td>129</td><td>4/17/2023</td><td>4/17/2023</td><td></td><td>202304172024228720 CENAIDJA BIZ TO KLINE MOBARU<br>DIAMOND IND</td><td>250,000,000.00</td><td>0.00</td><td>1,157,198,718.41</td><td>63</td><td>230417BI02968033</td></tr><tr><td>130</td><td>4/17/2023</td><td>4/17/2023</td><td></td><td>BizChannel TRF FR DOMPET HARAPAN BANGS PG_TXN:<br>5E7IRB56AZXJU40C TRANSACTIONWITH AMOUNT919595575.0</td><td>0.00</td><td>919,595,575.00</td><td>1,407,198,718.41</td><td>514</td><td>230417BI02954148</td></tr><tr><td>131</td><td>4/17/2023</td><td>4/17/2023</td><td></td><td>202304171509222540 CENAIDJA BIZ TO KLINE MOBARU<br>DIAMOND IND</td><td>2,500.00</td><td>0.00</td><td>487,603,143.41</td><td>803</td><td>230417BI02902461</td></tr><tr><td>132</td><td>4/17/2023</td><td>4/17/2023</td><td></td><td>202304171509222540 CENAIDJA BIZ TO KLINE MOBARU<br>DIAMOND IND</td><td>250,000,000.00</td><td>0.00</td><td>487,605,643.41</td><td>63</td><td>230417BI02902461</td></tr><tr><td>133</td><td>4/17/2023</td><td>4/17/2023</td><td></td><td>202304171505492391 BMRIIDJA BIZ TO PT SAKTI<br>MANDRAGUNA</td><td>2,500.00</td><td>0.00</td><td>737,605,643.41</td><td>803</td><td>230417BI02902433</td></tr><tr><td>134</td><td>4/17/2023</td><td>4/17/2023</td><td></td><td>202304171505492391 BMRIIDJA BIZ TO PT SAKTI<br>MANDRAGUNA</td><td>250,000,000.00</td><td>0.00</td><td>737,608,143.41</td><td>63</td><td>230417BI02902433</td></tr><tr><td>135</td><td>4/17/2023</td><td>4/17/2023</td><td></td><td>202304171508322500 BMRIIDJA BIZ TO PT SAKTI<br>MANDRAGUNA</td><td>2,500.00</td><td>0.00</td><td>987,608,143.41</td><td>803</td><td>230417BI02902424</td></tr><tr><td>136</td><td>4/17/2023</td><td>4/17/2023</td><td></td><td>202304171508322500 BMRIIDJA BIZ TO PT SAKTI<br>MANDRAGUNA</td><td>250,000,000.00</td><td>0.00</td><td>987,610,643.41</td><td>63</td><td>230417BI02902424</td></tr><tr><td>137</td><td>4/17/2023</td><td>4/17/2023</td><td></td><td>BizChannel TRF TO JKS LOGISTIK cont smrg</td><td>503,807,000.00</td><td>0.00</td><td>1,237,610,643.41</td><td>566</td><td>230417BI02902420</td></tr><tr><td>138</td><td>4/17/2023</td><td>4/17/2023</td><td></td><td>BizChannel TRF TO SAMUDERA AGENCIES IND</td><td>500,000,000.00</td><td>0.00</td><td>1,741,417,643.41</td><td>565</td><td>230417BI02902419</td></tr><tr><td>139</td><td>4/17/2023</td><td>4/17/2023</td><td></td><td>202304171505122364 CENAIDJA BIZ TO PT KSK INSURANCE<br>INDO</td><td>2,500.00</td><td>0.00</td><td>2,241,417,643.41</td><td>803</td><td>230417BI02902418</td></tr><tr><td>140</td><td>4/17/2023</td><td>4/17/2023</td><td></td><td>202304171505122364 CENAIDJA BIZ TO PT KSK INSURANCE<br>INDO</td><td>250,000,000.00</td><td>0.00</td><td>2,241,420,143.41</td><td>63</td><td>230417BI02902418</td></tr><tr><td>141</td><td>4/17/2023</td><td>4/17/2023</td><td></td><td>BANK CENTRAL A PT BIRU PRATAMA LOGI 0095588684<br>202304171403189545</td><td>30,000.00</td><td>0.00</td><td>2,491,420,143.41</td><td>803</td><td>230417BI02888021</td></tr><tr><td>142</td><td>4/17/2023</td><td>4/17/2023</td><td></td><td>BANK CENTRAL A PT BIRU PRATAMA LOGI 0095588684<br>202304171403189545</td><td>569,107,297.00</td><td>0.00</td><td>2,491,450,143.41</td><td>63</td><td>230417BI02888021</td></tr></tbody></table>\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/UOB MISS ZHANG LING_page-0001.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 71,\n 43,\n 461,\n 120\n ],\n \"category\": \"Page-header\",\n \"text\": \"UOB 大华银行\"\n },\n {\n \"bbox\": [\n 156,\n 246,\n 333,\n 323\n ],\n \"category\": \"Text\",\n \"text\": \"MISS ZHANG LING\\n8 LEICESTER ROAD\\n#03-04 INTERO\\nSINGAPORE 358841\"\n },\n {\n \"bbox\": [\n 717,\n 233,\n 1161,\n 390\n ],\n \"category\": \"Picture\"\n },\n {\n \"bbox\": [\n 97,\n 532,\n 373,\n 556\n ],\n \"category\": \"Section-header\",\n \"text\": \"# Statement of Account\"\n },\n {\n \"bbox\": [\n 97,\n 561,\n 438,\n 584\n ],\n \"category\": \"Text\",\n \"text\": \"Period: 01 Aug 2023 to 31 Aug 2023\"\n },\n {\n \"bbox\": [\n 96,\n 590,\n 1165,\n 706\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th colspan=\\\"2\\\">Account Overview as at 31 Aug 2023</th></tr><tr><th></th><th>Amount (SGD)</th></tr></thead><tbody><tr><td>Deposits</td><td>14,439.28</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 95,\n 765,\n 1165,\n 987\n ],\n \"category\": \"Table\",\n \"text\": \"<table><caption>Deposits</caption><thead><tr><th></th><th>Currency</th><th>Credit Line</th><th>Interest Earned^</th><th>Interest Charged^</th><th>Balance</th></tr></thead><tbody><tr><td><strong>Savings</strong><br>Lady's Savings A/c<br>658-373-803-4</td><td>SGD</td><td>0.00</td><td>5.96</td><td>-</td><td>14,439.28</td></tr></tbody><tfoot><tr><td colspan=\\\"4\\\">Total (SGD)</td><td></td><td>14,439.28</td></tr><tr><td colspan=\\\"4\\\">Grand Total (SGD Equivalent)</td><td></td><td>14,439.28</td></tr></tfoot></table>\"\n },\n {\n \"bbox\": [\n 107,\n 989,\n 369,\n 1008\n ],\n \"category\": \"Text\",\n \"text\": \"^Interest Earned/Charged for 2023\"\n },\n {\n \"bbox\": [\n 583,\n 1011,\n 723,\n 1030\n ],\n \"category\": \"Text\",\n \"text\": \"End of Summary\"\n },\n {\n \"bbox\": [\n 75,\n 1640,\n 1169,\n 1711\n ],\n \"category\": \"Page-footer\",\n \"text\": \"Please note that you are bound by a duty under the rules governing the operation of this account, to check the entries in the above statement. If you do not notify us in writing of any errors, omissions or unauthorised debits within fourteen (14) days of this statement, the entries above shall be deemed valid, correct, accurate and conclusively binding upon you, and you shall have no claim against the bank in relation thereto.\\n\\n请注意,在此户口的管理条规下,您必须核对此结单所列项目,并在十四(14)天内,以书面通知本行任何错误,遗漏或未经授权支账,否则上述项目当被视为有效,适当和准确并受其约束,您不得向本行索取赔偿.\\nUnited Overseas Bank Limited • 80 Raffles Place UOB Plaza Singapore 048624 • Co. Reg. No. 193500026Z • GST Reg. No. MR-8500194-3 • www.uob.com.sg\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/BTN 2195 AGUSTUS 2023_page-0001.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 1397,\n 41,\n 1688,\n 139\n ],\n \"category\": \"Page-header\",\n \"text\": \"Bank BTN\\nSahabat Keluarga Indonesia\"\n },\n {\n \"bbox\": [\n 741,\n 197,\n 1009,\n 228\n ],\n \"category\": \"Section-header\",\n \"text\": \"Account Statement\"\n },\n {\n \"bbox\": [\n 72,\n 287,\n 850,\n 642\n ],\n \"category\": \"Text\",\n \"text\": \"Company : PT GARDA BANGSA SECURINDO\\nAccount : 0013001300002195 - GARDA BANGSA SECURIN\\nAccount Organization Unit : KC CIBINONG\\nPeriod : 08-2023\\nStarting Balance : IDR 50,570,758.45\\nEnding Balance : IDR 102,163,962.05\\nTotal Transaction Debit : 21\\nTotal Transaction Credit : 10\\nPage : 1 of 1\"\n },\n {\n \"bbox\": [\n 58,\n 681,\n 1690,\n 2050\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>No.</th><th>Posting Date</th><th>Posting Time</th><th>Eff Date</th><th>Eff Time</th><th>Description</th><th>Debit</th><th>Credit</th><th>Balance</th><th>Ref No.</th></tr></thead><tbody><tr><td>1</td><td>02/08</td><td>14:11:29</td><td>02/08</td><td>14:11:29</td><td>SKN/KEWAJIBAN LAINNYA YG/PENGEMBALIAN KE</td><td>0.00</td><td>6,275,970.00</td><td>56,846,728.45</td><td>23080200160710002988</td></tr><tr><td>2</td><td>03/08</td><td>09:45:44</td><td>03/08</td><td>09:45:44</td><td>M/309/SCPU/PBK PT GARDA BANGSA S</td><td>0.00</td><td>330,000,000.00</td><td>386,846,728.45</td><td>23080300089050000087</td></tr><tr><td>3</td><td>03/08</td><td>11:32:20</td><td>03/08</td><td>11:32:20</td><td>MUTASI DARI BTN GARDA 2195KE BCA GARDA 7</td><td>200,030,000.00</td><td>0.00</td><td>186,816,728.45</td><td>23080396039990015636</td></tr><tr><td>4</td><td>05/08</td><td>17:24:58</td><td>05/08</td><td>17:24:58</td><td>MUTASI DARI BCA GARDA 7324 KEBTN GARDA 2</td><td>0.00</td><td>23,000,000.00</td><td>209,816,728.45</td><td>23080596219996461410</td></tr><tr><td>5</td><td>06/08</td><td>01:58:42</td><td>06/08</td><td>01:58:42</td><td>SALARY ANGGOTA JULI 2023</td><td>1,789,865.00</td><td>0.00</td><td>208,026,863.45</td><td>23080696019990014816</td></tr><tr><td>6</td><td>06/08</td><td>01:58:43</td><td>06/08</td><td>01:58:43</td><td>SALARY ANGGOTA JULI 2023</td><td>1,629,085.00</td><td>0.00</td><td>206,397,778.45</td><td>23080696029990014812</td></tr><tr><td>7</td><td>06/08</td><td>01:58:43</td><td>06/08</td><td>01:58:43</td><td>SALARY ANGGOTA JULI 2023</td><td>1,935,798.00</td><td>0.00</td><td>204,461,980.45</td><td>23080696079990014812</td></tr><tr><td>8</td><td>06/08</td><td>01:58:43</td><td>06/08</td><td>01:58:43</td><td>Salary Crediting 050823</td><td>198,733,418.00</td><td>0.00</td><td>5,728,562.45</td><td>23080696039990014812</td></tr><tr><td>9</td><td>07/08</td><td>12:01:56</td><td>07/08</td><td>12:01:56</td><td>SALARY ANGGOTA JULI 2023GREENLAND KEMANG</td><td>2,018,798.00</td><td>0.00</td><td>3,709,764.45</td><td>23080796079990015848</td></tr><tr><td>10</td><td>07/08</td><td>12:01:59</td><td>07/08</td><td>12:01:59</td><td>SALARY ANGGOTA JULI 2023GREENLAND KEMANG</td><td>1,793,798.00</td><td>0.00</td><td>1,915,966.45</td><td>23080796049990015859</td></tr><tr><td>11</td><td>15/08</td><td>16:16:55</td><td>15/08</td><td>16:16:55</td><td>MUTASI DARI BCA GARDA 7324KE BTN GARDA 2</td><td>0.00</td><td>63,000,000.00</td><td>64,915,966.45</td><td>23081596219997283087</td></tr><tr><td>12</td><td>15/08</td><td>16:35:30</td><td>15/08</td><td>16:35:30</td><td></td><td>0.00</td><td>70,000,000.00</td><td>134,915,966.45</td><td>23081596219997283989</td></tr><tr><td>13</td><td>15/08</td><td>17:17:22</td><td>15/08</td><td>17:17:22</td><td>Salary Crediting 150823</td><td>15,400,000.00</td><td>0.00</td><td>119,515,966.45</td><td>23081596069990017106</td></tr><tr><td>14</td><td>15/08</td><td>17:17:23</td><td>15/08</td><td>17:17:23</td><td>SALARY STAFF PUSAT 16JUL-15AGUST2023</td><td>9,954,798.00</td><td>0.00</td><td>109,561,168.45</td><td>23081596019990017122</td></tr><tr><td>15</td><td>15/08</td><td>17:17:26</td><td>15/08</td><td>17:17:26</td><td>SALARY STAFF PUSAT 16JUL-15AGUST2023OPA</td><td>1,500,000.00</td><td>0.00</td><td>108,061,168.45</td><td>23081596039990017122</td></tr><tr><td>16</td><td>15/08</td><td>17:17:33</td><td>15/08</td><td>17:17:33</td><td>Salary Crediting 150823</td><td>105,253,478.00</td><td>0.00</td><td>2,807,690.45</td><td>23081596029990017115</td></tr><tr><td>17</td><td>21/08</td><td>11:48:22</td><td>21/08</td><td>11:48:22</td><td>MUTASI DARI BCA GARDA 7324 KEBTN GARDA 2</td><td>0.00</td><td>7,000,000.00</td><td>9,807,690.45</td><td>23082196219997615822</td></tr><tr><td>18</td><td>21/08</td><td>17:11:35</td><td>21/08</td><td>17:11:35</td><td>Salary Crediting 210823</td><td>9,100,000.00</td><td>0.00</td><td>707,690.45</td><td>23082196029990016472</td></tr><tr><td>19</td><td>22/08</td><td>14:59:35</td><td>22/08</td><td>14:59:35</td><td>230231304000634000001</td><td>0.00</td><td>132,649,225.00</td><td>133,356,915.45</td><td>23082296639996213578</td></tr><tr><td>20</td><td>24/08</td><td>20:46:00</td><td>24/08</td><td>20:46:00</td><td>SISA SALARY ANGGOTA JULI 2023MITSUI CIKA</td><td>402,001.00</td><td>0.00</td><td>132,954,914.45</td><td>23082496069990016443</td></tr><tr><td>21</td><td>24/08</td><td>20:46:02</td><td>24/08</td><td>20:46:02</td><td>MUTASI DARI BTN GARDA 2195 KE BTN PRKGAR</td><td>100,000,000.00</td><td>0.00</td><td>32,954,914.45</td><td>23082496079990016443</td></tr><tr><td>22</td><td>29/08</td><td>12:27:05</td><td>29/08</td><td>12:27:05</td><td>SALARY ANGGOTA AGUSTUS 2023 BKO</td><td>225,806.00</td><td>0.00</td><td>32,729,108.45</td><td>23082996019990015739</td></tr><tr><td>23</td><td>29/08</td><td>12:27:08</td><td>29/08</td><td>12:27:08</td><td>SALARY ANGGOTA AGUSTUS 2023 BKO</td><td>112,903.00</td><td>0.00</td><td>32,616,205.45</td><td>23082996039990015737</td></tr><tr><td>24</td><td>30/08</td><td>11:14:47</td><td>30/08</td><td>11:14:47</td><td>MUTASI DARI BCA GARDA 7324 KEBTN GARDA 2</td><td>0.00</td><td>20,000,000.00</td><td>52,616,205.45</td><td>23083096219998343555</td></tr><tr><td>25</td><td>30/08</td><td>13:37:17</td><td>30/08</td><td>13:37:17</td><td>Salary Crediting 300823</td><td>50,409,569.00</td><td>0.00</td><td>2,206,636.45</td><td>23083096079990016085</td></tr><tr><td>26</td><td>31/08</td><td>00:00:00</td><td>31/08</td><td>00:00:00</td><td>Biaya Administrasi</td><td>25,000.00</td><td>0.00</td><td>2,181,636.45</td><td>23083144000780117364</td></tr><tr><td>27</td><td>31/08</td><td>00:00:00</td><td>31/08</td><td>00:00:00</td><td>Statement Stamp Duty Fee</td><td>10,000.00</td><td>0.00</td><td>2,171,636.45</td><td>23083144000780117366</td></tr><tr><td>28</td><td>31/08</td><td>00:00:00</td><td>31/08</td><td>00:00:00</td><td>Bunga Rekening</td><td>0.00</td><td>21,656.98</td><td>2,193,293.43</td><td>23083144000780117362</td></tr><tr><td>29</td><td>31/08</td><td>00:00:00</td><td>31/08</td><td>00:00:00</td><td>Pungutan denda saldo dibawah</td><td>25,000.00</td><td>0.00</td><td>2,168,293.43</td><td>23083144000780117365</td></tr><tr><td>30</td><td>31/08</td><td>00:00:00</td><td>31/08</td><td>00:00:00</td><td>Pajak</td><td>4,331.38</td><td>0.00</td><td>2,163,962.05</td><td>23083144000780117363</td></tr><tr><td>31</td><td>31/08</td><td>11:08:48</td><td>31/08</td><td>11:08:48</td><td>MUTASI DARI BCA GARDA 7324 KEBTN GARDA 2</td><td>0.00</td><td>100,000,000.00</td><td>102,163,962.05</td><td>23083196219998447702</td></tr></tbody><tfoot><tr><td></td><td></td><td></td><td></td><td></td><td>Total</td><td>700,353,648.38</td><td>751,946,851.98</td><td></td><td></td></tr></tfoot></table>\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/BNI Sarwo ngudi_page-0001.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 1089,\n 15,\n 1227,\n 72\n ],\n \"category\": \"Page-header\",\n \"text\": \"BNI\\nMelayani Negeri, Kebanggaan Bangsa\"\n },\n {\n \"bbox\": [\n 493,\n 101,\n 748,\n 127\n ],\n \"category\": \"Section-header\",\n \"text\": \"HISTORI TRANSAKSI\"\n },\n {\n \"bbox\": [\n 102,\n 188,\n 269,\n 209\n ],\n \"category\": \"Section-header\",\n \"text\": \"Kriteria Pencarian\"\n },\n {\n \"bbox\": [\n 122,\n 230,\n 629,\n 380\n ],\n \"category\": \"Text\",\n \"text\": \"Rekening: TAPPA 5000\\nTanggal Awal: 2022-06-05\\nTanggal Akhir: 2022-07-05\\nKategori: Semua\"\n },\n {\n \"bbox\": [\n 102,\n 420,\n 543,\n 441\n ],\n \"category\": \"Caption\",\n \"text\": \"Transactions List - TAPPA 5000 - (IDR) - 458307124\"\n },\n {\n \"bbox\": [\n 81,\n 466,\n 1122,\n 1705\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>Tanggal Transaksi</th><th>Uraian Transaksi</th><th>Tipe</th><th>Nominal</th><th>Saldo Akhir</th></tr></thead><tbody><tr><td>2022-07-05</td><td>TRANSFER KE BIAYA ADMIN (GOPAY CUST ) NO :D21656975186944</td><td>Db.</td><td>1.000,00</td><td>29.314.447,00</td></tr><tr><td>2022-07-05</td><td>TRANSFER KE GOPAY CUST D21656975186944</td><td>Db.</td><td>300.000,00</td><td>29.315.447,00</td></tr><tr><td>2022-07-01</td><td>TRANSFER KE TOKOPEDIA 8277082128615344 PLSTokopediaSarw</td><td>Db.</td><td>264.551,00</td><td>29.615.447,00</td></tr><tr><td>2022-07-01</td><td>BY TRX ATM PRIMA</td><td>Db.</td><td>6.500,00</td><td>29.879.998,00</td></tr><tr><td>2022-07-01</td><td>TRF/PAY/TOP-UP ECHANNEL KARTU 5264220953808213 46.46.46.46 LANDMARK IBJ AKARTA JK</td><td>Db.</td><td>5.500.000,00</td><td>29.886.498,00</td></tr><tr><td>2022-06-30</td><td>BIAYA ADM KARTU</td><td>Db.</td><td>5.000,00</td><td>35.386.498,00</td></tr><tr><td>2022-06-30</td><td>BIAYA ADM REK</td><td>Db.</td><td>5.000,00</td><td>35.391.498,00</td></tr><tr><td>2022-06-30</td><td>PPH</td><td>Db.</td><td>2.014,00</td><td>35.396.498,00</td></tr><tr><td>2022-06-30</td><td>JASA GIRO/BUNGA</td><td>Cr.</td><td>10.069,00</td><td>35.398.512,00</td></tr><tr><td>2022-06-30</td><td>BY TRX ATM ALTO</td><td>Db.</td><td>7.500,00</td><td>35.388.443,00</td></tr><tr><td>2022-06-30</td><td>TARIK TUNAI KARTU 5264220953808213 0000000 000000000000000KAR AWANG JK</td><td>Db.</td><td>3.000.000,00</td><td>35.395.943,00</td></tr><tr><td>2022-06-30</td><td>TRANSFER DARI SIMSEM GIRO INTERNAL PAYROLL GAJI KAR 0458307124 02/TJFORGE/JUN</td><td>Cr.</td><td>11.181.001,00</td><td>38.395.943,00</td></tr><tr><td>2022-06-29</td><td>BY TRX ATM PRIMA</td><td>Db.</td><td>6.500,00</td><td>27.214.942,00</td></tr><tr><td>2022-06-29</td><td>TRF/PAY/TOP-UP ECHANNEL KARTU 5264220953808213 46.46.46.46 LANDMARK IBJ AKARTA JK</td><td>Db.</td><td>550.000,00</td><td>27.221.442,00</td></tr><tr><td>2022-06-28</td><td>BIAYA ATM LINK</td><td>Db.</td><td>6.500,00</td><td>27.771.442,00</td></tr><tr><td>2022-06-28</td><td>TRF/PAY/TOP-UP ECHANNEL KARTU 5264220953808213</td><td>Db.</td><td>1.000.000,00</td><td>27.777.942,00</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 40,\n 1709,\n 242,\n 1723\n ],\n \"category\": \"Page-footer\",\n \"text\": \"Printed on 5/7/2022 21:49:28 Waktu\"\n },\n {\n \"bbox\": [\n 1135,\n 1709,\n 1201,\n 1723\n ],\n \"category\": \"Page-footer\",\n \"text\": \"Page 1 of 2\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/estatement bca miftachul_page-0010.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 45,\n 92,\n 232,\n 152\n ],\n \"category\": \"Page-header\",\n \"text\": \"BCA\"\n },\n {\n \"bbox\": [\n 434,\n 115,\n 802,\n 146\n ],\n \"category\": \"Page-header\",\n \"text\": \"REKENING TAHAPAN\"\n },\n {\n \"bbox\": [\n 61,\n 168,\n 174,\n 183\n ],\n \"category\": \"Text\",\n \"text\": \"KCU MOJOKERTO\"\n },\n {\n \"bbox\": [\n 676,\n 202,\n 1027,\n 310\n ],\n \"category\": \"Text\",\n \"text\": \"NO. REKENING :0500998687\\nHALAMAN :10 / 11\\nPERIODE :DESEMBER 2022\\nMATA UANG :IDR\"\n },\n {\n \"bbox\": [\n 53,\n 223,\n 246,\n 334\n ],\n \"category\": \"Text\",\n \"text\": \"MIFTACHUL ULIYAH\\nDUSUN SUKOMULYO\\nRT 002 RW 001\\nTANJUNGAN KEMLAGI\\nKABUPATEN MOJOKERTO\\n61313 INDONESIA\"\n },\n {\n \"bbox\": [\n 49,\n 378,\n 118,\n 392\n ],\n \"category\": \"Section-header\",\n \"text\": \"CATATAN:\"\n },\n {\n \"bbox\": [\n 640,\n 403,\n 1114,\n 440\n ],\n \"category\": \"Text\",\n \"text\": \"BCA berhak setiap saat melakukan koreksi apabila ada kesalahan pada Laporan Mutasi\\nRekening.\"\n },\n {\n \"bbox\": [\n 49,\n 403,\n 596,\n 458\n ],\n \"category\": \"Text\",\n \"text\": \"Apabila nasabah tidak melakukan sanggahan atas Laporan Mutasi Rekening ini sampai dengan akhir\\nbulan berikutnya, nasabah dianggap telah menyetujui segala data yang tercantum pada Laporan\\nMutasi Rekening ini.\"\n },\n {\n \"bbox\": [\n 45,\n 478,\n 1201,\n 1523\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>TANGGAL</th><th>KETERANGAN</th><th>CBG</th><th>MUTASI</th><th>SALDO</th></tr></thead><tbody><tr><td>28/12</td><td>TRSF E-BANKING CR 28/12 /95031/00000 ERICH FRANSISCO</td><td></td><td>250,000.00</td><td>260,125.00</td></tr><tr><td>28/12</td><td>TRSF E-BANKING CR 28/12 /95031/00000 IMAM HAMBALI P</td><td></td><td>475,000.00</td><td></td></tr><tr><td>28/12</td><td>TRSF E-BANKING CR 2812/FTSCY/WS95051 350000.00 BYIDSBDHIH LINKAJA 202212281712230001 FINTEK KARYA NUSAN</td><td></td><td>350,000.00</td><td></td></tr><tr><td>28/12</td><td>SETORAN VIA CDM 28/12 WSID:Z4QM1 MIFTACHUL ULIYAH</td><td></td><td>2,000,000.00</td><td></td></tr><tr><td>28/12</td><td>TRSF E-BANKING DB 2812/FTFVA/WSZ4QM1 BAYAR BAHAN KEMARIN - - 02137340058</td><td></td><td>2,264,000.00 DB</td><td></td></tr><tr><td>28/12</td><td>TARIKAN ATM 28/12</td><td></td><td>350,000.00 DB</td><td></td></tr><tr><td>28/12</td><td>TRSF E-BANKING DB 28/12 /Z4QM1/00000 MAULIDYA SANNIMOR</td><td></td><td>61,000.00 DB</td><td></td></tr><tr><td>28/12</td><td>TRSF E-BANKING DB 2812/FTFVA/WSZ5NJ1 12208/GRAB - - 1333761884</td><td></td><td>200,000.00 DB</td><td></td></tr><tr><td>28/12</td><td>TRSF E-BANKING DB 28/12 /178Y1/00000 RUDY JULYANTO</td><td></td><td>100,000.00 DB</td><td></td></tr><tr><td>28/12</td><td>TRSF E-BANKING DB 28/12 /178Y1/00000 ARIF WIDODO</td><td></td><td>100,000.00 DB</td><td>10,125.00</td></tr><tr><td>29/12</td><td>SETORAN VIA CDM 29/12 WSID:ZT2R1 MIFTACHUL ULIYAH</td><td></td><td>700,000.00</td><td></td></tr><tr><td>29/12</td><td>TRSF E-BANKING DB 2912/FTFVA/WSZT2R1 12208/GRAB - - 1333761884</td><td></td><td>272,000.00 DB</td><td></td></tr><tr><td>29/12</td><td>TRSF E-BANKING DB 29/12 /ZT2R1/00000 DIYANAH</td><td></td><td>78,000.00 DB</td><td></td></tr><tr><td>29/12</td><td>TARIKAN ATM 29/12</td><td></td><td>350,000.00 DB</td><td></td></tr><tr><td>29/12</td><td>TRSF E-BANKING CR 29/12 /95031/00000 IMAM HAMBALI P</td><td></td><td>440,000.00</td><td></td></tr><tr><td>29/12</td><td>TARIKAN ATM 29/12</td><td></td><td>100,000.00 DB</td><td></td></tr><tr><td>29/12</td><td>TRSF E-BANKING DB 2912/FTFVA/WSZ5NK1 12208/GRAB - - 1333761884</td><td></td><td>340,000.00 DB</td><td></td></tr><tr><td>29/12</td><td>TRSF E-BANKING CR 29/12 /95031/00000 IMAM HAMBALI P</td><td></td><td>1,800,000.00</td><td>1,810,125.00</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 869,\n 1554,\n 1159,\n 1573\n ],\n \"category\": \"Page-footer\",\n \"text\": \"Bersambung ke Halaman berikut\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/BSI April 2023_page-0074.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 147,\n 110,\n 1167,\n 1532\n ],\n \"category\": \"Table\",\n \"text\": \"<table>\\n <tbody>\\n <tr>\\n <td>4784</td>\\n <td>18-04-2023 18:01</td>\\n <td>FT23108KCJQF\\\\BNK</td>\\n <td>18042023</td>\\n <td>Gaji 18 April 2023</td>\\n <td>CCDI</td>\\n <td>4,340,958.00</td>\\n <td></td>\\n <td>2,302,099,170.71</td>\\n </tr>\\n <tr>\\n <td>4785</td>\\n <td>18-04-2023 18:01</td>\\n <td>FT23108NNC53\\\\BNK</td>\\n <td>18042023</td>\\n <td>Gaji 18 April 2023</td>\\n <td></td>\\n <td>4,446,748.00</td>\\n <td></td>\\n <td>2,297,652,422.71</td>\\n </tr>\\n <tr>\\n <td>4786</td>\\n <td>18-04-2023 18:01</td>\\n <td>FT23108M2RLH\\\\BNK</td>\\n <td>18042023</td>\\n <td>Gaji 18 April 2023</td>\\n <td>CCDI</td>\\n <td>4,572,345.00</td>\\n <td></td>\\n <td>2,293,080,077.71</td>\\n </tr>\\n <tr>\\n <td>4787</td>\\n <td>18-04-2023 18:01</td>\\n <td>FT23108MVQFJ\\\\BNK</td>\\n <td>18042023</td>\\n <td>Gaji 18 April 2023</td>\\n <td>CCDI</td>\\n <td>4,588,234.00</td>\\n <td></td>\\n <td>2,288,491,843.71</td>\\n </tr>\\n <tr>\\n <td>4788</td>\\n <td>18-04-2023 18:01</td>\\n <td>FT23108P82C2\\\\BNK</td>\\n <td>18042023</td>\\n <td>Gaji 18 April 2023</td>\\n <td></td>\\n <td>4,712,085.00</td>\\n <td></td>\\n <td>2,283,779,758.71</td>\\n </tr>\\n <tr>\\n <td>4789</td>\\n <td>18-04-2023 18:01</td>\\n <td>FT23108NPL7J\\\\BNK</td>\\n <td>18042023</td>\\n <td>Gaji 18 April 2023</td>\\n <td></td>\\n <td>4,777,038.00</td>\\n <td></td>\\n <td>2,279,002,720.71</td>\\n </tr>\\n <tr>\\n <td>4790</td>\\n <td>18-04-2023 18:01</td>\\n <td>FT23108L0J25\\\\BNK</td>\\n <td>18042023</td>\\n <td>Gaji 18 April 2023</td>\\n <td></td>\\n <td>4,919,132.00</td>\\n <td></td>\\n <td>2,274,083,588.71</td>\\n </tr>\\n <tr>\\n <td>4791</td>\\n <td>18-04-2023 18:01</td>\\n <td>FT23108N5TPW\\\\BNK</td>\\n <td>18042023</td>\\n <td>Gaji 18 April 2023</td>\\n <td></td>\\n <td>5,176,179.00</td>\\n <td></td>\\n <td>2,268,907,409.71</td>\\n </tr>\\n <tr>\\n <td>4792</td>\\n <td>18-04-2023 18:01</td>\\n <td>FT23108PL255\\\\BNK</td>\\n <td>18042023</td>\\n <td>Gaji 18 April 2023</td>\\n <td>CCDI</td>\\n <td>5,559,139.00</td>\\n <td></td>\\n <td>2,263,348,270.71</td>\\n </tr>\\n <tr>\\n <td>4793</td>\\n <td>18-04-2023 18:01</td>\\n <td>FT23108LRGTB\\\\BNK</td>\\n <td>18042023</td>\\n <td>Gaji 18 April 2023</td>\\n <td>CCDI</td>\\n <td>5,580,119.00</td>\\n <td></td>\\n <td>2,257,768,151.71</td>\\n </tr>\\n <tr>\\n <td>4794</td>\\n <td>18-04-2023 18:01</td>\\n <td>FT23108LBN28\\\\BNK</td>\\n <td>18042023</td>\\n <td>Gaji 18 April 2023</td>\\n <td>CCDI</td>\\n <td>5,882,630.00</td>\\n <td></td>\\n <td>2,251,885,521.71</td>\\n </tr>\\n <tr>\\n <td>4795</td>\\n <td>18-04-2023 18:01</td>\\n <td>FT23108KP9Y5\\\\BNK</td>\\n <td>18042023</td>\\n <td>Gaji 18 April 2023</td>\\n <td>CCDI</td>\\n <td>5,934,862.00</td>\\n <td></td>\\n <td>2,245,950,659.71</td>\\n </tr>\\n <tr>\\n <td>4796</td>\\n <td>18-04-2023 18:02</td>\\n <td>FT23108W017Y\\\\BNK</td>\\n <td>18042023</td>\\n <td>Gaji 18 April 2023</td>\\n <td>CCDI</td>\\n <td>11,384,458.00</td>\\n <td></td>\\n <td>2,234,566,201.71</td>\\n </tr>\\n <tr>\\n <td>4797</td>\\n <td>18-04-2023 18:02</td>\\n <td>FT23108VC048\\\\BNK</td>\\n <td>18042023</td>\\n <td>Gaji 18 April 2023</td>\\n <td></td>\\n <td>12,993,232.00</td>\\n <td></td>\\n <td>2,221,572,969.71</td>\\n </tr>\\n <tr>\\n <td>4798</td>\\n <td>18-04-2023 18:02</td>\\n <td>FT23108XV5N1\\\\BNK</td>\\n <td>18042023</td>\\n <td>Gaji 18 April 2023</td>\\n <td>CCDI</td>\\n <td>13,843,386.00</td>\\n <td></td>\\n <td>2,207,729,583.71</td>\\n </tr>\\n <tr>\\n <td>4799</td>\\n <td>18-04-2023 18:02</td>\\n <td>FT23108YLWC5\\\\BNK</td>\\n <td>18042023</td>\\n <td>Gaji 18 April 2023</td>\\n <td>CCDI</td>\\n <td>15,007,948.00</td>\\n <td></td>\\n <td>2,192,721,635.71</td>\\n </tr>\\n <tr>\\n <td>4800</td>\\n <td>18-04-2023 18:02</td>\\n <td>FT23108PBVRM\\\\BNK</td>\\n <td>18042023</td>\\n <td>Gaji 18 April 2023</td>\\n <td></td>\\n <td>15,030,377.00</td>\\n <td></td>\\n <td>2,177,691,258.71</td>\\n </tr>\\n <tr>\\n <td>4801</td>\\n <td>18-04-2023 18:02</td>\\n <td>FT23108PG3C6\\\\BNK</td>\\n <td>18042023</td>\\n <td>Gaji 18 April 2023</td>\\n <td>CCDI</td>\\n <td>15,786,543.00</td>\\n <td></td>\\n <td>2,161,904,715.71</td>\\n </tr>\\n <tr>\\n <td>4802</td>\\n <td>18-04-2023 18:02</td>\\n <td>FT23108TXHPP\\\\BNK</td>\\n <td>18042023</td>\\n <td>Gaji 18 April 2023</td>\\n <td>CCDI</td>\\n <td>15,977,707.00</td>\\n <td></td>\\n <td>2,145,927,008.71</td>\\n </tr>\\n <tr>\\n <td>4803</td>\\n <td>18-04-2023 18:02</td>\\n <td>FT23108VP4CM\\\\BNK</td>\\n <td>18042023</td>\\n <td>Gaji 18 April 2023</td>\\n <td>CCDI</td>\\n <td>16,246,672.00</td>\\n <td></td>\\n <td>2,129,680,336.71</td>\\n </tr>\\n <tr>\\n <td>4804</td>\\n <td>18-04-2023 18:02</td>\\n <td>FT23108RR6KG\\\\BNK</td>\\n <td>18042023</td>\\n <td>Gaji 18 April 2023</td>\\n <td>CCDI</td>\\n <td>1,712,242.00</td>\\n <td></td>\\n <td>2,127,968,094.71</td>\\n </tr>\\n <tr>\\n <td>4805</td>\\n <td>18-04-2023 18:02</td>\\n <td>FT23108WR4Z3\\\\BNK</td>\\n <td>18042023</td>\\n <td>Gaji 18 April 2023</td>\\n <td>CCDI</td>\\n <td>18,404,760.00</td>\\n <td></td>\\n <td>2,109,563,334.71</td>\\n </tr>\\n <tr>\\n <td>4806</td>\\n <td>18-04-2023 18:02</td>\\n <td>FT23108X2RRH\\\\BNK</td>\\n <td>18042023</td>\\n <td>Gaji 18 April 2023</td>\\n <td>CCDI</td>\\n <td>20,704,381.00</td>\\n <td></td>\\n <td>2,088,858,953.71</td>\\n </tr>\\n <tr>\\n <td>4807</td>\\n <td>18-04-2023 18:02</td>\\n <td>FT23108YXDGD\\\\BNK</td>\\n <td>18042023</td>\\n <td>Gaji 18 April 2023</td>\\n <td>CCDI</td>\\n <td>21,382,634.00</td>\\n <td></td>\\n <td>2,067,476,319.71</td>\\n </tr>\\n <tr>\\n <td>4808</td>\\n <td>18-04-2023 18:02</td>\\n <td>FT23108S27PD\\\\BNK</td>\\n <td>18042023</td>\\n <td>Gaji 18 April 2023</td>\\n <td>CCDI</td>\\n <td>3,626,951.00</td>\\n <td></td>\\n <td>2,063,849,368.71</td>\\n </tr>\\n <tr>\\n <td>4809</td>\\n <td>18-04-2023 18:02</td>\\n <td>FT23108SHN2Y\\\\BNK</td>\\n <td>18042023</td>\\n <td>Gaji 18 April 2023</td>\\n <td>CCDI</td>\\n <td>3,652,654.00</td>\\n <td></td>\\n <td>2,060,196,714.71</td>\\n </tr>\\n <tr>\\n <td>4810</td>\\n <td>18-04-2023 18:02</td>\\n <td>FT23108T81W3\\\\BNK</td>\\n <td>18042023</td>\\n <td>Gaji 18 April 2023</td>\\n <td>CCDI</td>\\n <td>3,858,357.00</td>\\n <td></td>\\n <td>2,056,338,357.71</td>\\n </tr>\\n <tr>\\n <td>4811</td>\\n <td>18-04-2023 18:02</td>\\n <td>FT23108TL7G8\\\\BNK</td>\\n <td>18042023</td>\\n <td>Gaji 18 April 2023</td>\\n <td>CCDI</td>\\n <td>3,858,357.00</td>\\n <td></td>\\n <td>2,052,480,000.71</td>\\n </tr>\\n <tr>\\n <td>4812</td>\\n <td>18-04-2023 18:02</td>\\n <td>FT23108Y8D9F\\\\BNK</td>\\n <td>18042023</td>\\n <td>Gaji 18 April 2023</td>\\n <td>CCDI</td>\\n <td>3,922,503.00</td>\\n <td></td>\\n <td>2,048,557,497.71</td>\\n </tr>\\n <tr>\\n <td>4813</td>\\n <td>18-04-2023 18:02</td>\\n <td>FT23108P2L3Q\\\\BNK</td>\\n <td>18042023</td>\\n <td>Gaji 18 April 2023</td>\\n <td>CCDI</td>\\n <td>5,559,139.00</td>\\n <td></td>\\n <td>2,042,998,358.71</td>\\n </tr>\\n <tr>\\n <td>4814</td>\\n <td>18-04-2023 18:03</td>\\n <td>FT2310803P16\\\\BNK</td>\\n <td>18042023</td>\\n <td>Gaji 18 April 2023</td>\\n <td>CCDI</td>\\n <td>12,768,788.00</td>\\n <td></td>\\n <td>2,030,229,570.71</td>\\n </tr>\\n <tr>\\n <td>4815</td>\\n <td>18-04-2023 18:03</td>\\n <td>FT23108ZP97F\\\\BNK</td>\\n <td>18042023</td>\\n <td>Gaji 18 April 2023</td>\\n <td>CCDI</td>\\n <td>14,562,557.00</td>\\n <td></td>\\n <td>2,015,667,013.71</td>\\n </tr>\\n <tr>\\n <td>4816</td>\\n <td>18-04-2023 18:03</td>\\n <td>FT231083BVXM\\\\BNK</td>\\n <td>18042023</td>\\n <td>Gaji 18 April 2023</td>\\n <td></td>\\n <td>3,154,819.00</td>\\n <td></td>\\n <td>2,012,512,194.71</td>\\n </tr>\\n <tr>\\n <td>4817</td>\\n <td>18-04-2023 18:03</td>\\n <td>FT23108PX9LM\\\\BNK</td>\\n <td>18042023</td>\\n <td>Gaji 18 April 2023</td>\\n <td>CCDI</td>\\n <td>3,652,654.00</td>\\n <td></td>\\n <td>2,008,859,540.71</td>\\n </tr>\\n <tr>\\n <td>4818</td>\\n <td>18-04-2023 18:03</td>\\n <td>FT231082H0Z5\\\\BNK</td>\\n <td>18042023</td>\\n <td>Gaji 18 April 2023</td>\\n <td>CCDI</td>\\n <td>3,652,654.00</td>\\n <td></td>\\n <td>2,005,206,886.71</td>\\n </tr>\\n <tr>\\n <td>4819</td>\\n <td>18-04-2023 18:03</td>\\n <td>FT23108PS46C\\\\BNK</td>\\n <td>18042023</td>\\n <td>Gaji 18 April 2023</td>\\n <td>CCDI</td>\\n <td>4,340,958.00</td>\\n <td></td>\\n <td>2,000,865,928.71</td>\\n </tr>\\n <tr>\\n <td>4820</td>\\n <td>18-04-2023 18:03</td>\\n <td>FT23108PZYPX\\\\BNK</td>\\n <td>18042023</td>\\n <td>Gaji 18 April 2023</td>\\n <td>CCDI</td>\\n <td>4,390,958.00</td>\\n <td></td>\\n <td>1,996,474,970.71</td>\\n </tr>\\n <tr>\\n <td>4821</td>\\n <td>18-04-2023 18:03</td>\\n <td>FT2310852JGN\\\\BNK</td>\\n <td>18042023</td>\\n <td>Gaji 18 April 2023</td>\\n <td>CCDI</td>\\n <td>4,441,447.00</td>\\n <td></td>\\n <td>1,992,033,523.71</td>\\n </tr>\\n <tr>\\n <td>4822</td>\\n <td>18-04-2023 18:03</td>\\n <td>FT231081MS53\\\\BNK</td>\\n <td>18042023</td>\\n <td>Gaji 18 April 2023</td>\\n <td>CCDI</td>\\n <td>4,460,526.00</td>\\n <td></td>\\n <td>1,987,572,997.71</td>\\n </tr>\\n <tr>\\n <td>4823</td>\\n <td>18-04-2023 18:03</td>\\n <td>FT2310815RNY\\\\BNK</td>\\n <td>18042023</td>\\n <td>Gaji 18 April 2023</td>\\n <td>CCDI</td>\\n <td>4,710,526.00</td>\\n <td></td>\\n <td>1,982,862,471.71</td>\\n </tr>\\n <tr>\\n <td>4824</td>\\n <td>18-04-2023 18:03</td>\\n <td>FT2310847DHY\\\\BNK</td>\\n <td>18042023</td>\\n <td>Gaji 18 April 2023</td>\\n <td>CCDI</td>\\n <td>4,885,080.00</td>\\n <td></td>\\n <td>1,977,977,391.71</td>\\n </tr>\\n <tr>\\n <td>4825</td>\\n <td>18-04-2023 18:03</td>\\n <td>FT23108ZBX0H\\\\BNK</td>\\n <td>18042023</td>\\n <td>Gaji 18 April 2023</td>\\n <td>CCDI</td>\\n <td>4,952,814.00</td>\\n <td></td>\\n <td>1,973,024,577.71</td>\\n </tr>\\n <tr>\\n <td>4826</td>\\n <td>18-04-2023 18:03</td>\\n <td>FT23108Q7ZLV\\\\BNK</td>\\n <td>18042023</td>\\n <td>Gaji 18 April 2023</td>\\n <td></td>\\n <td>5,126,179.00</td>\\n <td></td>\\n <td>1,967,898,398.71</td>\\n </tr>\\n <tr>\\n <td>4827</td>\\n <td>18-04-2023 18:03</td>\\n <td>FT231080FR41\\\\BNK</td>\\n <td>18042023</td>\\n <td>Gaji 18 April 2023</td>\\n <td></td>\\n <td>5,153,764.00</td>\\n <td></td>\\n <td>1,962,744,634.71</td>\\n </tr>\\n <tr>\\n <td>4828</td>\\n <td>18-04-2023 18:03</td>\\n <td>FT23108Q2NDL\\\\BNK</td>\\n <td>18042023</td>\\n <td>Gaji 18 April 2023</td>\\n <td>CCDI</td>\\n <td>8,218,266.00</td>\\n <td></td>\\n <td>1,954,526,368.71</td>\\n </tr>\\n <tr>\\n <td>4829</td>\\n <td>18-04-2023 18:04</td>\\n <td>FT23108QBCYP\\\\BNK</td>\\n <td>18042023</td>\\n <td>Gaji 18 April 2023</td>\\n <td></td>\\n <td>3,883,896.00</td>\\n <td></td>\\n <td>1,950,642,472.71</td>\\n </tr>\\n <tr>\\n <td>4830</td>\\n <td>18-04-2023 18:04</td>\\n <td>FT23108QF0PS\\\\BNK</td>\\n <td>18042023</td>\\n <td>Gaji 18 April 2023</td>\\n <td></td>\\n <td>3,908,968.00</td>\\n <td></td>\\n <td>1,946,733,504.71</td>\\n </tr>\\n <tr>\\n <td>4831</td>\\n <td>18-04-2023 18:04</td>\\n <td>FT23108B8N8C\\\\BNK</td>\\n <td>18042023</td>\\n <td>Gaji 18 April 2023</td>\\n <td>CCDI</td>\\n <td>4,271,485.00</td>\\n <td></td>\\n <td>1,942,462,019.71</td>\\n </tr>\\n <tr>\\n <td>4832</td>\\n <td>18-04-2023 18:04</td>\\n <td>FT23108QPSF3\\\\BNK</td>\\n <td>18042023</td>\\n <td>Gaji 18 April 2023</td>\\n <td>CCDI</td>\\n <td>4,344,204.00</td>\\n <td></td>\\n <td>1,938,117,815.71</td>\\n </tr>\\n <tr>\\n <td>4833</td>\\n <td>18-04-2023 18:04</td>\\n <td>FT231087X4LJ\\\\BNK</td>\\n <td>18042023</td>\\n <td>Gaji 18 April 2023</td>\\n <td>CCDI</td>\\n <td>4,390,958.00</td>\\n <td></td>\\n <td>1,933,726,857.71</td>\\n </tr>\\n <tr>\\n <td>4834</td>\\n <td>18-04-2023 18:04</td>\\n <td>FT231088BL0H\\\\BNK</td>\\n <td>18042023</td>\\n <td>Gaji 18 April 2023</td>\\n <td>CCDI</td>\\n <td>4,390,958.00</td>\\n <td></td>\\n <td>1,929,335,899.71</td>\\n </tr>\\n <tr>\\n <td>4835</td>\\n <td>18-04-2023 18:04</td>\\n <td>FT231087GXXT\\\\BNK</td>\\n <td>18042023</td>\\n <td>Gaji 18 April 2023</td>\\n <td>CCDI</td>\\n <td>4,390,958.00</td>\\n <td></td>\\n <td>1,924,944,941.71</td>\\n </tr>\\n <tr>\\n <td>4836</td>\\n <td>18-04-2023 18:04</td>\\n <td>FT23108QRRRS\\\\BNK</td>\\n <td>18042023</td>\\n <td>Gaji 18 April 2023</td>\\n <td>CCDI</td>\\n <td>4,588,234.00</td>\\n <td></td>\\n <td>1,920,356,707.71</td>\\n </tr>\\n <tr>\\n <td>4837</td>\\n <td>18-04-2023 18:04</td>\\n <td>FT23108933F6\\\\BNK</td>\\n <td>18042023</td>\\n <td>Gaji 18 April 2023</td>\\n <td>CCDI</td>\\n <td>4,756,984.00</td>\\n <td></td>\\n <td>1,915,599,723.71</td>\\n </tr>\\n <tr>\\n <td>4838</td>\\n <td>18-04-2023 18:04</td>\\n <td>FT23108C1V8S\\\\BNK</td>\\n <td>18042023</td>\\n <td>Gaji 18 April 2023</td>\\n <td></td>\\n <td>4,776,179.00</td>\\n <td></td>\\n <td>1,910,823,544.71</td>\\n </tr>\\n <tr>\\n <td>4839</td>\\n <td>18-04-2023 18:04</td>\\n <td>FT231085Z2JW\\\\BNK</td>\\n <td>18042023</td>\\n <td>Gaji 18 April 2023</td>\\n <td></td>\\n <td>4,919,132.00</td>\\n <td></td>\\n <td>1,905,904,412.71</td>\\n </tr>\\n <tr>\\n <td>4840</td>\\n <td>18-04-2023 18:04</td>\\n <td>FT231086QH58\\\\BNK</td>\\n <td>18042023</td>\\n <td>Gaji 18 April 2023</td>\\n <td></td>\\n <td>4,919,132.00</td>\\n <td></td>\\n <td>1,900,985,280.71</td>\\n </tr>\\n <tr>\\n <td>4841</td>\\n <td>18-04-2023 18:04</td>\\n <td>FT23108QN7LN\\\\BNK</td>\\n <td>18042023</td>\\n <td>Gaji 18 April 2023</td>\\n <td>CCDI</td>\\n <td>4,971,564.00</td>\\n <td></td>\\n <td>1,896,013,716.71</td>\\n </tr>\\n <tr>\\n <td>4842</td>\\n <td>18-04-2023 18:04</td>\\n <td>FT23108CH6GH\\\\BNK</td>\\n <td>18042023</td>\\n <td>Gaji 18 April 2023</td>\\n <td></td>\\n <td>5,126,179.00</td>\\n <td></td>\\n <td>1,890,887,537.71</td>\\n </tr>\\n <tr>\\n <td>4843</td>\\n <td>18-04-2023 18:04</td>\\n <td>FT23108CXB6F\\\\BNK</td>\\n <td>18042023</td>\\n <td>Gaji 18 April 2023</td>\\n <td></td>\\n <td>5,589,294.00</td>\\n <td></td>\\n <td>1,885,298,243.71</td>\\n </tr>\\n <tr>\\n <td>4844</td>\\n <td>18-04-2023 18:04</td>\\n <td>FT231088NFZB\\\\BNK</td>\\n <td>18042023</td>\\n <td>Gaji 18 April 2023</td>\\n <td>CCDI</td>\\n <td>795,088.00</td>\\n <td></td>\\n <td>1,884,503,155.71</td>\\n </tr>\\n <tr>\\n <td>4845</td>\\n <td>18-04-2023 18:05</td>\\n <td>FT23108FFK4B\\\\BNK</td>\\n <td>18042023</td>\\n <td>Gaji 18 April 2023</td>\\n <td>CCDI</td>\\n <td>2,740,757.00</td>\\n <td></td>\\n <td>1,881,762,398.71</td>\\n </tr>\\n <tr>\\n <td>4846</td>\\n <td>18-04-2023 18:05</td>\\n <td>FT23108FVRZM\\\\BNK</td>\\n <td>18042023</td>\\n <td>Gaji 18 April 2023</td>\\n <td>CCDI</td>\\n <td>3,652,654.00</td>\\n <td></td>\\n <td>1,878,109,744.71</td>\\n </tr>\\n <tr>\\n <td>4847</td>\\n <td>18-04-2023 18:05</td>\\n <td>FT23108G5YRL\\\\BNK</td>\\n <td>18042023</td>\\n <td>Gaji 18 April 2023</td>\\n <td>CCDI</td>\\n <td>3,858,357.00</td>\\n <td></td>\\n <td>1,874,251,387.71</td>\\n </tr>\\n <tr>\\n <td>4848</td>\\n <td>18-04-2023 18:05</td>\\n <td>FT23108JC1JT\\\\BNK</td>\\n <td>180423</td>\\n <td>Gaji Pengelola April 2023</td>\\n <td></td>\\n <td>3,869,980.00</td>\\n <td></td>\\n <td>1,870,381,407.71</td>\\n </tr>\\n <tr>\\n <td>4849</td>\\n <td>18-04-2023 18:05</td>\\n <td>FT23108RJNKD\\\\BNK</td>\\n <td>18042023</td>\\n <td>Gaji 18 April 2023</td>\\n <td>CCDI</td>\\n <td>4,269,763.00</td>\\n <td></td>\\n <td>1,866,111,644.71</td>\\n </tr>\\n <tr>\\n <td>4850</td>\\n <td>18-04-2023 18:05</td>\\n <td>FT23108R05Z5\\\\BNK</td>\\n <td>18042023</td>\\n <td>Gaji 18 April 2023</td>\\n <td>CCDI</td>\\n <td>4,394,204.00</td>\\n <td></td>\\n <td>1,861,717,440.71</td>\\n </tr>\\n <tr>\\n <td>4851</td>\\n <td>18-04-2023 18:05</td>\\n <td>FT23108KK7T6\\\\BNK</td>\\n <td>18042023</td>\\n <td>Gaji 18 April 2023</td>\\n <td>CCDI</td>\\n <td>4,710,526.00</td>\\n <td></td>\\n <td>1,857,006,914.71</td>\\n </tr>\\n </tbody>\\n</table>\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/BTN 2195 JUNI 2023_page-0001.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 1397,\n 40,\n 1688,\n 140\n ],\n \"category\": \"Page-header\",\n \"text\": \"Bank BTN\\nSahabat Keluarga Indonesia\"\n },\n {\n \"bbox\": [\n 741,\n 197,\n 1009,\n 228\n ],\n \"category\": \"Section-header\",\n \"text\": \"Account Statement\"\n },\n {\n \"bbox\": [\n 72,\n 287,\n 850,\n 644\n ],\n \"category\": \"Text\",\n \"text\": \"Company : PT GARDA BANGSA SECURINDO\\nAccount : 0013001300002195 - GARDA BANGSA SECURIN\\nAccount Organization Unit : KC CIBINONG\\nPeriod : 06-2023\\nStarting Balance : IDR 51,342,976.54\\nEnding Balance : IDR 4,752,254.53\\nTotal Transaction Debit : 21\\nTotal Transaction Credit : 7\\nPage : 1 of 1\"\n },\n {\n \"bbox\": [\n 58,\n 681,\n 1690,\n 1925\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>No.</th><th>Posting Date</th><th>Posting Time</th><th>Eff Date</th><th>Eff Time</th><th>Description</th><th>Debit</th><th>Credit</th><th>Balance</th><th>Ref No.</th></tr></thead><tbody><tr><td>1</td><td>06/06</td><td>07:38:23</td><td>06/06</td><td>07:38:23</td><td>Salary Crediting 060623</td><td>36,998,586.00</td><td>0.00</td><td>14,344,390.54</td><td>23060696019990015141</td></tr><tr><td>2</td><td>06/06</td><td>11:51:29</td><td>06/06</td><td>11:51:29</td><td>MUTASI DARI BCA GARDA 7324 KEBTN GARDA 2</td><td>0.00</td><td>150,000,000.00</td><td>164,344,390.54</td><td>23060696219991909731</td></tr><tr><td>3</td><td>06/06</td><td>14:24:19</td><td>06/06</td><td>14:24:19</td><td>SALARY ANGGOTA MEI 2023KENTA INDO TUNGA</td><td>1,860,798.00</td><td>0.00</td><td>162,483,592.54</td><td>23060696049990016090</td></tr><tr><td>4</td><td>06/06</td><td>14:24:22</td><td>06/06</td><td>14:24:22</td><td>Salary Crediting 060623</td><td>155,090,369.00</td><td>0.00</td><td>7,393,223.54</td><td>23060696019990016114</td></tr><tr><td>5</td><td>15/06</td><td>15:05:26</td><td>15/06</td><td>15:05:26</td><td>MUTASI DARI BCA GARDA 7324 KEBTN GARDA 2</td><td>0.00</td><td>115,000,000.00</td><td>122,393,223.54</td><td>23061596219992562873</td></tr><tr><td>6</td><td>15/06</td><td>15:41:28</td><td>15/06</td><td>15:41:28</td><td>MUTASI DARI BCA GARDA 7324 KEBTN GARDA 2</td><td>0.00</td><td>15,000,000.00</td><td>137,393,223.54</td><td>23061596219992564573</td></tr><tr><td>7</td><td>15/06</td><td>16:08:10</td><td>15/06</td><td>16:08:10</td><td>Salary Crediting 150623</td><td>17,833,333.00</td><td>0.00</td><td>119,559,890.54</td><td>23061596079990016439</td></tr><tr><td>8</td><td>15/06</td><td>16:08:11</td><td>15/06</td><td>16:08:11</td><td>SALARY STAFF PUSAT PERIODE 16 MEI - 15 JU</td><td>7,454,798.00</td><td>0.00</td><td>112,105,092.54</td><td>23061596019990016440</td></tr><tr><td>9</td><td>15/06</td><td>16:08:14</td><td>15/06</td><td>16:08:14</td><td>DANA PENSIUN ALM OPA NGATMAN PERIODE 16 M</td><td>1,500,000.00</td><td>0.00</td><td>110,605,092.54</td><td>23061596049990016449</td></tr><tr><td>10</td><td>15/06</td><td>16:08:19</td><td>15/06</td><td>16:08:19</td><td>Salary Crediting 150623</td><td>106,349,873.00</td><td>0.00</td><td>4,255,219.54</td><td>23061596019990016443</td></tr><tr><td>11</td><td>20/06</td><td>14:04:44</td><td>20/06</td><td>14:04:44</td><td>MUTASI DARI BCA GARDA 7324 KEBTN GARDA 2</td><td>0.00</td><td>6,000,000.00</td><td>10,255,219.54</td><td>23062096219992801906</td></tr><tr><td>12</td><td>20/06</td><td>14:26:47</td><td>20/06</td><td>14:26:47</td><td>Salary Crediting 200623</td><td>9,425,000.00</td><td>0.00</td><td>830,219.54</td><td>23062096069990015961</td></tr><tr><td>13</td><td>26/06</td><td>10:20:42</td><td>26/06</td><td>10:20:42</td><td>m239/scpu/pbk</td><td>0.00</td><td>380,000,000.00</td><td>380,830,219.54</td><td>23062600143070000025</td></tr><tr><td>14</td><td>26/06</td><td>11:16:28</td><td>26/06</td><td>11:16:28</td><td>MUTASI DARI BTN GARDA 2195 KE BRI GARDA1</td><td>150,002,900.00</td><td>0.00</td><td>230,827,319.54</td><td>23062696069990015881</td></tr><tr><td>15</td><td>26/06</td><td>11:16:31</td><td>26/06</td><td>11:16:31</td><td>MUTASI DARI BTN GARDA 2195 KE BCA GARDA7</td><td>200,002,900.00</td><td>0.00</td><td>30,824,419.54</td><td>23062696059990015893</td></tr><tr><td>16</td><td>27/06</td><td>13:46:58</td><td>27/06</td><td>13:46:58</td><td>9602999.0081330014322366:000627010279</td><td>6,500.00</td><td>0.00</td><td>30,817,919.54</td><td>23062796029990017067</td></tr><tr><td>17</td><td>27/06</td><td>13:46:58</td><td>27/06</td><td>13:46:58</td><td>9602999.0081330014322366:000627010279</td><td>29,000,000.00</td><td>0.00</td><td>1,817,919.54</td><td>23062796029990017067</td></tr><tr><td>18</td><td>27/06</td><td>14:31:39</td><td>27/06</td><td>14:31:39</td><td>230231304000418000001</td><td>0.00</td><td>132,649,225.00</td><td>134,467,144.54</td><td>23062796649996563374</td></tr><tr><td>19</td><td>28/06</td><td>10:49:06</td><td>28/06</td><td>10:49:06</td><td>9601999:002222101000001303:000628012035</td><td>6,500.00</td><td>0.00</td><td>134,460,644.54</td><td>23062896019990015528</td></tr><tr><td>20</td><td>28/06</td><td>10:49:06</td><td>28/06</td><td>10:49:06</td><td>9601999:002222101000001303:000628012035</td><td>50,000,000.00</td><td>0.00</td><td>84,460,644.54</td><td>23062896019990015528</td></tr><tr><td>21</td><td>28/06</td><td>11:04:54</td><td>28/06</td><td>11:04:54</td><td>9604999:002222101000001303:000628012080</td><td>6,500.00</td><td>0.00</td><td>84,454,144.54</td><td>23062896049990015552</td></tr><tr><td>22</td><td>28/06</td><td>11:04:54</td><td>28/06</td><td>11:04:54</td><td>9604999:002222101000001303:000628012080</td><td>35,000,000.00</td><td>0.00</td><td>49,454,144.54</td><td>23062896049990015552</td></tr><tr><td>23</td><td>28/06</td><td>11:48:26</td><td>28/06</td><td>11:48:26</td><td>Salary Crediting 280623</td><td>7,382,930.00</td><td>0.00</td><td>42,071,214.54</td><td>23062896069990015622</td></tr><tr><td>24</td><td>28/06</td><td>11:48:29</td><td>28/06</td><td>11:48:29</td><td>Salary Crediting 280623</td><td>37,272,746.00</td><td>0.00</td><td>4,798,468.54</td><td>23062896049990015623</td></tr><tr><td>25</td><td>30/06</td><td>00:00:00</td><td>30/06</td><td>00:00:00</td><td>Biaya Administrasi</td><td>25,000.00</td><td>0.00</td><td>4,773,468.54</td><td>23063044000790055354</td></tr><tr><td>26</td><td>30/06</td><td>00:00:00</td><td>30/06</td><td>00:00:00</td><td>Bunga Rekening</td><td>0.00</td><td>4,732.47</td><td>4,778,201.01</td><td>23063044000790055352</td></tr><tr><td>27</td><td>30/06</td><td>00:00:00</td><td>30/06</td><td>00:00:00</td><td>Pungutan denda saldo dibawah</td><td>25,000.00</td><td>0.00</td><td>4,753,201.01</td><td>23063044000790055355</td></tr><tr><td>28</td><td>30/06</td><td>00:00:00</td><td>30/06</td><td>00:00:00</td><td>Pajak</td><td>946.48</td><td>0.00</td><td>4,752,254.53</td><td>23063044000790055353</td></tr></tbody><tfoot><tr><td colspan=\\\"6\\\">Total</td><td>845,244,679.48</td><td>798,653,957.47</td><td></td><td></td></tr></tfoot></table>\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/BTN ALDILA TAHANI_page-0001.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 50,\n 85,\n 313,\n 140\n ],\n \"category\": \"Page-header\",\n \"text\": \"BUMN UNTUK INDONESIA\"\n },\n {\n \"bbox\": [\n 858,\n 85,\n 1185,\n 165\n ],\n \"category\": \"Page-header\",\n \"text\": \"Bank BTN\"\n },\n {\n \"bbox\": [\n 620,\n 249,\n 1056,\n 280\n ],\n \"category\": \"Text\",\n \"text\": \"Nomor Rekening : 0032301610056790\"\n },\n {\n \"bbox\": [\n 88,\n 249,\n 364,\n 284\n ],\n \"category\": \"Section-header\",\n \"text\": \"ALDILA TAHANI\"\n },\n {\n \"bbox\": [\n 620,\n 287,\n 1047,\n 315\n ],\n \"category\": \"Text\",\n \"text\": \"Tanggal Laporan : 07 December 2022\"\n },\n {\n \"bbox\": [\n 696,\n 320,\n 1004,\n 345\n ],\n \"category\": \"Text\",\n \"text\": \"Refferensi : SB2030066132\"\n },\n {\n \"bbox\": [\n 723,\n 353,\n 1098,\n 403\n ],\n \"category\": \"Text\",\n \"text\": \"Periode : 01 December 2022 - 07 December 2022\"\n },\n {\n \"bbox\": [\n 684,\n 411,\n 977,\n 440\n ],\n \"category\": \"Text\",\n \"text\": \"Saldo Awal : Rp35.925,00\"\n },\n {\n \"bbox\": [\n 682,\n 444,\n 962,\n 473\n ],\n \"category\": \"Text\",\n \"text\": \"Saldo Akhir : Rp5.925,00\"\n },\n {\n \"bbox\": [\n 12,\n 544,\n 1227,\n 1712\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>Tgl Txn<br>Txn Date</th><th>Waktu<br>Time</th><th>Uraian Transaksi<br>Description</th><th>Debet<br>Debit</th><th>Kredit<br>Credit</th><th>Saldo<br>Balance</th></tr></thead><tbody><tr><td></td><td></td><td><strong>SALDO AWAL</strong></td><td></td><td></td><td><strong>35.925,00</strong></td></tr><tr><td>01/12</td><td>16:54:25</td><td>BIFAST Incoming SA<br>DANA202212011080541<br>7BINTANGSEPRALIAN<br>TO<br>DR<br>000000000003320121330<br>ESPAY DEBIT INDO<br>000088440731 DBS</td><td></td><td>55.000,00</td><td>90.925,00</td></tr><tr><td>01/12</td><td>19:53:14</td><td>ATM SA Withdrawal<br>40003935<br>6221006500666687<br>7322<br>1953141201200<br>60117322</td><td>50.000,00</td><td></td><td>40.925,00</td></tr><tr><td>02/12</td><td>10:13:57</td><td>BIFAST Incoming SA<br>-<br>DR<br>000000000008520411853<br>DEDI SAPUTRO<br>000000884338 BCA</td><td></td><td>300.000,00</td><td>340.925,00</td></tr><tr><td>03/12</td><td>14:40:05</td><td>ATM SA Withdrawal<br>40003935<br>6221006500666687<br>8105<br>1440051203200<br>60118105</td><td>300.000,00</td><td></td><td>40.925,00</td></tr><tr><td>05/12</td><td>15:22:41</td><td>BIFAST Incoming SA<br>DANA202212055578365<br>1DEZEALRAMADHAN<br>DR<br>000000000003320121330<br>ESPAY DEBIT INDO<br>000016821514 DBS</td><td></td><td>600.000,00</td><td>640.925,00</td></tr><tr><td>05/12</td><td>22:17:51</td><td>AMP Iss Withdr SA<br>S1GPBRA1<br>6221006500666687<br>6311<br>2217511205009<br>60116311</td><td>600.000,00</td><td></td><td>40.925,00</td></tr></tbody></table>\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/BSI ADI JANUAR GEPARI _page-0001.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 55,\n 32,\n 375,\n 127\n ],\n \"category\": \"Page-header\",\n \"text\": \"BSI BANK SYARIAH INDONESIA\"\n },\n {\n \"bbox\": [\n 650,\n 162,\n 765,\n 182\n ],\n \"category\": \"Text\",\n \"text\": \"Rekening : 1/1\"\n },\n {\n \"bbox\": [\n 61,\n 173,\n 353,\n 199\n ],\n \"category\": \"Text\",\n \"text\": \"ADI JANUAR GEPARI\"\n },\n {\n \"bbox\": [\n 948,\n 184,\n 1168,\n 204\n ],\n \"category\": \"Text\",\n \"text\": \"LAPORAN REKENING\"\n },\n {\n \"bbox\": [\n 650,\n 185,\n 875,\n 204\n ],\n \"category\": \"Text\",\n \"text\": \"Periode : 01 - 28 Feb 2023\"\n },\n {\n \"bbox\": [\n 662,\n 221,\n 1161,\n 238\n ],\n \"category\": \"List-item\",\n \"text\": \"- Tarik tunai gratis menggunakan kartu BSI Debit di seluruh ATM Bank Mandiri\"\n },\n {\n \"bbox\": [\n 63,\n 219,\n 542,\n 264\n ],\n \"category\": \"Text\",\n \"text\": \"PERUM MELATI INDAH BLOK A NO 16 4/1 DELIMA\\nTAMPAN KOTA PEKANBARU RIAU\"\n },\n {\n \"bbox\": [\n 662,\n 237,\n 1103,\n 253\n ],\n \"category\": \"List-item\",\n \"text\": \"- Selalu gunakan BSI Mobile anda untuk kemudahan segala transaksi\"\n },\n {\n \"bbox\": [\n 662,\n 252,\n 1086,\n 268\n ],\n \"category\": \"List-item\",\n \"text\": \"- Buka rekening online lebih praktis dan mudah dengan BSI Mobile\"\n },\n {\n \"bbox\": [\n 59,\n 322,\n 275,\n 340\n ],\n \"category\": \"Text\",\n \"text\": \"RINGKASAN TRANSAKSI\"\n },\n {\n \"bbox\": [\n 779,\n 322,\n 1181,\n 340\n ],\n \"category\": \"Text\",\n \"text\": \"TABUNGAN BSI WADIAH - IDR - 7145817492\"\n },\n {\n \"bbox\": [\n 57,\n 347,\n 1182,\n 537\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><td>Tgl Trx</td><td>Jam</td><td>Keterangan</td><td>Reff</td><td>Debit</td><td>Kredit</td><td>Saldo</td></tr></thead><tbody><tr><td></td><td></td><td>Saldo Bulan Lalu</td><td></td><td></td><td></td><td>101,650.00</td></tr><tr><td></td><td></td><td></td><td></td><td></td><td>Saldo Awal</td><td>101,650.00</td></tr><tr><td></td><td></td><td></td><td></td><td></td><td>Mutasi Kredit</td><td>0.00</td></tr><tr><td></td><td></td><td></td><td></td><td></td><td>Mutasi Debit</td><td>0.00</td></tr><tr><td></td><td></td><td></td><td></td><td></td><td>Saldo Akhir</td><td>101,650.00</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 517,\n 630,\n 723,\n 648\n ],\n \"category\": \"Text\",\n \"text\": \"--- AKHIR LAPORAN ---\"\n },\n {\n \"bbox\": [\n 869,\n 1663,\n 1180,\n 1704\n ],\n \"category\": \"Page-footer\",\n \"text\": \"www.bankbsi.co.id\\nBank Syariah Indonesia Call 14040\"\n },\n {\n \"bbox\": [\n 872,\n 1717,\n 896,\n 1732\n ],\n \"category\": \"Picture\",\n \"text\": \"\"\n },\n {\n \"bbox\": [\n 1154,\n 1717,\n 1178,\n 1732\n ],\n \"category\": \"Picture\",\n \"text\": \"\"\n },\n {\n \"bbox\": [\n 846,\n 1716,\n 872,\n 1734\n ],\n \"category\": \"Page-footer\",\n \"text\": \"OK\"\n },\n {\n \"bbox\": [\n 1131,\n 1716,\n 1154,\n 1734\n ],\n \"category\": \"Picture\",\n \"text\": \"\"\n },\n {\n \"bbox\": [\n 318,\n 1717,\n 843,\n 1734\n ],\n \"category\": \"Page-footer\",\n \"text\": \"PT Bank Syariah Indonesia, Tbk terdaftar dan diawasi oleh Otoritas Jasa Keuangan\"\n },\n {\n \"bbox\": [\n 898,\n 1717,\n 1125,\n 1734\n ],\n \"category\": \"Page-footer\",\n \"text\": \"dan merupakan Peserta Penjaminan\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/BNI Salwa_page-0002.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 79,\n 81,\n 1124,\n 1655\n ],\n \"category\": \"Table\",\n \"text\": \"<table><tbody><tr><td>2021-07-16</td><td>BIAYA ATM LINK</td><td>Db.</td><td>6.500,00</td><td>44.512.218,00</td></tr><tr><td>2021-07-16</td><td>TRF/PAY/TOP-UP ECHANNEL KARTU 5264220880954296 46.46.46.46 LANDMARK IBJ AKARTA JK</td><td>Db.</td><td>2.955.000,00</td><td>44.518.718,00</td></tr><tr><td>2021-07-15</td><td>TARIK TUNAI</td><td>Db.</td><td>40.000.000,00</td><td>47.473.718,00</td></tr><tr><td>2021-07-15</td><td>TRANSFER DARI BANAWA CIPTA JAYA TRF TO:000000000735590764</td><td>Cr.</td><td>50.000.000,00</td><td>87.473.718,00</td></tr><tr><td>2021-07-15</td><td>BIAYA ATM LINK</td><td>Db.</td><td>6.500,00</td><td>37.473.718,00</td></tr><tr><td>2021-07-15</td><td>TRF/PAY/TOP-UP ECHANNEL KARTU 5264220880954296 46.46.46.46 LANDMARK IBJ AKARTA JK</td><td>Db.</td><td>1.735.000,00</td><td>37.480.218,00</td></tr><tr><td>2021-07-14</td><td>BIAYA ATM LINK</td><td>Db.</td><td>6.500,00</td><td>39.215.218,00</td></tr><tr><td>2021-07-14</td><td>TRF/PAY/TOP-UP ECHANNEL KARTU 5264220880954296 46.46.46.46 LANDMARK IBJ AKARTA JK</td><td>Db.</td><td>1.500.000,00</td><td>39.221.718,00</td></tr><tr><td>2021-07-14</td><td>BIAYA ATM LINK</td><td>Db.</td><td>6.500,00</td><td>40.721.718,00</td></tr><tr><td>2021-07-14</td><td>TRF/PAY/TOP-UP ECHANNEL KARTU 5264220880954296 46.46.46.46 LANDMARK IBJ AKARTA JK</td><td>Db.</td><td>2.000.000,00</td><td>40.728.218,00</td></tr><tr><td>2021-07-14</td><td>BIAYA ATM LINK</td><td>Db.</td><td>6.500,00</td><td>42.728.218,00</td></tr><tr><td>2021-07-14</td><td>TRF/PAY/TOP-UP ECHANNEL KARTU 5264220880954296 46.46.46.46 LANDMARK IBJ AKARTA JK</td><td>Db.</td><td>1.000.000,00</td><td>42.734.718,00</td></tr><tr><td>2021-07-14</td><td>BIAYA ATM LINK</td><td>Db.</td><td>6.500,00</td><td>43.734.718,00</td></tr><tr><td>2021-07-14</td><td>TRF/PAY/TOP-UP ECHANNEL KARTU 5264220880954296 46.46.46.46 LANDMARK IBJ AKARTA JK</td><td>Db.</td><td>800.000,00</td><td>43.741.218,00</td></tr><tr><td>2021-07-14</td><td>BIAYA ATM LINK</td><td>Db.</td><td>6.500,00</td><td>44.541.218,00</td></tr><tr><td>2021-07-14</td><td>TRF/PAY/TOP-UP ECHANNEL KARTU 5264220880954296 46.46.46.46 LANDMARK IBJ AKARTA JK</td><td>Db.</td><td>1.000.000,00</td><td>44.547.718,00</td></tr><tr><td>2021-07-14</td><td>BIAYA ATM LINK</td><td>Db.</td><td>6.500,00</td><td>45.547.718,00</td></tr><tr><td>2021-07-14</td><td>TRF/PAY/TOP-UP ECHANNEL KARTU 5264220880954296 46.46.46.46 LANDMARK IBJ AKARTA JK</td><td>Db.</td><td>1.000.000,00</td><td>45.554.218,00</td></tr><tr><td>2021-07-14</td><td>BIAYA ATM LINK</td><td>Db.</td><td>6.500,00</td><td>46.554.218,00</td></tr><tr><td>2021-07-14</td><td>TRF/PAY/TOP-UP</td><td>Db.</td><td>1.000.000,00</td><td>46.560.718,00</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 39,\n 1708,\n 235,\n 1724\n ],\n \"category\": \"Page-footer\",\n \"text\": \"Printed on 21/7/2021 9:9:39 Waktu\"\n },\n {\n \"bbox\": [\n 1135,\n 1708,\n 1202,\n 1724\n ],\n \"category\": \"Page-footer\",\n \"text\": \"Page 2 of 6\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/Permata April 2023_page-0007.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 58,\n 38,\n 1686,\n 206\n ],\n \"category\": \"Text\",\n \"text\": \"Inquiry Time : May 17 2023 08:52:43 Group : B579199001 / BHAKTI SATRIA PERSADA PT Account : 00902321578/BHAKTI SATRIA PERSADA (IDR) Period : 01-Apr-2023 - 30-Apr-2023\"\n },\n {\n \"bbox\": [\n 58,\n 265,\n 1729,\n 418\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>No.</th><th>Post Date</th><th>Eff Date</th><th>Transaction Code</th><th>Cheque Number</th><th>Ref No</th><th>Customer Ref No</th><th>Description</th><th>Debit</th><th>Credit</th></tr></thead><tbody><tr><td></td><td></td><td></td><td>803</td><td>0000000000</td><td>0516521001528301</td><td></td><td>BANK MANDIRI</td><td></td><td></td></tr><tr><td colspan=\\\"8\\\">Total</td><td>0.00</td><td>7,799,447.00</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 58,\n 484,\n 1729,\n 1830\n ],\n \"category\": \"Table\",\n \"text\": \"<table><caption>Ledger Balance per 28-Apr-2023</caption><tbody><tr><td>7428-Apr-2023</td><td>28-Apr-2023</td><td>582</td><td>0000000000</td><td></td><td></td><td>TRF INCOMING<br>BIFAST DARI MITRA<br>SELARAS ABADI CV<br>8030330031 BANK<br>CENTRAL ASIA<br>10:30:20 9587106<br>invoice sedia tenaga<br>kerja mrt23</td><td>0.00</td><td>69,622,501.11</td></tr><tr><td>7528-Apr-2023</td><td>28-Apr-2023</td><td>582</td><td>0000000000</td><td></td><td></td><td>TRF INCOMING<br>BIFAST DARI MITRA<br>SELARAS ABADI CV<br>8030330031 BANK<br>CENTRAL ASIA<br>10:30:23 9587106 inv<br>management fee</td><td>0.00</td><td>402,074.00</td></tr><tr><td>7628-Apr-2023</td><td>28-Apr-2023</td><td>803</td><td>0000000000</td><td>CMB4234164953700</td><td></td><td>TRF DARI SCG<br>BARITO LOGISTICS<br>BANK CIMB<br>NIAGAV2304180031/2<br>304190012/230419001<br>5 20230427585539143</td><td>0.00</td><td>399,208,276.00</td></tr><tr><td>7728-Apr-2023</td><td>28-Apr-2023</td><td>803</td><td>0000000000</td><td>CMB4234165003700</td><td></td><td>TRF DARI SCG<br>BARITO LOGISTICS<br>BANK CIMB<br>NIAGAV2303300002/2<br>303300003/230330000<br>4/<br>20230427474475837</td><td>0.00</td><td>448,191,427.00</td></tr><tr><td>7828-Apr-2023</td><td>28-Apr-2023</td><td>803</td><td>0000000000</td><td>CL010393</td><td></td><td>TRF DARI THALES<br>INDONESIA, PT BNP<br>PARIBAS<br>INDONESIA INV 278-<br>282A</td><td>0.00</td><td>36,579,304.00</td></tr><tr><td>7928-Apr-2023</td><td>28-Apr-2023</td><td>050</td><td>0000000000</td><td>0897118918856956</td><td></td><td>BIAYA ADM. TRF<br>RTGS KE PT BHAKTI<br>SATRIA PERSADA<br>7777775515 BANK<br>SYARIAH INDONES<br>JAKARTA PeB<br>13:27:58 PB ke BSI<br>Bhakti</td><td>30,000.00</td><td>0.00</td></tr><tr><td>8028-Apr-2023</td><td>28-Apr-2023</td><td>371</td><td>0000000000</td><td>0897118918856956</td><td></td><td>TRF RTGS KE PT<br>BHAKTI SATRIA<br>PERSADA<br>7777775515 BANK<br>SYARIAH INDONES<br>JAKARTA PeB<br>13:27:58 PB ke BSI<br>Bhakti</td><td>955,000,000.00</td><td>0.00</td></tr></tbody><tfoot><tr><td colspan=\\\"8\\\">Total</td><td>955,030,000.00</td><td>888,069,838.00</td></tr></tfoot></table>\"\n },\n {\n \"bbox\": [\n 58,\n 1896,\n 1729,\n 2089\n ],\n \"category\": \"Table\",\n \"text\": \"<table><caption>Ledger Balance per 30-Apr-2023</caption><tbody><tr><td>8130-Apr-2023</td><td>01-May-2023</td><td>160</td><td>0000000000</td><td>821545176</td><td>PENDAPATAN</td><td>0.00</td><td>2,662,339.11</td></tr><tr><td>8230-Apr-2023</td><td>01-May-2023</td><td>198</td><td>0000000000</td><td>821545176</td><td>PAJAK ATAS BUNGA</td><td>1,151.00</td><td>5,753.00</td></tr><tr><td colspan=\\\"8\\\">Total</td><td>1,151.00</td><td>5,753.00</td></tr><tr><td colspan=\\\"8\\\">Closing Ledger Balance per 30-Apr-2023</td><td>2,666,941.11</td></tr></tbody></table>\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/Permata Jun23_page-0007.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 58,\n 38,\n 1686,\n 206\n ],\n \"category\": \"Text\",\n \"text\": \"Inquiry Time : Jul 20 2023 11:54:07 Group : B579199001 / BHAKTI SATRIA PERSADA PT Account : 00902321578/BHAKTI SATRIA PERSADA (IDR) Period : 01-Jun-2023 - 30-Jun-2023\"\n },\n {\n \"bbox\": [\n 58,\n 264,\n 1729,\n 704\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>No.</th><th>Post Date</th><th>Eff Date</th><th>Transaction Code</th><th>Cheque Number</th><th>Ref No</th><th>Customer Ref No</th><th>Description</th><th>Debit</th><th>Credit</th></tr></thead><tbody><tr><td></td><td></td><td></td><td>559</td><td>0000000000</td><td>0897178919413507</td><td></td><td>0897178919413507</td><td></td><td></td></tr><tr><td>6627-Jun-2023</td><td>27-Jun-2023</td><td>559</td><td>0000000000</td><td>0897178919413492</td><td></td><td></td><td>Biaya Adm. Online PB ke BSI Bhakti 0897178919413492</td><td>7,500.00</td><td>0.00</td></tr><tr><td>6727-Jun-2023</td><td>27-Jun-2023</td><td>374</td><td>0006272023</td><td>0897178919413498</td><td></td><td></td><td>TRF KE PT BHAKTI SATRIA 0777775515 PT. BANK SYARIAH IND PeB via Base24 15:02:14</td><td>50,000,000.00</td><td>0.00</td></tr><tr><td>6827-Jun-2023</td><td>27-Jun-2023</td><td>559</td><td>0000000000</td><td>0897178919413498</td><td></td><td></td><td>Biaya Adm. Online PB ke BSI Bhakti 0897178919413498</td><td>7,500.00</td><td>0.00</td></tr><tr><td colspan=\\\"6\\\">Total</td><td>110,022,500.00</td><td></td><td>37,833,450.00</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 58,\n 770,\n 1729,\n 1156\n ],\n \"category\": \"Table\",\n \"text\": \"<table><tr><td>Ledger Balance per</td><td>30-Jun-2023</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td>1,410,503.68</td></tr><tr><td>6930-Jun-2023</td><td>30-Jun-2023</td><td>582</td><td>0000000000</td><td></td><td></td><td></td><td>TRF INCOMING BIFAST DARI USTEGRA PT 6800640600 BANK CENTRAL ASIA 11:57:15 sedia tenaga kerja dan management fee (21mei-20jun23)</td><td>0.00</td><td>23,738,335.00</td></tr><tr><td>7030-Jun-2023</td><td>01-Jul-2023</td><td>160</td><td>0000000000</td><td></td><td></td><td></td><td>PENDAPATAN</td><td>0.00</td><td>34,714.00</td></tr><tr><td>7130-Jun-2023</td><td>01-Jul-2023</td><td>198</td><td>0000000000</td><td></td><td></td><td></td><td>PAJAK ATAS BUNGA</td><td>6,943.00</td><td>0.00</td></tr><tr><td colspan=\\\"6\\\">Total</td><td>6,943.00</td><td></td><td>23,773,049.00</td></tr><tr><td colspan=\\\"6\\\">Closing Ledger Balance per</td><td>30-Jun-2023</td><td></td><td>25,176,609.68</td></tr></table>\"\n },\n {\n \"bbox\": [\n 69,\n 1282,\n 261,\n 1305\n ],\n \"category\": \"Section-header\",\n \"text\": \"Ineffective Balance\"\n },\n {\n \"bbox\": [\n 58,\n 1316,\n 1734,\n 1630\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>No.</th><th>Post Date</th><th>Eff Date</th><th>Transaction Code</th><th>Cheque Number</th><th>Ref No</th><th>Customer Ref No</th><th>Description</th><th>Debit</th><th>Credit</th></tr></thead><tbody><tr><td colspan=\\\"6\\\">Opening Ineffective Balance per</td><td>01-Jun-2023</td><td></td><td>0.00</td></tr><tr><td colspan=\\\"6\\\"></td><td colspan=\\\"3\\\">Record not found</td></tr><tr><td colspan=\\\"6\\\">Closing Ineffective Balance per</td><td>30-Jun-2023</td><td></td><td>0.00</td></tr><tr><td colspan=\\\"6\\\">Hold Amount</td><td></td><td>0.00</td><td></td></tr><tr><td colspan=\\\"6\\\">Loan Facility</td><td></td><td>0.00</td><td></td></tr><tr><td colspan=\\\"6\\\">Effective Balance per</td><td>30-Jun-2023</td><td></td><td>25,176,609.68</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 58,\n 1736,\n 170,\n 1759\n ],\n \"category\": \"Section-header\",\n \"text\": \"Description:\"\n },\n {\n \"bbox\": [\n 58,\n 1772,\n 294,\n 1795\n ],\n \"category\": \"Text\",\n \"text\": \"# = will be effective today\"\n },\n {\n \"bbox\": [\n 58,\n 1798,\n 340,\n 1821\n ],\n \"category\": \"Text\",\n \"text\": \"@ = will be effective tomorrow\"\n },\n {\n \"bbox\": [\n 58,\n 1822,\n 865,\n 1845\n ],\n \"category\": \"Text\",\n \"text\": \"Effective Balance = Ledger Balance - Ineffective Balance - Hold Amount + Loan Facility\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/BRI_NEW_REKENING_KORAN_ONLINE_007701002482300_2022-11-01_2022-11-30_00317910 (1)_page-0030.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 988,\n 64,\n 1345,\n 86\n ],\n \"category\": \"Page-header\",\n \"text\": \"LAPORAN TRANSAKSI FINANSIAL\"\n },\n {\n \"bbox\": [\n 76,\n 47,\n 356,\n 143\n ],\n \"category\": \"Page-header\",\n \"text\": \"BANK BRI\\nMelayani Dengan Setulus Hati\"\n },\n {\n \"bbox\": [\n 1211,\n 107,\n 1335,\n 124\n ],\n \"category\": \"Page-header\",\n \"text\": \"Halaman 30 dari\"\n },\n {\n \"bbox\": [\n 1315,\n 128,\n 1335,\n 143\n ],\n \"category\": \"Page-header\",\n \"text\": \"32\"\n },\n {\n \"bbox\": [\n 64,\n 179,\n 1328,\n 1556\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>Tanggal Transaksi</th><th>Uraian Transaksi</th><th>Teller</th><th>Debet</th><th>Kredit</th><th>Saldo</th></tr></thead><tbody><tr><td>30/11/22 15:32:27</td><td>NBMB PT MULTI KARYA TO DIDIK SETIAWAN ESB:NBMB:0001500F:488443023457</td><td>8888271</td><td>1,833,000.00</td><td>0.00</td><td>61,067,261.00</td></tr><tr><td>30/11/22 15:33:05</td><td>NBMB PT MULTI KARYA TO PUJI LESTARI ESB:NBMB:0001500F:488443189013</td><td>8888192</td><td>2,000,000.00</td><td>0.00</td><td>59,067,261.00</td></tr><tr><td>30/11/22 15:34:46</td><td>NBMB PT MULTI KARYA TO SAMINO ESB:NBMB:0001500F:488443617261</td><td>8888078</td><td>3,333,000.00</td><td>0.00</td><td>55,734,261.00</td></tr><tr><td>30/11/22 15:35:17</td><td>NBMB PT MULTI KARYA TO MUJITO ESB:NBMB:0001500F:488443748727</td><td>8888134</td><td>2,333,000.00</td><td>0.00</td><td>53,401,261.00</td></tr><tr><td>30/11/22 15:35:57</td><td>NBMB PT MULTI KARYA TO MOCHAMAT IKHWAN ESB:NBMB:0001500F:488443916283</td><td>8888337</td><td>1,166,000.00</td><td>0.00</td><td>52,235,261.00</td></tr><tr><td>30/11/22 15:38:18</td><td>NBMB PT MULTI KARYA TO MOCHAMAT IKHWAN ESB:NBMB:0001500F:488444517756</td><td>8888016</td><td>666,000.00</td><td>0.00</td><td>51,569,261.00</td></tr><tr><td>30/11/22 15:40:07</td><td>NBMB PT MULTI KARYA TO DWIKI PAMBUDI ESB:NBMB:0001500F:488444979413</td><td>8888423</td><td>1,000,000.00</td><td>0.00</td><td>50,569,261.00</td></tr><tr><td>30/11/22 15:40:53</td><td>NBMB PT MULTI KARYA TO DWIKI PAMBUDI ESB:NBMB:0001500F:488445169383</td><td>8888013</td><td>1,000,000.00</td><td>0.00</td><td>49,569,261.00</td></tr><tr><td>30/11/22 15:42:11</td><td>NBMB PT MULTI KARYA TO ARI RAHMAD HERMAW ESB:NBMB:0001500F:488445499250</td><td>8888037</td><td>1,166,000.00</td><td>0.00</td><td>48,403,261.00</td></tr><tr><td>30/11/22 15:42:56</td><td>NBMB PT MULTI KARYA TO RIFRIANTO ESB:NBMB:0001500F:488445686117</td><td>8888464</td><td>1,166,000.00</td><td>0.00</td><td>47,237,261.00</td></tr><tr><td>30/11/22 15:45:39</td><td>NBMB PT MULTI KARYA TO RIFRIANTO ESB:NBMB:0001500F:488446372910</td><td>8888500</td><td>1,166,000.00</td><td>0.00</td><td>46,071,261.00</td></tr><tr><td>30/11/22 15:46:30</td><td>NBMB PT MULTI KARYA TO ABAS BUDIONO ESB:NBMB:0001500F:488446583179</td><td>8888358</td><td>1,666,000.00</td><td>0.00</td><td>44,405,261.00</td></tr><tr><td>30/11/22 15:47:44</td><td>NBMB PT MULTI KARYA TO ATO SUNARTO ESB:NBMB:0001500F:488446902335</td><td>8888087</td><td>2,000,000.00</td><td>0.00</td><td>42,405,261.00</td></tr><tr><td>30/11/22 15:48:31</td><td>NBMB PT MULTI KARYA TO HASAN ABIDIN ESB:NBMB:0001500F:488447102034</td><td>8888272</td><td>533,000.00</td><td>0.00</td><td>41,872,261.00</td></tr><tr><td>30/11/22 15:50:22</td><td>NBMB PT MULTI KARYA TO EKO SETIONO ESB:NBMB:0001500F:488447566614</td><td>8888529</td><td>664,000.00</td><td>0.00</td><td>41,208,261.00</td></tr><tr><td>30/11/22 15:51:46</td><td>NBMB PT MULTI KARYA TO IFAN RIANTONO ESB:NBMB:0001500F:488447920409</td><td>8888019</td><td>500,000.00</td><td>0.00</td><td>40,708,261.00</td></tr><tr><td>30/11/22 15:52:28</td><td>NBMB PT MULTI KARYA TO SUKENDRO ESB:NBMB:0001500F:488448097935</td><td>8888240</td><td>1,333,000.00</td><td>0.00</td><td>39,375,261.00</td></tr><tr><td>30/11/22 15:53:00</td><td>NBMB PT MULTI KARYA TO GEMA RAMDANIA ESB:NBMB:0001500F:488448232629</td><td>8888085</td><td>2,000,000.00</td><td>0.00</td><td>37,375,261.00</td></tr><tr><td>30/11/22 15:57:16</td><td>NBMB PT MULTI KARYA TO ENOL ESB:NBMB:0001500F:488449306177</td><td>8888133</td><td>1,000,000.00</td><td>0.00</td><td>36,375,261.00</td></tr><tr><td>30/11/22 15:59:05</td><td>NBMB PT MULTI KARYA TO NURBAETI ESB:NBMB:0001500F:488449762735</td><td>8888549</td><td>2,333,000.00</td><td>0.00</td><td>34,042,261.00</td></tr><tr><td>30/11/22 16:00:41</td><td>NBMB PT MULTI KARYA TO AMSIYAH ESB:NBMB:0001500F:488450159929</td><td>8888368</td><td>1,500,000.00</td><td>0.00</td><td>32,542,261.00</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 1158,\n 1649,\n 1365,\n 1710\n ],\n \"category\": \"Page-footer\",\n \"text\": \"12/07/2022 02:42:27 PM\\n00317910\\nSalma Yuli\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/Permata Feb 2023_page-0003.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 57,\n 40,\n 1688,\n 208\n ],\n \"category\": \"Text\",\n \"text\": \"Inquiry Time : Mar 02 2023 14:20:59 Group : B579199001 / BHAKTI SATRIA PERSADA PT Account : 00902321578/BHAKTI SATRIA PERSADA (IDR) Period : 01-Feb-2023 - 28-Feb-2023\"\n },\n {\n \"bbox\": [\n 57,\n 264,\n 1730,\n 589\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>No.</th><th>Post Date</th><th>Eff Date</th><th>Transaction Code</th><th>Cheque Number</th><th>Ref No</th><th>Customer Ref No</th><th>Description</th><th>Debit</th><th>Credit</th></tr></thead><tbody><tr><td></td><td></td><td></td><td>803</td><td>0000000000</td><td>T98928E57E59B0D4</td><td></td><td>BANK NEGARA INDONESIAPEMBY PT ENSEVAL BKS AC R.DINAS ABM OKT2</td><td></td><td></td></tr><tr><td>2110-Feb-2023</td><td>10-Feb-2023</td><td></td><td>803</td><td>0000000000</td><td>IBB-SK1002/94257</td><td></td><td>TRF DARI CIPTA NISSIN INDUSTRIES,PT PANIN BANKBHAKTI SATRIA INV 067.067A</td><td>0.00</td><td>37,502,866.00</td></tr><tr><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td>0.00</td><td>56,827,119.00</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 57,\n 652,\n 1730,\n 1175\n ],\n \"category\": \"Table\",\n \"text\": \"<table><tr><td>Ledger Balance per</td><td>14-Feb-2023</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td>117,958,658.94</td></tr><tr><td>2214-Feb-2023</td><td>14-Feb-2023</td><td>803</td><td>0000000000</td><td>B16FT230454B8YK</td><td></td><td></td><td>TRF DARI DIREKTORAT PENDIDIKAN AL AZHAR PT. BANK SYARIAH INDONESIAGAJI SATPAM OUTSORCING</td><td>0.00</td><td>19,368,860.00</td></tr><tr><td>2314-Feb-2023</td><td>14-Feb-2023</td><td>010</td><td>0000000000</td><td></td><td></td><td></td><td>PB DARI PV FINANCE PVO/02/23/01140bgkar psg ac 2 unit jbt5</td><td>0.00</td><td>3,226,400.00</td></tr><tr><td>2414-Feb-2023</td><td>14-Feb-2023</td><td>803</td><td>0000000000</td><td>T98928E66C0A165 C</td><td></td><td></td><td>TRF DARI ENSEVAL PUTERA MEGATRADING TBK BANK NEGARA INDONESIAPEMBY PT ENSEVAL BKS</td><td>0.00</td><td>4,673,000.00</td></tr><tr><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td>0.00</td><td>27,268,260.00</td></tr></table>\"\n },\n {\n \"bbox\": [\n 57,\n 1238,\n 1730,\n 1931\n ],\n \"category\": \"Table\",\n \"text\": \"<table><tr><td>Ledger Balance per</td><td>15-Feb-2023</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td>145,226,918.94</td></tr><tr><td>2515-Feb-2023</td><td>15-Feb-2023</td><td>803</td><td>0000000000</td><td>CMB2232300942400</td><td></td><td></td><td>TRF DARI KONIMEX BANK CIMB NIAGANV:074A/BhSP-KNK/K-13/II/2023 MANAG EME 20230215534866841</td><td>0.00</td><td>829,226.00</td></tr><tr><td>2615-Feb-2023</td><td>15-Feb-2023</td><td>803</td><td>0000000000</td><td>CMB2232300943300</td><td></td><td></td><td>TRF DARI KONIMEX BANK CIMB NIAGANV:074/BhSP-KNK/K-13/II/2023 TENAGA JA 20230215534866841</td><td>0.00</td><td>7,607,581.00</td></tr><tr><td>2715-Feb-2023</td><td>15-Feb-2023</td><td>803</td><td>0000000000</td><td>PPU.=N6MB-0009</td><td></td><td></td><td>TRF DARI MITRA SELARAS ABADI CV BANK CENTRAL ASIAinv management fee</td><td>0.00</td><td>402,074.00</td></tr><tr><td>2815-Feb-2023</td><td>15-Feb-2023</td><td>803</td><td>0000000000</td><td>PPU.=N6L5-0009</td><td></td><td></td><td>TRF DARI MITRA SELARAS ABADI CV BANK CENTRAL ASIAinv sedia tenagakerja jan23</td><td>0.00</td><td>3,688,757.00</td></tr><tr><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td>0.00</td><td>12,527,638.00</td></tr></table>\"\n },\n {\n \"bbox\": [\n 57,\n 1994,\n 1730,\n 2395\n ],\n \"category\": \"Table\",\n \"text\": \"<table><tr><td>Ledger Balance per</td><td>16-Feb-2023</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td>157,754,556.94</td></tr><tr><td>2916-Feb-2023</td><td>16-Feb-2023</td><td>010</td><td>0000000000</td><td></td><td></td><td></td><td>PB DARI PV FINANCE PVO/02/23/02350833/094/BHSP-PRMTA/II/23</td><td>0.00</td><td>2,364,300.00</td></tr><tr><td>3016-Feb-2023</td><td>16-Feb-2023</td><td>803</td><td>0000000000</td><td>PPU.;HML2-7850</td><td></td><td></td><td>TRF DARI STEPHEN CAHYO KUNCORO BANK CENTRAL ASIATRANSFER</td><td>0.00</td><td>12,058,400.00</td></tr><tr><td>3116-Feb-2023</td><td>16-Feb-2023</td><td>010</td><td>0000000000</td><td></td><td></td><td></td><td>PB DARI PV FINANCE PVO/02/23/02419CP-MAINT AC 08/22 R-SYARIAH</td><td>0.00</td><td>694,330.00</td></tr><tr><td>3216-Feb-2023</td><td>16-Feb-2023</td><td>010</td><td>0000000000</td><td></td><td></td><td></td><td>PB DARI PV FINANCE PVO/02/23/02174PBY PERBAIKAN AC M.</td><td>0.00</td><td>599,500.00</td></tr></table>\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/ocbc nordiansyah_page-0009.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 97,\n 113,\n 140,\n 129\n ],\n \"category\": \"Text\",\n \"text\": \"99693\"\n },\n {\n \"bbox\": [\n 437,\n 113,\n 550,\n 129\n ],\n \"category\": \"Text\",\n \"text\": \"01/21-9/15-2029\"\n },\n {\n \"bbox\": [\n 511,\n 144,\n 554,\n 160\n ],\n \"category\": \"Text\",\n \"text\": \"99693\"\n },\n {\n \"bbox\": [\n 97,\n 165,\n 182,\n 184\n ],\n \"category\": \"Text\",\n \"text\": \"Kepada Yth:\"\n },\n {\n \"bbox\": [\n 97,\n 196,\n 219,\n 213\n ],\n \"category\": \"Text\",\n \"text\": \"NORDIANSYAH\"\n },\n {\n \"bbox\": [\n 97,\n 238,\n 292,\n 255\n ],\n \"category\": \"Text\",\n \"text\": \"JL. HJ. JAHRAH RT : RW :\"\n },\n {\n \"bbox\": [\n 97,\n 259,\n 459,\n 277\n ],\n \"category\": \"Text\",\n \"text\": \"SUNGAI KELEDANG, KOTA SAMARINDA 75131\"\n },\n {\n \"bbox\": [\n 583,\n 103,\n 778,\n 123\n ],\n \"category\": \"Section-header\",\n \"text\": \"REKENING KORAN\"\n },\n {\n \"bbox\": [\n 583,\n 133,\n 1070,\n 152\n ],\n \"category\": \"Text\",\n \"text\": \"NOMOR REKENING : 693810542029 - Tanda360Plus Digital\"\n },\n {\n \"bbox\": [\n 583,\n 176,\n 931,\n 194\n ],\n \"category\": \"Text\",\n \"text\": \"CABANG : 99693 - DIGITAL\"\n },\n {\n \"bbox\": [\n 583,\n 217,\n 1075,\n 235\n ],\n \"category\": \"Text\",\n \"text\": \"PERIODE : 01 Desember 2020 - 31 Desember 2020\"\n },\n {\n \"bbox\": [\n 583,\n 259,\n 877,\n 277\n ],\n \"category\": \"Text\",\n \"text\": \"TANGGAL PERCETAKAN : 20210104\"\n },\n {\n \"bbox\": [\n 583,\n 301,\n 840,\n 319\n ],\n \"category\": \"Text\",\n \"text\": \"MATA UANG : IDR\"\n },\n {\n \"bbox\": [\n 583,\n 343,\n 860,\n 361\n ],\n \"category\": \"Text\",\n \"text\": \"HALAMAN : 9 of 15\"\n },\n {\n \"bbox\": [\n 55,\n 394,\n 1167,\n 1102\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>TGL TRANS</th><th>TGL VALUTA</th><th>URAIAN</th><th>DEBET</th><th>KREDIT</th><th>SALDO</th></tr></thead><tbody><tr><td>19/12/2020</td><td>19/12/2020</td><td>Bill payment Dr customer acct<br>Berita : 5420 081352256835 OVO</td><td>999,500.00</td><td>0.00</td><td>1,118.00</td></tr><tr><td>19/12/2020</td><td>19/12/2020</td><td>Transfer Masuk<br>Berita : 9210 002 012101136414503</td><td>0.00</td><td>350,000.00</td><td>351,118.00</td></tr><tr><td>19/12/2020</td><td>19/12/2020</td><td>Bill payment Dr customer acct<br>Berita : 8829 081352256835 OVO</td><td>349,500.00</td><td>0.00</td><td>1,618.00</td></tr><tr><td>19/12/2020</td><td>19/12/2020</td><td>Transfer Masuk<br>Berita : 1877 008 NANANG ISKANDAR</td><td>0.00</td><td>300,000.00</td><td>301,618.00</td></tr><tr><td>19/12/2020</td><td>19/12/2020</td><td>Transfer Masuk<br>Berita : 9002 009 BPK ARADITHA AKHIR Misna</td><td>0.00</td><td>350,000.00</td><td>651,618.00</td></tr><tr><td>19/12/2020</td><td>19/12/2020</td><td>Transfer Masuk<br>Berita : 9227 009 BPK ARADITHA AKHIR DP garansi</td><td>0.00</td><td>500,000.00</td><td>1,151,618.00</td></tr><tr><td>19/12/2020</td><td>19/12/2020</td><td>Transfer Masuk<br>Berita : 8425 009 BPK ARADITHA AKHIR DP Garansi</td><td>0.00</td><td>500,001.00</td><td>1,651,619.00</td></tr><tr><td>19/12/2020</td><td>19/12/2020</td><td>Transfer Masuk<br>Berita : 9451 009 BPK ARADITHA AKHIR Pelunasan</td><td>0.00</td><td>350,000.00</td><td>2,001,619.00</td></tr><tr><td>19/12/2020</td><td>19/12/2020</td><td>Biaya transaksi via ATM<br>Berita : 2911 014 6585063723 GHONIE ALBASITU 2020</td><td>6,500.00</td><td>0.00</td><td>1,995,119.00</td></tr><tr><td>19/12/2020</td><td>19/12/2020</td><td>Memo Debet<br>Berita : 2911 014 6585063723 GHONIE ALBASITU 2020</td><td>1,994,000.00</td><td>0.00</td><td>1,119.00</td></tr><tr><td>20/12/2020</td><td>20/12/2020</td><td>Transfer Masuk<br>Berita : 8184 009 BPK ARDY FARDIANSYAH</td><td>0.00</td><td>100,000.00</td><td>101,119.00</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 55,\n 1509,\n 846,\n 1565\n ],\n \"category\": \"Text\",\n \"text\": \"BILAMANA DALAM 7 HARI TERHITUNG SEJAK TANGGAL STEMPEL POS ATAU DITERIMANYA PER EKSPEDISI ATAU TANGGAL TERKIRIMNYA LAYANAN ESTATEMENT REKENING KORAN INI TIDAK ADA SANGGAHAN DARI NASABAH MAKA DIANGGAP NASABAH TELAH MENYETUJUI SEGALA SESUATU YANG TERMUAT DALAM REKENING KORAN INI. SETIAP PEMBEBANAN ONGKOS / BAYA KAMI TIDAK MEMBUATKAN NOTANYA. CETAKAN KOMPUTER INI TIDAK MEMERLUKAN TANDA TANGAN PEJABAT\"\n },\n {\n \"bbox\": [\n 65,\n 1595,\n 846,\n 1667\n ],\n \"category\": \"Text\",\n \"text\": \"Efektif Per Tanggal 1 Februari 2016, produk-produk Trade Loan mengalami perubahan nama untuk memberikan kemudahan pemahaman nasabah atas nama produk Trade Finances & Services. Info lebih lanjut hubungi Kantor Cabang terdekat atau Call OCBC NISP di 1500-999 / 66-999 via HP.\"\n },\n {\n \"bbox\": [\n 873,\n 1637,\n 1155,\n 1697\n ],\n \"category\": \"Page-footer\",\n \"text\": \"OCBC NISP\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/BSI April 2023_page-0022.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 147,\n 111,\n 1166,\n 1530\n ],\n \"category\": \"Table\",\n \"text\": \"<table>\\n <tbody>\\n <tr>\\n <td>1268</td>\\n <td>10/4/2023 16:55</td>\\n <td>FT23100V426ZBNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,906,798.00</td>\\n <td></td>\\n <td>4,913,663,103.71</td>\\n </tr>\\n <tr>\\n <td>1269</td>\\n <td>10/4/2023 16:55</td>\\n <td>FT231008V511BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,906,798.00</td>\\n <td></td>\\n <td>4,908,756,305.71</td>\\n </tr>\\n <tr>\\n <td>1270</td>\\n <td>10/4/2023 16:55</td>\\n <td>FT231003ZLXLBNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,906,798.00</td>\\n <td></td>\\n <td>4,903,849,507.71</td>\\n </tr>\\n <tr>\\n <td>1271</td>\\n <td>10/4/2023 16:55</td>\\n <td>FT23100WJR5RBNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>5,117,035.00</td>\\n <td></td>\\n <td>4,898,732,472.71</td>\\n </tr>\\n <tr>\\n <td>1272</td>\\n <td>10/4/2023 16:55</td>\\n <td>FT231008PZT2BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>5,188,725.00</td>\\n <td></td>\\n <td>4,893,543,747.71</td>\\n </tr>\\n <tr>\\n <td>1273</td>\\n <td>10/4/2023 16:56</td>\\n <td>FT2310034Z16BNK</td>\\n <td>10042023</td>\\n <td>Gaji 10 April 2023</td>\\n <td>1,062,472.00</td>\\n <td></td>\\n <td>4,892,481,275.71</td>\\n </tr>\\n <tr>\\n <td>1274</td>\\n <td>10/4/2023 16:56</td>\\n <td>FT231009DR94BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,525,212.00</td>\\n <td></td>\\n <td>4,887,956,063.71</td>\\n </tr>\\n <tr>\\n <td>1275</td>\\n <td>10/4/2023 16:56</td>\\n <td>FT231009FQP8BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,673,725.00</td>\\n <td></td>\\n <td>4,883,282,338.71</td>\\n </tr>\\n <tr>\\n <td>1276</td>\\n <td>10/4/2023 16:56</td>\\n <td>FT231004165VBNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,801,850.00</td>\\n <td></td>\\n <td>4,878,480,488.71</td>\\n </tr>\\n <tr>\\n <td>1277</td>\\n <td>10/4/2023 16:56</td>\\n <td>FT23100YQ5S1BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,898,303.00</td>\\n <td></td>\\n <td>4,873,582,185.71</td>\\n </tr>\\n <tr>\\n <td>1278</td>\\n <td>10/4/2023 16:56</td>\\n <td>FT23100ZC3WSBNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,898,303.00</td>\\n <td></td>\\n <td>4,868,683,882.71</td>\\n </tr>\\n <tr>\\n <td>1279</td>\\n <td>10/4/2023 16:56</td>\\n <td>FT2310099G6CBNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,898,303.00</td>\\n <td></td>\\n <td>4,863,785,579.71</td>\\n </tr>\\n <tr>\\n <td>1280</td>\\n <td>10/4/2023 16:56</td>\\n <td>FT2310007815BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,898,303.00</td>\\n <td></td>\\n <td>4,858,887,276.71</td>\\n </tr>\\n <tr>\\n <td>1281</td>\\n <td>10/4/2023 16:56</td>\\n <td>FT231009303VBNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,906,798.00</td>\\n <td></td>\\n <td>4,853,980,478.71</td>\\n </tr>\\n <tr>\\n <td>1282</td>\\n <td>10/4/2023 16:56</td>\\n <td>FT231003H5X7BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,906,798.00</td>\\n <td></td>\\n <td>4,849,073,680.71</td>\\n </tr>\\n <tr>\\n <td>1283</td>\\n <td>10/4/2023 16:56</td>\\n <td>FT231009KCZTBNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>5,117,035.00</td>\\n <td></td>\\n <td>4,843,956,645.71</td>\\n </tr>\\n <tr>\\n <td>1284</td>\\n <td>10/4/2023 16:56</td>\\n <td>FT231001R4Q7BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>5,117,035.00</td>\\n <td></td>\\n <td>4,838,839,610.71</td>\\n </tr>\\n <tr>\\n <td>1285</td>\\n <td>10/4/2023 16:56</td>\\n <td>FT2310098BVQBNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>5,117,035.00</td>\\n <td></td>\\n <td>4,833,722,575.71</td>\\n </tr>\\n <tr>\\n <td>1286</td>\\n <td>10/4/2023 16:56</td>\\n <td>FT231009C5KBBNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>5,117,035.00</td>\\n <td></td>\\n <td>4,828,605,540.71</td>\\n </tr>\\n <tr>\\n <td>1287</td>\\n <td>10/4/2023 16:56</td>\\n <td>FT23100YCWJVBNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>5,142,575.00</td>\\n <td></td>\\n <td>4,823,462,965.71</td>\\n </tr>\\n <tr>\\n <td>1288</td>\\n <td>10/4/2023 16:56</td>\\n <td>FT231009HSFQBNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>5,142,575.00</td>\\n <td></td>\\n <td>4,818,320,390.71</td>\\n </tr>\\n <tr>\\n <td>1289</td>\\n <td>10/4/2023 16:56</td>\\n <td>FT23100Z0WMDBNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>5,184,053.00</td>\\n <td></td>\\n <td>4,813,136,337.71</td>\\n </tr>\\n <tr>\\n <td>1290</td>\\n <td>10/4/2023 16:57</td>\\n <td>FT231005MQZTBNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>2,759,377.00</td>\\n <td></td>\\n <td>4,810,376,960.71</td>\\n </tr>\\n <tr>\\n <td>1291</td>\\n <td>10/4/2023 16:57</td>\\n <td>FT231009RKV7BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,673,725.00</td>\\n <td></td>\\n <td>4,805,703,235.71</td>\\n </tr>\\n <tr>\\n <td>1292</td>\\n <td>10/4/2023 16:57</td>\\n <td>FT23100B7BQHBNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,898,303.00</td>\\n <td></td>\\n <td>4,800,804,932.71</td>\\n </tr>\\n <tr>\\n <td>1293</td>\\n <td>10/4/2023 16:57</td>\\n <td>FT231008NR0CBNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,906,798.00</td>\\n <td></td>\\n <td>4,795,898,134.71</td>\\n </tr>\\n <tr>\\n <td>1294</td>\\n <td>10/4/2023 16:57</td>\\n <td>FT231009PV9QBNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,906,798.00</td>\\n <td></td>\\n <td>4,790,991,336.71</td>\\n </tr>\\n <tr>\\n <td>1295</td>\\n <td>10/4/2023 16:57</td>\\n <td>FT231008GG0DBNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,906,798.00</td>\\n <td></td>\\n <td>4,786,084,538.71</td>\\n </tr>\\n <tr>\\n <td>1296</td>\\n <td>10/4/2023 16:57</td>\\n <td>FT2310065S5PBNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>5,117,035.00</td>\\n <td></td>\\n <td>4,780,967,503.71</td>\\n </tr>\\n <tr>\\n <td>1297</td>\\n <td>10/4/2023 16:57</td>\\n <td>FT231009Y4T4BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>5,117,035.00</td>\\n <td></td>\\n <td>4,775,850,468.71</td>\\n </tr>\\n <tr>\\n <td>1298</td>\\n <td>10/4/2023 16:57</td>\\n <td>FT231006QKTCBNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>5,117,035.00</td>\\n <td></td>\\n <td>4,770,733,433.71</td>\\n </tr>\\n <tr>\\n <td>1299</td>\\n <td>10/4/2023 16:57</td>\\n <td>FT231007L72QBNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>5,117,035.00</td>\\n <td></td>\\n <td>4,765,616,398.71</td>\\n </tr>\\n <tr>\\n <td>1300</td>\\n <td>10/4/2023 16:57</td>\\n <td>FT231004RXK7BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>5,117,035.00</td>\\n <td></td>\\n <td>4,760,499,363.71</td>\\n </tr>\\n <tr>\\n <td>1301</td>\\n <td>10/4/2023 16:57</td>\\n <td>FT231007XC0DBNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>5,117,035.00</td>\\n <td></td>\\n <td>4,755,382,328.71</td>\\n </tr>\\n <tr>\\n <td>1302</td>\\n <td>10/4/2023 16:57</td>\\n <td>FT231009JPM6BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>5,117,035.00</td>\\n <td></td>\\n <td>4,750,265,293.71</td>\\n </tr>\\n <tr>\\n <td>1303</td>\\n <td>10/4/2023 16:57</td>\\n <td>FT23100BQLZVBNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>5,117,035.00</td>\\n <td></td>\\n <td>4,745,148,258.71</td>\\n </tr>\\n <tr>\\n <td>1304</td>\\n <td>10/4/2023 16:57</td>\\n <td>FT2310052YPSBNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>5,142,575.00</td>\\n <td></td>\\n <td>4,740,005,683.71</td>\\n </tr>\\n <tr>\\n <td>1305</td>\\n <td>10/4/2023 16:57</td>\\n <td>FT2310059R2DBNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>5,142,575.00</td>\\n <td></td>\\n <td>4,734,863,108.71</td>\\n </tr>\\n <tr>\\n <td>1306</td>\\n <td>10/4/2023 16:57</td>\\n <td>FT2310071C4GBNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>5,142,575.00</td>\\n <td></td>\\n <td>4,729,720,533.71</td>\\n </tr>\\n <tr>\\n <td>1307</td>\\n <td>10/4/2023 16:57</td>\\n <td>FT23100785JFBNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>5,142,575.00</td>\\n <td></td>\\n <td>4,724,577,958.71</td>\\n </tr>\\n <tr>\\n <td>1308</td>\\n <td>10/4/2023 16:57</td>\\n <td>FT23100907QVBNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>5,142,575.00</td>\\n <td></td>\\n <td>4,719,435,383.71</td>\\n </tr>\\n <tr>\\n <td>1309</td>\\n <td>10/4/2023 16:57</td>\\n <td>FT23100BDRPMBNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>5,142,575.00</td>\\n <td></td>\\n <td>4,714,292,808.71</td>\\n </tr>\\n <tr>\\n <td>1310</td>\\n <td>10/4/2023 16:57</td>\\n <td>FT231009W5VKBNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>5,142,575.00</td>\\n <td></td>\\n <td>4,709,150,233.71</td>\\n </tr>\\n <tr>\\n <td>1311</td>\\n <td>10/4/2023 16:57</td>\\n <td>FT23100B6118BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>5,142,575.00</td>\\n <td></td>\\n <td>4,704,007,658.71</td>\\n </tr>\\n <tr>\\n <td>1312</td>\\n <td>10/4/2023 16:58</td>\\n <td>FT23100F053QBNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,307,869.00</td>\\n <td></td>\\n <td>4,699,699,789.71</td>\\n </tr>\\n <tr>\\n <td>1313</td>\\n <td>10/4/2023 16:58</td>\\n <td>FT23100H92M2BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,497,556.00</td>\\n <td></td>\\n <td>4,695,202,233.71</td>\\n </tr>\\n <tr>\\n <td>1314</td>\\n <td>10/4/2023 16:58</td>\\n <td>FT23100K3XMGBNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,673,725.00</td>\\n <td></td>\\n <td>4,690,528,508.71</td>\\n </tr>\\n <tr>\\n <td>1315</td>\\n <td>10/4/2023 16:58</td>\\n <td>FT23100FW37PBNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,699,493.00</td>\\n <td></td>\\n <td>4,685,829,015.71</td>\\n </tr>\\n <tr>\\n <td>1316</td>\\n <td>10/4/2023 16:58</td>\\n <td>FT23100G31D8BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,699,493.00</td>\\n <td></td>\\n <td>4,681,129,522.71</td>\\n </tr>\\n <tr>\\n <td>1317</td>\\n <td>10/4/2023 16:58</td>\\n <td>FT23100GF59BBNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,699,493.00</td>\\n <td></td>\\n <td>4,676,430,029.71</td>\\n </tr>\\n <tr>\\n <td>1318</td>\\n <td>10/4/2023 16:58</td>\\n <td>FT23100GR6XNBNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,699,493.00</td>\\n <td></td>\\n <td>4,671,730,536.71</td>\\n </tr>\\n <tr>\\n <td>1319</td>\\n <td>10/4/2023 16:58</td>\\n <td>FT23100H1N0NBNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,699,493.00</td>\\n <td></td>\\n <td>4,667,031,043.71</td>\\n </tr>\\n <tr>\\n <td>1320</td>\\n <td>10/4/2023 16:58</td>\\n <td>FT23100HM4WHBNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,699,493.00</td>\\n <td></td>\\n <td>4,662,331,550.71</td>\\n </tr>\\n <tr>\\n <td>1321</td>\\n <td>10/4/2023 16:58</td>\\n <td>FT23100F749JBNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,699,493.00</td>\\n <td></td>\\n <td>4,657,632,057.71</td>\\n </tr>\\n <tr>\\n <td>1322</td>\\n <td>10/4/2023 16:58</td>\\n <td>FT23100BXT0DBNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,699,493.00</td>\\n <td></td>\\n <td>4,652,932,564.71</td>\\n </tr>\\n <tr>\\n <td>1323</td>\\n <td>10/4/2023 16:58</td>\\n <td>FT23100DNX8RBNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,849,448.00</td>\\n <td></td>\\n <td>4,648,083,116.71</td>\\n </tr>\\n <tr>\\n <td>1324</td>\\n <td>10/4/2023 16:58</td>\\n <td>FT23100HY12ZBNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,906,798.00</td>\\n <td></td>\\n <td>4,643,176,318.71</td>\\n </tr>\\n <tr>\\n <td>1325</td>\\n <td>10/4/2023 16:58</td>\\n <td>FT23100JKN70BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,906,798.00</td>\\n <td></td>\\n <td>4,638,269,520.71</td>\\n </tr>\\n <tr>\\n <td>1326</td>\\n <td>10/4/2023 16:58</td>\\n <td>FT23100D4FQ1BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>5,117,035.00</td>\\n <td></td>\\n <td>4,633,152,485.71</td>\\n </tr>\\n <tr>\\n <td>1327</td>\\n <td>10/4/2023 16:58</td>\\n <td>FT23100C1RTHBNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>5,117,035.00</td>\\n <td></td>\\n <td>4,628,035,450.71</td>\\n </tr>\\n <tr>\\n <td>1328</td>\\n <td>10/4/2023 16:58</td>\\n <td>FT23100CCXC5BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>5,142,575.00</td>\\n <td></td>\\n <td>4,622,892,875.71</td>\\n </tr>\\n <tr>\\n <td>1329</td>\\n <td>10/4/2023 16:58</td>\\n <td>FT23100CT08QBNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>5,142,575.00</td>\\n <td></td>\\n <td>4,617,750,300.71</td>\\n </tr>\\n <tr>\\n <td>1330</td>\\n <td>10/4/2023 16:58</td>\\n <td>FT23100DC3RZBNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>5,142,575.00</td>\\n <td></td>\\n <td>4,612,607,725.71</td>\\n </tr>\\n <tr>\\n <td>1331</td>\\n <td>10/4/2023 16:58</td>\\n <td>FT23100FJQBPBNK</td>\\n <td>10042023</td>\\n <td>Gaji 10 April 2023</td>\\n <td>959,837.00</td>\\n <td></td>\\n <td>4,611,647,888.71</td>\\n </tr>\\n <tr>\\n <td>1332</td>\\n <td>10/4/2023 16:59</td>\\n <td>FT23100M2548BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>1,172,680.00</td>\\n <td></td>\\n <td>4,610,475,208.71</td>\\n </tr>\\n <tr>\\n <td>1333</td>\\n <td>10/4/2023 16:59</td>\\n <td>FT23100KFY05BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>2,741,371.00</td>\\n <td></td>\\n <td>4,607,733,837.71</td>\\n </tr>\\n <tr>\\n <td>1334</td>\\n <td>10/4/2023 16:59</td>\\n <td>FT23100N4QLVBNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>3,132,995.00</td>\\n <td></td>\\n <td>4,604,600,842.71</td>\\n </tr>\\n <tr>\\n <td>1335</td>\\n <td>10/4/2023 16:59</td>\\n <td>FT23100PFS6KBNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>3,524,620.00</td>\\n <td></td>\\n <td>4,601,076,222.71</td>\\n </tr>\\n </tbody>\\n</table>\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/e-statement ocbc_page-0005.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 97,\n 113,\n 140,\n 129\n ],\n \"category\": \"Text\",\n \"text\": \"99693\"\n },\n {\n \"bbox\": [\n 437,\n 113,\n 550,\n 129\n ],\n \"category\": \"Text\",\n \"text\": \"01/20-5/13-2029\"\n },\n {\n \"bbox\": [\n 511,\n 144,\n 554,\n 160\n ],\n \"category\": \"Text\",\n \"text\": \"99693\"\n },\n {\n \"bbox\": [\n 97,\n 165,\n 183,\n 184\n ],\n \"category\": \"Text\",\n \"text\": \"Kepada Yth:\"\n },\n {\n \"bbox\": [\n 97,\n 196,\n 219,\n 213\n ],\n \"category\": \"Text\",\n \"text\": \"NORDIANSYAH\"\n },\n {\n \"bbox\": [\n 97,\n 238,\n 292,\n 255\n ],\n \"category\": \"Text\",\n \"text\": \"JL. HJ. JAHRAH RT : RW :\"\n },\n {\n \"bbox\": [\n 97,\n 259,\n 459,\n 277\n ],\n \"category\": \"Text\",\n \"text\": \"SUNGAI KELEDANG, KOTA SAMARINDA 75131\"\n },\n {\n \"bbox\": [\n 583,\n 103,\n 778,\n 123\n ],\n \"category\": \"Section-header\",\n \"text\": \"REKENING KORAN\"\n },\n {\n \"bbox\": [\n 583,\n 133,\n 1070,\n 152\n ],\n \"category\": \"Text\",\n \"text\": \"NOMOR REKENING : 693810542029 - Tanda360Plus Digital\"\n },\n {\n \"bbox\": [\n 583,\n 176,\n 931,\n 194\n ],\n \"category\": \"Text\",\n \"text\": \"CABANG : 99693 - DIGITAL\"\n },\n {\n \"bbox\": [\n 583,\n 217,\n 1079,\n 235\n ],\n \"category\": \"Text\",\n \"text\": \"PERIODE : 01 November 2020 - 30 November 2020\"\n },\n {\n \"bbox\": [\n 583,\n 259,\n 877,\n 277\n ],\n \"category\": \"Text\",\n \"text\": \"TANGGAL PERCETAKAN : 20201204\"\n },\n {\n \"bbox\": [\n 583,\n 301,\n 840,\n 319\n ],\n \"category\": \"Text\",\n \"text\": \"MATA UANG : IDR\"\n },\n {\n \"bbox\": [\n 583,\n 343,\n 859,\n 361\n ],\n \"category\": \"Text\",\n \"text\": \"HALAMAN : 5 of 13\"\n },\n {\n \"bbox\": [\n 56,\n 394,\n 1167,\n 1185\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>TGL TRANS</th><th>TGL VALUTA</th><th>URAIAN</th><th>DEBET</th><th>KREDIT</th><th>SALDO</th></tr></thead><tbody><tr><td>14/11/2020</td><td>14/11/2020</td><td>Transfer Masuk<br>Berita : 5408 014 H MISRONI BIN H SAMIN</td><td>0.00</td><td>850,333.00</td><td>1,701,889.00</td></tr><tr><td>14/11/2020</td><td>14/11/2020</td><td>Bill payment Dr customer acct<br>Berita : 2694 081352256835 GOJEK</td><td>1,700,000.00</td><td>0.00</td><td>1,889.00</td></tr><tr><td>14/11/2020</td><td>14/11/2020</td><td>Transfer Masuk<br>Berita : 8545 014 M FIRMAN SYAH</td><td>0.00</td><td>1,000,000.00</td><td>1,001,889.00</td></tr><tr><td>14/11/2020</td><td>14/11/2020</td><td>Transfer Masuk<br>Berita : 8821 014 M FIRMAN SYAH</td><td>0.00</td><td>500,000.00</td><td>1,501,889.00</td></tr><tr><td>14/11/2020</td><td>14/11/2020</td><td>Biaya transaksi via ATM<br>Berita : 4934 014 6585063723 GHONIE ALBASITU 2020</td><td>6,500.00</td><td>0.00</td><td>1,495,389.00</td></tr><tr><td>14/11/2020</td><td>14/11/2020</td><td>Memo Debet<br>Berita : 4934 014 6585063723 GHONIE ALBASITU 2020</td><td>1,494,500.00</td><td>0.00</td><td>889.00</td></tr><tr><td>14/11/2020</td><td>14/11/2020</td><td>Transfer Masuk<br>Berita : 6401 002 511701017654531 HARIS DANANJAYA</td><td>0.00</td><td>450,000.00</td><td>450,889.00</td></tr><tr><td>14/11/2020</td><td>14/11/2020</td><td>Transfer Masuk<br>Berita : 6409 002 511701017654531 HARIS DANANJAYA</td><td>0.00</td><td>500,000.00</td><td>950,889.00</td></tr><tr><td>14/11/2020</td><td>14/11/2020</td><td>Transfer Masuk<br>Berita : 6413 002 511701017654531 HARIS DANANJAYA</td><td>0.00</td><td>200,000.00</td><td>1,150,889.00</td></tr><tr><td>14/11/2020</td><td>14/11/2020</td><td>Biaya transaksi via ATM<br>Berita : 2342 014 6585063723 GHONIE ALBASITU 2020</td><td>6,500.00</td><td>0.00</td><td>1,144,389.00</td></tr><tr><td>14/11/2020</td><td>14/11/2020</td><td>Memo Debet<br>Berita : 2342 014 6585063723 GHONIE ALBASITU 2020</td><td>1,143,000.00</td><td>0.00</td><td>1,389.00</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 55,\n 1510,\n 846,\n 1565\n ],\n \"category\": \"Text\",\n \"text\": \"BILAMANA DALAM 7 HARI TERHITUNG SEJAK TANGGAL STEMPEL POS ATAU DITERIMANYA PER EKSPEDISI ATAU TANGGAL TERKIRIMNYA LAYANAN ESTATEMENT REKENING KORAN INI TIDAK ADA SANGGAHAN DARI NASABAH MAKA DIANGGAP NASABAH TELAH MENYETUJUI SEGALA SESUATU YANG TERMUAT DALAM REKENING KORAN INI. SETIAP PEMBEBANAN ONGKOS / BIAYA KAMI TIDAK MEMBUATKAN NOTANYA. CETAKAN KOMPUTER INI TIDAK MEMERLUKAN TANDA TANGAN PEJABAT\"\n },\n {\n \"bbox\": [\n 65,\n 1595,\n 846,\n 1667\n ],\n \"category\": \"Text\",\n \"text\": \"Efektif Per Tanggal 1 Februari 2016, produk-produk Trade Loan mengalami perubahan nama untuk memberikan kemudahan pemahaman nasabah atas nama produk Trade Finances & Services. Info lebih lanjut hubungi Kantor Cabang terdekat atau Call OCBC NISP di 1500-999 / 66-999 via HP.\"\n },\n {\n \"bbox\": [\n 873,\n 1637,\n 1155,\n 1697\n ],\n \"category\": \"Page-footer\",\n \"text\": \"OCBC NISP\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/OCBC CHEAH JIA XUAN_page-0002.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 115,\n 43,\n 305,\n 97\n ],\n \"category\": \"Picture\"\n },\n {\n \"bbox\": [\n 829,\n 43,\n 932,\n 62\n ],\n \"category\": \"Page-header\",\n \"text\": \"OCBC Bank\"\n },\n {\n \"bbox\": [\n 841,\n 65,\n 1062,\n 105\n ],\n \"category\": \"Page-header\",\n \"text\": \"65 Chulia Street, OCBC Centre\\nSingapore 049513\"\n },\n {\n \"bbox\": [\n 105,\n 164,\n 1116,\n 673\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>TRANSACTION CODE</th><th>DESCRIPTION</th></tr></thead><tbody><tr><td>A/C</td><td>Account</td></tr><tr><td>A/C CLOSED</td><td>Account Closed</td></tr><tr><td>ATM O</td><td>ATM Overseas</td></tr><tr><td>ATM PAYMENT</td><td>Automated Teller Machine Payment</td></tr><tr><td>ATM TRANSFER</td><td>Automated Teller Machine Transfer</td></tr><tr><td>ACU</td><td>Foreign Currency</td></tr><tr><td>ADJ</td><td>Adjustment</td></tr><tr><td>ADV</td><td>Advance</td></tr><tr><td>AMD</td><td>Amendment</td></tr><tr><td>ASI</td><td>Automated Standing Instruction</td></tr><tr><td>BANK CHARGES</td><td>Bank Charges</td></tr><tr><td>BAL</td><td>Balance</td></tr><tr><td>C/Order</td><td>Cashier's Order</td></tr><tr><td>CHQ DP</td><td>Cheque Deposit</td></tr><tr><td>CC</td><td>Cash Card</td></tr><tr><td>CDP</td><td>Central Depository</td></tr><tr><td>COM</td><td>Commission</td></tr><tr><td>CONV</td><td>Conversion</td></tr><tr><td>CR</td><td>Credit</td></tr><tr><td>CRVISA</td><td>VISA Electron Credit</td></tr><tr><td>CANC TT</td><td>Telegraphic Transfer Cancellation</td></tr><tr><td>DIV</td><td>Dividend</td></tr><tr><td>DR</td><td>Debit</td></tr><tr><td>DD</td><td>Demand Draft</td></tr><tr><td>DVE</td><td>VISA Electron Purchases</td></tr><tr><td>DDB</td><td>Direct Debit</td></tr><tr><td>DCR</td><td>Direct Credit</td></tr><tr><td>EPS</td><td>Electronic Payment of Shares</td></tr><tr><td>ES</td><td>EasiSave</td></tr><tr><td>ES FIXED FEE</td><td>EasiSave Fixed Fee</td></tr><tr><td>ESA</td><td>Electronic Share Application</td></tr><tr><td>EXPORT LOAN</td><td>Export Loan</td></tr><tr><td>FCY</td><td>Foreign Currency</td></tr><tr><td>HSE LOAN</td><td>House Loan</td></tr><tr><td>IMPORT LOAN</td><td>Import Loan</td></tr></tbody></table><table><tbody><tr><td>账户</td><td>INT</td><td>Interest</td><td>利息</td></tr><tr><td>关闭账户</td><td>I/COLLN</td><td>Inward Collection</td><td>进口托收</td></tr><tr><td>海外自动柜员机</td><td>IBG</td><td>Inter-Bank GIRO</td><td>财路</td></tr><tr><td>自动柜员机付款</td><td>INB</td><td>Internet Banking</td><td>网络银行</td></tr><tr><td>自动柜员机转账</td><td>INB TRANSFER</td><td>Internet Banking Transfer</td><td>网络银行转账</td></tr><tr><td>外币</td><td>INS</td><td>Insurance</td><td>保险</td></tr><tr><td>调整</td><td>L/C</td><td>Letter of Credit</td><td>信用证</td></tr><tr><td>预付款</td><td>L CHQ</td><td>Late Cheque</td><td>逾期支票</td></tr><tr><td>修改</td><td>MER</td><td>Merchant</td><td>信用卡特约商家</td></tr><tr><td>自动长期指示</td><td>NEGN</td><td>Negotiation</td><td>信用证议付</td></tr><tr><td>银行费用</td><td>NETS</td><td>NETS</td><td>电子转账网络系统</td></tr><tr><td>余款</td><td>NOM</td><td>Nominee</td><td>信托人</td></tr><tr><td>本票</td><td>O/COLLN</td><td>Outward Collection</td><td>出口托收</td></tr><tr><td>支票存入</td><td>PAYMENT-MAS</td><td>MEPS Payment</td><td>货币管理(MAS)电子付款系统-付款</td></tr><tr><td>现金卡</td><td>PER LOAN</td><td>Personal Loan</td><td>个人贷款</td></tr><tr><td>中央托收私人有限公司</td><td>PHN TRANSFER</td><td>PhoneBank Transfer</td><td>电话银行转账</td></tr><tr><td>佣金</td><td>POS</td><td>Point of Sale</td><td>销售终端</td></tr><tr><td>外币兑换</td><td>POST</td><td>Postage</td><td>邮费</td></tr><tr><td>货方/存货</td><td>PREM</td><td>Premium</td><td>保险费</td></tr><tr><td>维萨电子付款</td><td>PS</td><td>Power Supply</td><td>能源供应公司</td></tr><tr><td>电子汇款撤消</td><td>REIMB</td><td>Reimbursement</td><td>偿付</td></tr><tr><td>股息</td><td>RTN GIRO</td><td>Return GIRO</td><td>退回财路</td></tr><tr><td>借方/付出</td><td>RTN CHQ</td><td>Return Cheque</td><td>退回支票</td></tr><tr><td>即期汇票</td><td>RECEIPTS-MAS</td><td>MEPS Receipts</td><td>货币管理局电子付款系统-存入</td></tr><tr><td>维萨电子</td><td>SEC</td><td>Security</td><td>证券</td></tr><tr><td>直接财路付款</td><td>SGD</td><td>Singapore Dollar</td><td>新币</td></tr><tr><td>直接财路存款</td><td>SATM</td><td>Shared ATM</td><td>供享自动柜员机</td></tr><tr><td>电子购股付款</td><td>ST</td><td>SingTel</td><td>新电信</td></tr><tr><td>易式储蓄户口</td><td>SER CHARGE</td><td>Service Charge</td><td>服务费</td></tr><tr><td>易式账户固定费用</td><td>SHR</td><td>Share NETS</td><td>供享电子转账网络系统</td></tr><tr><td>电子股票认购</td><td>T/R</td><td>Trust Receipt</td><td>信托收据</td></tr><tr><td>出口货款</td><td>TT</td><td>Telegraphic Transfer</td><td>电子付款</td></tr><tr><td>外币</td><td>TRAN CHARGE</td><td>Transactoin Charge</td><td>交易费用</td></tr><tr><td>房屋贷款</td><td>TRADE FINANCE</td><td>Trade Finance</td><td>货易融资</td></tr><tr><td>进口货款</td><td>TRANSFER</td><td>Transfer</td><td>转账</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 105,\n 711,\n 422,\n 755\n ],\n \"category\": \"Text\",\n \"text\": \"Contact for Consumer Banking:\\nPhone Bank: 1800 363 3333\\nEmail Addresss: [email protected]\"\n },\n {\n \"bbox\": [\n 626,\n 711,\n 923,\n 755\n ],\n \"category\": \"Text\",\n \"text\": \"Contact for Business Banking:\\nCommercial Service Centre: 6538 1111\\nEmail Address: [email protected]\"\n },\n {\n \"bbox\": [\n 105,\n 784,\n 305,\n 800\n ],\n \"category\": \"Caption\",\n \"text\": \"## APPLICATIONS FOR INDIVIDUALS\"\n },\n {\n \"bbox\": [\n 105,\n 802,\n 1132,\n 1018\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>Application for Banking Services</th><th>ATM Card</th><th>PHONE/INTERNET/MOBILE BANKING</th></tr></thead><tbody><tr><td></td><td>Apply at any OCBC Bank Branch</td><td>Three easy ways to apply:-<br>1. Apply at any OCBC ATM with your ATM Card and PIN.<ul><li>Select 'Other Services'</li><li>Select 'Phone Banking Application' or 'Internet Banking/Mobile Banking Application'; or</li></ul>2. Download and complete the following forms available at www.ocbc.com, and mail it back to the address stated on the form<ul><li>Phone Banking Services Form (Personal)</li><li>Internet/Mobile Banking Services Form (Personal)</li></ul>or<br>3. Apply at any OCBC Branch.</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 105,\n 1044,\n 380,\n 1060\n ],\n \"category\": \"Caption\",\n \"text\": \"## eBANKING APPLICATIONS FOR CORPORATES\"\n },\n {\n \"bbox\": [\n 105,\n 1062,\n 1132,\n 1160\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>Application for Access</th><th>ATM Card</th><th>PHONE BANKING</th><th>INTERNET BANKING</th></tr></thead><tbody><tr><td></td><td>Apply at any OCBC Bank Branch</td><td>Download and complete the Business PhoneBanking and eAlerts@ocbc Application Form available at www.ocbc.com, and mail it back to the address stated on the form.</td><td>Download and complete the Velocity@ocbc Application Form available at www.ocbc.com, and mail it back to the address stated on the form.</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 37,\n 1656,\n 180,\n 1672\n ],\n \"category\": \"Page-footer\",\n \"text\": \"Deposit Insurance Scheme\"\n },\n {\n \"bbox\": [\n 37,\n 1674,\n 1196,\n 1719\n ],\n \"category\": \"Page-footer\",\n \"text\": \"Singapore dollar deposits of non-bank depositors and monies and deposits denominated in Singapore dollars under the Supplementary Retirement Scheme are insured by the Singapore Deposit Insurance Corporation, for up to S$75,000 in aggregate per depositor per Scheme member by law. Monies and deposits denominated in Singapore dollars under the CPF Investment Scheme and CPF Retirement Sum Scheme are aggregated and separately insured up to S$75,000 for each depositor per Scheme member. Foreign currency deposits, dual currency investments, structured deposits and other investment products are not insured.\"\n },\n {\n \"bbox\": [\n 1196,\n 1392,\n 1228,\n 1664\n ],\n \"category\": \"Page-footer\",\n \"text\": \"Oversea-Chinese Banking Corporation Limited\\nCo. Reg. No.: 193200032W\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/BSI NASRUDDIN ABDUL MATIN _page-0003.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 55,\n 32,\n 374,\n 128\n ],\n \"category\": \"Page-header\",\n \"text\": \"BSI BANK SYARIAH INDONESIA\"\n },\n {\n \"bbox\": [\n 63,\n 160,\n 316,\n 180\n ],\n \"category\": \"Text\",\n \"text\": \"NASRUDDIN ABDUL MATIN\"\n },\n {\n \"bbox\": [\n 895,\n 166,\n 1115,\n 186\n ],\n \"category\": \"Text\",\n \"text\": \"LAPORAN PORTOFOLIO\"\n },\n {\n \"bbox\": [\n 651,\n 167,\n 832,\n 187\n ],\n \"category\": \"Text\",\n \"text\": \"Periode : 01 - 30 Jun 2024\"\n },\n {\n \"bbox\": [\n 662,\n 203,\n 1053,\n 219\n ],\n \"category\": \"Text\",\n \"text\": \"- Selalu gunakan BSI Mobile anda untuk kemudahan segala transaksi\"\n },\n {\n \"bbox\": [\n 662,\n 219,\n 1042,\n 234\n ],\n \"category\": \"Text\",\n \"text\": \"- Buka rekening online lebih praktis dan mudah dengan BSI Mobile\"\n },\n {\n \"bbox\": [\n 65,\n 206,\n 594,\n 250\n ],\n \"category\": \"Text\",\n \"text\": \"KP PASIRHUNI 3/2 PASIRHUNI CIAWI TASIKMALAYA, KAB. JAWA BARAT\"\n },\n {\n \"bbox\": [\n 59,\n 295,\n 410,\n 315\n ],\n \"category\": \"Section-header\",\n \"text\": \"PORTOFOLIO JUN 2024 - IDR - CIF 84558871\"\n },\n {\n \"bbox\": [\n 57,\n 321,\n 1182,\n 422\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><td>Jenis Produk</td><td>Nama Produk</td><td>Nomor Rekening</td><td>Saldo</td></tr></thead><tbody><tr><td>Rekening Dana</td><td>BSI TABUNGAN EASY WADIAH</td><td>7153470191</td><td>4,930,016.00</td></tr><tr><td>Total</td><td></td><td></td><td>4,930,016.00</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 531,\n 516,\n 708,\n 533\n ],\n \"category\": \"Text\",\n \"text\": \"--- AKHIR LAPORAN ---\"\n },\n {\n \"bbox\": [\n 903,\n 1665,\n 1180,\n 1703\n ],\n \"category\": \"Page-footer\",\n \"text\": \"www.bankbsi.co.id\\nBank Syariah Indonesia Call 14040\"\n },\n {\n \"bbox\": [\n 871,\n 1712,\n 897,\n 1730\n ],\n \"category\": \"Page-footer\",\n \"text\": \"OK\"\n },\n {\n \"bbox\": [\n 1131,\n 1712,\n 1154,\n 1730\n ],\n \"category\": \"Picture\",\n \"text\": \"\"\n },\n {\n \"bbox\": [\n 897,\n 1717,\n 920,\n 1730\n ],\n \"category\": \"Picture\",\n \"text\": \"\"\n },\n {\n \"bbox\": [\n 1154,\n 1717,\n 1178,\n 1730\n ],\n \"category\": \"Picture\",\n \"text\": \"\"\n },\n {\n \"bbox\": [\n 404,\n 1717,\n 1127,\n 1733\n ],\n \"category\": \"Page-footer\",\n \"text\": \"PT Bank Syariah Indonesia, Tbk terdaftar dan diawasi oleh Otoritas Jasa Keuangan\"\n },\n {\n \"bbox\": [\n 923,\n 1717,\n 1127,\n 1733\n ],\n \"category\": \"Page-footer\",\n \"text\": \"dan merupakan Peserta Penjaminan\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/UOB GIOMCONSULTING (2)_page-0002.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 81,\n 99,\n 921,\n 137\n ],\n \"category\": \"Section-header\",\n \"text\": \"Movement Details - From: 01 May 2018 To: 31 May 2018\"\n },\n {\n \"bbox\": [\n 80,\n 172,\n 1182,\n 1374\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>Statement Date</th><th>Value Date</th><th>Transaction Date/Time</th><th>Description</th><th>Deposit</th><th>Withdrawal</th><th>Balance</th></tr></thead><tbody><tr><td>09/05/2018</td><td>09/05/2018</td><td>09/05/2018 05:54:49 PM</td><td>SVC Chg FT18050028323061 GEBFT18050028323061 BEXP 1</td><td>0.00</td><td>0.50</td><td>11,226.12</td></tr><tr><td>09/05/2018</td><td>09/05/2018</td><td>09/05/2018 05:54:48 PM</td><td>Funds Trf - FAST FT18050028323061 GEBFT18050028323061 BEXP 1</td><td>0.00</td><td>1,458.84</td><td>11,226.62</td></tr><tr><td>09/05/2018</td><td>09/05/2018</td><td>09/05/2018 05:52:56 PM</td><td>SVC Chg FT18050028323005 GEBFT18050028323005 BEXP 1</td><td>0.00</td><td>0.50</td><td>12,685.46</td></tr><tr><td>09/05/2018</td><td>09/05/2018</td><td>09/05/2018 05:52:55 PM</td><td>Funds Trf - FAST FT18050028323005 GEBFT18050028323005 BEXP 1</td><td>0.00</td><td>462.50</td><td>12,685.96</td></tr><tr><td>09/05/2018</td><td>09/05/2018</td><td>09/05/2018 05:47:52 PM</td><td>SVC Chg FT18050028322910 GEBFT18050028322910 BEXP 1</td><td>0.00</td><td>0.50</td><td>13,148.46</td></tr><tr><td>09/05/2018</td><td>09/05/2018</td><td>09/05/2018 05:47:51 PM</td><td>Funds Trf - FAST FT18050028322910 GEBFT18050028322910 BEXP 1</td><td>0.00</td><td>307.59</td><td>13,148.96</td></tr><tr><td>09/05/2018</td><td>09/05/2018</td><td>09/05/2018 05:43:59 PM</td><td>SVC Chg FT18050028322747 GEBFT18050028322747 BEXP 1</td><td>0.00</td><td>0.50</td><td>13,456.55</td></tr><tr><td>09/05/2018</td><td>09/05/2018</td><td>09/05/2018 05:43:58 PM</td><td>Funds Trf - FAST FT18050028322747 GEBFT18050028322747 BEXP 1</td><td>0.00</td><td>679.43</td><td>13,457.05</td></tr><tr><td>08/05/2018</td><td>08/05/2018</td><td>08/05/2018 06:22:56 PM</td><td>Misc DR-Debit Card 07 MAY 3314 0325379 000212-070708-022540 COLD STORAGE-PLAZA</td><td>0.00</td><td>130.40</td><td>14,136.48</td></tr><tr><td>08/05/2018</td><td>08/05/2018</td><td>08/05/2018 06:22:56 PM</td><td>Misc DR-Debit Card 04 MAY 3314 1595053 MOGAMBO BARS SINGAPORE SINGAPORE SG</td><td>0.00</td><td>90.00</td><td>14,266.88</td></tr><tr><td>05/05/2018</td><td>05/05/2018</td><td>05/05/2018 05:36:43 PM</td><td>Misc DR-Debit Card 02 MAY 3314 6826599 USD 21.40 GOOGLE*SVCSAPPS GIOM-U CC GOOGLE.COMSG</td><td>0.00</td><td>29.12</td><td>14,356.88</td></tr><tr><td>02/05/2018</td><td>02/05/2018</td><td>02/05/2018 06:05:40 PM</td><td>Misc DR-Debit Card 28 APR 3314 7541298 COMFORT/CITYCAB TAXI SINGAPORE SG</td><td>0.00</td><td>34.32</td><td>14,386.00</td></tr><tr><td>02/05/2018</td><td>02/05/2018</td><td>02/05/2018 06:05:40 PM</td><td>Misc CR-Debit Card 28 APR 3314 UOB Cash Rebate</td><td>5.35</td><td>0.00</td><td>14,420.32</td></tr><tr><td colspan=\\\"5\\\">Total in Account Currency</td><td>23,555.50</td><td>18,845.49</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 81,\n 1393,\n 133,\n 1414\n ],\n \"category\": \"Section-header\",\n \"text\": \"Note:\"\n },\n {\n \"bbox\": [\n 81,\n 1418,\n 460,\n 1439\n ],\n \"category\": \"Text\",\n \"text\": \"-Balances and details reflected are indicative.\"\n },\n {\n \"bbox\": [\n 81,\n 1462,\n 335,\n 1484\n ],\n \"category\": \"Section-header\",\n \"text\": \"Deposit Insurance Scheme\"\n },\n {\n \"bbox\": [\n 81,\n 1486,\n 1159,\n 1576\n ],\n \"category\": \"Text\",\n \"text\": \"Singapore dollar deposits of non-bank depositors and monies and deposits denominated in Singapore dollars under the Supplementary Retirement Scheme are insured by the Singapore Deposit Insurance Corporation, for up to S$50,000 in aggregate per depositor per Scheme member by law. Foreign currency deposits, dual currency investments, structured deposits and other investment products are not insured.\"\n },\n {\n \"bbox\": [\n 78,\n 1653,\n 163,\n 1690\n ],\n \"category\": \"Page-footer\",\n \"text\": \"2/2\\n10/07/2018\"\n },\n {\n \"bbox\": [\n 557,\n 1673,\n 700,\n 1690\n ],\n \"category\": \"Page-footer\",\n \"text\": \"Account Statement\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/BSI April 2023_page-0091.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 147,\n 110,\n 1166,\n 1532\n ],\n \"category\": \"Table\",\n \"text\": \"<table>\\n <tbody>\\n <tr>\\n <td>5925</td>\\n <td>28-04-2023 20:02</td>\\n <td>FT231183BJQ9BNK</td>\\n <td>28042023 Gaji 28 Apr 2023</td>\\n <td>5,143,644.00</td>\\n <td></td>\\n <td>430,095,889.71</td>\\n </tr>\\n <tr>\\n <td>5926</td>\\n <td>28-04-2023 20:02</td>\\n <td>FT2311805NFCBNK</td>\\n <td>28042023 Gaji 28 Apr 2023 CCDI</td>\\n <td>5,394,570.00</td>\\n <td></td>\\n <td>424,701,319.71</td>\\n </tr>\\n <tr>\\n <td>5927</td>\\n <td>28-04-2023 20:02</td>\\n <td>FT2311863ZK6BNK</td>\\n <td>28042023 Gaji 28 Apr 2023 CCDI</td>\\n <td>6,161,694.00</td>\\n <td></td>\\n <td>418,539,625.71</td>\\n </tr>\\n <tr>\\n <td>5928</td>\\n <td>28-04-2023 20:02</td>\\n <td>FT2311868CQCBNK</td>\\n <td>28042023 Gaji 28 Apr 2023 CCDI</td>\\n <td>6,578,119.00</td>\\n <td></td>\\n <td>411,961,506.71</td>\\n </tr>\\n <tr>\\n <td>5929</td>\\n <td>28-04-2023 20:02</td>\\n <td>FT231182X4F7BNK</td>\\n <td>28042023 Gaji 28 Apr 2023 CCDI</td>\\n <td>695,225.00</td>\\n <td></td>\\n <td>411,266,281.71</td>\\n </tr>\\n <tr>\\n <td>5930</td>\\n <td>28-04-2023 20:02</td>\\n <td>FT23118YWLDHBNK</td>\\n <td>28042023 Pettycash Cabang Jatim Apr 23</td>\\n <td>900,500.00</td>\\n <td></td>\\n <td>410,365,781.71</td>\\n </tr>\\n <tr>\\n <td>5931</td>\\n <td>28-04-2023 20:03</td>\\n <td>FT23118J60JGBNK</td>\\n <td>28042023 Gaji 28 Apr 2023</td>\\n <td>2,326,790.00</td>\\n <td></td>\\n <td>408,038,991.71</td>\\n </tr>\\n <tr>\\n <td>5932</td>\\n <td>28-04-2023 20:03</td>\\n <td>FT231183RKSWBNK</td>\\n <td>28042023 Gaji 28 Apr 2023 CCDI</td>\\n <td>2,635,355.00</td>\\n <td></td>\\n <td>405,403,636.71</td>\\n </tr>\\n <tr>\\n <td>5933</td>\\n <td>28-04-2023 20:03</td>\\n <td>FT231186TDJ2BNK</td>\\n <td>28042023 Gaji 28 Apr 2023</td>\\n <td>3,360,768.00</td>\\n <td></td>\\n <td>402,042,868.71</td>\\n </tr>\\n <tr>\\n <td>5934</td>\\n <td>28-04-2023 20:03</td>\\n <td>FT23118701FJBNK</td>\\n <td>28042023 Gaji 28 Apr 2023</td>\\n <td>3,410,790.00</td>\\n <td></td>\\n <td>398,632,078.71</td>\\n </tr>\\n <tr>\\n <td>5935</td>\\n <td>28-04-2023 20:03</td>\\n <td>FT231186KTP0BNK</td>\\n <td>28042023 Gaji 28 Apr 2023</td>\\n <td>4,204,292.00</td>\\n <td></td>\\n <td>394,427,786.71</td>\\n </tr>\\n <tr>\\n <td>5936</td>\\n <td>28-04-2023 20:03</td>\\n <td>FT231185TLGBBNK</td>\\n <td>28042023 Gaji 28 Apr 2023 CCDI</td>\\n <td>4,608,360.00</td>\\n <td></td>\\n <td>389,819,426.71</td>\\n </tr>\\n <tr>\\n <td>5937</td>\\n <td>28-04-2023 20:03</td>\\n <td>FT231184YLLLBNK</td>\\n <td>28042023 Gaji 28 Apr 2023</td>\\n <td>5,015,644.00</td>\\n <td></td>\\n <td>384,803,782.71</td>\\n </tr>\\n <tr>\\n <td>5938</td>\\n <td>28-04-2023 20:03</td>\\n <td>FT231188DY10BNK</td>\\n <td>28042023 Gaji 28 Apr 2023</td>\\n <td>5,238,310.00</td>\\n <td></td>\\n <td>379,565,472.71</td>\\n </tr>\\n <tr>\\n <td>5939</td>\\n <td>28-04-2023 20:03</td>\\n <td>FT231185CZ7QBNK</td>\\n <td>28042023 Gaji 28 Apr 2023</td>\\n <td>5,269,520.00</td>\\n <td></td>\\n <td>374,295,952.71</td>\\n </tr>\\n <tr>\\n <td>5940</td>\\n <td>28-04-2023 20:03</td>\\n <td>FT23118J6747BNK</td>\\n <td>28042023 Gaji 28 Apr 2023 CCDI</td>\\n <td>5,273,720.00</td>\\n <td></td>\\n <td>369,022,232.71</td>\\n </tr>\\n <tr>\\n <td>5941</td>\\n <td>28-04-2023 20:03</td>\\n <td>FT231184J9CBBNK</td>\\n <td>28042023 Gaji 28 Apr 2023</td>\\n <td>5,323,644.00</td>\\n <td></td>\\n <td>363,698,588.71</td>\\n </tr>\\n <tr>\\n <td>5942</td>\\n <td>28-04-2023 20:03</td>\\n <td>FT231187N3QNBNK</td>\\n <td>28042023 Gaji 28 Apr 2023</td>\\n <td>5,405,469.00</td>\\n <td></td>\\n <td>358,293,119.71</td>\\n </tr>\\n <tr>\\n <td>5943</td>\\n <td>28-04-2023 20:03</td>\\n <td>FT231189M2FMBNK</td>\\n <td>28042023 Gaji 28 Apr 2023 CCDI</td>\\n <td>6,217,944.00</td>\\n <td></td>\\n <td>352,075,175.71</td>\\n </tr>\\n <tr>\\n <td>5944</td>\\n <td>28-04-2023 20:03</td>\\n <td>FT231188VFCQBNK</td>\\n <td>28042023 Gaji 28 Apr 2023 CCDI</td>\\n <td>6,599,190.00</td>\\n <td></td>\\n <td>345,475,985.71</td>\\n </tr>\\n <tr>\\n <td>5945</td>\\n <td>28-04-2023 20:03</td>\\n <td>FT23118B4F0RBNK</td>\\n <td>28042023 Gaji 28 Apr 2023 CCDI</td>\\n <td>6,973,223.00</td>\\n <td></td>\\n <td>338,502,762.71</td>\\n </tr>\\n <tr>\\n <td>5946</td>\\n <td>28-04-2023 20:03</td>\\n <td>FT2311842F3JBNK</td>\\n <td>28042023 Gaji 28 Apr 2023 CCDI</td>\\n <td>7,105,973.00</td>\\n <td></td>\\n <td>331,396,789.71</td>\\n </tr>\\n <tr>\\n <td>5947</td>\\n <td>28-04-2023 20:04</td>\\n <td>FT23118HWDYSBNK</td>\\n <td>28042023 Gaji 28 Apr 2023 CCDI</td>\\n <td>2,280,000.00</td>\\n <td></td>\\n <td>329,116,789.71</td>\\n </tr>\\n <tr>\\n <td>5948</td>\\n <td>28-04-2023 20:04</td>\\n <td>FT23118FD9DHBNK</td>\\n <td>28042023 Gaji 28 Apr 2023 CCDI</td>\\n <td>2,280,000.00</td>\\n <td></td>\\n <td>326,836,789.71</td>\\n </tr>\\n <tr>\\n <td>5949</td>\\n <td>28-04-2023 20:04</td>\\n <td>FT23118F2LLZBNK</td>\\n <td>28042023 Gaji 28 Apr 2023</td>\\n <td>2,659,190.00</td>\\n <td></td>\\n <td>324,177,599.71</td>\\n </tr>\\n <tr>\\n <td>5950</td>\\n <td>28-04-2023 20:04</td>\\n <td>FT23118H7M5CBNK</td>\\n <td>28042023 Gaji 28 Apr 2023</td>\\n <td>2,826,790.00</td>\\n <td></td>\\n <td>321,350,809.71</td>\\n </tr>\\n <tr>\\n <td>5951</td>\\n <td>28-04-2023 20:04</td>\\n <td>FT23118G4LSMBNK</td>\\n <td>28042023 Gaji 28 Apr 2023</td>\\n <td>2,826,790.00</td>\\n <td></td>\\n <td>318,524,019.71</td>\\n </tr>\\n <tr>\\n <td>5952</td>\\n <td>28-04-2023 20:04</td>\\n <td>FT23118C758NBNK</td>\\n <td>28042023 Gaji 28 Apr 2023 CCDI</td>\\n <td>2,922,756.00</td>\\n <td></td>\\n <td>315,601,263.71</td>\\n </tr>\\n <tr>\\n <td>5953</td>\\n <td>28-04-2023 20:04</td>\\n <td>FT23118FQPY9BNK</td>\\n <td>28042023 Gaji 28 Apr 2023</td>\\n <td>3,522,150.00</td>\\n <td></td>\\n <td>312,079,113.71</td>\\n </tr>\\n <tr>\\n <td>5954</td>\\n <td>28-04-2023 20:04</td>\\n <td>FT23118J6DYHBNK</td>\\n <td>28042023 Gaji 28 Apr 2023</td>\\n <td>3,826,790.00</td>\\n <td></td>\\n <td>308,252,323.71</td>\\n </tr>\\n <tr>\\n <td>5955</td>\\n <td>28-04-2023 20:04</td>\\n <td>FT23118BWWGRBNK</td>\\n <td>28042023 Gaji 28 Apr 2023 CCDI</td>\\n <td>3,898,891.00</td>\\n <td></td>\\n <td>304,353,432.71</td>\\n </tr>\\n <tr>\\n <td>5956</td>\\n <td>28-04-2023 20:04</td>\\n <td>FT23118GTCRGBNK</td>\\n <td>28042023 Gaji 28 Apr 2023</td>\\n <td>3,935,921.00</td>\\n <td></td>\\n <td>300,417,511.71</td>\\n </tr>\\n <tr>\\n <td>5957</td>\\n <td>28-04-2023 20:04</td>\\n <td>FT231187RMFNBNK</td>\\n <td>28042023 Gaji 28 Apr 2023</td>\\n <td>4,456,085.00</td>\\n <td></td>\\n <td>295,961,426.71</td>\\n </tr>\\n <tr>\\n <td>5958</td>\\n <td>28-04-2023 20:04</td>\\n <td>FT23118D0168BNK</td>\\n <td>28042023 Gaji 28 Apr 2023</td>\\n <td>4,998,666.00</td>\\n <td></td>\\n <td>290,962,760.71</td>\\n </tr>\\n <tr>\\n <td>5959</td>\\n <td>28-04-2023 20:04</td>\\n <td>FT23118FJJVBNK</td>\\n <td>28042023 Gaji 28 Apr 2023</td>\\n <td>5,491,721.00</td>\\n <td></td>\\n <td>285,471,039.71</td>\\n </tr>\\n <tr>\\n <td>5960</td>\\n <td>28-04-2023 20:04</td>\\n <td>FT23118CFB0BNK</td>\\n <td>28042023 Gaji 28 Apr 2023</td>\\n <td>5,672,124.00</td>\\n <td></td>\\n <td>279,798,915.71</td>\\n </tr>\\n <tr>\\n <td>5961</td>\\n <td>28-04-2023 20:04</td>\\n <td>FT231187NBMSBNK</td>\\n <td>28042023 Gaji 28 Apr 2023</td>\\n <td>5,818,659.00</td>\\n <td></td>\\n <td>273,980,256.71</td>\\n </tr>\\n <tr>\\n <td>5962</td>\\n <td>28-04-2023 20:04</td>\\n <td>FT231187GSKDBNK</td>\\n <td>28042023 Gaji 28 Apr 2023 CCDI</td>\\n <td>5,970,449.00</td>\\n <td></td>\\n <td>268,009,807.71</td>\\n </tr>\\n <tr>\\n <td>5963</td>\\n <td>28-04-2023 20:04</td>\\n <td>FT2311877NKLBNK</td>\\n <td>28042023 Gaji 28 Apr 2023 CCDI</td>\\n <td>6,081,257.00</td>\\n <td></td>\\n <td>261,928,550.71</td>\\n </tr>\\n <tr>\\n <td>5964</td>\\n <td>28-04-2023 20:05</td>\\n <td>FT23118QD59SBNK</td>\\n <td>28042023 Gaji 28 Apr 2023 CCDI</td>\\n <td>1,297,108.00</td>\\n <td></td>\\n <td>260,631,442.71</td>\\n </tr>\\n <tr>\\n <td>5965</td>\\n <td>28-04-2023 20:05</td>\\n <td>FT23118N36W8BNK</td>\\n <td>28042023 Gaji 28 Apr 2023 CCDI</td>\\n <td>2,580,000.00</td>\\n <td></td>\\n <td>258,051,442.71</td>\\n </tr>\\n <tr>\\n <td>5966</td>\\n <td>28-04-2023 20:05</td>\\n <td>FT23118KYPJ0BNK</td>\\n <td>28042023 Gaji 28 Apr 2023</td>\\n <td>3,186,790.00</td>\\n <td></td>\\n <td>254,864,652.71</td>\\n </tr>\\n <tr>\\n <td>5967</td>\\n <td>28-04-2023 20:05</td>\\n <td>FT23118LQ7CSBNK</td>\\n <td>28042023 Gaji 28 Apr 2023</td>\\n <td>3,186,790.00</td>\\n <td></td>\\n <td>251,677,862.71</td>\\n </tr>\\n <tr>\\n <td>5968</td>\\n <td>28-04-2023 20:05</td>\\n <td>FT23118LCP53BNK</td>\\n <td>28042023 Gaji 28 Apr 2023</td>\\n <td>3,218,193.00</td>\\n <td></td>\\n <td>248,459,669.71</td>\\n </tr>\\n <tr>\\n <td>5969</td>\\n <td>28-04-2023 20:05</td>\\n <td>FT23118MSM7SBNK</td>\\n <td>28042023 Gaji 28 Apr 2023</td>\\n <td>3,282,790.00</td>\\n <td></td>\\n <td>245,176,879.71</td>\\n </tr>\\n <tr>\\n <td>5970</td>\\n <td>28-04-2023 20:05</td>\\n <td>FT23118NVY7DBBNK</td>\\n <td>28042023 Gaji 28 Apr 2023</td>\\n <td>3,360,000.00</td>\\n <td></td>\\n <td>241,816,879.71</td>\\n </tr>\\n <tr>\\n <td>5971</td>\\n <td>28-04-2023 20:05</td>\\n <td>FT23118Q274BBNK</td>\\n <td>28042023 Gaji 28 Apr 2023 CCDI</td>\\n <td>3,481,747.00</td>\\n <td></td>\\n <td>238,335,132.71</td>\\n </tr>\\n <tr>\\n <td>5972</td>\\n <td>28-04-2023 20:05</td>\\n <td>FT23118PQPSLBNK</td>\\n <td>28042023 Gaji 28 Apr 2023 CCDI</td>\\n <td>3,891,324.00</td>\\n <td></td>\\n <td>234,443,808.71</td>\\n </tr>\\n <tr>\\n <td>5973</td>\\n <td>28-04-2023 20:05</td>\\n <td>FT23118MBZ1JBNK</td>\\n <td>28042023 Gaji 28 Apr 2023</td>\\n <td>4,903,133.00</td>\\n <td></td>\\n <td>229,540,675.71</td>\\n </tr>\\n <tr>\\n <td>5974</td>\\n <td>28-04-2023 20:05</td>\\n <td>FT23118WD4ZBNK</td>\\n <td>28042023 Gaji 28 Apr 2023</td>\\n <td>4,988,259.00</td>\\n <td></td>\\n <td>224,552,416.71</td>\\n </tr>\\n <tr>\\n <td>5975</td>\\n <td>28-04-2023 20:05</td>\\n <td>FT23118P95FLBNK</td>\\n <td>28042023 Gaji 28 Apr 2023</td>\\n <td>4,988,259.00</td>\\n <td></td>\\n <td>219,564,157.71</td>\\n </tr>\\n <tr>\\n <td>5976</td>\\n <td>28-04-2023 20:05</td>\\n <td>FT23118M0Q7SBNK</td>\\n <td>28042023 Gaji 28 Apr 2023 CCDI</td>\\n <td>5,357,070.00</td>\\n <td></td>\\n <td>214,207,087.71</td>\\n </tr>\\n <tr>\\n <td>5977</td>\\n <td>28-04-2023 20:06</td>\\n <td>FT2311893G6PBNK</td>\\n <td>28042023 Gaji 28 Apr 2023 CCDI</td>\\n <td>1,134,970.00</td>\\n <td></td>\\n <td>213,072,117.71</td>\\n </tr>\\n <tr>\\n <td>5978</td>\\n <td>28-04-2023 20:06</td>\\n <td>FT23118QY2G4BNK</td>\\n <td>28042023 Gaji 28 Apr 2023 CCDI</td>\\n <td>1,297,108.00</td>\\n <td></td>\\n <td>211,775,009.71</td>\\n </tr>\\n <tr>\\n <td>5979</td>\\n <td>28-04-2023 20:06</td>\\n <td>FT23118VY2DBBNK</td>\\n <td>28042023 Gaji 28 Apr 2023 CCDI</td>\\n <td>1,297,108.00</td>\\n <td></td>\\n <td>210,477,901.71</td>\\n </tr>\\n <tr>\\n <td>5980</td>\\n <td>28-04-2023 20:06</td>\\n <td>FT23118X077JBNK</td>\\n <td>28042023 Gaji 28 Apr 2023 CCDI</td>\\n <td>1,297,108.00</td>\\n <td></td>\\n <td>209,180,793.71</td>\\n </tr>\\n <tr>\\n <td>5981</td>\\n <td>28-04-2023 20:06</td>\\n <td>FT23118XBZMGBNK</td>\\n <td>28042023 Gaji 28 Apr 2023 CCDI</td>\\n <td>1,971,908.00</td>\\n <td></td>\\n <td>207,208,885.71</td>\\n </tr>\\n <tr>\\n <td>5982</td>\\n <td>28-04-2023 20:06</td>\\n <td>FT23118XNLMWBNK</td>\\n <td>28042023 Gaji 28 Apr 2023</td>\\n <td>1,988,893.00</td>\\n <td></td>\\n <td>205,219,992.71</td>\\n </tr>\\n <tr>\\n <td>5983</td>\\n <td>28-04-2023 20:06</td>\\n <td>FT23118SFHQ6BNK</td>\\n <td>28042023 Gaji 28 Apr 2023</td>\\n <td>3,490,768.00</td>\\n <td></td>\\n <td>201,729,224.71</td>\\n </tr>\\n <tr>\\n <td>5984</td>\\n <td>28-04-2023 20:06</td>\\n <td>FT23118S0GSTBNK</td>\\n <td>28042023 Gaji 28 Apr 2023</td>\\n <td>3,826,790.00</td>\\n <td></td>\\n <td>197,902,434.71</td>\\n </tr>\\n <tr>\\n <td>5985</td>\\n <td>28-04-2023 20:06</td>\\n <td>FT231188YPPQBNK</td>\\n <td>28042023 Gaji 28 Apr 2023</td>\\n <td>3,826,790.00</td>\\n <td></td>\\n <td>194,075,644.71</td>\\n </tr>\\n <tr>\\n <td>5986</td>\\n <td>28-04-2023 20:06</td>\\n <td>FT231187TWZZBNK</td>\\n <td>28042023 Gaji 28 Apr 2023 CCDI</td>\\n <td>4,067,052.00</td>\\n <td></td>\\n <td>190,008,592.71</td>\\n </tr>\\n <tr>\\n <td>5987</td>\\n <td>28-04-2023 20:06</td>\\n <td>FT23118T2PX1BNK</td>\\n <td>28042023 Gaji 28 Apr 2023 CCDI</td>\\n <td>4,694,956.00</td>\\n <td></td>\\n <td>185,313,636.71</td>\\n </tr>\\n <tr>\\n <td>5988</td>\\n <td>28-04-2023 20:06</td>\\n <td>FT23118TVRW9BNK</td>\\n <td>28042023 Gaji 28 Apr 2023 CCDI</td>\\n <td>5,001,324.00</td>\\n <td></td>\\n <td>180,312,312.71</td>\\n </tr>\\n <tr>\\n <td>5989</td>\\n <td>28-04-2023 20:07</td>\\n <td>FT2311804VZ7BNK</td>\\n <td>28042023 Gaji 28 Apr 2023 CCDI</td>\\n <td>1,297,108.00</td>\\n <td></td>\\n <td>179,015,204.71</td>\\n </tr>\\n <tr>\\n <td>5990</td>\\n <td>28-04-2023 20:07</td>\\n <td>FT231184TC1FBNK</td>\\n <td>28042023 Gaji 28 Apr 2023 CCDI</td>\\n <td>1,668,540.00</td>\\n <td></td>\\n <td>177,346,664.71</td>\\n </tr>\\n <tr>\\n <td>5991</td>\\n <td>28-04-2023 20:07</td>\\n <td>FT2311841TN7BNK</td>\\n <td>28042023 Gaji 28 Apr 2023 CCDI</td>\\n <td>1,810,396.00</td>\\n <td></td>\\n <td>175,536,268.71</td>\\n </tr>\\n </tbody>\\n</table>\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/BTN Diana_page-0001.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 987,\n 61,\n 1103,\n 130\n ],\n \"category\": \"Page-header\",\n \"text\": \"btn\"\n },\n {\n \"bbox\": [\n 60,\n 68,\n 315,\n 124\n ],\n \"category\": \"Page-header\",\n \"text\": \"BUMN UNTUK INDONESIA\"\n },\n {\n \"bbox\": [\n 69,\n 193,\n 335,\n 229\n ],\n \"category\": \"Section-header\",\n \"text\": \"# Mutasi Rekening\"\n },\n {\n \"bbox\": [\n 69,\n 233,\n 264,\n 253\n ],\n \"category\": \"Section-header\",\n \"text\": \"## Account Statement\"\n },\n {\n \"bbox\": [\n 74,\n 289,\n 146,\n 309\n ],\n \"category\": \"Text\",\n \"text\": \"DIANA\"\n },\n {\n \"bbox\": [\n 74,\n 324,\n 242,\n 345\n ],\n \"category\": \"Text\",\n \"text\": \"1501880001534\"\n },\n {\n \"bbox\": [\n 853,\n 324,\n 1162,\n 348\n ],\n \"category\": \"Text\",\n \"text\": \"01 May 2025 s/d 08 May 2025\"\n },\n {\n \"bbox\": [\n 69,\n 375,\n 1167,\n 1504\n ],\n \"category\": \"Table\",\n \"text\": \"<table>\\n <thead>\\n <tr>\\n <th>Tgl & Waktu Date & Time</th>\\n <th>Jenis Transaksi Transaction Type</th>\\n <th>Debit (IDR) Debit (IDR)</th>\\n <th>Kredit (IDR) Credit (IDR)</th>\\n <th>Saldo(IDR) Balance (IDR)</th>\\n </tr>\\n\\n </thead>\\n <tbody>\\n<tr><td colspan=\\\"4\\\">Saldo Awal Beginning Balance</td>\\n <td>3.487.330,20</td>\\n </tr> <tr>\\n <td>01/05/2025 04:56:14</td>\\n <td>POST Misc GL SA SETTLEQRS 430001558120001 9860881256 RM RASA UTAMA off us 292803f22791 BTN_MERCHANT</td>\\n <td>0,00</td>\\n <td>195.500,00</td>\\n <td>3.682.830,20</td>\\n </tr> <tr>\\n <td>01/05/2025 04:56:14</td>\\n <td>POST Misc GL SA SETTLEQRS 430001558120001 0070651449 RM RASA UTAMA off us 000122564224 BTN_MERCHANT</td>\\n <td>0,00</td>\\n <td>103.000,00</td>\\n <td>3.785.830,20</td>\\n </tr> <tr>\\n <td>01/05/2025 04:56:14</td>\\n <td>POST Misc GL SA SETTLEQRS 430001558120001 0195091622 RM RASA UTAMA off us 293503f25339 BTN_MERCHANT</td>\\n <td>0,00</td>\\n <td>78.000,00</td>\\n <td>3.863.830,20</td>\\n </tr> <tr>\\n <td>01/05/2025 04:56:14</td>\\n <td>POST Misc GL SA SETTLEQRS 430001558120001 9308041118 RM RASA UTAMA off us 1crr6b277909 BTN_MERCHANT</td>\\n <td>0,00</td>\\n <td>75.000,00</td>\\n <td>3.938.830,20</td>\\n </tr> <tr>\\n <td>01/05/2025 04:56:14</td>\\n <td>POST Misc GL SA SETTLEQRS 430001558120001 0507781955 RM RASA UTAMA off us 002119563651 BTN_MERCHANT</td>\\n <td>0,00</td>\\n <td>75.000,00</td>\\n <td>4.013.830,20</td>\\n </tr> <tr>\\n <td>01/05/2025 04:56:14</td>\\n <td>POST Misc GL SA SETTLEQRS 430001558120001 9909401412 RM RASA UTAMA off us 000122164913 BTN_MERCHANT</td>\\n <td>0,00</td>\\n <td>73.000,00</td>\\n <td>4.086.830,20</td>\\n </tr> <tr>\\n <td>01/05/2025 04:56:14</td>\\n <td>POST Misc GL SA SETTLEQRS 430001558120001 0479212001 RM RASA UTAMA off us 000126520483 BTN_MERCHANT</td>\\n <td>0,00</td>\\n <td>64.500,00</td>\\n <td>4.151.330,20</td>\\n </tr> <tr>\\n <td>01/05/2025 04:56:14</td>\\n <td>POST Misc GL SA SETTLEQRS 430001558120001 9396251231 RM RASA UTAMA off us 000120918620 BTN_MERCHANT</td>\\n <td>0,00</td>\\n <td>50.000,00</td>\\n <td>4.201.330,20</td>\\n </tr> <tr>\\n <td>01/05/2025 04:56:14</td>\\n <td>POST Misc GL SA SETTLEQRS 430001558120001 9860881256 RM RASA UTAMA off us 292803f22791 BTN_MERCHANT</td>\\n <td>0,00</td>\\n <td>42.000,00</td>\\n <td>4.243.330,20</td>\\n </tr> </tbody>\\n</table>\"\n },\n {\n \"bbox\": [\n 1181,\n 1622,\n 1193,\n 1645\n ],\n \"category\": \"Page-footer\",\n \"text\": \"1\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/REKENING KORAN BRI JANUARI 2023_page-0011.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 988,\n 63,\n 1345,\n 86\n ],\n \"category\": \"Page-header\",\n \"text\": \"LAPORAN TRANSAKSI FINANSIAL\"\n },\n {\n \"bbox\": [\n 76,\n 46,\n 356,\n 143\n ],\n \"category\": \"Page-header\",\n \"text\": \"BANK BRI\\nMelayani Dengan Setulus Hati\"\n },\n {\n \"bbox\": [\n 1211,\n 106,\n 1335,\n 124\n ],\n \"category\": \"Page-header\",\n \"text\": \"Halaman 11 dari\"\n },\n {\n \"bbox\": [\n 1316,\n 128,\n 1336,\n 143\n ],\n \"category\": \"Page-header\",\n \"text\": \"19\"\n },\n {\n \"bbox\": [\n 64,\n 179,\n 1327,\n 1551\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><td>Tanggal Transaksi</td><td>Uraian Transaksi</td><td>Teller</td><td>Debet</td><td>Kredit</td><td>Saldo</td></tr></thead><tbody><tr><td>18/01/23 12:12:59</td><td>QRIS500240027999#9360000210053304097 ESB:NBMB:0007I00P:500240027999</td><td>8888424</td><td>66,000.00</td><td>0.00</td><td>3,942,896.00</td></tr><tr><td>18/01/23 12:29:52</td><td>NBMB PT MULTI KARYA TO UVI ARIANINGTYAS ESB:NBMB:0001500F:500243892925</td><td>8888074</td><td>200,000.00</td><td>0.00</td><td>3,742,896.00</td></tr><tr><td>18/01/23 13:51:52</td><td>NBMB PT MULTI KARYA TO SAMINO ESB:NBMB:0001500F:500261909926</td><td>8888035</td><td>921,500.00</td><td>0.00</td><td>2,821,396.00</td></tr><tr><td>18/01/23 14:21:55</td><td>NBMB PT MULTI KARYA TO GEMA RAMDANIA ESB:NBMB:0001500F:500268417840</td><td>8888236</td><td>2,000,000.00</td><td>0.00</td><td>821,396.00</td></tr><tr><td>18/01/23 17:30:57</td><td>BRIVA1269710233721030NBMBIKN-Asharina Au BRIVA 1269710233721030NBMBIKN-Asharina ESB:NBMB:0200200P:500309247493</td><td>8888106</td><td>497,000.00</td><td>0.00</td><td>324,396.00</td></tr><tr><td>18/01/23 18:16:11</td><td>BFST007701002482300MULTI KARYA :BMRIIDJA 20230118BMRIIDJA010O9932250281 ESB:BFST:0008N:20230118BRINIDJA110481523</td><td>8888672</td><td>0.00</td><td>83,243,000.00</td><td>83,567,396.00</td></tr><tr><td>18/01/23 18:16:14</td><td>BFST007701002482300MULTI KARYA :BMRIIDJA 20230118BMRIIDJA010O9932250282 ESB:BFST:0008N:20230118BRINIDJA110481525</td><td>8888646</td><td>0.00</td><td>45,000,000.00</td><td>128,567,396.00</td></tr><tr><td>19/01/23 10:46:22</td><td>NBMB PT MULTI KARYA TO FLIPTECH LENTERA ESB:NBMB:0001500F:500446631247</td><td>8888200</td><td>3,722,795.00</td><td>0.00</td><td>124,844,601.00</td></tr><tr><td>19/01/23 10:54:22</td><td>NBMB PT MULTI KARYA TO AFEN ESB:NBMB:0001500F:500448431036</td><td>8888542</td><td>666,500.00</td><td>0.00</td><td>124,178,101.00</td></tr><tr><td>19/01/23 10:57:58</td><td>NBMB PT MULTI KARYA TO DIDIK SETIAWAN ESB:NBMB:0001500F:500449242923</td><td>8888477</td><td>666,500.00</td><td>0.00</td><td>123,511,601.00</td></tr><tr><td>19/01/23 10:58:38</td><td>NBMB PT MULTI KARYA TO PUJI LESTARI ESB:NBMB:0001500F:500449391078</td><td>8888307</td><td>1,000,000.00</td><td>0.00</td><td>122,511,601.00</td></tr><tr><td>19/01/23 10:59:57</td><td>NBMB PT MULTI KARYA TO SAMINO ESB:NBMB:0001500F:500449687026</td><td>8888380</td><td>1,666,500.00</td><td>0.00</td><td>120,845,101.00</td></tr><tr><td>19/01/23 11:01:22</td><td>NBMB PT MULTI KARYA TO MUJITO ESB:NBMB:0001500F:500450007251</td><td>8888354</td><td>1,166,500.00</td><td>0.00</td><td>119,678,601.00</td></tr><tr><td>19/01/23 11:03:12</td><td>NBMB PT MULTI KARYA TO MOCHAMAT IKHWAN ESB:NBMB:0001500F:500450420752</td><td>8888404</td><td>833,000.00</td><td>0.00</td><td>118,845,601.00</td></tr><tr><td>19/01/23 11:04:10</td><td>NBMB PT MULTI KARYA TO MOCHAMAT IKHWAN ESB:NBMB:0001500F:500450639576</td><td>8888014</td><td>583,000.00</td><td>0.00</td><td>118,262,601.00</td></tr><tr><td>19/01/23 11:04:48</td><td>NBMB PT MULTI KARYA TO DWIKI PAMBUDI ESB:NBMB:0001500F:500450779931</td><td>8888195</td><td>500,000.00</td><td>0.00</td><td>117,762,601.00</td></tr><tr><td>19/01/23 11:05:46</td><td>NBMB PT MULTI KARYA TO DWIKI PAMBUDI ESB:NBMB:0001500F:500450999302</td><td>8888303</td><td>500,000.00</td><td>0.00</td><td>117,262,601.00</td></tr><tr><td>19/01/23 11:06:47</td><td>NBMB PT MULTI KARYA TO ARI RAHMAD HERMAW ESB:NBMB:0001500F:500451234888</td><td>8888557</td><td>583,000.00</td><td>0.00</td><td>116,679,601.00</td></tr><tr><td>19/01/23 11:07:28</td><td>NBMB PT MULTI KARYA TO RIFRIANTO ESB:NBMB:0001500F:500451388978</td><td>8888097</td><td>583,000.00</td><td>0.00</td><td>116,096,601.00</td></tr><tr><td>19/01/23 11:08:22</td><td>NBMB PT MULTI KARYA TO RIFRIANTO ESB:NBMB:0001500F:500451591447</td><td>8888108</td><td>583,000.00</td><td>0.00</td><td>115,513,601.00</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 1156,\n 1648,\n 1366,\n 1710\n ],\n \"category\": \"Page-footer\",\n \"text\": \"02/10/2023 10:16:16 AM\\n00329563\\nAlpita Mah\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/estatement bca eli_page-0002.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 45,\n 93,\n 232,\n 152\n ],\n \"category\": \"Page-header\",\n \"text\": \"BCA\"\n },\n {\n \"bbox\": [\n 434,\n 114,\n 801,\n 146\n ],\n \"category\": \"Page-header\",\n \"text\": \"REKENING TAHAPAN\"\n },\n {\n \"bbox\": [\n 61,\n 175,\n 188,\n 189\n ],\n \"category\": \"Text\",\n \"text\": \"KCU RAWAMANGUN\"\n },\n {\n \"bbox\": [\n 677,\n 203,\n 1026,\n 313\n ],\n \"category\": \"Text\",\n \"text\": \"NO. REKENING : 0948354589\\nHALAMAN : 2/2\\nPERIODE : MARET 2018\\nMATA UANG : IDR\"\n },\n {\n \"bbox\": [\n 59,\n 200,\n 281,\n 344\n ],\n \"category\": \"Text\",\n \"text\": \"ELI SUHELI\\nRUKAN GRAHA MAS\\nRAWAMANGUN\\nJL PEMUDA BLOK AA NO 1\\nJAKARTA 13220\\nINDONESIA\"\n },\n {\n \"bbox\": [\n 51,\n 382,\n 118,\n 396\n ],\n \"category\": \"Text\",\n \"text\": \"CATATAN:\"\n },\n {\n \"bbox\": [\n 640,\n 406,\n 1184,\n 444\n ],\n \"category\": \"List-item\",\n \"text\": \"* BCA berhak setiap saat melakukan koreksi apabila ada kesalahan pada Laporan Mutasi Rekening.\"\n },\n {\n \"bbox\": [\n 54,\n 406,\n 597,\n 464\n ],\n \"category\": \"List-item\",\n \"text\": \"* Apabila nasabah tidak melakukan sanggahan atas Laporan Mutasi Rekening ini sampai dengan akhir bulan berikutnya, nasabah dianggap telah menyetujui segala data yang tercantum pada Laporan Mutasi Rekening ini.\"\n },\n {\n \"bbox\": [\n 42,\n 484,\n 1195,\n 835\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>TANGGAL</th><th>KETERANGAN</th><th>CBG</th><th>MUTASI</th><th>SALDO</th></tr></thead><tbody><tr><td colspan=\\\"5\\\" style=\\\"text-align: center;\\\">/OCBC NISP P</td></tr><tr><td>22/03</td><td>TARIKAN ATM 22/03</td><td></td><td>300,000.00 DB</td><td>1,314,317.55</td></tr><tr><td>23/03</td><td>TARIKAN ATM 23/03</td><td></td><td>100,000.00 DB</td><td></td></tr><tr><td>23/03</td><td>TARIKAN ATM 23/03</td><td></td><td>600,000.00 DB</td><td>614,317.55</td></tr><tr><td>26/03</td><td>TARIKAN ATM 26/03</td><td></td><td>100,000.00 DB</td><td>514,317.55</td></tr><tr><td>29/03</td><td>TARIKAN ATM 28/03</td><td></td><td>100,000.00 DB</td><td></td></tr><tr><td>29/03</td><td>SETORAN TUNAI</td><td>0012</td><td>4,000,000.00</td><td>4,414,317.55</td></tr><tr><td>31/03</td><td>BUNGA</td><td></td><td>1,024.86</td><td>4,415,342.41</td></tr><tr><td colspan=\\\"4\\\">SALDO AWAL :</td><td>4,071,517.55</td></tr><tr><td colspan=\\\"4\\\">MUTASI CR :</td><td>6,351,024.86</td></tr><tr><td colspan=\\\"4\\\">MUTASI DB :</td><td>6,007,200.00</td></tr><tr><td colspan=\\\"4\\\">SALDO AKHIR :</td><td>4,415,342.41</td></tr></tbody></table>\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/REKENING KORAN BRI JANUARI 2023_page-0014.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 988,\n 63,\n 1345,\n 87\n ],\n \"category\": \"Page-header\",\n \"text\": \"LAPORAN TRANSAKSI FINANSIAL\"\n },\n {\n \"bbox\": [\n 76,\n 46,\n 356,\n 143\n ],\n \"category\": \"Page-header\",\n \"text\": \"BANK BRI\\nMelayani Dengan Setulus Hati\"\n },\n {\n \"bbox\": [\n 1210,\n 107,\n 1335,\n 124\n ],\n \"category\": \"Page-header\",\n \"text\": \"Halaman 14 dari\"\n },\n {\n \"bbox\": [\n 1316,\n 128,\n 1337,\n 143\n ],\n \"category\": \"Page-header\",\n \"text\": \"19\"\n },\n {\n \"bbox\": [\n 64,\n 179,\n 1328,\n 1556\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><td>Tanggal Transaksi</td><td>Uraian Transaksi</td><td>Teller</td><td>Debet</td><td>Kredit</td><td>Saldo</td></tr></thead><tbody><tr><td>20/01/23 15:40:43</td><td>NBMB PT MULTI KARYA TO APPELES DWI HARYA ESB:NBMB:0001500F:500754997572</td><td>8888198</td><td>495,000.00</td><td>0.00</td><td>25,166,775.00</td></tr><tr><td>20/01/23 15:41:26</td><td>NBMB PT MULTI KARYA TO ABAS BUDIONO ESB:NBMB:0001500F:500755161163</td><td>8888046</td><td>495,000.00</td><td>0.00</td><td>24,671,775.00</td></tr><tr><td>20/01/23 15:49:18</td><td>NBMB PT MULTI KARYA TO HASAN ABIDIN ESB:NBMB:0001500F:500756981223</td><td>8888001</td><td>4,455,000.00</td><td>0.00</td><td>20,216,775.00</td></tr><tr><td>20/01/23 15:50:07</td><td>NBMB PT MULTI KARYA TO SAMINO ESB:NBMB:0001500F:500757167540</td><td>8888460</td><td>495,000.00</td><td>0.00</td><td>19,721,775.00</td></tr><tr><td>20/01/23 15:51:51</td><td>NBMB PT MULTI KARYA TO ARIS WIDODO ESB:NBMB:0001500F:500757567748</td><td>8888289</td><td>3,960,000.00</td><td>0.00</td><td>15,761,775.00</td></tr><tr><td>20/01/23 15:54:34</td><td>NBMB PT MULTI KARYA TO MOCHAMAT IKHWAN ESB:NBMB:0001500F:500758194389</td><td>8888432</td><td>1,485,000.00</td><td>0.00</td><td>14,276,775.00</td></tr><tr><td>20/01/23 15:55:18</td><td>NBMB PT MULTI KARYA TO EDI SUPRIATMAN ESB:NBMB:0001500F:500758359648</td><td>8888241</td><td>495,000.00</td><td>0.00</td><td>13,781,775.00</td></tr><tr><td>20/01/23 16:54:21</td><td>NBMB PT MULTI KARYA TO KATHERINA RISMANA ESB:NBMB:0001500F:500772235333</td><td>8888010</td><td>250,000.00</td><td>0.00</td><td>13,531,775.00</td></tr><tr><td>20/01/23 16:55:29</td><td>NBMB PT MULTI KARYA TO SAKUNG ESB:NBMB:0001500F:500772504340</td><td>8888335</td><td>495,000.00</td><td>0.00</td><td>13,036,775.00</td></tr><tr><td>20/01/23 16:56:31</td><td>NBMB PT MULTI KARYA TO DIDIK SETIAWAN ESB:NBMB:0001500F:500772749378</td><td>8888062</td><td>495,000.00</td><td>0.00</td><td>12,541,775.00</td></tr><tr><td>20/01/23 16:57:19</td><td>NBMB PT MULTI KARYA TO ABD MUIS ESB:NBMB:0001500F:500772939658</td><td>8888168</td><td>495,000.00</td><td>0.00</td><td>12,046,775.00</td></tr><tr><td>20/01/23 16:58:12</td><td>NBMB PT MULTI KARYA TO DARMA SANJAYA ESB:NBMB:0001500F:500773149902</td><td>8888390</td><td>720,000.00</td><td>0.00</td><td>11,326,775.00</td></tr><tr><td>20/01/23 16:58:53</td><td>NBMB PT MULTI KARYA TO JEFRI ESB:NBMB:0001500F:500773312174</td><td>8888508</td><td>495,000.00</td><td>0.00</td><td>10,831,775.00</td></tr><tr><td>20/01/23 16:59:30</td><td>NBMB PT MULTI KARYA TO SUARDI ESB:NBMB:0001500F:500773460099</td><td>8888490</td><td>495,000.00</td><td>0.00</td><td>10,336,775.00</td></tr><tr><td>20/01/23 17:10:20</td><td>NBMB PT MULTI KARYA TO KARDI SURYADI ESB:NBMB:0001500F:500776055874</td><td>8888407</td><td>1,980,000.00</td><td>0.00</td><td>8,356,775.00</td></tr><tr><td>20/01/23 17:33:22</td><td>NBMB PT MULTI KARYA TO FLIPTECH LENTERA ESB:NBMB:0001500F:500781731789</td><td>8888089</td><td>2,974,551.00</td><td>0.00</td><td>5,382,224.00</td></tr><tr><td>20/01/23 17:34:44</td><td>NBMB PT MULTI KARYA TO KARDI SURYADI ESB:NBMB:0001500F:500782063591</td><td>8888179</td><td>90,000.00</td><td>0.00</td><td>5,292,224.00</td></tr><tr><td>21/01/23 06:42:22</td><td>NBMB PT MULTI KARYA TO UVI ARIANINGTYAS ESB:NBMB:0001500F:500898416689</td><td>8888118</td><td>900,000.00</td><td>0.00</td><td>4,392,224.00</td></tr><tr><td>21/01/23 06:43:45</td><td>NBMB PT MULTI KARYA TO ARIS WIDODO ESB:NBMB:0001500F:500898585109</td><td>8888412</td><td>3,000,000.00</td><td>0.00</td><td>1,392,224.00</td></tr><tr><td>21/01/23 10:03:40</td><td>NBMB PT MULTI KARYA TO GEMA RAMDANIA ESB:NBMB:0001500F:500935183964</td><td>8888460</td><td>600,000.00</td><td>0.00</td><td>792,224.00</td></tr><tr><td>21/01/23 10:05:34</td><td>NBMB PT MULTI KARYA TO EKIT VEBIASTU JUA ESB:NBMB:0001500F:500935605193</td><td>8888085</td><td>405,000.00</td><td>0.00</td><td>387,224.00</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 1156,\n 1648,\n 1366,\n 1710\n ],\n \"category\": \"Page-footer\",\n \"text\": \"02/10/2023 10:16:16 AM\\n00329563\\nAlpita Mah\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/OCBC POHN MYINT HAN_page-0002.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 116,\n 42,\n 384,\n 99\n ],\n \"category\": \"Picture\"\n },\n {\n \"bbox\": [\n 807,\n 46,\n 1127,\n 65\n ],\n \"category\": \"Page-header\",\n \"text\": \"Oversea-Chinese Banking Corporation Limited\"\n },\n {\n \"bbox\": [\n 807,\n 67,\n 1132,\n 85\n ],\n \"category\": \"Page-header\",\n \"text\": \"65 Chulia Street OCBC Centre Singapore 049513\"\n },\n {\n \"bbox\": [\n 807,\n 90,\n 925,\n 104\n ],\n \"category\": \"Page-header\",\n \"text\": \"Co.Reg.No.: 193200032W\"\n },\n {\n \"bbox\": [\n 104,\n 99,\n 1117,\n 605\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>TRANSACTION CODE</th><th>DESCRIPTION</th><th></th></tr></thead><tbody><tr><td>A/C</td><td>Account</td><td>账户</td></tr><tr><td>A/C CLOSED</td><td>Account Closed</td><td>关闭账户</td></tr><tr><td>ATM O</td><td>ATM Overseas</td><td>海外自动柜员机</td></tr><tr><td>ATM PAYMENT</td><td>Automated Teller Machine Payment</td><td>自动柜员机付款</td></tr><tr><td>ATM TRANSFER</td><td>Automated Teller Machine Transfer</td><td>自动柜员机转账</td></tr><tr><td>ACU</td><td>Foreign Currency</td><td>外币</td></tr><tr><td>ADJ</td><td>Adjustment</td><td>调整</td></tr><tr><td>ADV</td><td>Advance</td><td>预付款</td></tr><tr><td>AMD</td><td>Amendment</td><td>修改</td></tr><tr><td>ASI</td><td>Automated Standing Instruction</td><td>自动长期指示</td></tr><tr><td>BANK CHARGES</td><td>Bank Charges</td><td>银行费用</td></tr><tr><td>BAL</td><td>Balance</td><td>余款</td></tr><tr><td>C/Order</td><td>Cashier's Order</td><td>本票</td></tr><tr><td>CHQ DP</td><td>Cheque Deposit</td><td>支票存入</td></tr><tr><td>CC</td><td>Cash Card</td><td>现金卡</td></tr><tr><td>CDP</td><td>Central Depository</td><td>中央托收私人有限公司</td></tr><tr><td>COM</td><td>Commission</td><td>佣金</td></tr><tr><td>CONV</td><td>Conversion</td><td>外币兑换</td></tr><tr><td>CR</td><td>Credit</td><td>货方/存货</td></tr><tr><td>CRVISA</td><td>VISA Electron Credit</td><td>维萨电子付款</td></tr><tr><td>CANC TT</td><td>Telegraphic Transfer Cancellation</td><td>电子汇款撤消</td></tr><tr><td>DIV</td><td>Dividend</td><td>股息</td></tr><tr><td>DR</td><td>Debit</td><td>借方/付出</td></tr><tr><td>DD</td><td>Demand Draft</td><td>即期汇票</td></tr><tr><td>DVE</td><td>VISA Electron Purchases</td><td>维萨电子</td></tr><tr><td>DDB</td><td>Direct Debit</td><td>直接财路付款</td></tr><tr><td>DCR</td><td>Direct Credit</td><td>直接财路存款</td></tr><tr><td>EPS</td><td>Electronic Payment of Shares</td><td>电子购股付款</td></tr><tr><td>ES</td><td>EasiSave</td><td>易式储蓄户口</td></tr><tr><td>ES FIXED FEE</td><td>EasiSave Fixed Fee</td><td>易式账户固定费用</td></tr><tr><td>ESA</td><td>Electronic Share Application</td><td>电子股票认购</td></tr><tr><td>EXPORT LOAN</td><td>Export Loan</td><td>出口货款</td></tr><tr><td>FCY</td><td>Foreign Currency</td><td>外币</td></tr><tr><td>HSE LOAN</td><td>House Loan</td><td>房屋贷款</td></tr><tr><td>IMPORT LOAN</td><td>Import Loan</td><td>进口货款</td></tr></tbody></table><table><tbody><tr><td>INT</td><td>Interest</td><td>利息</td></tr><tr><td>I/COLLN</td><td>Inward Collection</td><td>进口托收</td></tr><tr><td>IBG</td><td>Inter-Bank GIRO</td><td>财路</td></tr><tr><td>INB</td><td>Internet Banking</td><td>网络银行</td></tr><tr><td>INB TRANSFER</td><td>Internet Banking Transfer</td><td>网络银行转账</td></tr><tr><td>INS</td><td>Insurance</td><td>保险</td></tr><tr><td>L/C</td><td>Letter of Credit</td><td>信用证</td></tr><tr><td>L CHQ</td><td>Late Cheque</td><td>逾期支票</td></tr><tr><td>MER</td><td>Merchant</td><td>信用卡特约商家</td></tr><tr><td>NEGN</td><td>Negotiation</td><td>信用证议付</td></tr><tr><td>NETS</td><td>NETS</td><td>电子转账网络系统</td></tr><tr><td>NOM</td><td>Nominee</td><td>信托人</td></tr><tr><td>O/COLLN</td><td>Outward Collection</td><td>出口托收</td></tr><tr><td>PAYMENT-MAS</td><td>MEPS Payment</td><td>货币管理(MAS)电子付款系统-付款</td></tr><tr><td>PER LOAN</td><td>Personal Loan</td><td>个人贷款</td></tr><tr><td>PHN TRANSFER</td><td>PhoneBank Transfer</td><td>电话银行转账</td></tr><tr><td>POS</td><td>Point of Sale</td><td>销售终端</td></tr><tr><td>POST</td><td>Postage</td><td>邮费</td></tr><tr><td>PREM</td><td>Premium</td><td>保险费</td></tr><tr><td>PS</td><td>Power Supply</td><td>能源供应公司</td></tr><tr><td>REIMB</td><td>Reimbursement</td><td>偿付</td></tr><tr><td>RTN GIRO</td><td>Return GIRO</td><td>退回财路</td></tr><tr><td>RTN CHQ</td><td>Return Cheque</td><td>退回支票</td></tr><tr><td>RECEIPTS-MAS</td><td>MEPS Receipts</td><td>货币管理局电子付款系统-存入</td></tr><tr><td>SEC</td><td>Security</td><td>证券</td></tr><tr><td>SGD</td><td>Singapore Dollar</td><td>新币</td></tr><tr><td>SATM</td><td>Shared ATM</td><td>供享自动柜员机</td></tr><tr><td>ST</td><td>SingTel</td><td>新电信</td></tr><tr><td>SER CHARGE</td><td>Service Charge</td><td>服务费</td></tr><tr><td>SHR</td><td>Share NETS</td><td>供享电子转账网络系统</td></tr><tr><td>T/R</td><td>Trust Receipt</td><td>信托收据</td></tr><tr><td>TT</td><td>Telegraphic Transfer</td><td>电子付款</td></tr><tr><td>TRAN CHARGE</td><td>Transactoin Charge</td><td>交易费用</td></tr><tr><td>TRADE FINANCE</td><td>Trade Finance</td><td>货易融资</td></tr><tr><td>TRANSFER</td><td>Transfer</td><td>转账</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 106,\n 642,\n 420,\n 686\n ],\n \"category\": \"Text\",\n \"text\": \"Contact for Consumer Banking:\\nPhone Bank: 1800 363 3333\\nEmail Address: [email protected]\"\n },\n {\n \"bbox\": [\n 627,\n 642,\n 922,\n 686\n ],\n \"category\": \"Text\",\n \"text\": \"Contact for Business Banking:\\nCommercial Service Centre: 6538 1111\\nEmail Address: [email protected]\"\n },\n {\n \"bbox\": [\n 106,\n 716,\n 305,\n 730\n ],\n \"category\": \"Caption\",\n \"text\": \"## APPLICATIONS FOR INDIVIDUALS\"\n },\n {\n \"bbox\": [\n 104,\n 734,\n 1132,\n 950\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th></th><th>ATM Card</th><th>PHONE/INTERNET/MOBILE BANKING</th></tr></thead><tbody><tr><td>Application for Banking Services</td><td>Apply at any OCBC Bank Branch</td><td>Three easy ways to apply:-<br>1. Apply at any OCBC ATM with your ATM Card and PIN.<ul><li>Select 'Other Services'</li><li>Select 'Phone Banking Application' or 'Internet Banking/Mobile Banking Application'; or</li></ul>2. Download and complete the following forms available at www.ocbc.com, and mail it back to the address stated on the form<ul><li>Phone Banking Services Form (Personal)</li><li>Internet/Mobile Banking Services Form (Personal)</li></ul>or<br>3. Apply at any OCBC Branch.</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 106,\n 976,\n 379,\n 990\n ],\n \"category\": \"Caption\",\n \"text\": \"## eBANKING APPLICATIONS FOR CORPORATES\"\n },\n {\n \"bbox\": [\n 104,\n 994,\n 1132,\n 1091\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th></th><th>ATM Card</th><th>PHONE BANKING</th><th>INTERNET BANKING</th></tr></thead><tbody><tr><td>Application for Access</td><td>Apply at any OCBC Bank Branch</td><td>Download and complete the Business PhoneBanking and eAlerts@ocbc Application Form available at www.ocbc.com, and mail it back to the address stated on the form.</td><td>Download and complete the Velocity@ocbc Application Form available at www.ocbc.com, and mail it back to the address stated on the form.</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 38,\n 1679,\n 178,\n 1694\n ],\n \"category\": \"Page-footer\",\n \"text\": \"Deposit Insurance Scheme\"\n },\n {\n \"bbox\": [\n 38,\n 1696,\n 1179,\n 1728\n ],\n \"category\": \"Page-footer\",\n \"text\": \"Singapore dollar deposits of non-bank depositors and monies and deposits denominated in Singapore dollars under the Supplementary Retirement Scheme are insured by the Singapore Deposit Insurance Corporation, for up to $550,000 in aggregate per depositor per Scheme member by law. Foreign currency deposits, dual currency investments, structured deposits and other investment products are not insured.\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/Mandiri Timindo Manufaktur_page-0008.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 921,\n 88,\n 1163,\n 155\n ],\n \"category\": \"Page-header\",\n \"text\": \"mandiri\"\n },\n {\n \"bbox\": [\n 505,\n 142,\n 711,\n 193\n ],\n \"category\": \"Section-header\",\n \"text\": \"Rekening Koran\\n(Account Statement)\"\n },\n {\n \"bbox\": [\n 48,\n 218,\n 730,\n 370\n ],\n \"category\": \"Text\",\n \"text\": \"Periode : From 01 September 2019\\nTo 30 September 2019\\nAccount No : 1400066780058 - TIMINDO MANUFAKTUR\\nCurrency : IDR\\nBranch : KCP Sby Diponegoro\\nOpening Balance : 259,022,606.35\"\n },\n {\n \"bbox\": [\n 46,\n 397,\n 1187,\n 1396\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>Date & Time</th><th>Value Date</th><th>Description</th><th>Reference No.</th><th>Debit</th><th>Credit</th><th>Balance</th></tr></thead><tbody><tr><td>13/09/2019 12:09:14</td><td>13/09/2019</td><td>MCM InhouseTrf KE TRI MARTHA HERAWATI</td><td></td><td>23,900,000.00</td><td>0.00</td><td>541,650,505.35</td></tr><tr><td>13/09/2019 17:40:26</td><td>13/09/2019</td><td>MCM InhouseTrf KE TRI MARTHA HERAWATI</td><td></td><td>14,300,000.00</td><td>0.00</td><td>527,350,505.35</td></tr><tr><td>13/09/2019 17:40:26</td><td>13/09/2019</td><td>Transfer Fee 20190313232654697 Transfer Fee</td><td></td><td>6,500.00</td><td>0.00</td><td>527,344,005.35</td></tr><tr><td>17/09/2019 09:25:41</td><td>17/09/2019</td><td>Transfer IB/0500366/VAP 14617003600230404/KE CIXI MAGO</td><td></td><td>315,865,800.00</td><td>0.00</td><td>211,478,205.35</td></tr><tr><td>17/09/2019 10:58:26</td><td>17/09/2019</td><td>MCM InhouseTrf KE DIAN SARI PURI PLASINDO</td><td></td><td>42,154,200.00</td><td>0.00</td><td>169,324,005.35</td></tr><tr><td>17/09/2019 14:43:39</td><td>17/09/2019</td><td>Transfer IB/0500366/VAP 14617003600230404/KE CIXI MAGO</td><td></td><td>101,165,000.00</td><td>0.00</td><td>68,159,005.35</td></tr><tr><td>17/09/2019 14:59:49</td><td>17/09/2019</td><td>Online Trf 76637 4495036999Transfer fee 2019031511239114698</td><td></td><td>12,369,000.00</td><td>0.00</td><td>55,790,005.35</td></tr><tr><td>17/09/2019 14:59:49</td><td>17/09/2019</td><td>Transfer Fee 2019031511239114698 Transfer Fee</td><td></td><td>6,500.00</td><td>0.00</td><td>55,783,505.35</td></tr><tr><td>19/09/2019 08:22:17</td><td>19/09/2019</td><td>MCM InhouseTrf KE ANEKA RUPA TERA</td><td></td><td>101,447,500.00</td><td>0.00</td><td>(45,663,994.65)</td></tr><tr><td>19/09/2019 10:17:46</td><td>19/09/2019</td><td>0S1ADA41C /8651 -ATM PAKUWON SUPERMALL</td><td></td><td>1,500,000.00</td><td>0.00</td><td>(47,163,994.65)</td></tr><tr><td>19/09/2019 12:25:29</td><td>19/09/2019</td><td>0S1ADA41C /8651 -ATM PAKUWON SUPERMALL</td><td></td><td>1,500,000.00</td><td>0.00</td><td>(48,663,994.65)</td></tr><tr><td>20/09/2019 07:22:39</td><td>20/09/2019</td><td>MCM InhouseTrf DARI BONNET SUPERSTORE</td><td></td><td>0.00</td><td>136,521,258.00</td><td>87,857,263.35</td></tr><tr><td>20/09/2019 09:18:08</td><td>20/09/2019</td><td>CK 272329 - Tarik Tunai CK 272329- 00233556</td><td></td><td>35,000,000.00</td><td>0.00</td><td>52,857,263.35</td></tr><tr><td>20/09/2019 11:28:02</td><td>20/09/2019</td><td>MCM Inhouse Trf KE PARAMITHAMA ASRIRAYA</td><td></td><td>75,980,000.00</td><td>0.00</td><td>(23,122,736.65)</td></tr><tr><td>20/09/2019 13:29:35</td><td>20/09/2019</td><td>MCM InhouseTrf KE INABATA INDONESIA</td><td></td><td>36,586,000.00</td><td>0.00</td><td>(59,708,736.65)</td></tr><tr><td>23/09/2019 08:19:50</td><td>23/09/2019</td><td>RTGS INDOMARCO PRISMATAMA 0799102275135101#04072019</td><td></td><td>0.00</td><td>1,175,908,685.00</td><td>1,116,199,948.35</td></tr><tr><td>23/09/2019 09:34:43</td><td>23/09/2019</td><td>Online Trf 766371 4495036999Transfer fee 201903191239234555</td><td></td><td>135,256,600.00</td><td>0.00</td><td>980,943,348.35</td></tr><tr><td>23/09/2019 09:34:43</td><td>23/09/2019</td><td>Transfer Fee 2019031951598712120 Transfer Fee</td><td></td><td>6,500.00</td><td>0.00</td><td>980,936,848.35</td></tr><tr><td>23/09/2019 10:08:00</td><td>23/09/2019</td><td>CK 272330 - Tarik Tunai CK 272330- 00233556</td><td></td><td>21,250,000.00</td><td>0.00</td><td>959,686,848.35</td></tr><tr><td>23/09/2019 12:31:26</td><td>23/09/2019</td><td>CK 272331-CK 272331CK 233798 20190308000088 00233797</td><td></td><td>255,000,000.00</td><td>0.00</td><td>704,686,848.35</td></tr><tr><td>24/09/2019 09:52:25</td><td>24/09/2019</td><td>Inward RTGS THIO_JOHN HERRYANTO SUTEKNO VAP BAN K CENTRAL ASIA 2589628955.0258</td><td></td><td>0.00</td><td>525,600,000.00</td><td>1,230,286,848.35</td></tr><tr><td>24/09/2019 11:59:08</td><td>24/09/2019</td><td>CK 272332 - Tarik Tunai CK 272332- 00233556</td><td></td><td>40,600,000.00</td><td>0.00</td><td>1,189,686,848.35</td></tr><tr><td>24/09/2019 14:05:51</td><td>24/09/2019</td><td>CK 272333 - Tarik Tunai CK 272333- 00233556</td><td></td><td>150,000,000.00</td><td>0.00</td><td>1,039,686,848.35</td></tr><tr><td>24/09/2019 15:44:56</td><td>24/09/2019</td><td>CK 272334 - Tarik Tunai CK 272334- 00233556</td><td></td><td>74,500,000.00</td><td>0.00</td><td>965,186,848.35</td></tr><tr><td>24/09/2019 17:51:39</td><td>24/09/2019</td><td>Online Trf 36530 1003362500Transfer Fee 20190325102882389</td><td></td><td>42,500,000.00</td><td>0.00</td><td>922,686,848.35</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 587,\n 1420,\n 684,\n 1440\n ],\n \"category\": \"Page-footer\",\n \"text\": \"Page 8 of 18\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/estatement bca titi_page-0001.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 44,\n 92,\n 232,\n 152\n ],\n \"category\": \"Page-header\",\n \"text\": \"BCA\\nGRUP BCA\"\n },\n {\n \"bbox\": [\n 434,\n 113,\n 800,\n 147\n ],\n \"category\": \"Page-header\",\n \"text\": \"REKENING TAHAPAN\"\n },\n {\n \"bbox\": [\n 60,\n 174,\n 198,\n 189\n ],\n \"category\": \"Text\",\n \"text\": \"KCU TANJUNG PRIOK\"\n },\n {\n \"bbox\": [\n 677,\n 202,\n 1016,\n 313\n ],\n \"category\": \"Text\",\n \"text\": \"NO. REKENING : 0072717293\\nHALAMAN : 1/9\\nPERIODE : APRIL 2018\\nMATA UANG : IDR\"\n },\n {\n \"bbox\": [\n 59,\n 199,\n 283,\n 344\n ],\n \"category\": \"Text\",\n \"text\": \"TITI RAHAYU\\nKEC CILINCING\\nKEL CILINCING RT 12/05\\nJL BAKTI III 40\\nJAKARTA 14120\\nINDONESIA\"\n },\n {\n \"bbox\": [\n 50,\n 381,\n 118,\n 397\n ],\n \"category\": \"Text\",\n \"text\": \"CATATAN:\"\n },\n {\n \"bbox\": [\n 640,\n 405,\n 1185,\n 444\n ],\n \"category\": \"List-item\",\n \"text\": \"* BCA berhak setiap saat melakukan koreksi apabila ada kesalahan pada Laporan Mutasi Rekening.\"\n },\n {\n \"bbox\": [\n 54,\n 405,\n 597,\n 464\n ],\n \"category\": \"List-item\",\n \"text\": \"* Apabila nasabah tidak melakukan sanggahan atas Laporan Mutasi Rekening ini sampai dengan akhir bulan berikutnya, nasabah dianggap telah menyetujui segala data yang tercantum pada Laporan Mutasi Rekening ini.\"\n },\n {\n \"bbox\": [\n 42,\n 484,\n 1195,\n 1532\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>TANGGAL</th><th>KETERANGAN</th><th>CBG</th><th>MUTASI</th><th>SALDO</th></tr></thead><tbody><tr><td>01/04</td><td>SALDO AWAL</td><td></td><td></td><td>16,799,659.45</td></tr><tr><td>02/04</td><td>TRSF E-BANKING CR TANGGAL :30/03 30/03 /95031/00000 PATUNGAN KONSUMSI HEINE PURNAMA</td><td></td><td>426,700.00</td><td>17,226,359.45</td></tr><tr><td>02/04</td><td>SWITCHING DB TANGGAL :31/03 TRANSFER KE 008 R. UKE UMAR RACHMA /M-BCA</td><td></td><td>1,000,000.00 DB</td><td></td></tr><tr><td>02/04</td><td>SWITCHING DB TANGGAL :31/03 TRANSFER KE 008 R. UKE UMAR RACHMA /M-BCA</td><td></td><td>6,500.00 DB</td><td></td></tr><tr><td>02/04</td><td>TRSF E-BANKING CR TANGGAL :31/03 31/03 /95031/00000 KONSUMSI ANAK2 PEN SI HADIJAH HARTATI</td><td></td><td>430,000.00</td><td></td></tr><tr><td>02/04</td><td>SWITCHING DB TANGGAL :31/03 TRANSFER KE 046 TITI RAHAYU /M-BCA</td><td></td><td>350,000.00 DB</td><td></td></tr><tr><td>02/04</td><td>SWITCHING DB TANGGAL :31/03 TRANSFER KE 046 TITI RAHAYU /M-BCA</td><td></td><td>6,500.00 DB</td><td></td></tr><tr><td>02/04</td><td>BYR VIA E-BANKING TANGGAL :31/03 31/03 WSID9503103 1409 INDOVISION ON 301010720590 TITI RAHAYU</td><td></td><td>214,900.00 DB</td><td></td></tr><tr><td>02/04</td><td>BYR VIA E-BANKING TANGGAL :31/03 31/03 WSID9503103 1409 INDOVISION ON 401001859555 TITI RAHAYU</td><td></td><td>194,900.00 DB</td><td></td></tr><tr><td>02/04</td><td>BYR VIA E-BANKING TANGGAL :31/03 31/03 WSID9503103 0830 TELKOMSEL 08119911578 TITI RAHAYU</td><td></td><td>622,410.00 DB</td><td></td></tr><tr><td>02/04</td><td>TRSF E-BANKING DB TANGGAL :01/04 0104/FTFVA/WS95031 70001/GO-PAY CUSTO - - 08119911578</td><td></td><td>500,000.00 DB</td><td></td></tr><tr><td>02/04</td><td>TRSF E-BANKING DB TANGGAL :01/04 01/04 /95031/00000 BULANAN MARET TASHYANDRA FAIRUZ</td><td></td><td>1,200,000.00 DB</td><td></td></tr><tr><td>02/04</td><td>BYR VIA E-BANKING TANGGAL :01/04 01/04 WSID9503100 0865 PLN PREPAID 14046863271 TITI RAHAYU</td><td></td><td>502,500.00 DB</td><td></td></tr><tr><td>02/04</td><td>TRSF E-BANKING CR SMEMFTS EFT61085 MILAGROS INDONESIA GS1538632 02820183</td><td>0282</td><td>135,000.00</td><td>13,193,649.45</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 869,\n 1553,\n 1162,\n 1575\n ],\n \"category\": \"Page-footer\",\n \"text\": \"Bersambung ke Halaman berikut\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/BTN FARA DEWI KARTIKASARI_page-0001.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 890,\n 186,\n 1113,\n 229\n ],\n \"category\": \"Page-header\",\n \"text\": \"Bank BTN\"\n },\n {\n \"bbox\": [\n 252,\n 194,\n 443,\n 232\n ],\n \"category\": \"Page-header\",\n \"text\": \"BUMN UNTUK INDONESIA\"\n },\n {\n \"bbox\": [\n 235,\n 292,\n 419,\n 319\n ],\n \"category\": \"Section-header\",\n \"text\": \"Mutasi Rekening\"\n },\n {\n \"bbox\": [\n 235,\n 319,\n 386,\n 336\n ],\n \"category\": \"Text\",\n \"text\": \"Account Statermost\"\n },\n {\n \"bbox\": [\n 235,\n 390,\n 489,\n 437\n ],\n \"category\": \"Text\",\n \"text\": \"FARA DEWI KARTIKASARI\\n0026201500034442.\"\n },\n {\n \"bbox\": [\n 746,\n 418,\n 1051,\n 438\n ],\n \"category\": \"Text\",\n \"text\": \"31 Mei 2024 s/d 24 September 2024\"\n },\n {\n \"bbox\": [\n 224,\n 459,\n 1131,\n 1912\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>Tgl.</th><th>Keterangan</th><th>Cab-</th><th>Mutasi</th><th>Saldo</th></tr></thead><tbody><tr><td>31/05/24<br>09:25:37</td><td>Adm-BTN</td><td></td><td>5.000.00</td><td>DB 32.550.00</td></tr><tr><td>30/06/24<br>10:00:54</td><td>Adm-BTN</td><td></td><td>12.500.00</td><td>DB 20.050.00</td></tr><tr><td>30/06/24<br>09:08:21</td><td>Adm-BTN</td><td></td><td>5.000.00</td><td>DB 15.050.00</td></tr><tr><td>01/07/24<br>14:00:51</td><td>Atm-BTN</td><td></td><td>3.910.000.00</td><td>CR 3.925.050.00</td></tr><tr><td>01/07/24<br>14:09:54</td><td>Kpr-BTN<br>06101010055<br>645</td><td></td><td>3.875.050.00</td><td>DB 50.000.00</td></tr><tr><td>28/07/24<br>11:09:30</td><td>Atm-BTN</td><td></td><td>3.950.000.00</td><td>CR 4.000.000.00</td></tr><tr><td>28/07/24<br>10:00:04</td><td>Kpr-BTN<br>06101010055<br>645</td><td></td><td>3.947.350.00</td><td>DB 52.350.00</td></tr><tr><td>31/07/24<br>10:20:34</td><td></td><td></td><td>2.500.00</td><td>DB 50.150.00</td></tr><tr><td>31/07/24<br>13:09:30</td><td></td><td></td><td>100.00</td><td>DB 50.050.00</td></tr><tr><td>31/07/24<br>08:30:27</td><td>Adm-BTN</td><td></td><td>12.500.00</td><td>DB 37.550.00</td></tr><tr><td>31/07/24<br>14:27:57</td><td>Adm-BTN</td><td></td><td>5.000.00</td><td>DB 32.550.00</td></tr><tr><td>25/08/24<br>14:37:33</td><td>Atm-BTN</td><td></td><td>3.911.000.00</td><td>CR 3.943.550.00</td></tr><tr><td>25/08/24<br>10:30:52</td><td>Kpr-BTN<br>06101010055<br>55</td><td></td><td>3.893.550.00</td><td>DB 50.000.00</td></tr><tr><td>26/08/24<br>14:00:51</td><td>Kpr-BTN<br>06101010055<br>645</td><td></td><td>17.650.00</td><td>DB 102.350.00</td></tr><tr><td>31/08/24<br>07:30:30</td><td></td><td></td><td>1.250.00</td><td>DB 101.100.00</td></tr><tr><td>31/08/24<br>09:20:20</td><td></td><td></td><td>2.500.00</td><td>DB 98.600.00</td></tr><tr><td>31/08/24<br>09:24:00</td><td>Atm-BTN</td><td></td><td>12.500.00</td><td>DB 86.100.00</td></tr><tr><td>08/09/24<br>12:22:47</td><td>Kpr-BTN<br>06101010055<br>55</td><td></td><td>36.100.00</td><td>DB 50.000.00</td></tr><tr><td>23/09/24<br>14:47:23</td><td>Atm-BTN</td><td></td><td>151.917.234.00</td><td>CR 151.967.234.00</td></tr><tr><td>23/09/24<br>14:47:23</td><td>Kpr-BTN<br>06101010055<br>645555</td><td></td><td>3.875.100.00</td><td>DB 148.092.134.00</td></tr></tbody></table>\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/CIMB IDR JULY 2023_page-0011.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 36,\n 99,\n 1537,\n 1136\n ],\n \"category\": \"Table\",\n \"text\": \"<table>\\n <tbody>\\n <tr>\\n <td>186</td>\\n <td>7/15/2023</td>\\n <td>7/15/2023</td>\\n <td>20230715CENAIDJA01000167680360 - BFS</td>\\n <td>FR CENAIDJA CA</td>\\n <td>0.00</td>\\n <td>203,271,580.00</td>\\n <td>473,965,478.61</td>\\n <td>638</td>\\n <td>230715BF01646370</td>\\n </tr>\\n <tr>\\n <td></td>\\n <td></td>\\n <td></td>\\n <td>CIPTA SRIGATI</td>\\n <td></td>\\n <td></td>\\n <td></td>\\n <td></td>\\n <td></td>\\n <td></td>\\n </tr>\\n <tr>\\n <td>187</td>\\n <td>7/15/2023</td>\\n <td>7/15/2023</td>\\n <td>20230715CENAIDJA01000167680150 - BFS</td>\\n <td>FR CENAIDJA CA</td>\\n <td>0.00</td>\\n <td>250,000,000.00</td>\\n <td>270,693,898.61</td>\\n <td>638</td>\\n <td>230715BF01646364</td>\\n </tr>\\n <tr>\\n <td></td>\\n <td></td>\\n <td></td>\\n <td>CIPTA SRIGATI</td>\\n <td></td>\\n <td></td>\\n <td></td>\\n <td></td>\\n <td></td>\\n <td></td>\\n </tr>\\n <tr>\\n <td>188</td>\\n <td>7/14/2023</td>\\n <td>7/14/2023</td>\\n <td>202307142131268510 BMRIIDJA BIZ</td>\\n <td>TO PT SAKTI MANDRAGUNA</td>\\n <td>2,500.00</td>\\n <td>0.00</td>\\n <td>20,693,898.61</td>\\n <td>803</td>\\n <td>230714BI02054169</td>\\n </tr>\\n <tr>\\n <td>189</td>\\n <td>7/14/2023</td>\\n <td>7/14/2023</td>\\n <td>202307142131268510 BMRIIDJA BIZ</td>\\n <td>TO PT SAKTI MANDRAGUNA</td>\\n <td>18,000,000.00</td>\\n <td>0.00</td>\\n <td>20,696,398.61</td>\\n <td>63</td>\\n <td>230714BI02054169</td>\\n </tr>\\n <tr>\\n <td>190</td>\\n <td>7/14/2023</td>\\n <td>7/14/2023</td>\\n <td>202307142123348488 BMRIIDJA BIZ</td>\\n <td>TO PT SAKTI MANDRAGUNA</td>\\n <td>2,500.00</td>\\n <td>0.00</td>\\n <td>38,696,398.61</td>\\n <td>803</td>\\n <td>230714BI02052911</td>\\n </tr>\\n <tr>\\n <td>191</td>\\n <td>7/14/2023</td>\\n <td>7/14/2023</td>\\n <td>202307142123348488 BMRIIDJA BIZ</td>\\n <td>TO PT SAKTI MANDRAGUNA</td>\\n <td>185,000,000.00</td>\\n <td>0.00</td>\\n <td>38,698,898.61</td>\\n <td>63</td>\\n <td>230714BI02052911</td>\\n </tr>\\n <tr>\\n <td>192</td>\\n <td>7/14/2023</td>\\n <td>7/14/2023</td>\\n <td>BizChannel TRF TO ANDALAN PASIFIK SAM inv air nyk</td>\\n <td></td>\\n <td>444,000,000.00</td>\\n <td>0.00</td>\\n <td>223,698,898.61</td>\\n <td>566</td>\\n <td>230714BI02052907</td>\\n </tr>\\n <tr>\\n <td>193</td>\\n <td>7/14/2023</td>\\n <td>7/14/2023</td>\\n <td>20230714BNINIDJA01000134006288 ||PEMBAYARAN BFS</td>\\n <td>FR</td>\\n <td>0.00</td>\\n <td>10,819,117.00</td>\\n <td>667,698,898.61</td>\\n <td>638</td>\\n <td>230714BF01585595</td>\\n </tr>\\n <tr>\\n <td></td>\\n <td></td>\\n <td></td>\\n <td>BNINIDJA CA ASKARA SATYA A</td>\\n <td></td>\\n <td></td>\\n <td></td>\\n <td></td>\\n <td></td>\\n <td></td>\\n </tr>\\n <tr>\\n <td>194</td>\\n <td>7/14/2023</td>\\n <td>7/14/2023</td>\\n <td>BizChannel TRF TO JKS LOGISTIK cont smrg</td>\\n <td></td>\\n <td>500,000,000.00</td>\\n <td>0.00</td>\\n <td>656,879,781.61</td>\\n <td>566</td>\\n <td>230714BI02021895</td>\\n </tr>\\n <tr>\\n <td>195</td>\\n <td>7/14/2023</td>\\n <td>7/14/2023</td>\\n <td>20230714BNINIDJA01000164503687 - BFS</td>\\n <td>FR CENAIDJA CA</td>\\n <td>0.00</td>\\n <td>177,966,586.00</td>\\n <td>1,156,879,781.61</td>\\n <td>638</td>\\n <td>230714BF01583545</td>\\n </tr>\\n <tr>\\n <td></td>\\n <td></td>\\n <td></td>\\n <td>ASKARA SATYA A</td>\\n <td></td>\\n <td></td>\\n <td></td>\\n <td></td>\\n <td></td>\\n <td></td>\\n </tr>\\n <tr>\\n <td>196</td>\\n <td>7/14/2023</td>\\n <td>7/14/2023</td>\\n <td>20230714CENAIDJA01000164501755 DP PO 018 BFS</td>\\n <td>FR</td>\\n <td>0.00</td>\\n <td>6,997,500.00</td>\\n <td>978,913,195.61</td>\\n <td>638</td>\\n <td>230714BF01583508</td>\\n </tr>\\n <tr>\\n <td></td>\\n <td></td>\\n <td></td>\\n <td>CENAIDJA CA CAHAYA ARITAMA</td>\\n <td></td>\\n <td></td>\\n <td></td>\\n <td></td>\\n <td></td>\\n <td></td>\\n </tr>\\n <tr>\\n <td>197</td>\\n <td>7/14/2023</td>\\n <td>7/14/2023</td>\\n <td>20230714CENAIDJA01000164499239 INJKT4035 BFS</td>\\n <td>FR</td>\\n <td>0.00</td>\\n <td>93,694,480.00</td>\\n <td>971,915,695.61</td>\\n <td>638</td>\\n <td>230714BF01583469</td>\\n </tr>\\n <tr>\\n <td></td>\\n <td></td>\\n <td></td>\\n <td>CENAIDJA CA CAHAYA ARITAMA</td>\\n <td></td>\\n <td></td>\\n <td></td>\\n <td></td>\\n <td></td>\\n <td></td>\\n </tr>\\n <tr>\\n <td>198</td>\\n <td>7/14/2023</td>\\n <td>7/14/2023</td>\\n <td>20230714CENAIDJA01000164482508 - BFS</td>\\n <td>FR CENAIDJA CA</td>\\n <td>0.00</td>\\n <td>159,621,000.00</td>\\n <td>878,221,215.61</td>\\n <td>638</td>\\n <td>230714BF01583116</td>\\n </tr>\\n <tr>\\n <td></td>\\n <td></td>\\n <td></td>\\n <td>JINGGA TATA PERS</td>\\n <td></td>\\n <td></td>\\n <td></td>\\n <td></td>\\n <td></td>\\n <td></td>\\n </tr>\\n <tr>\\n <td>199</td>\\n <td>7/14/2023</td>\\n <td>7/14/2023</td>\\n <td>20230714CENAIDJA01000164482342 - BFS</td>\\n <td>FR CENAIDJA CA</td>\\n <td>0.00</td>\\n <td>250,000,000.00</td>\\n <td>718,600,215.61</td>\\n <td>638</td>\\n <td>230714BF01583113</td>\\n </tr>\\n <tr>\\n <td></td>\\n <td></td>\\n <td></td>\\n <td>JINGGA TATA PERS</td>\\n <td></td>\\n <td></td>\\n <td></td>\\n <td></td>\\n <td></td>\\n <td></td>\\n </tr>\\n <tr>\\n <td>200</td>\\n <td>7/14/2023</td>\\n <td>7/14/2023</td>\\n <td>20230714CENAIDJA01000164482172 INV 20076 BFS</td>\\n <td>FR</td>\\n <td>0.00</td>\\n <td>250,000,000.00</td>\\n <td>468,600,215.61</td>\\n <td>638</td>\\n <td>230714BF01583110</td>\\n </tr>\\n <tr>\\n <td></td>\\n <td></td>\\n <td></td>\\n <td>CENAIDJA CA JINGGA TATA PERS</td>\\n <td></td>\\n <td></td>\\n <td></td>\\n <td></td>\\n <td></td>\\n <td></td>\\n </tr>\\n <tr>\\n <td>201</td>\\n <td>7/14/2023</td>\\n <td>7/14/2023</td>\\n <td>20230714CENAIDJA01000164379023 PEMBAYARAN BFS</td>\\n <td>FR</td>\\n <td>0.00</td>\\n <td>26,549,361.00</td>\\n <td>218,600,215.61</td>\\n <td>638</td>\\n <td>230714BF01580951</td>\\n </tr>\\n <tr>\\n <td></td>\\n <td></td>\\n <td></td>\\n <td>CENAIDJA CA CIPTA SRIGATI</td>\\n <td></td>\\n <td></td>\\n <td></td>\\n <td></td>\\n <td></td>\\n <td></td>\\n </tr>\\n <tr>\\n <td>202</td>\\n <td>7/14/2023</td>\\n <td>7/14/2023</td>\\n <td>BizChannel TRF TO JFC LOG truck</td>\\n <td></td>\\n <td>150,000,000.00</td>\\n <td>0.00</td>\\n <td>192,050,854.61</td>\\n <td>565</td>\\n <td>230714BI02971350</td>\\n </tr>\\n <tr>\\n <td>203</td>\\n <td>7/14/2023</td>\\n <td>7/14/2023</td>\\n <td>BCA (BANK CENTRAL A PT INDONUSA BARA SE 7040908000</td>\\n <td></td>\\n <td>30,000.00</td>\\n <td>0.00</td>\\n <td>342,050,854.61</td>\\n <td>803</td>\\n <td>230714BI02480624</td>\\n </tr>\\n <tr>\\n <td></td>\\n <td></td>\\n <td></td>\\n <td>202307140915186784</td>\\n <td></td>\\n <td></td>\\n <td></td>\\n <td></td>\\n <td></td>\\n <td></td>\\n </tr>\\n <tr>\\n <td>204</td>\\n <td>7/14/2023</td>\\n <td>7/14/2023</td>\\n <td>BCA (BANK CENTRAL A PT INDONUSA BARA SE 7040908000</td>\\n <td></td>\\n <td>1,000,000,000.00</td>\\n <td>0.00</td>\\n <td>342,080,854.61</td>\\n <td>63</td>\\n <td>230714BI02480624</td>\\n </tr>\\n <tr>\\n <td></td>\\n <td></td>\\n <td></td>\\n <td>202307140915186784</td>\\n <td></td>\\n <td></td>\\n <td></td>\\n <td></td>\\n <td></td>\\n <td></td>\\n </tr>\\n <tr>\\n <td>205</td>\\n <td>7/14/2023</td>\\n <td>7/14/2023</td>\\n <td>HSBC (BANK HSBC PT CONTAINER M A-CMA 050103225074</td>\\n <td></td>\\n <td>30,000.00</td>\\n <td>0.00</td>\\n <td>1,342,080,854.61</td>\\n <td>803</td>\\n <td>230714BI02963518</td>\\n </tr>\\n <tr>\\n <td></td>\\n <td></td>\\n <td></td>\\n <td>202307141405001549</td>\\n <td></td>\\n <td></td>\\n <td></td>\\n <td></td>\\n <td></td>\\n <td></td>\\n </tr>\\n <tr>\\n <td>206</td>\\n <td>7/14/2023</td>\\n <td>7/14/2023</td>\\n <td>HSBC (BANK HSBC PT CONTAINER M A-CMA 050103225074</td>\\n <td></td>\\n <td>1,000,000,000.00</td>\\n <td>0.00</td>\\n <td>1,342,110,854.61</td>\\n <td>63</td>\\n <td>230714BI02963518</td>\\n </tr>\\n <tr>\\n <td></td>\\n <td></td>\\n <td></td>\\n <td>202307141405001549</td>\\n <td></td>\\n <td></td>\\n <td></td>\\n <td></td>\\n <td></td>\\n <td></td>\\n </tr>\\n <tr>\\n <td>207</td>\\n <td>7/14/2023</td>\\n <td>7/14/2023</td>\\n <td>INCOMING RTGS CENAIDJA/PT LINK PONDASI CR</td>\\n <td></td>\\n <td></td>\\n <td>0.00</td>\\n <td>1,000,000,000.00</td>\\n <td>2,342,110,854.61</td>\\n <td>624</td>\\n <td>230714VRM3159616</td>\\n </tr>\\n <tr>\\n <td>208</td>\\n <td>7/14/2023</td>\\n <td>7/14/2023</td>\\n <td>202307141315449519 BMRIIDJA BIZ</td>\\n <td>TO PT SAKTI MANDRAGUNA</td>\\n <td>2,500.00</td>\\n <td>0.00</td>\\n <td>1,342,110,854.61</td>\\n <td>803</td>\\n <td>230714BI02952069</td>\\n </tr>\\n <tr>\\n <td>209</td>\\n <td>7/14/2023</td>\\n <td>7/14/2023</td>\\n <td>202307141315449519 BMRIIDJA BIZ</td>\\n <td>TO PT SAKTI MANDRAGUNA</td>\\n <td>40,000,000.00</td>\\n <td>0.00</td>\\n <td>1,342,113,354.61</td>\\n <td>63</td>\\n <td>230714BI02952069</td>\\n </tr>\\n </tbody>\\n</table>\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/BRI_NEW_REKENING_KORAN_ONLINE_007701002482300_2022-12-01_2022-12-31_00275532 (1)_page-0011.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 988,\n 63,\n 1345,\n 86\n ],\n \"category\": \"Page-header\",\n \"text\": \"LAPORAN TRANSAKSI FINANSIAL\"\n },\n {\n \"bbox\": [\n 76,\n 46,\n 356,\n 143\n ],\n \"category\": \"Page-header\",\n \"text\": \"BANK BRI\\nMelayani Dengan Setulus Hati\"\n },\n {\n \"bbox\": [\n 1211,\n 106,\n 1335,\n 124\n ],\n \"category\": \"Page-header\",\n \"text\": \"Halaman 11 dari\"\n },\n {\n \"bbox\": [\n 1313,\n 127,\n 1335,\n 143\n ],\n \"category\": \"Page-header\",\n \"text\": \"36\"\n },\n {\n \"bbox\": [\n 64,\n 178,\n 1328,\n 1577\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>Tanggal Transaksi</th><th>Uraian Transaksi</th><th>Teller</th><th>Debet</th><th>Kredit</th><th>Saldo</th></tr></thead><tbody><tr><td>12/12/22 17:52:39</td><td>NBMB PT MULTI KARYA TO SAMINO ESB:NBMB:0001500F:491533616654</td><td>8888190</td><td>900,000.00</td><td>0.00</td><td>13,700,380.00</td></tr><tr><td>12/12/22 17:53:59</td><td>NBMB PT MULTI KARYA TO MOCHAMAT IKHWAN ESB:NBMB:0001500F:491533964282</td><td>8888442</td><td>1,350,000.00</td><td>0.00</td><td>12,350,380.00</td></tr><tr><td>12/12/22 17:54:45</td><td>NBMB PT MULTI KARYA TO EDI SUPRIATMAN ESB:NBMB:0001500F:491534166744</td><td>8888586</td><td>450,000.00</td><td>0.00</td><td>11,900,380.00</td></tr><tr><td>12/12/22 17:55:52</td><td>NBMB PT MULTI KARYA TO MUJITO ESB:NBMB:0001500F:491534457391</td><td>8888301</td><td>3,600,000.00</td><td>0.00</td><td>8,300,380.00</td></tr><tr><td>12/12/22 17:57:31</td><td>NBMB PT MULTI KARYA TO SAKUNG ESB:NBMB:0001500F:491534895937</td><td>8888321</td><td>450,000.00</td><td>0.00</td><td>7,850,380.00</td></tr><tr><td>12/12/22 17:58:42</td><td>NBMB PT MULTI KARYA TO DARMA SANJAYA ESB:NBMB:0001500F:491535213002</td><td>8888380</td><td>450,000.00</td><td>0.00</td><td>7,400,380.00</td></tr><tr><td>12/12/22 18:00:01</td><td>NBMB PT MULTI KARYA TO DIDIK SETIAWAN ESB:NBMB:0001500F:491535558943</td><td>8888071</td><td>450,000.00</td><td>0.00</td><td>6,950,380.00</td></tr><tr><td>12/12/22 18:01:14</td><td>NBMB PT MULTI KARYA TO ABD MUIS ESB:NBMB:0001500F:491535881084</td><td>8888112</td><td>450,000.00</td><td>0.00</td><td>6,500,380.00</td></tr><tr><td>12/12/22 18:10:36</td><td>NBMB PT MULTI KARYA TO FLIPTECH LENTERA ESB:NBMB:0001500F:491538349744</td><td>8888521</td><td>4,960,052.00</td><td>0.00</td><td>1,540,328.00</td></tr><tr><td>12/12/22 18:12:29</td><td>NBMB PT MULTI KARYA TO APPELES DWI HARYA ESB:NBMB:0001500F:491538838224</td><td>8888238</td><td>450,000.00</td><td>0.00</td><td>1,090,328.00</td></tr><tr><td>12/12/22 18:23:55</td><td>NBMB PT MULTI KARYA TO UVI ARIANINGTYAS ESB:NBMB:0001500F:491541798957</td><td>8888400</td><td>44,100.00</td><td>0.00</td><td>1,046,228.00</td></tr><tr><td>12/12/22 20:15:16</td><td>BFST007701002482300MULTI KARYA :BMRIIDJA 20221212BMRIIDJA010O9931709307 ESB:BFST:0008N:20221212BRINIDJA110381623</td><td>8888687</td><td>0.00</td><td>40,000,000.00</td><td>41,046,228.00</td></tr><tr><td>12/12/22 20:21:48</td><td>NBMB PT MULTI KARYA TO AFEN ESB:NBMB:0001500F:491573275716</td><td>8888216</td><td>667,000.00</td><td>0.00</td><td>40,379,228.00</td></tr><tr><td>12/12/22 20:24:35</td><td>NBMB PT MULTI KARYA TO DIDIK SETIAWAN ESB:NBMB:0001500F:491573964406</td><td>8888603</td><td>917,000.00</td><td>0.00</td><td>39,462,228.00</td></tr><tr><td>12/12/22 20:25:23</td><td>NBMB PT MULTI KARYA TO PUJI LESTARI ESB:NBMB:0001500F:491574161412</td><td>8888015</td><td>1,000,000.00</td><td>0.00</td><td>38,462,228.00</td></tr><tr><td>12/12/22 20:27:26</td><td>NBMB PT MULTI KARYA TO SAMINO ESB:NBMB:0001500F:491574674083</td><td>8888019</td><td>1,667,000.00</td><td>0.00</td><td>36,795,228.00</td></tr><tr><td>12/12/22 20:28:21</td><td>NBMB PT MULTI KARYA TO MUJITO ESB:NBMB:0001500F:491574894931</td><td>8888547</td><td>1,167,000.00</td><td>0.00</td><td>35,628,228.00</td></tr><tr><td>12/12/22 20:29:09</td><td>NBMB PT MULTI KARYA TO MOCHAMAT IKHWAN ESB:NBMB:0001500F:491575094752</td><td>8888430</td><td>584,000.00</td><td>0.00</td><td>35,044,228.00</td></tr><tr><td>12/12/22 20:29:42</td><td>NBMB PT MULTI KARYA TO MOCHAMAT IKHWAN ESB:NBMB:0001500F:491575225206</td><td>8888191</td><td>584,000.00</td><td>0.00</td><td>34,460,228.00</td></tr><tr><td>12/12/22 20:30:21</td><td>NBMB PT MULTI KARYA TO DWIKI PAMBUDI ESB:NBMB:0001500F:491575384704</td><td>8888335</td><td>500,000.00</td><td>0.00</td><td>33,960,228.00</td></tr><tr><td>12/12/22 20:31:04</td><td>NBMB PT MULTI KARYA TO DWIKI PAMBUDI ESB:NBMB:0001500F:491575563142</td><td>8888408</td><td>500,000.00</td><td>0.00</td><td>33,460,228.00</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 1156,\n 1648,\n 1366,\n 1710\n ],\n \"category\": \"Page-footer\",\n \"text\": \"01/10/2023 10:42:30 AM\\n00275532\\nDamar Bhua\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/BSI April 2023_page-0018.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 146,\n 110,\n 1166,\n 1532\n ],\n \"category\": \"Table\",\n \"text\": \"<table>\\n <tbody>\\n <tr>\\n <td>996</td>\\n <td>10/4/2023 16:42</td>\\n <td>FT2310009S4W\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,849,448.00</td>\\n <td></td>\\n <td>6,096,810,324.71</td>\\n </tr>\\n <tr>\\n <td>997</td>\\n <td>10/4/2023 16:42</td>\\n <td>FT231002CSY1\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,906,798.00</td>\\n <td></td>\\n <td>6,091,903,526.71</td>\\n </tr>\\n <tr>\\n <td>998</td>\\n <td>10/4/2023 16:42</td>\\n <td>FT2310003H5W\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>5,117,035.00</td>\\n <td></td>\\n <td>6,086,786,491.71</td>\\n </tr>\\n <tr>\\n <td>999</td>\\n <td>10/4/2023 16:42</td>\\n <td>FT2310002VJ6\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>5,117,035.00</td>\\n <td></td>\\n <td>6,081,669,456.71</td>\\n </tr>\\n <tr>\\n <td>1000</td>\\n <td>10/4/2023 16:42</td>\\n <td>FT231004VYDZ\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>5,142,575.00</td>\\n <td></td>\\n <td>6,076,526,881.71</td>\\n </tr>\\n <tr>\\n <td>1001</td>\\n <td>10/4/2023 16:42</td>\\n <td>FT23100028F7\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>5,142,575.00</td>\\n <td></td>\\n <td>6,071,384,306.71</td>\\n </tr>\\n <tr>\\n <td>1002</td>\\n <td>10/4/2023 16:42</td>\\n <td>FT2310003T2P\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>5,142,575.00</td>\\n <td></td>\\n <td>6,066,241,731.71</td>\\n </tr>\\n <tr>\\n <td>1003</td>\\n <td>10/4/2023 16:42</td>\\n <td>FT231003GFJF\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>5,188,725.00</td>\\n <td></td>\\n <td>6,061,053,006.71</td>\\n </tr>\\n <tr>\\n <td>1004</td>\\n <td>10/4/2023 16:42</td>\\n <td>FT2310009TY7\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>5,490,225.00</td>\\n <td></td>\\n <td>6,055,562,781.71</td>\\n </tr>\\n <tr>\\n <td>1005</td>\\n <td>10/4/2023 16:43</td>\\n <td>FT23100DK185\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,430,894.00</td>\\n <td></td>\\n <td>6,051,131,887.71</td>\\n </tr>\\n <tr>\\n <td>1006</td>\\n <td>10/4/2023 16:43</td>\\n <td>FT23100BDKTY\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,525,212.00</td>\\n <td></td>\\n <td>6,046,606,675.71</td>\\n </tr>\\n <tr>\\n <td>1007</td>\\n <td>10/4/2023 16:43</td>\\n <td>FT231000MXFT\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,525,212.00</td>\\n <td></td>\\n <td>6,042,081,463.71</td>\\n </tr>\\n <tr>\\n <td>1008</td>\\n <td>10/4/2023 16:43</td>\\n <td>FT23100BXZNC\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,525,212.00</td>\\n <td></td>\\n <td>6,037,556,251.71</td>\\n </tr>\\n <tr>\\n <td>1009</td>\\n <td>10/4/2023 16:43</td>\\n <td>FT23100C7SK2\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,525,212.00</td>\\n <td></td>\\n <td>6,033,031,039.71</td>\\n </tr>\\n <tr>\\n <td>1010</td>\\n <td>10/4/2023 16:43</td>\\n <td>FT23100CT3WW\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,525,212.00</td>\\n <td></td>\\n <td>6,028,505,827.71</td>\\n </tr>\\n <tr>\\n <td>1011</td>\\n <td>10/4/2023 16:43</td>\\n <td>FT231000NZNY\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,525,212.00</td>\\n <td></td>\\n <td>6,023,980,615.71</td>\\n </tr>\\n <tr>\\n <td>1012</td>\\n <td>10/4/2023 16:43</td>\\n <td>FT23100B55DL\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,898,303.00</td>\\n <td></td>\\n <td>6,019,082,312.71</td>\\n </tr>\\n <tr>\\n <td>1013</td>\\n <td>10/4/2023 16:43</td>\\n <td>FT231000ZQ1Z\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,898,303.00</td>\\n <td></td>\\n <td>6,014,184,009.71</td>\\n </tr>\\n <tr>\\n <td>1014</td>\\n <td>10/4/2023 16:43</td>\\n <td>FT2310099FZS\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,898,303.00</td>\\n <td></td>\\n <td>6,009,285,706.71</td>\\n </tr>\\n <tr>\\n <td>1015</td>\\n <td>10/4/2023 16:43</td>\\n <td>FT2310083LKC\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,898,303.00</td>\\n <td></td>\\n <td>6,004,387,403.71</td>\\n </tr>\\n <tr>\\n <td>1016</td>\\n <td>10/4/2023 16:43</td>\\n <td>FT2310036TLD\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,906,798.00</td>\\n <td></td>\\n <td>5,999,480,605.71</td>\\n </tr>\\n <tr>\\n <td>1017</td>\\n <td>10/4/2023 16:43</td>\\n <td>FT231009JRKM\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>5,117,035.00</td>\\n <td></td>\\n <td>5,994,363,570.71</td>\\n </tr>\\n <tr>\\n <td>1018</td>\\n <td>10/4/2023 16:43</td>\\n <td>FT23100BQ738\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>5,142,575.00</td>\\n <td></td>\\n <td>5,989,220,995.71</td>\\n </tr>\\n <tr>\\n <td>1019</td>\\n <td>10/4/2023 16:43</td>\\n <td>FT231008RKT7\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>5,142,575.00</td>\\n <td></td>\\n <td>5,984,078,420.71</td>\\n </tr>\\n <tr>\\n <td>1020</td>\\n <td>10/4/2023 16:43</td>\\n <td>FT231000PWP1\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>5,142,575.00</td>\\n <td></td>\\n <td>5,978,935,845.71</td>\\n </tr>\\n <tr>\\n <td>1021</td>\\n <td>10/4/2023 16:43</td>\\n <td>FT231007S9QY\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>5,142,575.00</td>\\n <td></td>\\n <td>5,973,793,270.71</td>\\n </tr>\\n <tr>\\n <td>1022</td>\\n <td>10/4/2023 16:43</td>\\n <td>FT231000V70S\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>5,142,575.00</td>\\n <td></td>\\n <td>5,968,650,695.71</td>\\n </tr>\\n <tr>\\n <td>1023</td>\\n <td>10/4/2023 16:43</td>\\n <td>FT2310014TLV\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>5,226,975.00</td>\\n <td></td>\\n <td>5,963,423,720.71</td>\\n </tr>\\n <tr>\\n <td>1024</td>\\n <td>10/4/2023 16:43</td>\\n <td>FT231000QJMS\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>5,267,325.00</td>\\n <td></td>\\n <td>5,958,156,395.71</td>\\n </tr>\\n <tr>\\n <td>1025</td>\\n <td>10/4/2023 16:43</td>\\n <td>FT231008ZCR2\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>5,490,225.00</td>\\n <td></td>\\n <td>5,952,666,170.71</td>\\n </tr>\\n <tr>\\n <td>1026</td>\\n <td>10/4/2023 16:43</td>\\n <td>FT231007G9FQ\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>5,490,225.00</td>\\n <td></td>\\n <td>5,947,175,945.71</td>\\n </tr>\\n <tr>\\n <td>1027</td>\\n <td>10/4/2023 16:43</td>\\n <td>FT23100DBKN0\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>5,490,225.00</td>\\n <td></td>\\n <td>5,941,685,720.71</td>\\n </tr>\\n <tr>\\n <td>1028</td>\\n <td>10/4/2023 16:44</td>\\n <td>FT23100HXHPJ\\\\BNK</td>\\n <td>10042023</td>\\n <td>Gaji 10 April 2023</td>\\n <td>1,036,778.00</td>\\n <td></td>\\n <td>5,940,648,942.71</td>\\n </tr>\\n <tr>\\n <td>1029</td>\\n <td>10/4/2023 16:44</td>\\n <td>FT23100J7TGZ\\\\BNK</td>\\n <td>10042023</td>\\n <td>Gaji 10 April 2023</td>\\n <td>1,075,020.00</td>\\n <td></td>\\n <td>5,939,573,922.71</td>\\n </tr>\\n <tr>\\n <td>1030</td>\\n <td>10/4/2023 16:44</td>\\n <td>FT23100H847X\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>1,138,690.00</td>\\n <td></td>\\n <td>5,938,435,232.71</td>\\n </tr>\\n <tr>\\n <td>1031</td>\\n <td>10/4/2023 16:44</td>\\n <td>FT23100JP54C\\\\BNK</td>\\n <td>10042023</td>\\n <td>Gaji 10 April 2023</td>\\n <td>1,148,000.00</td>\\n <td></td>\\n <td>5,937,287,232.71</td>\\n </tr>\\n <tr>\\n <td>1032</td>\\n <td>10/4/2023 16:44</td>\\n <td>FT231001XSB8\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>2,741,371.00</td>\\n <td></td>\\n <td>5,934,545,861.71</td>\\n </tr>\\n <tr>\\n <td>1033</td>\\n <td>10/4/2023 16:44</td>\\n <td>FT23100K03K3\\\\BNK</td>\\n <td>10042023</td>\\n <td>Gaji 10 April 2023</td>\\n <td>2,830,354.00</td>\\n <td></td>\\n <td>5,931,715,507.71</td>\\n </tr>\\n <tr>\\n <td>1034</td>\\n <td>10/4/2023 16:44</td>\\n <td>FT23100F2WNQ\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,430,894.00</td>\\n <td></td>\\n <td>5,927,284,613.71</td>\\n </tr>\\n <tr>\\n <td>1035</td>\\n <td>10/4/2023 16:44</td>\\n <td>FT23100LDSP8\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,457,169.00</td>\\n <td></td>\\n <td>5,922,827,444.71</td>\\n </tr>\\n <tr>\\n <td>1036</td>\\n <td>10/4/2023 16:44</td>\\n <td>FT231001D8KL\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,525,212.00</td>\\n <td></td>\\n <td>5,918,302,232.71</td>\\n </tr>\\n <tr>\\n <td>1037</td>\\n <td>10/4/2023 16:44</td>\\n <td>FT23100DS67N\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,525,212.00</td>\\n <td></td>\\n <td>5,913,777,020.71</td>\\n </tr>\\n <tr>\\n <td>1038</td>\\n <td>10/4/2023 16:44</td>\\n <td>FT23100G8PKX\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,525,212.00</td>\\n <td></td>\\n <td>5,909,251,808.71</td>\\n </tr>\\n <tr>\\n <td>1039</td>\\n <td>10/4/2023 16:44</td>\\n <td>FT231001S6PC\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,525,212.00</td>\\n <td></td>\\n <td>5,904,726,596.71</td>\\n </tr>\\n <tr>\\n <td>1040</td>\\n <td>10/4/2023 16:44</td>\\n <td>FT23100FF9ZX\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,525,212.00</td>\\n <td></td>\\n <td>5,900,201,384.71</td>\\n </tr>\\n <tr>\\n <td>1041</td>\\n <td>10/4/2023 16:44</td>\\n <td>FT23100GYDX8\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,525,212.00</td>\\n <td></td>\\n <td>5,895,676,172.71</td>\\n </tr>\\n <tr>\\n <td>1042</td>\\n <td>10/4/2023 16:44</td>\\n <td>FT23100LYDY2\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,898,303.00</td>\\n <td></td>\\n <td>5,890,777,869.71</td>\\n </tr>\\n <tr>\\n <td>1043</td>\\n <td>10/4/2023 16:44</td>\\n <td>FT23100FMWQ2\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>5,117,035.00</td>\\n <td></td>\\n <td>5,885,660,834.71</td>\\n </tr>\\n <tr>\\n <td>1044</td>\\n <td>10/4/2023 16:44</td>\\n <td>FT23100K9PVX\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>5,117,035.00</td>\\n <td></td>\\n <td>5,880,543,799.71</td>\\n </tr>\\n <tr>\\n <td>1045</td>\\n <td>10/4/2023 16:44</td>\\n <td>FT231001RD1G\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>5,117,035.00</td>\\n <td></td>\\n <td>5,875,426,764.71</td>\\n </tr>\\n <tr>\\n <td>1046</td>\\n <td>10/4/2023 16:44</td>\\n <td>FT23100L2KQ6\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>5,117,035.00</td>\\n <td></td>\\n <td>5,870,309,729.71</td>\\n </tr>\\n <tr>\\n <td>1047</td>\\n <td>10/4/2023 16:44</td>\\n <td>FT23100LMD30\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>5,490,225.00</td>\\n <td></td>\\n <td>5,864,819,504.71</td>\\n </tr>\\n <tr>\\n <td>1048</td>\\n <td>10/4/2023 16:44</td>\\n <td>FT231001KBHB\\\\BNK</td>\\n <td>10042023</td>\\n <td>Gaji 10 Apr 2023</td>\\n <td>6,523,130.00</td>\\n <td></td>\\n <td>5,858,296,374.71</td>\\n </tr>\\n <tr>\\n <td>1049</td>\\n <td>10/4/2023 16:44</td>\\n <td>FT23100JG4MH\\\\BNK</td>\\n <td>10042023</td>\\n <td>Gaji 10 April 2023</td>\\n <td>743,000.00</td>\\n <td></td>\\n <td>5,857,553,374.71</td>\\n </tr>\\n <tr>\\n <td>1050</td>\\n <td>10/4/2023 16:45</td>\\n <td>FT2310039R16\\\\BNK</td>\\n <td>10042023</td>\\n <td>Gaji 10 April 2023</td>\\n <td>2,112,601.00</td>\\n <td></td>\\n <td>5,855,440,773.71</td>\\n </tr>\\n <tr>\\n <td>1051</td>\\n <td>10/4/2023 16:45</td>\\n <td>FT231002DX4S\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>2,857,343.00</td>\\n <td></td>\\n <td>5,852,583,430.71</td>\\n </tr>\\n <tr>\\n <td>1052</td>\\n <td>10/4/2023 16:45</td>\\n <td>FT23100QJFQ9\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,053,462.00</td>\\n <td></td>\\n <td>5,848,529,968.71</td>\\n </tr>\\n <tr>\\n <td>1053</td>\\n <td>10/4/2023 16:45</td>\\n <td>FT2310028Z1B\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,053,462.00</td>\\n <td></td>\\n <td>5,844,476,506.71</td>\\n </tr>\\n <tr>\\n <td>1054</td>\\n <td>10/4/2023 16:45</td>\\n <td>FT231001Z43Z\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,148,111.00</td>\\n <td></td>\\n <td>5,840,328,395.71</td>\\n </tr>\\n <tr>\\n <td>1055</td>\\n <td>10/4/2023 16:45</td>\\n <td>FT23100208KR\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,430,894.00</td>\\n <td></td>\\n <td>5,835,897,501.71</td>\\n </tr>\\n <tr>\\n <td>1056</td>\\n <td>10/4/2023 16:45</td>\\n <td>FT23100RXQW9\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,525,212.00</td>\\n <td></td>\\n <td>5,831,372,289.71</td>\\n </tr>\\n <tr>\\n <td>1057</td>\\n <td>10/4/2023 16:45</td>\\n <td>FT23100SP6Y4\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,525,212.00</td>\\n <td></td>\\n <td>5,826,847,077.71</td>\\n </tr>\\n <tr>\\n <td>1058</td>\\n <td>10/4/2023 16:45</td>\\n <td>FT23100TJW1T\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,525,212.00</td>\\n <td></td>\\n <td>5,822,321,865.71</td>\\n </tr>\\n <tr>\\n <td>1059</td>\\n <td>10/4/2023 16:45</td>\\n <td>FT23100MHHQP\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,525,212.00</td>\\n <td></td>\\n <td>5,817,796,653.71</td>\\n </tr>\\n <tr>\\n <td>1060</td>\\n <td>10/4/2023 16:45</td>\\n <td>FT23100PRDXL\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,699,493.00</td>\\n <td></td>\\n <td>5,813,097,160.71</td>\\n </tr>\\n <tr>\\n <td>1061</td>\\n <td>10/4/2023 16:45</td>\\n <td>FT23100NBWWK\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,898,303.00</td>\\n <td></td>\\n <td>5,808,198,857.71</td>\\n </tr>\\n <tr>\\n <td>1062</td>\\n <td>10/4/2023 16:45</td>\\n <td>FT23100TBC3Y\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,898,303.00</td>\\n <td></td>\\n <td>5,803,300,554.71</td>\\n </tr>\\n <tr>\\n <td>1063</td>\\n <td>10/4/2023 16:45</td>\\n <td>FT2310023M1W\\\\BNK</td>\\n <td>10042023</td>\\n <td>THR CCEP 2023</td>\\n <td>4,898,303.00</td>\\n <td></td>\\n <td>5,798,402,251.71</td>\\n </tr>\\n </tbody>\\n</table>\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/estatement bca molay_page-0003.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 42,\n 92,\n 232,\n 154\n ],\n \"category\": \"Page-header\",\n \"text\": \"BCA\"\n },\n {\n \"bbox\": [\n 482,\n 114,\n 769,\n 147\n ],\n \"category\": \"Section-header\",\n \"text\": \"REKENING GIRO\"\n },\n {\n \"bbox\": [\n 59,\n 172,\n 152,\n 188\n ],\n \"category\": \"Text\",\n \"text\": \"KCP GEJAYAN\"\n },\n {\n \"bbox\": [\n 676,\n 199,\n 1007,\n 304\n ],\n \"category\": \"Text\",\n \"text\": \"NO. REKENING : 4569087888\\nHALAMAN : 3/6\\nPERIODE : JULI 2022\\nMATA UANG : IDR\"\n },\n {\n \"bbox\": [\n 54,\n 196,\n 308,\n 343\n ],\n \"category\": \"Text\",\n \"text\": \"MOLAY SATRYA INDONESIA PT\\nSEYEGAN SLEMAN\\nMARGODADI RT 01 RW 09\\nDUSUN PENDEKAN\\nYOGYAKARTA 55561\\nINDONESIA\"\n },\n {\n \"bbox\": [\n 49,\n 365,\n 116,\n 380\n ],\n \"category\": \"Text\",\n \"text\": \"CATATAN:\"\n },\n {\n \"bbox\": [\n 639,\n 390,\n 1185,\n 428\n ],\n \"category\": \"List-item\",\n \"text\": \"* BCA berhak setiap saat melakukan koreksi apabila ada kesalahan pada Laporan Mutasi Rekening.\"\n },\n {\n \"bbox\": [\n 52,\n 390,\n 595,\n 446\n ],\n \"category\": \"List-item\",\n \"text\": \"* Apabila nasabah tidak melakukan sanggahan atas Laporan Mutasi Rekening ini sampai dengan akhir bulan berikutnya, nasabah dianggap telah menyetujui segala data yang tercantum pada Laporan Mutasi Rekening ini.\"\n },\n {\n \"bbox\": [\n 41,\n 464,\n 1195,\n 1516\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>TANGGAL</th><th>KETERANGAN</th><th>CBG</th><th>MUTASI</th><th>SALDO</th></tr></thead><tbody><tr><td>08/07</td><td>TRSF E-BANKING CR 08/07 /95031/00000 ZULFIAN ANDREW PRA</td><td></td><td>216,669,400.00</td><td>1,034,661,395.63</td></tr><tr><td>08/07</td><td>TRSF E-BANKING CR 08/07 /95031/00000 IMAM BAGUS WICAKSO</td><td></td><td>174,312,500.00</td><td></td></tr><tr><td>08/07</td><td>BI-FAST DB BIF TRANSFER KE 153 MITRA MULIA TEXIND KBB</td><td></td><td>227,118,500.00 DB</td><td></td></tr><tr><td>08/07</td><td>BI-FAST DB BIF BIAYA TXN KE 153 MITRA MULIA TEXIND KBB</td><td></td><td>2,500.00 DB</td><td>981,852,895.63</td></tr><tr><td>11/07</td><td>BI-FAST DB TANGGAL :09/07 BIF TRANSFER KE 451 MUKH NURKHOLIS DAN BRI JKT</td><td></td><td>125,000,000.00 DB</td><td></td></tr><tr><td>11/07</td><td>BI-FAST DB TANGGAL :09/07 BIF BIAYA TXN KE 451 MUKH NURKHOLIS DAN KBB</td><td></td><td>2,500.00 DB</td><td></td></tr><tr><td>11/07</td><td>BI-FAST CR TANGGAL :09/07 BIF TRANSFER DR 009 HAPOSAN SINAGA</td><td></td><td>318,775,500.00</td><td></td></tr><tr><td>11/07</td><td>TRSF E-BANKING CR 1107/FTSCY/WS95051 231167750.00 INV 124/MSI/IV/22 PT MOLAY SATRYA IN ZULFIAN ANDREW PRA</td><td></td><td>231,167,750.00</td><td></td></tr><tr><td>11/07</td><td>TRSF E-BANKING DB 1107/FTSCY/WS95051 07969/PT JARINGAN INV CA2022051217 MEI 2022 JARINGAN SAMUDRA L</td><td></td><td>211,345,500.00 DB</td><td></td></tr><tr><td>11/07</td><td>TRSF E-BANKING DB 1107/FTSCY/WS95051 322500000.00 MAT HONU TACTICAL TRIS SATRYA PRATAM</td><td></td><td>322,500,000.00 DB</td><td>872,948,145.63</td></tr><tr><td>13/07</td><td>TRSF E-BANKING DB 1307/FTSCY/WS95051 297115300.00 014/MSI/PO/VI/22 EVERSHINE TEX TBK</td><td></td><td>297,115,300.00 DB</td><td></td></tr><tr><td>13/07</td><td>TRSF E-BANKING DB 1307/FTSCY/WS95051 178554000.00 ABADI EXPRESS PT</td><td></td><td>178,554,000.00 DB</td><td>397,278,845.63</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 869,\n 1514,\n 1161,\n 1534\n ],\n \"category\": \"Text\",\n \"text\": \"Bersambung ke Halaman berikut\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/Mandiri Widi rahayu_page-0001.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 1077,\n 30,\n 1340,\n 112\n ],\n \"category\": \"Page-header\",\n \"text\": \"mandiri\"\n },\n {\n \"bbox\": [\n 87,\n 158,\n 541,\n 183\n ],\n \"category\": \"Section-header\",\n \"text\": \"# Rekening Koran / Statement of Account\"\n },\n {\n \"bbox\": [\n 87,\n 187,\n 472,\n 210\n ],\n \"category\": \"Text\",\n \"text\": \"Periode / Period: 1/09/21 s/d 30/09/21\"\n },\n {\n \"bbox\": [\n 87,\n 238,\n 278,\n 260\n ],\n \"category\": \"Text\",\n \"text\": \"Sdr WIDI RAHAYU\"\n },\n {\n \"bbox\": [\n 954,\n 242,\n 1267,\n 268\n ],\n \"category\": \"Section-header\",\n \"text\": \"## Hubungi Kami / Contact Us\"\n },\n {\n \"bbox\": [\n 954,\n 281,\n 1336,\n 298\n ],\n \"category\": \"Text\",\n \"text\": \"Call Center : mandiri call 14000 / +62 21 52997777\"\n },\n {\n \"bbox\": [\n 954,\n 301,\n 1292,\n 319\n ],\n \"category\": \"Text\",\n \"text\": \"Email : [email protected]\"\n },\n {\n \"bbox\": [\n 87,\n 264,\n 402,\n 361\n ],\n \"category\": \"Text\",\n \"text\": \"KP. CITRABAPANG NO. 49\\nRT. 002 RW. 009 JAWA BARAT\\nBATUJAJAR\\nGIRIASIH BANDUNG BARAT\"\n },\n {\n \"bbox\": [\n 954,\n 319,\n 1280,\n 337\n ],\n \"category\": \"Text\",\n \"text\": \"Website : https://www.bankmandiri.co.id\"\n },\n {\n \"bbox\": [\n 83,\n 421,\n 392,\n 450\n ],\n \"category\": \"Section-header\",\n \"text\": \"## Ringkasan / At a glance\"\n },\n {\n \"bbox\": [\n 83,\n 495,\n 224,\n 517\n ],\n \"category\": \"Section-header\",\n \"text\": \"### Dana / Fund\"\n },\n {\n \"bbox\": [\n 72,\n 519,\n 786,\n 657\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>Produk<br>Product</th><th>Saldo<br>Balance (IDR)</th><th>%</th></tr></thead><tbody><tr><td>● Tabungan</td><td>192,040.00</td><td>100.00 %</td></tr><tr><td>Total</td><td>192,040.00</td><td>100.00 %</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 981,\n 546,\n 1244,\n 699\n ],\n \"category\": \"Picture\",\n \"text\": \"\"\n },\n {\n \"bbox\": [\n 72,\n 692,\n 711,\n 714\n ],\n \"category\": \"Text\",\n \"text\": \"* Informasi produk di atas adalah per posisi tanggal terakhir bulan statement.\"\n },\n {\n \"bbox\": [\n 82,\n 752,\n 377,\n 776\n ],\n \"category\": \"Text\",\n \"text\": \"Total Mandiri Fiestapoin : 280\"\n },\n {\n \"bbox\": [\n 1292,\n 1681,\n 1322,\n 1698\n ],\n \"category\": \"Page-footer\",\n \"text\": \"1 / 4\"\n },\n {\n \"bbox\": [\n 1135,\n 1681,\n 1174,\n 1718\n ],\n \"category\": \"Page-footer\",\n \"text\": \"Hal\\nPage\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/BSI ADI JANUAR GEPARI _page-0002.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 55,\n 32,\n 373,\n 126\n ],\n \"category\": \"Page-header\",\n \"text\": \"BSI BANK SYARIAH INDONESIA\"\n },\n {\n \"bbox\": [\n 230,\n 197,\n 1005,\n 222\n ],\n \"category\": \"Text\",\n \"text\": \"Terimakasih atas partisipasi nasabah atas donasi yang telah diberikan\"\n },\n {\n \"bbox\": [\n 57,\n 255,\n 1181,\n 1686\n ],\n \"category\": \"Picture\",\n \"text\": \"\"\n },\n {\n \"bbox\": [\n 1029,\n 1665,\n 1179,\n 1683\n ],\n \"category\": \"Page-footer\",\n \"text\": \"www.bankbsi.co.id\"\n },\n {\n \"bbox\": [\n 870,\n 1684,\n 1179,\n 1705\n ],\n \"category\": \"Page-footer\",\n \"text\": \"Bank Syariah Indonesia Call 14040\"\n },\n {\n \"bbox\": [\n 873,\n 1713,\n 896,\n 1732\n ],\n \"category\": \"Page-footer\",\n \"text\": \"\"\n },\n {\n \"bbox\": [\n 846,\n 1713,\n 874,\n 1735\n ],\n \"category\": \"Page-footer\",\n \"text\": \"OK\"\n },\n {\n \"bbox\": [\n 1131,\n 1713,\n 1177,\n 1735\n ],\n \"category\": \"Page-footer\",\n \"text\": \"\"\n },\n {\n \"bbox\": [\n 319,\n 1717,\n 843,\n 1735\n ],\n \"category\": \"Page-footer\",\n \"text\": \"PT Bank Syariah Indonesia, Tbk terdaftar dan diawasi oleh Otoritas Jasa Keuangan\"\n },\n {\n \"bbox\": [\n 898,\n 1717,\n 1126,\n 1735\n ],\n \"category\": \"Page-footer\",\n \"text\": \"dan merupakan Peserta Penjaminan\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/BTN DEANDRA STRATYA MAUR_page-0002.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 987,\n 62,\n 1104,\n 130\n ],\n \"category\": \"Page-header\",\n \"text\": \"btñ\"\n },\n {\n \"bbox\": [\n 60,\n 69,\n 315,\n 124\n ],\n \"category\": \"Page-header\",\n \"text\": \"BUMN UNTUK INDONESIA\"\n },\n {\n \"bbox\": [\n 69,\n 175,\n 1168,\n 509\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>Tgl & Waktu<br>Date & Time</th><th>Jenis Transaksi<br>Transaction Type</th><th>Debit (IDR)<br>Debit (IDR)</th><th>Kredit (IDR)<br>Credit (IDR)</th><th>Saldo(IDR)<br>Balance (IDR)</th></tr></thead><tbody><tr><td>Total<br>Total</td><td></td><td>44.732.454,00</td><td>44.732.460,00</td><td></td></tr><tr><td>Saldo akhir<br>Ending Balance</td><td></td><td></td><td></td><td>2.314.125,00</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 64,\n 1552,\n 587,\n 1632\n ],\n \"category\": \"Text\",\n \"text\": \"Karena Hidup Gak Cuma Tentang\\nHari Ini\"\n },\n {\n \"bbox\": [\n 964,\n 1527,\n 1160,\n 1684\n ],\n \"category\": \"Picture\",\n \"text\": \"\"\n },\n {\n \"bbox\": [\n 1180,\n 1623,\n 1195,\n 1645\n ],\n \"category\": \"Page-footer\",\n \"text\": \"2\"\n },\n {\n \"bbox\": [\n 392,\n 1702,\n 847,\n 1728\n ],\n \"category\": \"Page-footer\",\n \"text\": \"© PT Bank Tabungan Negara (Persero) TBK\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/ocbc nordiansyah_page-0011.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 97,\n 113,\n 140,\n 129\n ],\n \"category\": \"Text\",\n \"text\": \"99693\"\n },\n {\n \"bbox\": [\n 428,\n 112,\n 550,\n 129\n ],\n \"category\": \"Text\",\n \"text\": \"01/21-11/15-2029\"\n },\n {\n \"bbox\": [\n 511,\n 144,\n 554,\n 160\n ],\n \"category\": \"Text\",\n \"text\": \"99693\"\n },\n {\n \"bbox\": [\n 96,\n 165,\n 183,\n 184\n ],\n \"category\": \"Text\",\n \"text\": \"Kepada Yth:\"\n },\n {\n \"bbox\": [\n 96,\n 196,\n 219,\n 213\n ],\n \"category\": \"Text\",\n \"text\": \"NORDIANSYAH\"\n },\n {\n \"bbox\": [\n 96,\n 238,\n 292,\n 256\n ],\n \"category\": \"Text\",\n \"text\": \"JL. HJ. JAHRAH RT : RW :\"\n },\n {\n \"bbox\": [\n 96,\n 259,\n 459,\n 277\n ],\n \"category\": \"Text\",\n \"text\": \"SUNGAI KELEDANG, KOTA SAMARINDA 75131\"\n },\n {\n \"bbox\": [\n 582,\n 103,\n 779,\n 123\n ],\n \"category\": \"Section-header\",\n \"text\": \"REKENING KORAN\"\n },\n {\n \"bbox\": [\n 582,\n 133,\n 1070,\n 152\n ],\n \"category\": \"Text\",\n \"text\": \"NOMOR REKENING : 693810542029 - Tanda360Plus Digital\"\n },\n {\n \"bbox\": [\n 582,\n 176,\n 931,\n 194\n ],\n \"category\": \"Text\",\n \"text\": \"CABANG : 99693 - DIGITAL\"\n },\n {\n \"bbox\": [\n 582,\n 217,\n 1075,\n 235\n ],\n \"category\": \"Text\",\n \"text\": \"PERIODE : 01 Desember 2020 - 31 Desember 2020\"\n },\n {\n \"bbox\": [\n 582,\n 259,\n 877,\n 277\n ],\n \"category\": \"Text\",\n \"text\": \"TANGGAL PERCETAKAN : 20210104\"\n },\n {\n \"bbox\": [\n 582,\n 301,\n 840,\n 319\n ],\n \"category\": \"Text\",\n \"text\": \"MATA UANG : IDR\"\n },\n {\n \"bbox\": [\n 582,\n 342,\n 870,\n 360\n ],\n \"category\": \"Text\",\n \"text\": \"HALAMAN : 11 of 15\"\n },\n {\n \"bbox\": [\n 55,\n 393,\n 1167,\n 1129\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>TGL TRANS</th><th>TGL VALUTA</th><th>URAIAN</th><th>DEBET</th><th>KREDIT</th><th>SALDO</th></tr></thead><tbody><tr><td></td><td></td><td>Berita : 8970 082193235612 GOJEK</td><td></td><td></td><td></td></tr><tr><td>21/12/2020</td><td>21/12/2020</td><td>Transfer Masuk</td><td>0.00</td><td>200,000.00</td><td>202,283.00</td></tr><tr><td></td><td></td><td>Berita : 8629 014 AHMAD FAUZAN</td><td></td><td></td><td></td></tr><tr><td>22/12/2020</td><td>22/12/2020</td><td>Bill payment Dr customer acct</td><td>201,500.00</td><td>0.00</td><td>783.00</td></tr><tr><td></td><td></td><td>Berita : 2065 083152409388 OVO</td><td></td><td></td><td></td></tr><tr><td>22/12/2020</td><td>22/12/2020</td><td>Transfer Masuk</td><td>0.00</td><td>300,000.00</td><td>300,783.00</td></tr><tr><td></td><td></td><td>Berita : 2411 014 MEWISMAN ZALUKHU</td><td></td><td></td><td></td></tr><tr><td>22/12/2020</td><td>22/12/2020</td><td>Bill payment Dr customer acct</td><td>300,000.00</td><td>0.00</td><td>783.00</td></tr><tr><td></td><td></td><td>Berita : 1454 082193235612 GOJEK</td><td></td><td></td><td></td></tr><tr><td>23/12/2020</td><td>23/12/2020</td><td>Transfer Masuk</td><td>0.00</td><td>200,000.00</td><td>200,783.00</td></tr><tr><td></td><td></td><td>Berita : 1138 014 TRI WIYONO</td><td></td><td></td><td></td></tr><tr><td>23/12/2020</td><td>23/12/2020</td><td>Transfer Masuk</td><td>0.00</td><td>400,000.00</td><td>600,783.00</td></tr><tr><td></td><td></td><td>Berita : 1775 014 TRI WIYONO</td><td></td><td></td><td></td></tr><tr><td>23/12/2020</td><td>23/12/2020</td><td>Biaya transaksi via ATM</td><td>6,500.00</td><td>0.00</td><td>594,283.00</td></tr><tr><td></td><td></td><td>Berita : 3756 014 6585063723 GHONIE ALBASITU 2020</td><td></td><td></td><td></td></tr><tr><td>23/12/2020</td><td>23/12/2020</td><td>Memo Debet</td><td>593,500.00</td><td>0.00</td><td>783.00</td></tr><tr><td></td><td></td><td>Berita : 3756 014 6585063723 GHONIE ALBASITU 2020</td><td></td><td></td><td></td></tr><tr><td>24/12/2020</td><td>24/12/2020</td><td>Transfer Masuk</td><td>0.00</td><td>200,000.00</td><td>200,783.00</td></tr><tr><td></td><td></td><td>Berita : 8171 503 ilham</td><td></td><td></td><td></td></tr><tr><td>24/12/2020</td><td>24/12/2020</td><td>Bill payment Dr customer acct</td><td>199,500.00</td><td>0.00</td><td>1,283.00</td></tr><tr><td></td><td></td><td>Berita : 8836 083152409388 OVO</td><td></td><td></td><td></td></tr><tr><td>24/12/2020</td><td>24/12/2020</td><td>Transfer Masuk</td><td>0.00</td><td>200,000.00</td><td>201,283.00</td></tr><tr><td></td><td></td><td>Berita : 9395 008 1660000550798 SUGENG PAMUJI</td><td></td><td></td><td></td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 54,\n 1509,\n 846,\n 1565\n ],\n \"category\": \"Text\",\n \"text\": \"BILAMANA DALAM 7 HARI TERHITUNG SEJAK TANGGAL STEMPEL POS ATAU DITERIMANYA PER EKSPEDISI ATAU TANGGAL TERKIRIMNYA LAYANAN ESTATEMENT REKENING KORAN INI TIDAK ADA SANGGAHAN DARI NASABAH MAKA DIANGGAP NASABAH TELAH MENYETUJUI SEGALA SESUATU YANG TERMUAT DALAM REKENING KORAN INI. SETIAP PEMBEBANAN ONGKOS / BAYA KAMI TIDAK MEMBUATKAN NOTANYA. CETAKAN KOMPUTER INI TIDAK MEMERLUKAN TANDA TANGAN PEJABAT\"\n },\n {\n \"bbox\": [\n 65,\n 1595,\n 846,\n 1667\n ],\n \"category\": \"Text\",\n \"text\": \"Efektif Per Tanggal 1 Februari 2016, produk-produk Trade Loan mengalami perubahan nama untuk memberikan kemudahan pemahaman nasabah atas nama produk Trade Finances & Services. Info lebih lanjut hubungi Kantor Cabang terdekat atau Call OCBC NISP di 1500-999 / 66-999 via HP.\"\n },\n {\n \"bbox\": [\n 873,\n 1636,\n 1155,\n 1697\n ],\n \"category\": \"Page-footer\",\n \"text\": \"OCBC NISP\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/RC BNI Arcamanik 2018033330 Feb 2023_page-0006.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 147,\n 72,\n 361,\n 139\n ],\n \"category\": \"Page-header\",\n \"text\": \"BNI\"\n },\n {\n \"bbox\": [\n 605,\n 250,\n 867,\n 278\n ],\n \"category\": \"Section-header\",\n \"text\": \"Account Information\"\n },\n {\n \"bbox\": [\n 567,\n 318,\n 900,\n 347\n ],\n \"category\": \"Section-header\",\n \"text\": \"ACCOUNT STATEMENT\"\n },\n {\n \"bbox\": [\n 28,\n 405,\n 369,\n 502\n ],\n \"category\": \"Text\",\n \"text\": \"MAJU JAYA TEKNOLOGI PT\\nJL PURI DAGO 3 NO 11 ANTAPANI\\nINDONESIA\"\n },\n {\n \"bbox\": [\n 459,\n 405,\n 1097,\n 551\n ],\n \"category\": \"Text\",\n \"text\": \"Account No. : 2018033330 / PT MAJU JAYA TEKNOLOGI(IDR)\\nAccount Type : Saving\\nPeriod : 01-Feb-23 - 28-Feb-23\\nPage : 6\"\n },\n {\n \"bbox\": [\n 26,\n 609,\n 1445,\n 1208\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>Posting Date</th><th>Effective Date</th><th>Branch</th><th>Journal</th><th>Transaction Description</th><th>Amount</th><th>DB/CR</th><th>Balance</th></tr></thead><tbody><tr><td></td><td></td><td></td><td></td><td>PEMINDAHAN KE 1577609086 MAJU JAYA TEKNOLOGI</td><td></td><td></td><td></td></tr><tr><td>25/02/2023 00.12.36</td><td>25/02/2023 00.12.36</td><td>BANDUNG</td><td>794543</td><td>BV TRK TRF/STD ORD | PEMINDAHAN KE 1577609315 MAJU JAYA TEKNOLOGI</td><td>5,086,944.00</td><td>D</td><td>449,682,500.00</td></tr><tr><td>25/02/2023 00.14.00</td><td>25/02/2023 00.14.00</td><td>BANDUNG</td><td>026709</td><td>BV TRK TRF/STD ORD | PEMINDAHAN KE 1617786994 MAJU JAYA TEKNOLOGI</td><td>4,363,889.00</td><td>D</td><td>445,318,611.00</td></tr><tr><td>25/02/2023 00.14.00</td><td>25/02/2023 00.14.00</td><td>BANDUNG</td><td>026739</td><td>BV TRK TRF/STD ORD | PEMINDAHAN KE 1617787444 MAJU JAYA TEKNOLOGI</td><td>4,363,889.00</td><td>D</td><td>440,954,722.00</td></tr><tr><td>25/02/2023 00.14.00</td><td>25/02/2023 00.14.00</td><td>BANDUNG</td><td>026745</td><td>BV TRK TRF/STD ORD | PEMINDAHAN KE 1617787580 MAJU JAYA TEKNOLOGI</td><td>1,703,889.00</td><td>D</td><td>439,250,833.00</td></tr><tr><td>28/02/2023 08.00.00</td><td>28/02/2023 08.00.00</td><td>INTERNAL BRANCH</td><td>939698</td><td>JASA GIRO/BUNGA</td><td>250,358.00</td><td>K</td><td>439,501,191.00</td></tr><tr><td>28/02/2023 08.00.00</td><td>28/02/2023 08.00.00</td><td>INTERNAL BRANCH</td><td>939698</td><td>PPH</td><td>50,072.00</td><td>D</td><td>439,451,119.00</td></tr><tr><td>28/02/2023 08.00.00</td><td>28/02/2023 08.00.00</td><td>INTERNAL BRANCH</td><td>939698</td><td>BY ADMINISTRASI</td><td>10,000.00</td><td>D</td><td></td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 347,\n 1236,\n 1341,\n 1260\n ],\n \"category\": \"Text\",\n \"text\": \"Ending Balance : 439,441,119.00\"\n },\n {\n \"bbox\": [\n 384,\n 1280,\n 766,\n 1302\n ],\n \"category\": \"Text\",\n \"text\": \"Total Debet : 50 2,593,638,806.00\"\n },\n {\n \"bbox\": [\n 384,\n 1323,\n 766,\n 1346\n ],\n \"category\": \"Text\",\n \"text\": \"Total Credit : 15 2,930,680,676.00\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/BSI April 2023_page-0080.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 146,\n 111,\n 1165,\n 1532\n ],\n \"category\": \"Table\",\n \"text\": \"<table>\\n <tbody>\\n <tr>\\n <td>5192</td>\\n <td>18-04-2023 18:30</td>\\n <td>FT231088M48LBNK</td>\\n <td>180423 Gaji Pengelola April 2023</td>\\n <td>958,362.00</td>\\n <td></td>\\n <td>309,281,326.71</td>\\n </tr>\\n <tr>\\n <td>5193</td>\\n <td>18-04-2023 18:31</td>\\n <td>FT231088Y3PQBNK</td>\\n <td>18042023 Gaji 18 April 2023</td>\\n <td>2,912,138.00</td>\\n <td></td>\\n <td>306,369,188.71</td>\\n </tr>\\n <tr>\\n <td>5194</td>\\n <td>18-04-2023 18:31</td>\\n <td>FT23108WWT9XBNK</td>\\n <td>18042023 Gaji 18 April 2023</td>\\n <td>3,740,383.00</td>\\n <td></td>\\n <td>302,628,805.71</td>\\n </tr>\\n <tr>\\n <td>5195</td>\\n <td>18-04-2023 18:31</td>\\n <td>FT23108XB1RLBNK</td>\\n <td>18042023 Gaji 18 April 2023</td>\\n <td>4,344,460.00</td>\\n <td></td>\\n <td>298,284,345.71</td>\\n </tr>\\n <tr>\\n <td>5196</td>\\n <td>18-04-2023 18:31</td>\\n <td>FT23108TQCZ9BNK</td>\\n <td>18042023 Gaji 18 April 2023</td>\\n <td>4,389,715.00</td>\\n <td></td>\\n <td>293,894,630.71</td>\\n </tr>\\n <tr>\\n <td>5197</td>\\n <td>18-04-2023 18:31</td>\\n <td>FT23108108RBBNK</td>\\n <td>18042023 Gaji 18 April 2023 CCDI</td>\\n <td>4,394,204.00</td>\\n <td></td>\\n <td>289,500,426.71</td>\\n </tr>\\n <tr>\\n <td>5198</td>\\n <td>18-04-2023 18:31</td>\\n <td>FT23108Y2MZZBNK</td>\\n <td>18042023 Gaji 18 April 2023 CCDI</td>\\n <td>4,588,624.00</td>\\n <td></td>\\n <td>284,911,802.71</td>\\n </tr>\\n <tr>\\n <td>5199</td>\\n <td>18-04-2023 18:31</td>\\n <td>FT231088WQNBBNK</td>\\n <td>18042023 Gaji 18 April 2023 CCDI</td>\\n <td>4,760,526.00</td>\\n <td></td>\\n <td>280,151,276.71</td>\\n </tr>\\n <tr>\\n <td>5200</td>\\n <td>18-04-2023 18:31</td>\\n <td>FT231088VFG2BNK</td>\\n <td>18042023 Gaji 18 April 2023 CCDI</td>\\n <td>4,760,526.00</td>\\n <td></td>\\n <td>275,390,750.71</td>\\n </tr>\\n <tr>\\n <td>5201</td>\\n <td>18-04-2023 18:31</td>\\n <td>FT23108XMRDBBNK</td>\\n <td>18042023 Gaji 18 April 2023 CCDI</td>\\n <td>4,760,526.00</td>\\n <td></td>\\n <td>270,630,224.71</td>\\n </tr>\\n <tr>\\n <td>5202</td>\\n <td>18-04-2023 18:31</td>\\n <td>FT23108962SDBNK</td>\\n <td>18042023 Gaji 18 April 2023 CCDI</td>\\n <td>4,760,526.00</td>\\n <td></td>\\n <td>265,869,698.71</td>\\n </tr>\\n <tr>\\n <td>5203</td>\\n <td>18-04-2023 18:31</td>\\n <td>FT2310897MCNBNK</td>\\n <td>18042023 Gaji 18 April 2023 CCDI</td>\\n <td>4,760,526.00</td>\\n <td></td>\\n <td>261,109,172.71</td>\\n </tr>\\n <tr>\\n <td>5204</td>\\n <td>18-04-2023 18:31</td>\\n <td>FT231081FMS2BNK</td>\\n <td>18042023 Gaji 18 April 2023 CCDI</td>\\n <td>4,779,169.00</td>\\n <td></td>\\n <td>256,330,003.71</td>\\n </tr>\\n <tr>\\n <td>5205</td>\\n <td>18-04-2023 18:31</td>\\n <td>FT2310804PD8BNK</td>\\n <td>18042023 Gaji 18 April 2023 CCDI</td>\\n <td>4,968,936.00</td>\\n <td></td>\\n <td>251,361,067.71</td>\\n </tr>\\n <tr>\\n <td>5206</td>\\n <td>18-04-2023 18:31</td>\\n <td>FT23108ZSZ0YBNK</td>\\n <td>18042023 Gaji 18 April 2023 CCDI</td>\\n <td>5,123,062.00</td>\\n <td></td>\\n <td>246,238,005.71</td>\\n </tr>\\n <tr>\\n <td>5207</td>\\n <td>18-04-2023 18:31</td>\\n <td>FT231080KRF1BNK</td>\\n <td>18042023 Gaji 18 April 2023 CCDI</td>\\n <td>5,810,980.00</td>\\n <td></td>\\n <td>240,427,025.71</td>\\n </tr>\\n <tr>\\n <td>5208</td>\\n <td>18-04-2023 18:31</td>\\n <td>FT23108YJBCHBNK</td>\\n <td>18042023 Gaji 18 April 2023 CCDI</td>\\n <td>5,921,472.00</td>\\n <td></td>\\n <td>234,505,553.71</td>\\n </tr>\\n <tr>\\n <td>5209</td>\\n <td>18-04-2023 18:32</td>\\n <td>FT231089PGGMBNK</td>\\n <td>18042023 Gaji 18 April 2023 CCDI</td>\\n <td>2,182,991.00</td>\\n <td></td>\\n <td>232,322,562.71</td>\\n </tr>\\n <tr>\\n <td>5210</td>\\n <td>18-04-2023 18:32</td>\\n <td>FT231089ZZS4</td>\\n <td>Gaji 18 April 2023</td>\\n <td>2,709,808.00</td>\\n <td></td>\\n <td>229,612,754.71</td>\\n </tr>\\n <tr>\\n <td>5211</td>\\n <td>18-04-2023 18:32</td>\\n <td>FT23108B8MQ8BNK</td>\\n <td>18042023 Gaji 18 April 2023 CCDI</td>\\n <td>2,777,807.00</td>\\n <td></td>\\n <td>226,834,947.71</td>\\n </tr>\\n <tr>\\n <td>5212</td>\\n <td>18-04-2023 18:32</td>\\n <td>FT231089X992</td>\\n <td>CSR Kebersihan Sungai Apr23</td>\\n <td>3,000,000.00</td>\\n <td></td>\\n <td>223,834,947.71</td>\\n </tr>\\n <tr>\\n <td>5213</td>\\n <td>18-04-2023 18:32</td>\\n <td>FT231089TV63BNK</td>\\n <td>18042023 Gaji 18 April 2023 CCDI</td>\\n <td>3,570,894.00</td>\\n <td></td>\\n <td>220,264,053.71</td>\\n </tr>\\n <tr>\\n <td>5214</td>\\n <td>18-04-2023 18:32</td>\\n <td>FT231083LVJMBNK</td>\\n <td>18042023 Gaji 18 April 2023 CCDI</td>\\n <td>3,908,357.00</td>\\n <td></td>\\n <td>216,355,696.71</td>\\n </tr>\\n <tr>\\n <td>5215</td>\\n <td>18-04-2023 18:32</td>\\n <td>FT231089YMZD</td>\\n <td>Gaji 18 April 2023</td>\\n <td>4,332,904.00</td>\\n <td></td>\\n <td>212,022,792.71</td>\\n </tr>\\n <tr>\\n <td>5216</td>\\n <td>18-04-2023 18:32</td>\\n <td>FT23108B0X1FBNK</td>\\n <td>18042023 Gaji 18 April 2023 CCDI</td>\\n <td>4,688,234.00</td>\\n <td></td>\\n <td>207,334,558.71</td>\\n </tr>\\n <tr>\\n <td>5217</td>\\n <td>18-04-2023 18:32</td>\\n <td>FT231081W4P0BNK</td>\\n <td>18042023 Gaji 18 April 2023 CCDI</td>\\n <td>4,760,526.00</td>\\n <td></td>\\n <td>202,574,032.71</td>\\n </tr>\\n <tr>\\n <td>5218</td>\\n <td>18-04-2023 18:32</td>\\n <td>FT2310829RSQBNK</td>\\n <td>18042023 Gaji 18 April 2023 CCDI</td>\\n <td>4,760,526.00</td>\\n <td></td>\\n <td>197,813,506.71</td>\\n </tr>\\n <tr>\\n <td>5219</td>\\n <td>18-04-2023 18:32</td>\\n <td>FT231082QT1PBNK</td>\\n <td>18042023 Gaji 18 April 2023 CCDI</td>\\n <td>4,965,794.00</td>\\n <td></td>\\n <td>192,847,712.71</td>\\n </tr>\\n <tr>\\n <td>5220</td>\\n <td>18-04-2023 18:32</td>\\n <td>FT231085RJHX</td>\\n <td>Gaji 18 April 2023 CCDI</td>\\n <td>5,594,551.00</td>\\n <td></td>\\n <td>187,253,161.71</td>\\n </tr>\\n <tr>\\n <td>5221</td>\\n <td>18-04-2023 18:32</td>\\n <td>FT2310834ZPLBNK</td>\\n <td>18042023 Gaji 18 April 2023 CCDI</td>\\n <td>5,800,216.00</td>\\n <td></td>\\n <td>181,452,945.71</td>\\n </tr>\\n <tr>\\n <td>5222</td>\\n <td>18-04-2023 18:32</td>\\n <td>FT23108B2MCW</td>\\n <td>Biaya Pemindahbukuan e-Banking</td>\\n <td>6,500.00</td>\\n <td></td>\\n <td>181,446,445.71</td>\\n </tr>\\n <tr>\\n <td>5223</td>\\n <td>18-04-2023 18:32</td>\\n <td>FT231089ZZS4</td>\\n <td>Biaya Pemindahbukuan e-Banking</td>\\n <td>6,500.00</td>\\n <td></td>\\n <td>181,439,945.71</td>\\n </tr>\\n <tr>\\n <td>5224</td>\\n <td>18-04-2023 18:32</td>\\n <td>FT231089YMZD</td>\\n <td>Biaya Pemindahbukuan e-Banking</td>\\n <td>6,500.00</td>\\n <td></td>\\n <td>181,433,445.71</td>\\n </tr>\\n <tr>\\n <td>5225</td>\\n <td>18-04-2023 18:32</td>\\n <td>FT231089X992</td>\\n <td>Biaya Pemindahbukuan e-Banking</td>\\n <td>6,500.00</td>\\n <td></td>\\n <td>181,426,945.71</td>\\n </tr>\\n <tr>\\n <td>5226</td>\\n <td>18-04-2023 18:32</td>\\n <td>FT231085RJHX</td>\\n <td>Biaya Pemindahbukuan e-Banking</td>\\n <td>6,500.00</td>\\n <td></td>\\n <td>181,420,445.71</td>\\n </tr>\\n <tr>\\n <td>5227</td>\\n <td>18-04-2023 18:32</td>\\n <td>FT23108B2MCW</td>\\n <td>Gaji Pengelola April 2023</td>\\n <td>9,993,500.00</td>\\n <td></td>\\n <td>171,426,945.71</td>\\n </tr>\\n <tr>\\n <td>5228</td>\\n <td>18-04-2023 18:33</td>\\n <td>FT23108BVJNL</td>\\n <td>Gaji 18 April 2023 CCDI</td>\\n <td>15,134,909.00</td>\\n <td></td>\\n <td>156,292,036.71</td>\\n </tr>\\n <tr>\\n <td>5229</td>\\n <td>18-04-2023 18:33</td>\\n <td>FT23108B68BZ</td>\\n <td>Gaji 18 April 2023</td>\\n <td>2,031,708.00</td>\\n <td></td>\\n <td>154,260,328.71</td>\\n </tr>\\n <tr>\\n <td>5230</td>\\n <td>18-04-2023 18:33</td>\\n <td>FT23108CDMNM</td>\\n <td>Gaji 18 April 2023</td>\\n <td>2,626,552.00</td>\\n <td></td>\\n <td>151,633,776.71</td>\\n </tr>\\n <tr>\\n <td>5231</td>\\n <td>18-04-2023 18:33</td>\\n <td>FT23108B5DX3</td>\\n <td>Gaji 18 April 2023</td>\\n <td>355,117.00</td>\\n <td></td>\\n <td>151,278,659.71</td>\\n </tr>\\n <tr>\\n <td>5232</td>\\n <td>18-04-2023 18:33</td>\\n <td>FT23108881X5</td>\\n <td>Gaji 18 April 2023</td>\\n <td>3,777,396.00</td>\\n <td></td>\\n <td>147,501,263.71</td>\\n </tr>\\n <tr>\\n <td>5233</td>\\n <td>18-04-2023 18:33</td>\\n <td>FT23108BBWC3</td>\\n <td>Gaji 18 April 2023 CCDI</td>\\n <td>3,936,865.00</td>\\n <td></td>\\n <td>143,564,398.71</td>\\n </tr>\\n <tr>\\n <td>5234</td>\\n <td>18-04-2023 18:33</td>\\n <td>FT231089GD04</td>\\n <td>Gaji 18 April 2023</td>\\n <td>4,889,882.00</td>\\n <td></td>\\n <td>138,674,516.71</td>\\n </tr>\\n <tr>\\n <td>5235</td>\\n <td>18-04-2023 18:33</td>\\n <td>FT231089WCZZ</td>\\n <td>Gaji 18 April 2023</td>\\n <td>5,091,679.00</td>\\n <td></td>\\n <td>133,582,837.71</td>\\n </tr>\\n <tr>\\n <td>5236</td>\\n <td>18-04-2023 18:33</td>\\n <td>FT23108BBWC3</td>\\n <td>Biaya Pemindahbukuan e-Banking</td>\\n <td>6,500.00</td>\\n <td></td>\\n <td>133,576,337.71</td>\\n </tr>\\n <tr>\\n <td>5237</td>\\n <td>18-04-2023 18:33</td>\\n <td>FT23108881X5</td>\\n <td>Biaya Pemindahbukuan e-Banking</td>\\n <td>6,500.00</td>\\n <td></td>\\n <td>133,569,837.71</td>\\n </tr>\\n <tr>\\n <td>5238</td>\\n <td>18-04-2023 18:33</td>\\n <td>FT23108B68BZ</td>\\n <td>Biaya Pemindahbukuan e-Banking</td>\\n <td>6,500.00</td>\\n <td></td>\\n <td>133,563,337.71</td>\\n </tr>\\n <tr>\\n <td>5239</td>\\n <td>18-04-2023 18:33</td>\\n <td>FT23108B5DX3</td>\\n <td>Biaya Pemindahbukuan e-Banking</td>\\n <td>6,500.00</td>\\n <td></td>\\n <td>133,556,837.71</td>\\n </tr>\\n <tr>\\n <td>5240</td>\\n <td>18-04-2023 18:33</td>\\n <td>FT231089WCZZ</td>\\n <td>Biaya Pemindahbukuan e-Banking</td>\\n <td>6,500.00</td>\\n <td></td>\\n <td>133,550,337.71</td>\\n </tr>\\n <tr>\\n <td>5241</td>\\n <td>18-04-2023 18:33</td>\\n <td>FT231089GD04</td>\\n <td>Biaya Pemindahbukuan e-Banking</td>\\n <td>6,500.00</td>\\n <td></td>\\n <td>133,543,837.71</td>\\n </tr>\\n <tr>\\n <td>5242</td>\\n <td>18-04-2023 18:33</td>\\n <td>FT23108CDMNM</td>\\n <td>Biaya Pemindahbukuan e-Banking</td>\\n <td>6,500.00</td>\\n <td></td>\\n <td>133,537,337.71</td>\\n </tr>\\n <tr>\\n <td>5243</td>\\n <td>18-04-2023 18:33</td>\\n <td>FT23108BVJNL</td>\\n <td>Biaya Pemindahbukuan e-Banking</td>\\n <td>6,500.00</td>\\n <td></td>\\n <td>133,530,837.71</td>\\n </tr>\\n <tr>\\n <td>5244</td>\\n <td>18-04-2023 21:11</td>\\n <td>FT23108N5NL6</td>\\n <td>Prjnjn Sw dgn Pak Gatoet Apr23</td>\\n <td>12,286,751.00</td>\\n <td></td>\\n <td>121,244,086.71</td>\\n </tr>\\n <tr>\\n <td>5245</td>\\n <td>18-04-2023 21:11</td>\\n <td>FT23108NM8KG</td>\\n <td>PC Tng Bckp AllPrjct W4 Apr23</td>\\n <td>17,163,929.00</td>\\n <td></td>\\n <td>104,080,157.71</td>\\n </tr>\\n <tr>\\n <td>5246</td>\\n <td>18-04-2023 21:11</td>\\n <td>FT23108HS71X</td>\\n <td>Gaji 18 April 2023</td>\\n <td>2,434,975.00</td>\\n <td></td>\\n <td>101,645,182.71</td>\\n </tr>\\n <tr>\\n <td>5247</td>\\n <td>18-04-2023 21:11</td>\\n <td>FT23108HNQHG</td>\\n <td>Gaji 18 April 2023 CCDI</td>\\n <td>4,760,526.00</td>\\n <td></td>\\n <td>96,884,656.71</td>\\n </tr>\\n <tr>\\n <td>5248</td>\\n <td>18-04-2023 21:11</td>\\n <td>FT23108HZRSW</td>\\n <td>Gaji 18 April 2023 CCDI</td>\\n <td>5,686,483.00</td>\\n <td></td>\\n <td>91,198,173.71</td>\\n </tr>\\n <tr>\\n <td>5249</td>\\n <td>18-04-2023 21:11</td>\\n <td>FT23108HWH7S</td>\\n <td>Gaji 18 April 2023 CCDI</td>\\n <td>5,876,546.00</td>\\n <td></td>\\n <td>85,321,627.71</td>\\n </tr>\\n <tr>\\n <td>5250</td>\\n <td>18-04-2023 21:11</td>\\n <td>FT23108HS71X</td>\\n <td>Biaya Pemindahbukuan e-Banking</td>\\n <td>6,500.00</td>\\n <td></td>\\n <td>85,315,127.71</td>\\n </tr>\\n <tr>\\n <td>5251</td>\\n <td>18-04-2023 21:11</td>\\n <td>FT23108J64MM</td>\\n <td>Biaya Pemindahbukuan e-Banking</td>\\n <td>6,500.00</td>\\n <td></td>\\n <td>85,308,627.71</td>\\n </tr>\\n <tr>\\n <td>5252</td>\\n <td>18-04-2023 21:11</td>\\n <td>FT23108HZRSW</td>\\n <td>Biaya Pemindahbukuan e-Banking</td>\\n <td>6,500.00</td>\\n <td></td>\\n <td>85,302,127.71</td>\\n </tr>\\n <tr>\\n <td>5253</td>\\n <td>18-04-2023 21:11</td>\\n <td>FT23108NM8KG</td>\\n <td>Biaya Pemindahbukuan e-Banking</td>\\n <td>6,500.00</td>\\n <td></td>\\n <td>85,295,627.71</td>\\n </tr>\\n <tr>\\n <td>5254</td>\\n <td>18-04-2023 21:11</td>\\n <td>FT23108N5NL6</td>\\n <td>Biaya Pemindahbukuan e-Banking</td>\\n <td>6,500.00</td>\\n <td></td>\\n <td>85,289,127.71</td>\\n </tr>\\n <tr>\\n <td>5255</td>\\n <td>18-04-2023 21:11</td>\\n <td>FT23108HWH7S</td>\\n <td>Biaya Pemindahbukuan e-Banking</td>\\n <td>6,500.00</td>\\n <td></td>\\n <td>85,282,627.71</td>\\n </tr>\\n <tr>\\n <td>5256</td>\\n <td>18-04-2023 21:11</td>\\n <td>FT23108N5KW6</td>\\n <td>Biaya Pemindahbukuan e-Banking</td>\\n <td>6,500.00</td>\\n <td></td>\\n <td>85,276,127.71</td>\\n </tr>\\n <tr>\\n <td>5257</td>\\n <td>18-04-2023 21:11</td>\\n <td>FT23108J64MM</td>\\n <td>Byr Ccln Rush Apr23</td>\\n <td>6,891,000.00</td>\\n <td></td>\\n <td>78,385,127.71</td>\\n </tr>\\n <tr>\\n <td>5258</td>\\n <td>18-04-2023 21:11</td>\\n <td>FT23108N5KW6</td>\\n <td>Gaji 18 April 2023</td>\\n <td>7,397,275.00</td>\\n <td></td>\\n <td>70,987,852.71</td>\\n </tr>\\n <tr>\\n <td>5259</td>\\n <td>20-04-2023 17:20</td>\\n <td>FT23110YZ9V2</td>\\n <td>PC Tng Bckp AllPrjct W5 Apr23</td>\\n <td>16,970,000.00</td>\\n <td></td>\\n <td>54,017,852.71</td>\\n </tr>\\n </tbody>\\n</table>\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/UOB MISS ZHANG LING_page-0003.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 71,\n 42,\n 460,\n 119\n ],\n \"category\": \"Page-header\",\n \"text\": \"UOB 大华银行\"\n },\n {\n \"bbox\": [\n 1079,\n 189,\n 1166,\n 208\n ],\n \"category\": \"Page-header\",\n \"text\": \"Page 3 of 6\"\n },\n {\n \"bbox\": [\n 106,\n 231,\n 406,\n 253\n ],\n \"category\": \"Section-header\",\n \"text\": \"Account Transaction Details\"\n },\n {\n \"bbox\": [\n 106,\n 272,\n 505,\n 293\n ],\n \"category\": \"Text\",\n \"text\": \"Lady's Savings A/c 658-373-803-4 (continued)\"\n },\n {\n \"bbox\": [\n 94,\n 316,\n 1166,\n 1590\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>Date</th><th>Description</th><th>Withdrawals SGD</th><th>Deposits SGD</th><th>Balance SGD</th></tr></thead><tbody><tr><td>08 Aug</td><td>NETS Debit-Consumer SHENG SIONG18204899 xxxxxx8034</td><td>18.90</td><td></td><td>14,787.06</td></tr><tr><td>10 Aug</td><td>NETS Debit-Consumer JCU S0812520503 xxxxxx8034</td><td></td><td>4.60</td><td>14,782.46</td></tr><tr><td>10 Aug</td><td>PAYNOW-FAST PIB2308109877417874 JAMES COOK UNIVERSIT OTHR 200100786KLIBS92109052219</td><td>20.00</td><td></td><td>14,762.46</td></tr><tr><td>10 Aug</td><td>NETS Debit-Consumer JCU S0818230503 xxxxxx8034</td><td>4.10</td><td></td><td>14,758.36</td></tr><tr><td>11 Aug</td><td>NETS Debit-Consumer JCU S0812360503 xxxxxx8034</td><td>3.60</td><td></td><td>14,754.76</td></tr><tr><td>11 Aug</td><td>PAYNOW-FAST FENG XIAN PTE LTD MBK2308119888174344</td><td>12.00</td><td></td><td>14,742.76</td></tr><tr><td>11 Aug</td><td>NETS Debit-Consumer SHENG SIONG20464899 xxxxxx8034</td><td>14.69</td><td></td><td>14,728.07</td></tr><tr><td>12 Aug</td><td>NETS Debit-Consumer FR NEX - LA18109900 xxxxxx8034</td><td>4.40</td><td></td><td>14,723.67</td></tr><tr><td>12 Aug</td><td>NETS Debit-Consumer NTUC FAIRPR18357200 xxxxxx8034</td><td>3.95</td><td></td><td>14,719.72</td></tr><tr><td>14 Aug</td><td>NETS Debit-Consumer POPULAR BOO16190800 xxxxxx8034</td><td>4.35</td><td></td><td>14,715.37</td></tr><tr><td>14 Aug</td><td>NETS Debit-Consumer FR NEX - LA18329900 xxxxxx8034</td><td>5.20</td><td></td><td>14,710.17</td></tr><tr><td>14 Aug</td><td>NETS Debit-Consumer Q BREAD09152800 xxxxxx8034</td><td>1.70</td><td></td><td>14,708.47</td></tr><tr><td>14 Aug</td><td>NETS Debit-Consumer JCU S0816370503 xxxxxx8034</td><td>4.60</td><td></td><td>14,703.87</td></tr><tr><td>15 Aug</td><td>NETS Debit-Consumer JCU S0811510503 xxxxxx8034</td><td>4.60</td><td></td><td>14,699.27</td></tr><tr><td>15 Aug</td><td>NETS Debit-Consumer SHENG SIONG19294899 xxxxxx8034</td><td>26.00</td><td></td><td>14,673.27</td></tr><tr><td>16 Aug</td><td>NETS Debit-Consumer JCU S0813090503 xxxxxx8034</td><td>4.60</td><td></td><td>14,668.67</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 75,\n 1639,\n 1169,\n 1685\n ],\n \"category\": \"Page-footer\",\n \"text\": \"Please note that you are bound by a duty under the rules governing the operation of this account, to check the entries in the above statement. If you do not notify us in writing of any errors, omissions or unauthorised debits within fourteen (14) days of this statement, the entries above shall be deemed valid, correct, accurate and conclusively binding upon you, and you shall have no claim against the bank in relation thereto.\"\n },\n {\n \"bbox\": [\n 75,\n 1683,\n 1056,\n 1696\n ],\n \"category\": \"Page-footer\",\n \"text\": \"请注意,在此户口的管理条规下,您必须核对此结单所列项目,并在十四(14)天内,以书面通知本行任何错误,遗漏或未经授权支账,否则上述项目当被视为有效,适当和准确并受其约束,您不得向本行索取赔偿.\"\n },\n {\n \"bbox\": [\n 75,\n 1696,\n 1001,\n 1710\n ],\n \"category\": \"Page-footer\",\n \"text\": \"United Overseas Bank Limited • 80 Raffles Place UOB Plaza Singapore 048624 • Co. Reg. No. 193500026Z • GST Reg. No. MR-8500194-3 • www.uob.com.sg\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/BTN DOROTHY CARISSA ADIT_page-0001.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 987,\n 62,\n 1103,\n 130\n ],\n \"category\": \"Page-header\",\n \"text\": \"btñ\"\n },\n {\n \"bbox\": [\n 60,\n 69,\n 315,\n 124\n ],\n \"category\": \"Page-header\",\n \"text\": \"BUMN UNTUK INDONESIA\"\n },\n {\n \"bbox\": [\n 69,\n 193,\n 335,\n 253\n ],\n \"category\": \"Section-header\",\n \"text\": \"# Mutasi Rekening\\n## Account Statement\"\n },\n {\n \"bbox\": [\n 74,\n 288,\n 328,\n 310\n ],\n \"category\": \"Text\",\n \"text\": \"DOROTHY CARISSA ADIT\"\n },\n {\n \"bbox\": [\n 74,\n 325,\n 241,\n 345\n ],\n \"category\": \"Text\",\n \"text\": \"2201610091483\"\n },\n {\n \"bbox\": [\n 717,\n 325,\n 1163,\n 347\n ],\n \"category\": \"Text\",\n \"text\": \"01 September 2024 s/d 16 September 2024\"\n },\n {\n \"bbox\": [\n 69,\n 375,\n 1167,\n 1506\n ],\n \"category\": \"Table\",\n \"text\": \"\\n<table>\\n <thead>\\n <tr>\\n <th>Tgl & Waktu Date & Time</th>\\n <th>Jenis Transaksi Transaction Type</th>\\n <th>Debit (IDR) Debit (IDR)</th>\\n <th>Kredit (IDR) Credit (IDR)</th>\\n <th>Saldo(IDR) Balance (IDR)</th>\\n </tr>\\n\\n </thead>\\n <tbody>\\n<tr><td colspan=\\\"4\\\">Saldo Awal Begining Balance</td>\\n <td>48.094,63</td>\\n </tr> <tr>\\n <td>01/09/2024 20:27:08</td>\\n <td>BIFAST Incoming SA DR 00000000901420369140 TAHMAN 000035079471 SEABANK</td>\\n <td>0,00</td>\\n <td>250.000,00</td>\\n <td>298.094,63</td>\\n </tr> <tr>\\n <td>01/09/2024 22:04:29</td>\\n <td>ATM SA VISA DM POS 72124230 4215708305774904 424522720134 ID000008590000(61000000) US000008590000(</td>\\n <td>85.900,00</td>\\n <td>0,00</td>\\n <td>212.194,63</td>\\n </tr> <tr>\\n <td>02/09/2024 11:49:54</td>\\n <td>Pay QRIS Iss SA PAY 9360091800004903284 AGN Kediri MOB 13000010 490328 ESB916107795</td>\\n <td>31.000,00</td>\\n <td>0,00</td>\\n <td>181.194,63</td>\\n </tr> <tr>\\n <td>02/09/2024 13:54:35</td>\\n <td>ATM Prima SA Withdr 28000484 4215708305774904 638378</td>\\n <td>100.000,00</td>\\n <td>0,00</td>\\n <td>73.694,63</td>\\n </tr> <tr>\\n <td>02/09/2024 13:54:35</td>\\n <td>ATM Prima SA Withdr 28000484 4215708305774904 638378</td>\\n <td>7.500,00</td>\\n <td>0,00</td>\\n <td>173.694,63</td>\\n </tr> <tr>\\n <td>02/09/2024 14:00:43</td>\\n <td>BIFAST Outgoing SA TRF 00000000901339062994 DOROTHY CARISSA ESB392302897 SEABANK</td>\\n <td>22.500,00</td>\\n <td>0,00</td>\\n <td>51.194,63</td>\\n </tr> <tr>\\n <td>03/09/2024 22:43:08</td>\\n <td>AutoCashback SA AUTOCB Cashback Transfer BI Fast 24090230000100576764 020924 140043 H0309202432229 7129</td>\\n <td>0,00</td>\\n <td>2.500,00</td>\\n <td>53.694,63</td>\\n </tr> <tr>\\n <td>04/09/2024 20:46:12</td>\\n <td>BIFAST Incoming SA DR 00000000901420369140 TAHMAN 000039398313 SEABANK</td>\\n <td>0,00</td>\\n <td>300.000,00</td>\\n <td>353.694,63</td>\\n </tr> <tr>\\n <td>04/09/2024 21:11:15</td>\\n <td>Bill BPJS PRI Db SA 5371046503020001#MBK240904000148</td>\\n <td>50.400,00</td>\\n <td>0,00</td>\\n <td>303.294,63</td>\\n </tr> </tbody>\\n</table>\"\n },\n {\n \"bbox\": [\n 1182,\n 1622,\n 1193,\n 1645\n ],\n \"category\": \"Page-footer\",\n \"text\": \"1\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/e-statement ocbc_page-0011.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 97,\n 113,\n 140,\n 129\n ],\n \"category\": \"Text\",\n \"text\": \"99693\"\n },\n {\n \"bbox\": [\n 428,\n 112,\n 550,\n 129\n ],\n \"category\": \"Text\",\n \"text\": \"01/20-11/13-2029\"\n },\n {\n \"bbox\": [\n 511,\n 144,\n 554,\n 160\n ],\n \"category\": \"Text\",\n \"text\": \"99693\"\n },\n {\n \"bbox\": [\n 96,\n 165,\n 183,\n 184\n ],\n \"category\": \"Text\",\n \"text\": \"Kepada Yth:\"\n },\n {\n \"bbox\": [\n 96,\n 196,\n 220,\n 213\n ],\n \"category\": \"Text\",\n \"text\": \"NORDIANSYAH\"\n },\n {\n \"bbox\": [\n 96,\n 238,\n 292,\n 256\n ],\n \"category\": \"Text\",\n \"text\": \"JL. HJ. JAHRAH RT : RW :\"\n },\n {\n \"bbox\": [\n 96,\n 259,\n 459,\n 277\n ],\n \"category\": \"Text\",\n \"text\": \"SUNGAI KELEDANG, KOTA SAMARINDA 75131\"\n },\n {\n \"bbox\": [\n 583,\n 103,\n 779,\n 123\n ],\n \"category\": \"Section-header\",\n \"text\": \"REKENING KORAN\"\n },\n {\n \"bbox\": [\n 583,\n 133,\n 1070,\n 152\n ],\n \"category\": \"Text\",\n \"text\": \"NOMOR REKENING : 693810542029 - Tanda360Plus Digital\"\n },\n {\n \"bbox\": [\n 583,\n 176,\n 931,\n 194\n ],\n \"category\": \"Text\",\n \"text\": \"CABANG : 99693 - DIGITAL\"\n },\n {\n \"bbox\": [\n 583,\n 217,\n 1079,\n 235\n ],\n \"category\": \"Text\",\n \"text\": \"PERIODE : 01 November 2020 - 30 November 2020\"\n },\n {\n \"bbox\": [\n 583,\n 259,\n 877,\n 277\n ],\n \"category\": \"Text\",\n \"text\": \"TANGGAL PERCETAKAN : 20201204\"\n },\n {\n \"bbox\": [\n 583,\n 301,\n 840,\n 319\n ],\n \"category\": \"Text\",\n \"text\": \"MATA UANG : IDR\"\n },\n {\n \"bbox\": [\n 583,\n 343,\n 870,\n 361\n ],\n \"category\": \"Text\",\n \"text\": \"HALAMAN : 11 of 13\"\n },\n {\n \"bbox\": [\n 55,\n 393,\n 1167,\n 1214\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>TGL TRANS</th><th>TGL VALUTA</th><th>URAIAN</th><th>DEBET</th><th>KREDIT</th><th>SALDO</th></tr></thead><tbody><tr><td></td><td></td><td>Berita : 4727 014 YUDHI KURNIAWAN</td><td></td><td></td><td></td></tr><tr><td>27/11/2020</td><td>27/11/2020</td><td>OVERBOOKING SI</td><td>0.00</td><td>500,000.00</td><td>600,856.00</td></tr><tr><td></td><td></td><td>EKA SUSILAWATI/str</td><td></td><td></td><td></td></tr><tr><td>27/11/2020</td><td>27/11/2020</td><td>Biaya transaksi via ATM</td><td>6,500.00</td><td>0.00</td><td>594,356.00</td></tr><tr><td></td><td></td><td>Berita : 5550 014 6585063723 GHONIE ALBASITU 2020</td><td></td><td></td><td></td></tr><tr><td>27/11/2020</td><td>27/11/2020</td><td>Memo Debet</td><td>593,500.00</td><td>0.00</td><td>856.00</td></tr><tr><td></td><td></td><td>Berita : 5550 014 6585063723 GHONIE ALBASITU 2020</td><td></td><td></td><td></td></tr><tr><td>27/11/2020</td><td>27/11/2020</td><td>Pemindahbukuan</td><td>0.00</td><td>201,000.00</td><td>201,856.00</td></tr><tr><td></td><td></td><td>Berita : KOR GOJ 000074855728 082193235612</td><td></td><td></td><td></td></tr><tr><td>27/11/2020</td><td>27/11/2020</td><td>OVERBOOKING SI</td><td>0.00</td><td>1,000,000.00</td><td>1,201,856.00</td></tr><tr><td></td><td></td><td>EKA SUSILAWATI/str</td><td></td><td></td><td></td></tr><tr><td>27/11/2020</td><td>27/11/2020</td><td>Biaya transaksi via ATM</td><td>6,500.00</td><td>0.00</td><td>1,195,356.00</td></tr><tr><td></td><td></td><td>Berita : 2288 014 6585063723 GHONIE ALBASITU 2020</td><td></td><td></td><td></td></tr><tr><td>27/11/2020</td><td>27/11/2020</td><td>Memo Debet</td><td>1,190,000.00</td><td>0.00</td><td>5,356.00</td></tr><tr><td></td><td></td><td>Berita : 2288 014 6585063723 GHONIE ALBASITU 2020</td><td></td><td></td><td></td></tr><tr><td>28/11/2020</td><td>28/11/2020</td><td>OVERBOOKING SI</td><td>0.00</td><td>450,000.00</td><td>455,356.00</td></tr><tr><td></td><td></td><td>EKA SUSILAWATI/str</td><td></td><td></td><td></td></tr><tr><td>28/11/2020</td><td>28/11/2020</td><td>Biaya transaksi via ATM</td><td>6,500.00</td><td>0.00</td><td>448,856.00</td></tr><tr><td></td><td></td><td>Berita : 4231 014 6585063723 GHONIE ALBASITU 2020</td><td></td><td></td><td></td></tr><tr><td>28/11/2020</td><td>28/11/2020</td><td>Memo Debet</td><td>445,000.00</td><td>0.00</td><td>3,856.00</td></tr><tr><td></td><td></td><td>Berita : 4231 014 6585063723 GHONIE ALBASITU 2020</td><td></td><td></td><td></td></tr><tr><td>28/11/2020</td><td>28/11/2020</td><td>Transfer Masuk</td><td>0.00</td><td>150,000.00</td><td>153,856.00</td></tr><tr><td></td><td></td><td>Berita : 6753 002 10026282157333462 03 INTERBANK</td><td></td><td></td><td></td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 54,\n 1509,\n 846,\n 1565\n ],\n \"category\": \"Text\",\n \"text\": \"BILAMANA DALAM 7 HARI TERHITUNG SEJAK TANGGAL STEMPEL POS ATAU DITERIMANYA PER EKSPEDISI ATAU TANGGAL TERKIRIMNYA LAYANAN ESTATEMENT REKENING KORAN INI TIDAK ADA SANGGAHAN DARI NASABAH MAKA DIANGGAP NASABAH TELAH MENYETUJUI SEGALA SESUATU YANG TERMUAT DALAM REKENING KORAN INI. SETIAP PEMBEBANAN ONGKOS / BAYA KAMI TIDAK MEMBUATKAN NOTANYA. CETAKAN KOMPUTER INI TIDAK MEMERLUKAN TANDA TANGAN PEJABAT\"\n },\n {\n \"bbox\": [\n 65,\n 1595,\n 846,\n 1667\n ],\n \"category\": \"Text\",\n \"text\": \"Efektif Per Tanggal 1 Februari 2016, produk-produk Trade Loan mengalami perubahan nama untuk memberikan kemudahan pemahaman nasabah atas nama produk Trade Finances & Services. Info lebih lanjut hubungi Kantor Cabang terdekat atau Call OCBC NISP di 1500-999 / 66-999 via HP.\"\n },\n {\n \"bbox\": [\n 873,\n 1636,\n 1155,\n 1698\n ],\n \"category\": \"Page-footer\",\n \"text\": \"OCBC NISP\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/Mandiri Teddy_page-0001.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 1077,\n 30,\n 1341,\n 111\n ],\n \"category\": \"Page-header\",\n \"text\": \"mandiri\"\n },\n {\n \"bbox\": [\n 86,\n 159,\n 540,\n 186\n ],\n \"category\": \"Section-header\",\n \"text\": \"## Rekening Koran / Statement of Account\"\n },\n {\n \"bbox\": [\n 86,\n 187,\n 473,\n 209\n ],\n \"category\": \"Text\",\n \"text\": \"Periode / Period: 1/10/22 s/d 31/10/22\"\n },\n {\n \"bbox\": [\n 86,\n 238,\n 262,\n 261\n ],\n \"category\": \"Text\",\n \"text\": \"TEDDY SUHANA\"\n },\n {\n \"bbox\": [\n 954,\n 243,\n 1267,\n 270\n ],\n \"category\": \"Section-header\",\n \"text\": \"## Hubungi Kami / Contact Us\"\n },\n {\n \"bbox\": [\n 86,\n 264,\n 349,\n 286\n ],\n \"category\": \"Text\",\n \"text\": \"JL. KALIBARU TIMUR / 23\"\n },\n {\n \"bbox\": [\n 954,\n 281,\n 1336,\n 299\n ],\n \"category\": \"Text\",\n \"text\": \"Call Center : mandiri call 14000 / +62 21 52997777\"\n },\n {\n \"bbox\": [\n 86,\n 289,\n 256,\n 311\n ],\n \"category\": \"Text\",\n \"text\": \"RT. 004 RW. 003\"\n },\n {\n \"bbox\": [\n 954,\n 301,\n 1292,\n 319\n ],\n \"category\": \"Text\",\n \"text\": \"Email : [email protected]\"\n },\n {\n \"bbox\": [\n 86,\n 316,\n 197,\n 337\n ],\n \"category\": \"Text\",\n \"text\": \"CILINCING\"\n },\n {\n \"bbox\": [\n 954,\n 320,\n 1279,\n 338\n ],\n \"category\": \"Text\",\n \"text\": \"Website : https://www.bankmandiri.co.id\"\n },\n {\n \"bbox\": [\n 86,\n 340,\n 568,\n 361\n ],\n \"category\": \"Text\",\n \"text\": \"KALIBARU KOTA ADM JAKARTA UTARA 14110\"\n },\n {\n \"bbox\": [\n 83,\n 421,\n 390,\n 451\n ],\n \"category\": \"Section-header\",\n \"text\": \"## Ringkasan / At a glance\"\n },\n {\n \"bbox\": [\n 72,\n 492,\n 786,\n 655\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th colspan=\\\"3\\\">Dana / Fund</th></tr><tr><th>Produk<br>Product</th><th>Saldo<br>Balance (IDR)</th><th>%</th></tr></thead><tbody><tr><td>● Tabungan</td><td>400,512.00</td><td>100.00 %</td></tr><tr><td>Total</td><td>400,512.00</td><td>100.00 %</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 981,\n 547,\n 1244,\n 699\n ],\n \"category\": \"Picture\",\n \"text\": \"\"\n },\n {\n \"bbox\": [\n 72,\n 694,\n 711,\n 716\n ],\n \"category\": \"Text\",\n \"text\": \"* Informasi produk di atas adalah per posisi tanggal terakhir bulan statement.\"\n },\n {\n \"bbox\": [\n 81,\n 753,\n 369,\n 776\n ],\n \"category\": \"Text\",\n \"text\": \"Total Mandiri Livin'poin : 116\"\n },\n {\n \"bbox\": [\n 1236,\n 1680,\n 1321,\n 1699\n ],\n \"category\": \"Page-footer\",\n \"text\": \"Page 1 of 3\"\n },\n {\n \"bbox\": [\n 1135,\n 1680,\n 1173,\n 1716\n ],\n \"category\": \"Page-footer\",\n \"text\": \"Hal\\nPage\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/Permata April 2023_page-0003.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 58,\n 36,\n 1689,\n 206\n ],\n \"category\": \"Text\",\n \"text\": \"Inquiry Time : May 17 2023 08:52:43 Group : B579199001 / BHAKTI SATRIA PERSADA PT Account : 00902321578/BHAKTI SATRIA PERSADA (IDR) Period : 01-Apr-2023 - 30-Apr-2023\"\n },\n {\n \"bbox\": [\n 58,\n 264,\n 1730,\n 1481\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>No.</th><th>Post Date</th><th>Eff Date</th><th>Transaction Code</th><th>Cheque Number</th><th>Ref No</th><th>Customer Ref No</th><th>Description</th><th>Debit</th><th>Credit</th></tr></thead><tbody><tr><td></td><td>2210-Apr-2023</td><td>10-Apr-2023</td><td>068</td><td>0000000000</td><td></td><td></td><td>MAYBANK INDONESIA 11:29:59 PT BHAKTI SATRIA PERSADA INV243-PB DARI NURDIANAWATI HANIFAH BINTARO SEKTOR VII 11:40:33 PINJAMAN THR PT BHAKTI SATRIAPERSADA</td><td>0.00</td><td>1,500,000,000.00</td></tr><tr><td></td><td>2310-Apr-2023</td><td>10-Apr-2023</td><td>001</td><td>0000000000</td><td></td><td></td><td>SETORAN TUNAI BPR GROGOL JOYO</td><td>0.00</td><td>2,520,384.00</td></tr><tr><td></td><td>2410-Apr-2023</td><td>10-Apr-2023</td><td>001</td><td>0000000000</td><td></td><td></td><td>SETORAN TUNAI BPR GROGOL JOYO</td><td>0.00</td><td>251,011.00</td></tr><tr><td></td><td>2510-Apr-2023</td><td>10-Apr-2023</td><td>803</td><td>0000000000</td><td>PPU.=PGWM-0002</td><td></td><td>TRF DARI EDICO UTAMA PT BANK CENTRAL ASIAINVOICE NO 215,215A/BhSP-EU/K-82/III/2023.</td><td>0.00</td><td>112,329,089.00</td></tr><tr><td></td><td>2610-Apr-2023</td><td>10-Apr-2023</td><td>371</td><td>0000000000</td><td>0897100918709090</td><td></td><td>TRF RTGS KE PT BHAKTI SATRIA PERSADA 7777775515 BANK SYARIAH INDONES JAKARTA PeB 13:25:55 PB ke BSI Bhakti</td><td>1,840,000,000.00</td><td>0.00</td></tr><tr><td></td><td>2710-Apr-2023</td><td>10-Apr-2023</td><td>050</td><td>0000000000</td><td>0897100918709090</td><td></td><td>BIAYA ADM. TRF RTGS KE PT BHAKTI SATRIA PERSADA 7777775515 BANK SYARIAH INDONES JAKARTA PeB 13:25:55 PB ke BSI Bhakti</td><td>30,000.00</td><td>0.00</td></tr><tr><td></td><td>2810-Apr-2023</td><td>10-Apr-2023</td><td>803</td><td>0000000000</td><td>PPU.;00S2-7850</td><td></td><td>TRF DARI STEPHEN CAHYO KUNCORO BANK CENTRAL ASIATRANSFER</td><td>0.00</td><td>35,284,000.00</td></tr><tr><td></td><td>2910-Apr-2023</td><td>10-Apr-2023</td><td>803</td><td>0000000000</td><td>IBB-SK1004/88600</td><td></td><td>TRF DARI CIPTA NISSIN INDUSTRIES, PT PANIN BANKBAKTI SATRIA INV 244.244A</td><td>0.00</td><td>37,502,866.00</td></tr><tr><td colspan=\\\"7\\\">Total</td><td>1,840,030,000.00</td><td>1,899,209,650.00</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 58,\n 1544,\n 1730,\n 1846\n ],\n \"category\": \"Table\",\n \"text\": \"<table><tr><td>Ledger Balance per</td><td>11-Apr-2023</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td>74,517,827.90</td></tr><tr><td>3011-Apr-2023</td><td>11-Apr-2023</td><td>803</td><td>0000000000</td><td>0516521001513301</td><td></td><td>TRF DARI ONB TECHNOLOGIES IND BANK MANDIRI</td><td></td><td>0.00</td><td>9,510,440.00</td></tr><tr><td>3111-Apr-2023</td><td>11-Apr-2023</td><td>010</td><td>0000000000</td><td></td><td></td><td>PB DARI PV FINANCE PVO/04/23/01067Pera watan AC</td><td></td><td>0.00</td><td>403,300.00</td></tr><tr><td>3211-Apr-2023</td><td>11-Apr-2023</td><td>010</td><td>0000000000</td><td></td><td></td><td>PB DARI PV FINANCE PVO/04/23/01099SER VICE AC METRO PI</td><td></td><td>0.00</td><td>3,435,680.00</td></tr><tr><td colspan=\\\"7\\\">Total</td><td>0.00</td><td>13,349,420.00</td></tr></table>\"\n },\n {\n \"bbox\": [\n 58,\n 1909,\n 1730,\n 2380\n ],\n \"category\": \"Table\",\n \"text\": \"<table><tr><td>Ledger Balance per</td><td>12-Apr-2023</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td>87,867,247.90</td></tr><tr><td>3312-Apr-2023</td><td>12-Apr-2023</td><td>010</td><td>0000000000</td><td></td><td></td><td>PB DARI PV FINANCE PVU/04/23/00161CP-MAIN AC 11/22REGSYARIA</td><td></td><td>0.00</td><td>1,154,310.00</td></tr><tr><td>3412-Apr-2023</td><td>12-Apr-2023</td><td>010</td><td>0000000000</td><td></td><td></td><td>PB DARI PV FINANCE PVU/04/23/00159CP-MAIN AC 12/22 REGION 1</td><td></td><td>0.00</td><td>1,600,715.00</td></tr><tr><td>3512-Apr-2023</td><td>12-Apr-2023</td><td>010</td><td>0000000000</td><td></td><td></td><td>PB DARI PV FINANCE PVU/04/23/00162CP-MAIN AC 11/22 REGION I</td><td></td><td>0.00</td><td>3,136,752.00</td></tr><tr><td>3612-Apr-2023</td><td>12-Apr-2023</td><td>010</td><td>0000000000</td><td></td><td></td><td>PB DARI PV FINANCE PVO/04/23/01420Pem byr service AC 506</td><td></td><td>0.00</td><td>1,071,150.00</td></tr><tr><td>3712-Apr-2023</td><td>12-Apr-2023</td><td>803</td><td>0000000000</td><td>PPU.=RHWG-0069</td><td></td><td>TRF DARI INTISUMBER BAJASAKTI PT BANK</td><td></td><td>0.00</td><td>42,262,879.00</td></tr></table>\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/BNI Arif_page-0001.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 1088,\n 14,\n 1227,\n 73\n ],\n \"category\": \"Page-header\",\n \"text\": \"BNI\\nMelayani Negeri, Kebanggaan Bangsa\"\n },\n {\n \"bbox\": [\n 493,\n 101,\n 749,\n 128\n ],\n \"category\": \"Section-header\",\n \"text\": \"HISTORI TRANSAKSI\"\n },\n {\n \"bbox\": [\n 102,\n 188,\n 269,\n 210\n ],\n \"category\": \"Section-header\",\n \"text\": \"Kriteria Pencarian\"\n },\n {\n \"bbox\": [\n 121,\n 230,\n 630,\n 381\n ],\n \"category\": \"Text\",\n \"text\": \"Rekening: BNI TAPLUS\\nTanggal Awal: 2022-10-28\\nTanggal Akhir: 2022-11-10\\nKategori: Semua\"\n },\n {\n \"bbox\": [\n 102,\n 419,\n 554,\n 442\n ],\n \"category\": \"Caption\",\n \"text\": \"Transactions List - BNI TAPLUS - (IDR) - 1277825532\"\n },\n {\n \"bbox\": [\n 81,\n 466,\n 1122,\n 1667\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>Tanggal Transaksi</th><th>Uraian Transaksi</th><th>Tipe</th><th>Nominal</th><th>Saldo Akhir</th></tr></thead><tbody><tr><td>2022-11-08</td><td>TARIK TUNAI KARTU 5264221901753790 YOGYAKARTA9887-YONIF 403</td><td>Db.</td><td>100.000,00</td><td>716.463,00</td></tr><tr><td>2022-11-05</td><td>TRANSFER KE Sdri WANDA WIDIANTI</td><td>Db.</td><td>70.000,00</td><td>816.463,00</td></tr><tr><td>2022-11-04</td><td>TRF/PAY/TOP-UP ECHANNEL KARTU 5379413052501068 00000000000000000000</td><td>Cr.</td><td>500.000,00</td><td>886.463,00</td></tr><tr><td>2022-11-04</td><td>TARIK TUNAI KARTU 5264221901753790 BANK NEGARA INDONESIA YOG YAKARTA</td><td>Db.</td><td>50.000,00</td><td>386.463,00</td></tr><tr><td>2022-11-04</td><td>TARIK TUNAI KARTU 5264221901753790 BANK NEGARA INDONESIA YOG YAKARTA IN</td><td>Db.</td><td>100.000,00</td><td>436.463,00</td></tr><tr><td>2022-11-04</td><td>TRANSFER KE IONPAY NETWORKS 8848000212999622 NICEPAY-Akulaku-DWI LESTARI JUNIA</td><td>Db.</td><td>200.000,00</td><td>536.463,00</td></tr><tr><td>2022-11-03</td><td>TRANSFER KE IONPAY NETWORKS 8848000212992487 NICEPAY- Akulaku-MOHAMMAD HAFID TA</td><td>Db.</td><td>500.000,00</td><td>736.463,00</td></tr><tr><td>2022-11-03</td><td>TARIK TUNAI KARTU 5264221901753790 BANK NEGARA INDONESIA YOG YAKARTA IN</td><td>Db.</td><td>100.000,00</td><td>1.236.463,00</td></tr><tr><td>2022-11-03</td><td>TRANSFER KE IONPAY NETWORKS 8848000212988401 NICEPAY-Akulaku-Bambang seto</td><td>Db.</td><td>100.000,00</td><td>1.336.463,00</td></tr><tr><td>2022-11-02</td><td>TRANSFER KE Sdr USWATUN HASANAH</td><td>Db.</td><td>100.000,00</td><td>1.436.463,00</td></tr><tr><td>2022-10-31</td><td>BIAYA ADM KARTU</td><td>Db.</td><td>4.000,00</td><td>1.536.463,00</td></tr><tr><td>2022-10-31</td><td>BIAYA ADM REK</td><td>Db.</td><td>11.000,00</td><td>1.540.463,00</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 40,\n 1708,\n 242,\n 1723\n ],\n \"category\": \"Page-footer\",\n \"text\": \"Printed on 10/1/2023 2:41:53 Waktu\"\n },\n {\n \"bbox\": [\n 1135,\n 1708,\n 1201,\n 1723\n ],\n \"category\": \"Page-footer\",\n \"text\": \"Page 1 of 2\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/BSI April 2023_page-0001.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 151,\n 116,\n 309,\n 166\n ],\n \"category\": \"Page-header\",\n \"text\": \"BSI\\nBANK SYARIAH\\nINDONESIA\"\n },\n {\n \"bbox\": [\n 151,\n 178,\n 641,\n 196\n ],\n \"category\": \"Text\",\n \"text\": \"Rekening : 7777775515 - PT BHAKTI SATRIA PERSADA (1007)\"\n },\n {\n \"bbox\": [\n 151,\n 200,\n 305,\n 217\n ],\n \"category\": \"Text\",\n \"text\": \"Cabang : ID0010073\"\n },\n {\n \"bbox\": [\n 151,\n 221,\n 415,\n 237\n ],\n \"category\": \"Text\",\n \"text\": \"Periode : 01-04-2023 s/d 30-04-2023\"\n },\n {\n \"bbox\": [\n 151,\n 241,\n 497,\n 259\n ],\n \"category\": \"Text\",\n \"text\": \"Total Debet (dlm Periode) : 16,671,573,083.00-\"\n },\n {\n \"bbox\": [\n 151,\n 263,\n 497,\n 279\n ],\n \"category\": \"Text\",\n \"text\": \"Total Kredit (dlm Periode) : 16,591,682,594.00\"\n },\n {\n \"bbox\": [\n 151,\n 283,\n 488,\n 301\n ],\n \"category\": \"Text\",\n \"text\": \"Saldo rill awal per : 01-04-2023 82,298,805.71\"\n },\n {\n \"bbox\": [\n 151,\n 304,\n 486,\n 321\n ],\n \"category\": \"Text\",\n \"text\": \"Saldo rill akhir per : 30-04-2023 2,408,316.71\"\n },\n {\n \"bbox\": [\n 147,\n 343,\n 1162,\n 1531\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>No</th><th>Waktu Transaksi</th><th>No. Referensi</th><th>Keterangan</th><th>Debet</th><th>Kredit</th><th>Saldo Riil</th></tr></thead><tbody><tr><td>1</td><td>3/4/2023 4:46</td><td>FT23093091T9</td><td>Transfer BI Fast Dari LPK</td><td></td><td>121,550,000.00</td><td>203,848,805.71</td></tr><tr><td>2</td><td>4/4/2023 11:43</td><td>FT23094GJXQR</td><td>PINDAHBUKU CB563397</td><td></td><td>84,523,800.00</td><td>288,372,605.71</td></tr><tr><td>3</td><td>4/4/2023 11:46</td><td>FT23094SP737</td><td>PINDAH BUKU - 382012</td><td></td><td>762,034,000.00</td><td>1,050,406,605.71</td></tr><tr><td>4</td><td>4/4/2023 15:11</td><td>FT2309410YQNBNK</td><td>TRF Dari - PT SINERGI TALENTA PERSADA</td><td></td><td>55,000,000.00</td><td>1,105,406,605.71</td></tr><tr><td>5</td><td>4/4/2023 16:28</td><td>FT230945Y4F2</td><td>Kkrngn Gaji 01 Apr 2023 Emitama</td><td>100,625.00</td><td></td><td>1,105,305,980.71</td></tr><tr><td>6</td><td>4/4/2023 16:28</td><td>FT23094QDQWX</td><td>Kkrngn Gaji 01 Apr 2023 Emitama</td><td>102,800.00</td><td></td><td>1,105,203,180.71</td></tr><tr><td>7</td><td>4/4/2023 16:28</td><td>FT230946PNW2</td><td>Kkrngn Gaji 01 Apr 2023 Emitama</td><td>102,800.00</td><td></td><td>1,105,100,380.71</td></tr><tr><td>8</td><td>4/4/2023 16:28</td><td>FT230947NT5Y</td><td>Kkrngn Gaji 01 Apr 2023 Emitama</td><td>148,800.00</td><td></td><td>1,104,951,580.71</td></tr><tr><td>9</td><td>4/4/2023 16:28</td><td>FT23094QJ6FB</td><td>Kkrngn Gaji 01 Apr 2023 Emitama</td><td>148,800.00</td><td></td><td>1,104,802,780.71</td></tr><tr><td>10</td><td>4/4/2023 16:28</td><td>FT230947WBZ1</td><td>Kkrngn Gaji 01 Apr 2023 Emitama</td><td>160,000.00</td><td></td><td>1,104,642,780.71</td></tr><tr><td>11</td><td>4/4/2023 16:28</td><td>FT2309468BV4</td><td>Kkrngn Gaji 01 Apr 2023 Emitama</td><td>174,000.00</td><td></td><td>1,104,468,780.71</td></tr><tr><td>12</td><td>4/4/2023 16:28</td><td>FT230947NT5Y</td><td>Biaya Pemindahbukuan e-Banking</td><td>6,500.00</td><td></td><td>1,104,462,280.71</td></tr><tr><td>13</td><td>4/4/2023 16:28</td><td>FT230947WBZ1</td><td>Biaya Pemindahbukuan e-Banking</td><td>6,500.00</td><td></td><td>1,104,455,780.71</td></tr><tr><td>14</td><td>4/4/2023 16:28</td><td>FT23094QDQWX</td><td>Biaya Pemindahbukuan e-Banking</td><td>6,500.00</td><td></td><td>1,104,449,280.71</td></tr><tr><td>15</td><td>4/4/2023 16:28</td><td>FT23094QFPHV</td><td>Biaya Pemindahbukuan e-Banking</td><td>6,500.00</td><td></td><td>1,104,442,780.71</td></tr><tr><td>16</td><td>4/4/2023 16:28</td><td>FT2309468BV4</td><td>Biaya Pemindahbukuan e-Banking</td><td>6,500.00</td><td></td><td>1,104,436,280.71</td></tr><tr><td>17</td><td>4/4/2023 16:28</td><td>FT230946PNW2</td><td>Biaya Pemindahbukuan e-Banking</td><td>6,500.00</td><td></td><td>1,104,429,780.71</td></tr><tr><td>18</td><td>4/4/2023 16:28</td><td>FT23094QJ6FB</td><td>Biaya Pemindahbukuan e-Banking</td><td>6,500.00</td><td></td><td>1,104,423,280.71</td></tr><tr><td>19</td><td>4/4/2023 16:28</td><td>FT230945Y4F2</td><td>Biaya Pemindahbukuan e-Banking</td><td>6,500.00</td><td></td><td>1,104,416,780.71</td></tr><tr><td>20</td><td>4/4/2023 16:28</td><td>FT23094QFPHV</td><td>Kkrngn Gaji 01 Apr 2023 Emitama</td><td>85,141.00</td><td></td><td>1,104,331,639.71</td></tr><tr><td>21</td><td>4/4/2023 16:29</td><td>FT23094C482T</td><td>Kkrngn Gaji 01 Apr 2023 Emitama</td><td>102,800.00</td><td></td><td>1,104,228,839.71</td></tr><tr><td>22</td><td>4/4/2023 16:29</td><td>FT23094996SL</td><td>Kkrngn Gaji 01 Apr 2023 Emitama</td><td>112,000.00</td><td></td><td>1,104,116,839.71</td></tr><tr><td>23</td><td>4/4/2023 16:29</td><td>FT23094QQ2LC</td><td>Kkrngn Gaji 01 Apr 2023 Emitama</td><td>116,000.00</td><td></td><td>1,104,000,839.71</td></tr><tr><td>24</td><td>4/4/2023 16:29</td><td>FT23094QNZ73</td><td>Kkrngn Gaji 01 Apr 2023 Emitama</td><td>116,000.00</td><td></td><td>1,103,884,839.71</td></tr><tr><td>25</td><td>4/4/2023 16:29</td><td>FT23094G248K</td><td>Kkrngn Gaji 01 Apr 2023 Emitama</td><td>148,800.00</td><td></td><td>1,103,736,039.71</td></tr><tr><td>26</td><td>4/4/2023 16:29</td><td>FT23094D0F96</td><td>Kkrngn Gaji 01 Apr 2023 Emitama</td><td>148,800.00</td><td></td><td>1,103,587,239.71</td></tr><tr><td>27</td><td>4/4/2023 16:29</td><td>FT23094F5SMG</td><td>Kkrngn Gaji 01 Apr 2023 Emitama</td><td>174,000.00</td><td></td><td>1,103,413,239.71</td></tr><tr><td>28</td><td>4/4/2023 16:29</td><td>FT230948FGK5</td><td>Kkrngn Gaji 01 Apr 2023 Emitama</td><td>174,000.00</td><td></td><td>1,103,239,239.71</td></tr><tr><td>29</td><td>4/4/2023 16:29</td><td>FT23094CG598</td><td>Kkrngn Gaji 01 Apr 2023 Emitama</td><td>174,000.00</td><td></td><td>1,103,065,239.71</td></tr><tr><td>30</td><td>4/4/2023 16:29</td><td>FT23094CST1Z</td><td>Kkrngn Gaji 01 Apr 2023 Emitama</td><td>174,000.00</td><td></td><td>1,102,891,239.71</td></tr><tr><td>31</td><td>4/4/2023 16:29</td><td>FT23094D6HC0</td><td>Kkrngn Gaji 01 Apr 2023 Emitama</td><td>174,000.00</td><td></td><td>1,102,717,239.71</td></tr><tr><td>32</td><td>4/4/2023 16:29</td><td>FT23094FF1CX</td><td>Kkrngn Gaji 01 Apr 2023 Emitama</td><td>174,000.00</td><td></td><td>1,102,543,239.71</td></tr><tr><td>33</td><td>4/4/2023 16:29</td><td>FT23094FQNY0</td><td>Kkrngn Gaji 01 Apr 2023 Emitama</td><td>174,000.00</td><td></td><td>1,102,369,239.71</td></tr><tr><td>34</td><td>4/4/2023 16:29</td><td>FT23094GPTYG</td><td>Biaya Pemindahbukuan e-Banking</td><td>6,500.00</td><td></td><td>1,102,362,739.71</td></tr><tr><td>35</td><td>4/4/2023 16:29</td><td>FT230948RHR8</td><td>Biaya Pemindahbukuan e-Banking</td><td>6,500.00</td><td></td><td>1,102,356,239.71</td></tr><tr><td>36</td><td>4/4/2023 16:29</td><td>FT23094F5SMG</td><td>Biaya Pemindahbukuan e-Banking</td><td>6,500.00</td><td></td><td>1,102,349,739.71</td></tr><tr><td>37</td><td>4/4/2023 16:29</td><td>FT230948FGK5</td><td>Biaya Pemindahbukuan e-Banking</td><td>6,500.00</td><td></td><td>1,102,343,239.71</td></tr><tr><td>38</td><td>4/4/2023 16:29</td><td>FT23094GCSR3</td><td>Biaya Pemindahbukuan e-Banking</td><td>6,500.00</td><td></td><td>1,102,336,739.71</td></tr><tr><td>39</td><td>4/4/2023 16:29</td><td>FT23094QQ2LC</td><td>Biaya Pemindahbukuan e-Banking</td><td>6,500.00</td><td></td><td>1,102,330,239.71</td></tr><tr><td>40</td><td>4/4/2023 16:29</td><td>FT23094G248K</td><td>Biaya Pemindahbukuan e-Banking</td><td>6,500.00</td><td></td><td>1,102,323,739.71</td></tr><tr><td>41</td><td>4/4/2023 16:29</td><td>FT23094DVT1Q</td><td>Biaya Pemindahbukuan e-Banking</td><td>6,500.00</td><td></td><td>1,102,317,239.71</td></tr><tr><td>42</td><td>4/4/2023 16:29</td><td>FT23094BLDKY</td><td>Biaya Pemindahbukuan e-Banking</td><td>6,500.00</td><td></td><td>1,102,310,739.71</td></tr><tr><td>43</td><td>4/4/2023 16:29</td><td>FT23094CG598</td><td>Biaya Pemindahbukuan e-Banking</td><td>6,500.00</td><td></td><td>1,102,304,239.71</td></tr><tr><td>44</td><td>4/4/2023 16:29</td><td>FT23094C482T</td><td>Biaya Pemindahbukuan e-Banking</td><td>6,500.00</td><td></td><td>1,102,297,739.71</td></tr><tr><td>45</td><td>4/4/2023 16:29</td><td>FT23094CST1Z</td><td>Biaya Pemindahbukuan e-Banking</td><td>6,500.00</td><td></td><td>1,102,291,239.71</td></tr><tr><td>46</td><td>4/4/2023 16:29</td><td>FT23094996SL</td><td>Biaya Pemindahbukuan e-Banking</td><td>6,500.00</td><td></td><td>1,102,284,739.71</td></tr><tr><td>47</td><td>4/4/2023 16:29</td><td>FT23094D6HC0</td><td>Biaya Pemindahbukuan e-Banking</td><td>6,500.00</td><td></td><td>1,102,278,239.71</td></tr><tr><td>48</td><td>4/4/2023 16:29</td><td>FT23094FF1CX</td><td>Biaya Pemindahbukuan e-Banking</td><td>6,500.00</td><td></td><td>1,102,271,739.71</td></tr><tr><td>49</td><td>4/4/2023 16:29</td><td>FT23094QQZ8G</td><td>Biaya Pemindahbukuan e-Banking</td><td>6,500.00</td><td></td><td>1,102,265,239.71</td></tr><tr><td>50</td><td>4/4/2023 16:29</td><td>FT23094FQNY0</td><td>Biaya Pemindahbukuan e-Banking</td><td>6,500.00</td><td></td><td>1,102,258,739.71</td></tr><tr><td>51</td><td>4/4/2023 16:29</td><td>FT2309492730</td><td>Biaya Pemindahbukuan e-Banking</td><td>6,500.00</td><td></td><td>1,102,252,239.71</td></tr><tr><td>52</td><td>4/4/2023 16:29</td><td>FT23094BXJ9Y</td><td>Biaya Pemindahbukuan e-Banking</td><td>6,500.00</td><td></td><td>1,102,245,739.71</td></tr><tr><td>53</td><td>4/4/2023 16:29</td><td>FT23094QNZ73</td><td>Biaya Pemindahbukuan e-Banking</td><td>6,500.00</td><td></td><td>1,102,239,239.71</td></tr><tr><td>54</td><td>4/4/2023 16:29</td><td>FT23094QYV3G</td><td>Biaya Pemindahbukuan e-Banking</td><td>6,500.00</td><td></td><td>1,102,232,739.71</td></tr><tr><td>55</td><td>4/4/2023 16:29</td><td>FT23094D0F96</td><td>Biaya Pemindahbukuan e-Banking</td><td>6,500.00</td><td></td><td>1,102,226,239.71</td></tr></tbody></table>\"\n }\n ]\n}" } ]
[ { "from": "user", "value": "<|imgpad|>dotsocr_bank_statement_1K/images/BRI_NEW_REKENING_KORAN_ONLINE_007701002482300_2022-12-01_2022-12-31_00275532 (1)_page-0030.jpg<|/imgpad|>\nPlease output the layout information from the PDF image, including each layout element's bbox, its category, and the corresponding text content within the bbox.\n\n1. Bbox format: [x1, y1, x2, y2] - Use only regular decimal numbers (e.g., 123.45, not scientific notation like 1.23e-4).\n\n2. Layout Categories: The possible categories are ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title'].\n\n3. Text Extraction & Formatting Rules:\n - Picture: If the Picture element contains visible text (like watermarks, stamps, or text overlays), extract and include the text field. If no text is present in the picture, omit the text field.\n - Formula: Format its text as LaTeX.\n - Table: Format its text as HTML. CRITICAL: When including HTML in JSON, properly escape all special characters (newlines as \\n, tabs as \\t, quotes as \\\").\n - All Others (Text, Title, etc.): Format their text as Markdown.\n\n4. Table Detection Rules (CRITICAL):\n - ONLY categorize content as 'Table' if it meets ALL of the following criteria:\n * Has a proper tabular structure with clearly defined rows and columns\n * Contains column headers that define the data in each column\n * Has at least 2 rows of data (excluding header)\n * Data is organized in a grid format\n - DO NOT categorize as 'Table' if:\n * Content is just text with borders or boxes around it\n * Content is in header section without tabular structure\n * Content is a summary or single value even if it has a border\n * Content is a label-value pair or small grouped information\n - When in doubt, categorize as 'Text' instead of 'Table'\n\n5. JSON Formatting Requirements (CRITICAL):\n - All string values must have properly escaped special characters\n - Use \\n for newlines, \\t for tabs, \\\" for quotes within strings\n - Use regular decimal notation for all numeric values (no scientific notation)\n - Ensure valid JSON syntax with no unescaped control characters\n - Do not use excessive backslash escaping\n\n6. Constraints:\n - The output text must be the original text from the image, with no translation.\n - All layout elements must be sorted according to human reading order.\n\n7. Final Output: The entire output must be a single, valid JSON object that can be parsed without errors." }, { "from": "assistant", "value": "{\n \"layout\": [\n {\n \"bbox\": [\n 988,\n 63,\n 1345,\n 87\n ],\n \"category\": \"Page-header\",\n \"text\": \"LAPORAN TRANSAKSI FINANSIAL\"\n },\n {\n \"bbox\": [\n 76,\n 46,\n 356,\n 143\n ],\n \"category\": \"Page-header\",\n \"text\": \"BANK BRI\\nMelayani Dengan Setulus Hati\"\n },\n {\n \"bbox\": [\n 1211,\n 106,\n 1335,\n 125\n ],\n \"category\": \"Page-header\",\n \"text\": \"Halaman 30 dari\"\n },\n {\n \"bbox\": [\n 1314,\n 128,\n 1335,\n 143\n ],\n \"category\": \"Page-header\",\n \"text\": \"36\"\n },\n {\n \"bbox\": [\n 64,\n 179,\n 1328,\n 1576\n ],\n \"category\": \"Table\",\n \"text\": \"<table><thead><tr><th>Tanggal Transaksi</th><th>Uraian Transaksi</th><th>Teller</th><th>Debet</th><th>Kredit</th><th>Saldo</th></tr></thead><tbody><tr><td>28/12/22 19:33:40</td><td>NBMB PT MULTI KARYA TO AGUS RIANTO ESB:NBMB:0001500F:495369180725</td><td>8888335</td><td>1,333,000.00</td><td>0.00</td><td>20,213,540.00</td></tr><tr><td>28/12/22 19:34:59</td><td>NBMB PT MULTI KARYA TO TRI HATMOKO ESB:NBMB:0001500F:495369505906</td><td>8888115</td><td>2,000,000.00</td><td>0.00</td><td>18,213,540.00</td></tr><tr><td>28/12/22 19:36:38</td><td>NBMB PT MULTI KARYA TO A MUZIYANTO ESB:NBMB:0001500F:495369921081</td><td>8888457</td><td>1,000,000.00</td><td>0.00</td><td>17,213,540.00</td></tr><tr><td>28/12/22 19:37:11</td><td>NBMB PT MULTI KARYA TO JUMANTA ESB:NBMB:0001500F:495370054601</td><td>8888119</td><td>1,000,000.00</td><td>0.00</td><td>16,213,540.00</td></tr><tr><td>28/12/22 19:39:00</td><td>NBMB PT MULTI KARYA TO ABD MUIS ESB:NBMB:0001500F:495370492874</td><td>8888567</td><td>1,000,000.00</td><td>0.00</td><td>15,213,540.00</td></tr><tr><td>28/12/22 19:40:09</td><td>NBMB PT MULTI KARYA TO FRANS KUSUMA WIDY ESB:NBMB:0001500F:495370771723</td><td>8888073</td><td>2,000,000.00</td><td>0.00</td><td>13,213,540.00</td></tr><tr><td>28/12/22 19:42:37</td><td>NBMB PT MULTI KARYA TO ANANDA DWI ADITYA ESB:NBMB:0001500F:495371372826</td><td>8888091</td><td>1,166,000.00</td><td>0.00</td><td>12,047,540.00</td></tr><tr><td>28/12/22 19:43:41</td><td>NBMB PT MULTI KARYA TO EDI SUPRIATMAN ESB:NBMB:0001500F:495371631643</td><td>8888236</td><td>2,000,000.00</td><td>0.00</td><td>10,047,540.00</td></tr><tr><td>28/12/22 19:51:45</td><td>NBMB PT MULTI KARYA TO SUARDI ESB:NBMB:0001500F:495373576530</td><td>8888360</td><td>1,050,000.00</td><td>0.00</td><td>8,997,540.00</td></tr><tr><td>28/12/22 22:14:25</td><td>NBMB PT MULTI KARYA TO FLIPTECH LENTERA ESB:NBMB:0001500F:495402462254</td><td>8888435</td><td>8,812,051.00</td><td>0.00</td><td>185,489.00</td></tr><tr><td>29/12/22 09:48:45</td><td>PUL-SIM 081390638978NBMB5221844700837571 ESB:NBMB:0100101C:495469188714</td><td>8888275</td><td>1,500.00</td><td>0.00</td><td>183,989.00</td></tr><tr><td>29/12/22 09:48:45</td><td>PUL-SIM 081390638978NBMB5221844700837571 ESB:NBMB:0100101C:495469188714</td><td>8888275</td><td>15,000.00</td><td>0.00</td><td>168,989.00</td></tr><tr><td>29/12/22 10:40:43</td><td>NBMB GINA NUR ZAKIY TO PT MULTI KARYA BE ESB:NBMB:0001500F:495481949204</td><td>8888432</td><td>0.00</td><td>10,000.00</td><td>178,989.00</td></tr><tr><td>29/12/22 14:49:22</td><td>6032989911081819#000000103572#ATM #TRFLA TRF BERSAMA FROM MULTI KARYA BERD LA 007701002482300ATM 6032989911081819</td><td>0888926</td><td>0.00</td><td>50,000,000.00</td><td>50,178,989.00</td></tr><tr><td>29/12/22 14:53:05</td><td>NBMB PT MULTI KARYA TO ARIS WIDODO ESB:NBMB:0001500F:495543675570</td><td>8888027</td><td>1,000,000.00</td><td>0.00</td><td>49,178,989.00</td></tr><tr><td>29/12/22 14:54:17</td><td>NBMB PT MULTI KARYA TO RAHAYU ESB:NBMB:0001500F:495543955654</td><td>8888474</td><td>520,000.00</td><td>0.00</td><td>48,658,989.00</td></tr><tr><td>29/12/22 14:57:54</td><td>NBMB PT MULTI KARYA TO RUSLI ESB:NBMB:0001500F:495544825854</td><td>8888523</td><td>5,000,000.00</td><td>0.00</td><td>43,658,989.00</td></tr><tr><td>29/12/22 15:00:53</td><td>NBMB PT MULTI KARYA TO DINO SUMARNO ESB:NBMB:0001500F:495545531779</td><td>8888085</td><td>3,000,000.00</td><td>0.00</td><td>40,658,989.00</td></tr><tr><td>29/12/22 15:01:35</td><td>NBMB PT MULTI KARYA TO KATHERINA RISMANA ESB:NBMB:0001500F:495545699018</td><td>8888439</td><td>200,000.00</td><td>0.00</td><td>40,458,989.00</td></tr><tr><td>29/12/22 15:34:36</td><td>NBMB PT MULTI KARYA TO FLIPTECH LENTERA ESB:NBMB:0001500F:495553515747</td><td>8888277</td><td>12,002,052.00</td><td>0.00</td><td>28,456,937.00</td></tr><tr><td>29/12/22 15:37:59</td><td>NBMB PT MULTI KARYA TO DARMA SANJAYA ESB:NBMB:0001500F:495554303389</td><td>8888544</td><td>843,000.00</td><td>0.00</td><td>27,613,937.00</td></tr></tbody></table>\"\n },\n {\n \"bbox\": [\n 1156,\n 1648,\n 1366,\n 1710\n ],\n \"category\": \"Page-footer\",\n \"text\": \"01/10/2023 10:42:30 AM\\n00275532\\nDamar Bhua\"\n }\n ]\n}" } ]