Dataset Viewer
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}"
}
] |
End of preview. Expand
in Data Studio
YAML Metadata
Warning:
empty or missing yaml metadata in repo card
(https://huggingface.co/docs/hub/datasets-cards)
dotsocr_bank_statement_1K
Dataset Description
This dataset contains OCR and layout analysis training data formatted according to DotsOCR specifications by rednote-hilab.
DotsOCR Format Features
- Proper Reading Order: Layout elements are sorted according to natural reading order (top to bottom, left to right)
- Validated Categories: All categories conform to DotsOCR's specification: ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title']
- Category-Specific Text Formatting:
- Picture: Text field omitted
- Formula: LaTeX format
- Table: HTML format
- Others: Markdown format
- Validated Bounding Boxes: All bbox coordinates follow [x1, y1, x2, y2] format
Dataset Structure
- Training samples: 800
- Validation samples: 200
- Total samples: 1000
Files
data/dotsocr_bank_statement_1K_train.json: Training data in DotsOCR formatdata/dotsocr_bank_statement_1K_val.json: Validation data in DotsOCR formatimages/: Directory containing all referenced images
Data Format
Each sample follows the DotsOCR conversation format:
{
"conversations": [
{
"from": "user",
"value": "<|imgpad|>path/to/image<|/imgpad|>\nDotsOCR prompt..."
},
{
"from": "assistant",
"value": "{\"layout\": [{...}]}"
}
]
}
Usage
This dataset is compatible with DotsOCR training pipelines and follows the rednote-hilab/dots.ocr specifications.
Citation
Based on the DotsOCR model by rednote-hilab: https://github.com/rednote-hilab/dots.ocr
Generated on: 2025-09-10 22:22:29
- Downloads last month
- 99