Textin DocFlow API文档
  1. Schemas
Textin DocFlow API文档
  • REST API 开发者文档概述
  • 状态码列表
  • 接口认证
  • DocFlow 业务处理流程
    • 概述
    • 文档解析
    • 文档分类
    • 信息抽取
    • 智能审核
  • REST API 列表
    • 智能审核
      • 审核接口使用教程说明
      • 审核接口字段依赖
      • 文件批次列表
      • 文件任务类别列表
      • 审核规则列表
      • 文件任务列表
      • 模型字段列表
      • 创建审核规则
      • 更新审核规则
      • 删除审核规则
      • 试运行审核规则
      • 提交审核任务
      • 审核规则任务列表
    • 上传文件
    • 获取文件处理结果列表
    • 更新文件处理结果
  • 数据模型
    • Schemas
      • RecognitionStatus
      • VerificationStatus
      • CodeMessage
      • KeyValue
      • WorkspaceId
      • StampValue
      • WorkspaceItem
      • HandWritingValue
      • CategoryId
      • Document
      • CategoryField
      • SubFileDetailInfo
      • CommonFieldDetailRespVO
      • TaskCropResult
      • CategoryListItem
      • CategoryItem
      • CategorySampleId
      • CategorySampleListItem
      • ApiRuleReviewUpdateReqVO
      • CommonResultApiRuleReviewUpdateRespVO
      • Field
      • BasicField
      • TableField
      • ApiRuleReviewUpdateRespVO
      • ApiReviewTaskSubmitReqVO
      • CommonResultListApiReviewTaskSubmitRespVO
      • ApiReviewTaskSubmitRespVO
      • ApiReviewRuleRunReqVO
      • CommonResultApiReviewRuleTaskVO
      • ApiReviewRuleTaskVO
      • DocumentOcrPosition
      • ApiClassificationQueryReqVO
      • CommonResultListApiReviewRuleBindingTaskDetailRespVO
      • ApiReviewRuleBindingTaskDetailRespVO
      • ApiReviewRuleAndTaskReqVO
      • CommonResultListApiReviewRuleAndTaskRespVO
      • ApiReviewRuleAndTaskRespVO
      • ReviewRuleDTO
      • ReviewRuleFieldDTO
      • ReviewRuleTaskDO
      • ApiClassificationIdNoListReqVO
      • CommonResultListApiModelFieldRespVO
      • ApiModelFieldRespVO
      • TextInLines
      • CommonResultListApiReviewRuleVO
      • ApiReviewRuleVO
      • ApiRuleReviewDeleteReqVO
      • CommonResultBoolean
      • ApiRuleReviewCreateReqVO
      • CommonResultApiRuleReviewCreateRespVO
      • ApiRuleReviewCreateRespVO
      • CommonResultListApiFileBatchExecuteTaskRespVO
      • ApiFileBatchExecuteTaskRespVO
      • CommonResultListApiFileBatchInfoRespVO
      • ApiFileBatchInfoRespVO
      • ClassificationVO
  1. Schemas

SubFileDetailInfo

