获取单据详情接口
POST
/getBillDetails
请求参数
Body 参数application/json
billCode
string
单据编号
imageList
array [object {4}]
扫描影像列表
paperIndex
integer
纸张索引(第二页)
imageIndex
integer
图像索引(该页的第一张图像)
codes
array[string]
图像上的条码/二维码
imageUrl
string
图像URL
paperCount
integer
纸张数
thickness
number
厚度/毫米
示例
{
"billCode": "INV-2023-12345", // 单据编号
"imageList": [ // 扫描影像列表
{
"paperIndex": 1, // 纸张索引(第一页)
"imageIndex": 1, // 图像索引(该页的第一张图像)
"codes": ["1234567890123", "http://example.com/info"], // 图像上的条码/二维码
"imageUrl": "http://example.com/images/page1_image1.jpg" // 图像URL
},
{
"paperIndex": 1, // 纸张索引(第一页)
"imageIndex": 2, // 图像索引(该页的第二张图像)
"codes": ["9876543210987", "http://example.com/moreinfo"], // 图像上的条码/二维码
"imageUrl": "http://example.com/images/page1_image2.jpg" // 图像URL
},
{
"paperIndex": 2, // 纸张索引(第二页)
"imageIndex": 1, // 图像索引(该页的第一张图像)
"codes": ["1111111111111", "http://example.com/anotherinfo"], // 图像上的条码/二维码
"imageUrl": "http://example.com/images/page2_image1.jpg" // 图像URL
}
],
"paperCount": 2, // 纸张数
"thickness": 0.2 // 厚度/毫米
}
返回响应
🟢200成功
application/json
Body
code
integer
编码
msg
string
消息
data
object
返回值
allowDeliver
integer
是否可以投递
promptMsg
string
提示消息 (可选)
coverImageIndex
integer
封面索引 (可选)
boxCode
string
归档箱号 (可选)
billCode
string
单据编码
billTitle
string
单据标题 (可选)
billType
string
单据类型编号
billTypeName
string
单据类型名称 (可选)
billAmount
number
单据金额
makerAccount
string
制单人账号
makerName
string
制单人姓名
makerMobile
string
制单人手机号 (可选)
makerEmail
string
制单人邮箱 (可选)
orgCode
string