理解发票OCR后的大段ASCII字符串,识别并提取发票号、开票日期、开票项目、数量和总金额等关键字段,确定起止位置并构建结构化表格,进行类型转换,适合财务票据数据处理。

中文版提示词

请理解用户提供的发票 OCR 后识别出的大段 ASCII 字符串内容,并完成以下任务:
1. 识别并提取发票号(No 后8位数字)、开票日期、开票项目、数量和发票总金额等关键信息字段。
2. 确定每个字段在字符串中的开始和结束位置,并将其划分为独立的列。
3. 按字段出现顺序构建表格,表头包含每个列的名称和类型。
4. 进行必要的类型转换和格式化,使各列内容符合其类型要求。
待处理的字符串内容如下:[OCR内容]

英文版提示词

Please understand the long ASCII string content recognized from the invoice OCR provided by the user, and complete the following tasks:
1. Identify and extract key fields such as invoice number (the 8 digits after "No"), issue date, invoiced items, quantity, and total invoice amount.
2. Determine the start and end position of each field in the string and divide them into separate columns.
3. Build a table in the order the fields appear, with headers containing each column's name and type.
4. Perform necessary type conversion and formatting so that each column's content meets its type requirements.
The string to process is as follows: [OCR content]

🛠️ **适用 AI 工具**:ChatGPT、Claude、Kimi、通义千问、DeepSeek