{
    "id": 202412190001,
    "task_id": 202412190001,
    "task_type": 1,
    "parent_task_id": 202412190001,
    "batch_number": 202412190001,
    "name": "invoice.pdf",
    "format": "string",
    "recognition_status": 0,
    "verification_status": 0,
    "category": "invoice",
    "pages": [
        {
            "angle": 0,
            "width": 1024,
            "height": 1024,
            "dpi": 144
        }
    ],
    "data": {
        "fields": [
            {
                "key": "发票代码",
                "value": "3100231130",
                "position": [
                    {
                        "page": 0,
                        "vertices": [
                            0,
                            0,
                            100,
                            0,
                            100,
                            100,
                            0,
                            100
                        ]
                    }
                ]
            },
            {
                "key": "发票号码",
                "value": "28737000",
                "position": [
                    {
                        "page": 0,
                        "vertices": [
                            0,
                            0,
                            100,
                            0,
                            100,
                            100,
                            0,
                            100
                        ]
                    }
                ]
            }
        ],
        "items": [
            [
                {
                    "key": "货物劳务名称",
                    "value": "*电子计算机*微型计算机主机",
                    "position": [
                        {
                            "page": 0,
                            "vertices": [
                                0,
                                0,
                                100,
                                0,
                                100,
                                100,
                                0,
                                100
                            ]
                        }
                    ]
                },
                {
                    "key": "规格型号",
                    "value": "DMS-SC68",
                    "position": [
                        {
                            "page": 0,
                            "vertices": [
                                0,
                                0,
                                100,
                                0,
                                100,
                                100,
                                0,
                                100
                            ]
                        }
                    ]
                }
            ],
            [
                {
                    "key": "货物劳务名称",
                    "value": "*机械计算机*巨型计算机主机",
                    "position": [
                        {
                            "page": 0,
                            "vertices": [
                                0,
                                0,
                                100,
                                0,
                                100,
                                100,
                                0,
                                100
                            ]
                        }
                    ]
                },
                {
                    "key": "规格型号",
                    "value": "AN/FSQ-7",
                    "position": [
                        {
                            "page": 0,
                            "vertices": [
                                0,
                                0,
                                100,
                                0,
                                100,
                                100,
                                0,
                                100
                            ]
                        }
                    ]
                }
            ]
        ],
        "tables": [
            {
                "tableName": "table1",
                "tableType": 0,
                "items": [
                    [
                        {
                            "key": "string",
                            "value": "string",
                            "textInLines": [
                                {
                                    "angle": 0,
                                    "pos": [
                                        1
                                    ],
                                    "page": 1,
                                    "text": "文本内容",
                                    "char_pos": [
                                        [
                                            1
                                        ]
                                    ]
                                }
                            ],
                            "index": 0
                        }
                    ]
                ]
            }
        ],
        "stamps": [
            {
                "angel": 0,
                "page": 0,
                "text": "全国统一发票监制章",
                "type": "其他",
                "color": "红色",
                "shape": "椭圆章",
                "position": [
                    0,
                    0,
                    100,
                    0,
                    100,
                    100,
                    0,
                    100
                ]
            },
            {
                "angel": 0,
                "page": 0,
                "text": "税务局章",
                "type": "其他",
                "color": "红色",
                "shape": "椭圆章",
                "position": [
                    0,
                    0,
                    100,
                    0,
                    100,
                    100,
                    0,
                    100
                ]
            }
        ],
        "handwritings": [
            {
                "angel": 0,
                "page": 0,
                "text": "3月1日",
                "position": [
                    {
                        "page": 0,
                        "vertices": [
                            0,
                            0,
                            100,
                            0,
                            100,
                            100,
                            0,
                            100
                        ]
                    }
                ]
            },
            {
                "angel": 0,
                "page": 0,
                "text": "张三",
                "position": [
                    {
                        "page": 0,
                        "vertices": [
                            0,
                            0,
                            100,
                            0,
                            100,
                            100,
                            0,
                            100
                        ]
                    }
                ]
            }
        ],
        "invoiceVerifyResult": {
            "invoiceVerifyStatus": 0,
            "invoiceVerifyErrorCode": 0,
            "invoiceVerifyCanRetry": 0,
            "invoiceVerifyFailMsg": "超过当天次数上限"
        }
    },
    "document": {
        "pages": [
            {
                "angle": 0,
                "width": 0,
                "height": 0,
                "lines": [
                    {
                        "text": "string",
                        "position": [
                            0
                        ],
                        "char_positions": [
                            [
                                0
                            ]
                        ]
                    }
                ]
            }
        ]
    },
    "from_parent_position_list": [
        1
    ],
    "crop_info": {
        "page": 0,
        "imageAngle": "string"
    }
}
Built with