请您在调用发票识别接口时,上传文件、图像base64大小在200KB左右,扫描图像建议分辨率为300DPI,小于7M(文件越大识别速度越慢),多页PDF文件不要超过25页。
支持文件类型:PNG、JPG、JPEG、WEBP、TIF、OFD原版文件、PDF、MPDF。
1、请求参数及返回参数
(1) 图片为base64流
接口接收参数:
序号 |
名称 |
类型 |
必填 |
说明 |
1 |
img |
String |
是 |
上传的文件(图片的base64流) 300kb最佳,PDF文件不要超过25页,大小不要超过10M |
2 |
key |
String |
是 |
用户ocrKey |
3 |
secret |
String |
是 |
用户ocrSecrert |
4 |
typeId |
Integer |
是 |
20090 |
5 |
format |
String |
是 |
json |
6 |
cutImage |
Integer |
否 |
默认为0不返回裁切图片 1返回 |
(2) 图片为file格式
接口接收参数:
序号 |
名称 |
类型 |
必填 |
说明 |
1 |
file |
MultipartFile |
是 |
上传的文件(上传文件的字段名必须是“file”) 300kb最佳,PDF文件不要超过25页,大小不要超过10M |
2 |
key |
String |
是 |
用户ocrKey |
3 |
secret |
String |
是 |
用户ocrSecrert |
4 |
typeId |
Integer |
是 |
20090(自动分类识别发票) |
5 |
format |
String |
是 |
json |
6 |
cutImage |
Integer |
否 |
默认为0不返回裁切图片 1返回 |
2、发票类型
序号 |
发票类型(type) |
描述 |
1 |
1 |
增值税专用发票 |
2 |
3 |
机动车统一销售发票 |
3 |
4 |
增值税普通发票 |
4 |
8 |
增值税电子专用发票 |
5 |
9 |
电子发票(增值税专用发票) |
6 |
10 |
增值税普通发票(电子) |
7 |
11 |
增值税普通发票(卷式) |
8 |
14 |
增值税普通发票(通行费) |
9 |
15 |
二手车统一销售发票 |
10 |
20 |
火车票 |
11 |
21 |
区块链发票 |
12 |
22 |
船票 |
13 |
23 |
定额发票 |
14 |
24 |
通用机打发票 |
15 |
25 |
出租车发票 |
16 |
26 |
客运汽车票 |
17 |
27 |
航空运输电子客票行程单 |
18 |
28 |
过路费 |
19 |
31 |
滴滴出行行程单 |
20 |
33 |
销货清单 |
21 |
34 |
财政电子票据 |
22 |
35 |
海关专用缴款书 |
23 |
36 |
通用电子发票 |
24 |
37 |
完税证明 |
25 |
38 |
医疗票据 |
26 |
39 |
火车退费票 |
27 |
83 |
电子发票(普通发票) |
28 |
91 |
全电纸票(增值税专用发票) |
29 |
92 |
全电纸票(增值税普通发票) |
30 |
61 |
电子发票(航空运输电子客票行程单) |
31 |
62 |
电子发票(铁路电子客票) |
32 |
40 |
非税收入一般缴款书(电子) |
33 |
41 |
车辆通行费通用(电子)发票 |
34 |
93 |
全电纸票(机动车销售统一发票) |
35 |
94 |
全电纸票(二手车销售统一发票) |
36 |
42 |
银行回单 |
37 |
99 |
其他票据 |
3、发票识别返回字段
序号 |
字段名称 |
字段说明 |
1 |
administrativeDivisionName |
行政区域 |
2 |
administrativeDivisionNameCoord |
行政区域坐标 |
3 |
aftInvoiceCode |
打印发票号码 |
4 |
aftInvoiceCodeCoord |
打印发票号码坐标 |
5 |
aftInvoiceNumber |
打印发票代码 |
6 |
aftInvoiceNumberCoord |
打印发票代码坐标 |
7 |
agentcode |
销售单位代号 |
8 |
airSign |
空调特征 |
9 |
allow |
免费行李标记 |
10 |
amount |
金额(元)/金额 |
11 |
amountOCRCoord |
金额坐标 |
12 |
amountTax |
票面金额 |
13 |
amountTaxCN |
票面金额(大写) |
14 |
amountTaxCNCoord |
票面金额(大写)坐标 |
15 |
amountTaxConfidence |
票面金额置信度 |
16 |
amountTaxCoord |
票面金额坐标 |
17 |
amountTaxocr |
票面金额OCR |
18 |
amountTaxOCRCoord |
票面金额OCR坐标 |
19 |
auctionAddress |
经营,拍卖单位地址 |
20 |
auctionbank |
经营,拍卖单位开户银行及账号 |
21 |
auctionName |
经营,拍卖单位名称 |
22 |
auctionPhone |
经营,拍卖单位电话 |
23 |
auctionPhoneCoord |
经营,拍卖单位电话坐标 |
24 |
auctionTaxName |
纳税人名称 |
25 |
auctionTaxNameCoord |
纳税人名称坐标 |
26 |
auctionTaxNo |
经营,拍卖单位纳税人识别号 |
27 |
auctionTaxNoCoord |
经营,拍卖单位纳税人识别号坐标 |
28 |
billingDate |
开票日期 |
29 |
billingDateConfidence |
开票日期置信度 |
30 |
billingDateCoord |
开票日期坐标 |
31 |
billingDateocr |
开票日期OCR |
32 |
billingTime |
乘车时间 |
33 |
billingTimeCoord |
乘车时间坐标 |
34 |
binlevel |
舱位等级 |
35 |
brandModel |
厂牌型号 |
36 |
brandModelCoord |
厂牌型号坐标 |
37 |
budgetLevel |
预算级次 |
38 |
busInsurance |
汽车保险费 |
39 |
caacDevelopmentFund |
民航发展基金 |
40 |
caacDevelopmentFundCoord |
民航发展基金坐标 |
41 |
carNumber |
车牌照号 |
42 |
carNumberCoord |
车牌照号坐标 |
43 |
carriageNumber |
座位号 |
44 |
carriageNumberCoord |
座位号坐标 |
45 |
carrier |
承运人 |
46 |
carType |
车型 |
47 |
category |
种类 |
48 |
categoryCoord |
种类坐标 |
49 |
certificateNo |
合格证号 |
50 |
certificateNoCoord |
合格证号坐标 |
51 |
checkCode |
校验码 |
52 |
checkCodeConfidence |
校验码置信度 |
53 |
checkCodeCoord |
校验码坐标 |
54 |
city |
城市 |
55 |
code |
识别状态码(详见识别状态码说明列表) |
56 |
collectionUser |
取票用户 |
57 |
commodityClass |
货物类型 |
58 |
commodityName |
货物名称 |
59 |
commodityNo |
项目编码 |
60 |
companySeal |
公司印章 |
61 |
confidence |
字段置信度 |
62 |
constructionName |
建筑项目名称 |
63 |
contractNo |
合同(批文)号 |
64 |
coord |
坐标 |
65 |
corporateAccountNo |
交款单位账号 |
66 |
corporateBank |
交款单位开户银行 |
67 |
corporateName |
缴款单位名称 |
68 |
corporateNo |
申请单位编号 |
69 |
currencyCode |
币种 |
70 |
currencyCodeConfidence |
币种置信度 |
71 |
currencyCodeCoord |
币种坐标 |
72 |
customsBillNo |
报关单编号 |
73 |
customsNo |
号码 |
74 |
data |
票面信息数组 |
75 |
dataCode |
核验状态码 |
76 |
dataMsg |
核验说明 |
77 |
date |
日期 |
78 |
dateEnd |
行程结束时间 |
79 |
dateStart |
行程开始时间 |
80 |
drawerName |
开票人 |
81 |
drawerNameCoord |
开票人坐标 |
82 |
dutyNo |
税号 |
83 |
eleMedical |
电子医疗票标识(0否,1是) |
84 |
endorsement |
签注 |
85 |
endTime |
缴款期限 |
86 |
engineNo |
发动机号 |
87 |
engineNoCoord |
发动机号坐标 |
88 |
eticketNumber |
电子客票号码 |
89 |
exchequer |
收入国库 |
90 |
fare |
票价 |
91 |
fareBasis |
客票级别 |
92 |
flag |
识别标识 字段值0 |
93 |
flightNumber |
航班号 |
94 |
flights |
航班信息 |
95 |
flightsCoord |
航班信息坐标 |
96 |
from |
出发地 |
97 |
fromCoord |
出发地坐标 |
98 |
fuelSurcharge |
燃油附加费 |
99 |
fuelSurchargeCoord |
燃油附加费坐标 |
100 |
fullInvoiceNumber |
全电发票号码 |
101 |
goodsInvoiceLists |
运输货物明细 |
102 |
goodsName |
运输货物名称 |
103 |
highwayFlag |
高速标志( 0否,1是) |
104 |
idCardNo |
购买方身份证号码/组织机构代码 |
105 |
idCardNoCoord |
购买方身份证号码/组织机构代码坐标 |
106 |
imgOrgsize |
识别图像尺寸 |
107 |
importCertificateNo |
进口证明书号 |
108 |
importCertificateNoCoord |
进口证明书号坐标 |
109 |
inspectionListNo |
商检单号 |
110 |
insurance |
保险费 |
111 |
internationalFlag |
国内国际标签(机票纸质:0国内、1国外;数电机票:国内 国外) |
112 |
invoice |
票面信息 |
113 |
invoiceCode |
发票代码 |
114 |
invoiceCodeConfidence |
发票代码置信度 |
115 |
invoiceCodeCoord |
发票代码坐标 |
116 |
invoiceForm |
发票联 (存根联,发票联,记账联) |
117 |
invoiceFormCoord |
发票联坐标 |
118 |
invoiceFormNum |
发票联数 |
119 |
invoiceFormNumCoord |
发票联数坐标 |
120 |
invoiceLists |
明细列表 |
121 |
invoiceListsCoord |
明细列表坐标 |
122 |
invoiceNumber |
发票号码 |
123 |
invoiceNumberConfidence |
发票号码置信度 |
124 |
invoiceNumberCoord |
发票号码坐标 |
125 |
invoiceType |
发票类型 |
126 |
invTaxSign |
代开标志,1代表自开,2代开 |
127 |
invTaxSignCoord |
代开标志坐标 |
128 |
issueBy |
填开单位 |
129 |
issueParty |
填开单位 |
130 |
itemsName |
品目名称 |
131 |
jiangsutollSign |
江苏通行费标志(该字段没有实质意义) |
132 |
kind |
消费类型(餐饮、交通、住宿、房租装修、用车、通讯、邮寄、数码电器、水电、服务、服饰、教育、医疗、食品、办公、日用) |
133 |
licensePlate |
车牌号 |
134 |
loadBillNo |
提/装货单号 |
135 |
locationConstructionService |
建筑服务发生地 |
136 |
machineCode |
机器编号 |
137 |
machineCodeCoord |
机器编号坐标 |
138 |
merchantNo |
商户号 |
139 |
mileage |
里程 |
140 |
mileageCoord |
里程坐标 |
141 |
msg |
调用说明 |
142 |
name |
乘客姓名 |
143 |
nameCoord |
乘客姓名坐标 |
144 |
notValidAfter |
有效截至日期 |
145 |
notValidBefore |
客票生效日期 |
146 |
number |
编号 |
147 |
numberCoord |
编号坐标 |
148 |
oilMark |
成品油标志(0非成品油标志,1成品油发票) |
149 |
oilMarkCoord |
成品油标志坐标 |
150 |
orderNo |
订单号 |
151 |
orientation |
旋转角度 |
152 |
originalInvoiceNumber |
原发票号码 |
153 |
originPlace |
产地 |
154 |
originPlaceCoord |
产地坐标 |
155 |
otherCallcharge |
另收电召费 |
156 |
otherSurcharge |
另收附加费 |
157 |
page |
页码 |
158 |
passengersLimited |
限乘人数 |
159 |
passengersLimitedCoord |
限乘人数坐标 |
160 |
passwordField |
密码区 |
161 |
passwordFieldCoord |
密码区坐标 |
162 |
payeeBank |
收款人开户行 |
163 |
payeeName |
收款人全称 |
164 |
payeeNumber |
收款人账号 |
165 |
payer |
交款人 |
166 |
payerBank |
付款人开户行 |
167 |
payerNameConfidence |
付款人全称置信度 |
168 |
payerNameCoord |
付款人全称坐标 |
169 |
payerName |
付款人全称 |
170 |
payerNumber |
付款人账号 |
171 |
payInfo |
支付信息 |
172 |
paymentCode |
缴款码 |
173 |
paymentCodeConfidence |
缴款码置信度 |
174 |
paymentCodeCoord |
缴款码坐标 |
175 |
paymentVoucherNo |
完税凭证号码 |
176 |
paymentVoucherNoCoord |
完税凭证号码坐标 |
177 |
phone |
行程人手机号 |
178 |
priInvoiceCode |
印刷发票代码 |
179 |
priInvoiceCodeCoord |
印刷发票代码坐标 |
180 |
priInvoiceNumber |
印刷发票号码 |
181 |
priInvoiceNumberCoord |
印刷发票号码坐标 |
182 |
printNumber |
印刷序号 |
183 |
printNumberCoord |
印刷序号坐标 |
184 |
producer |
制单人 |
185 |
province |
省份 |
186 |
purchaserAddress |
购方地址 |
187 |
purchaserAddressCoord |
购方地址坐标 |
188 |
purchaserAddressPhone |
购方地址与电话 |
189 |
purchaserAddressPhoneCoord |
购方地址与电话坐标 |
190 |
purchaserBank |
购方开户行与账户 |
191 |
purchaserBankConfidence |
购方开户行与账户置信度 |
192 |
purchaserBankCoord |
购方开户行与账户坐标 |
193 |
purchaserName |
购方名称 |
194 |
purchaserNameCoord |
购方名称坐标 |
195 |
purchaserPhone |
购方电话 |
196 |
purchaserPhoneCoord |
购方电话坐标 |
197 |
purchaserTaxNo |
购方税号 |
198 |
purchaserTaxNoCoord |
购方税号坐标 |
199 |
qrInfo |
二维码详情 |
200 |
qrLists |
二维码清单 |
201 |
qrListsCoord |
二维码坐标 |
202 |
quantity |
数量 |
203 |
quantity_unit |
数量/单位 |
204 |
receiptNo |
回单编号 |
205 |
receiverName |
收款人 |
206 |
receiverNameCoord |
收款人坐标 |
207 |
receivingCode |
执收单位编码 |
208 |
receivingCodeCoord |
执收单位编码坐标 |
209 |
receivingCodeConfidence |
执收单位编码置信度 |
210 |
receivingNameConfidence |
执收单位名称置信度 |
211 |
receivingNameCoord |
执收单位名称坐标 |
212 |
receivingName |
执收单位名称 |
213 |
recheckNameCoord |
复核人坐标 |
214 |
recheckName |
复核人 |
215 |
redSeal |
红章(1有,0无) |
216 |
redSealCoord |
红章坐标 |
217 |
region |
裁剪图片坐标 |
218 |
regionFourPoint |
四点坐标 |
219 |
regionFourPointOri |
旋转后四点坐标 |
220 |
registrationNumber |
登记证号 |
221 |
registrationNumberCoord |
登记证号坐标 |
222 |
remark |
备注 |
223 |
remarks |
备注 |
224 |
remarksCoord |
备注坐标 |
225 |
reuniteName |
复核人 |
226 |
reuniteNameCoord |
复核人坐标 |
227 |
revenueOrg |
收入机关 |
228 |
revenueSys |
收入系统 |
229 |
ridingDate |
乘车日期 |
230 |
ridingTime |
乘车时间 |
231 |
salesAddress |
销方地址 |
232 |
salesAddressCoord |
销方地址坐标 |
233 |
salesAddressPhone |
销方地址电话 |
234 |
salesAddressPhoneCoord |
销方地址电话坐标 |
235 |
salesBank |
销方开户行 |
236 |
salesBankAndNo |
销方开户行账号 |
237 |
salesBankAndNoConfidence |
销方开户行账号置信度 |
238 |
salesBankAndNoCoord |
销方开户行账号坐标 |
239 |
salesBankCoord |
销方开户行坐标 |
240 |
salesName |
销方名称 |
241 |
salesNameCoord |
销方名称坐标 |
242 |
salesNo |
收款人账号 |
243 |
salesNoCoord |
收款人账号坐标 |
244 |
salesPhone |
销方电话 |
245 |
salesPhoneCoord |
销方电话坐标 |
246 |
salestation |
发售车站 |
247 |
salestationCoord |
发售车站坐标 |
248 |
salesTaxNo |
销方税号 |
249 |
salesTaxNoCoord |
销方税号坐标 |
250 |
sealMark |
销售方(章)标记,经办人(盖章) (1有,0无) |
251 |
sealMarkConfidence |
销售方(章)标记,经办人(盖章)坐标置信度 |
252 |
sealMarkCoord |
销售方(章)标记,经办人(盖章)坐标 |
253 |
sealReceiving |
执收单位(盖章) |
254 |
seat |
座位类型 |
255 |
seatCoord |
座位类型坐标 |
256 |
seatNumber |
席位 |
257 |
serialNo |
流水号 |
258 |
serialNumber |
序列号 |
259 |
signature |
电子签名信息 |
260 |
signatureFlag |
电子签名(1有,0无) |
261 |
specialTag |
特殊标记 |
262 |
specificationModel |
规格型号 |
263 |
standard |
标准 |
264 |
state |
发票状态(发票查验功能开启后返回:未作废 1,作废 2, 红冲 3,部分红冲 7,全额红冲 8) |
265 |
storageDate |
入(退)库日期 |
266 |
subject |
科目 |
267 |
summary |
摘要 |
268 |
tax |
税额 |
269 |
taxAuthorityName |
主管税务名称 |
270 |
taxAuthorityNameCoord |
主管税务名称坐标 |
271 |
taxAuthorityNo |
主管税务机关 |
272 |
taxAuthorityNoCoord |
主管税务机关坐标 |
273 |
taxCategories |
税种 |
274 |
taxControlCode |
税控码 |
275 |
taxCoord |
税额坐标 |
276 |
taxFee |
税费 |
277 |
taxPaid |
备注完税价格 |
278 |
taxPercentage |
税额百分比 |
279 |
taxRate |
税率/征收率 |
280 |
taxRateCoord |
税率/征收率坐标 |
281 |
taxRatePercentage |
税率百分比 |
282 |
ticketCheck |
检票口 |
283 |
time |
时间 |
284 |
timeGetoff |
下车时间 |
285 |
timeGetoffCoord |
下车时间坐标 |
286 |
timeGeton |
上车时间 |
287 |
timeGetonCoord |
上车时间坐标 |
288 |
timeHorizon |
税款所属时间 |
289 |
title |
发票标题 |
290 |
titleConfidence |
发票标题置信度 |
291 |
titleCoord |
发票标题坐标 |
292 |
to |
到达地 |
293 |
toCoord |
到达地坐标 |
294 |
tollSign |
通行费标志(0否,1是) |
295 |
tollSignCoord |
通行费标志坐标 |
296 |
tonnage |
车船吨位 |
297 |
totalAmount |
不含税金额 |
298 |
totalAmountCoord |
不含税金额坐标 |
299 |
totalAmountocr |
不含税金额OCR |
300 |
totalAmountOCRCoord |
不含税金额OCR坐标 |
301 |
totalTax |
税额 |
302 |
totalTaxCoord |
税额坐标 |
303 |
trainNumber |
车次 |
304 |
trainNumberCoord |
车次坐标 |
305 |
transport |
运输工具(号) |
306 |
transportationType |
运输工具种类 |
307 |
travelerDate |
出行日期 |
308 |
travelerFrom |
出发地 |
309 |
travelerID |
运输工具牌号 |
310 |
travelerInvoiceLists |
旅客运输服务明细 |
311 |
travelerLevel |
等级 |
312 |
travelerName |
出行人 |
313 |
travelerTo |
到达地 |
314 |
travelTax |
车船税 |
315 |
unit |
单位 |
316 |
unitPrice |
单价 |
317 |
usedCarAddress |
二手车市场地址 |
318 |
used |
用途 |
319 |
usedCarAddressCoord |
二手车市场地址坐标 |
320 |
usedCarbank |
二手车市场开户银行及账号 |
321 |
usedCarName |
二手车市场 |
322 |
usedCarPhone |
二手车市场电话 |
323 |
usedCarTaxNo |
二手车市场纳税人识别号 |
324 |
userCardNo |
乘客证件号码 |
325 |
userCardNoCoord |
乘客证件号码坐标 |
326 |
vehicleNo |
车辆识别代号/车架号码 |
327 |
vehicleNoCoord |
车辆识别代号/车架号码坐标 |
328 |
vehiclePlaceName |
转入地车辆车管所名称 |
329 |
vehiclePlaceNameCoord |
转入地车辆车管所名称坐标 |
330 |
vehicleType |
车辆类型 |
331 |
vehicleTypeCoord |
车辆类型坐标 |
332 |
voucherNumber |
原凭证号 |
333 |
voucherNumberCoord |
原凭证号坐标 |
334 |
issuse |
颁发者(PDF原版文件解析电子签章内容) |
335 |
endDate |
有效期止(PDF原版文件解析电子签章内容) |
336 |
subject |
使用者(PDF原版文件解析电子签章内容) |
337 |
startDate |
有效期始(PDF原版文件解析电子签章内容) |
338 |
producerSealOcr |
全国统一发票监制章识别结果(全国统一发票监制章、***税务局,国家税务总局监制)(开通印章识别后返回该字段) |
339 |
redSealOcr |
财务章识别结果(企业名称、税号、发票专用章)(开通印章识别后返回该字段) |
4、结果示例:
(字段输出信息为文字识别结果示例,不是固定格式,对字段输出有格式要求的,请自行进行映射)
(1) 增值税专用发票
{
"code": 0,
"data": [
{
"orientation": 0,
"dataMsg": "未调用发票核验",
"coord": {
"titleCoord": [510,44,874,44,874,82,510,82],
"billingDateCoord": [1126,148,1289,146,1289,169,1127,171],
"invTaxSignCoord": [-1,-1,-1,-1,-1,-1,-1,-1],
"amountTaxOCRCoord": [1075,619,1209,619,1209,642,1075,642],
"salesTaxNoCoord": [312,697,639,697,639,718,312,718],
"oilMarkCoord": [-1,-1,-1,-1,-1,-1,-1,-1],
"invoiceFormCoord": [-1,-1,-1,-1,-1,-1,-1,-1],
"sealMarkCoord": [1108,784,1165,787,1164,815,1107,812],
"purchaserBankCoord": [286,302,769,306,769,323,286,319],
"totalAmountOCRCoord": [944,574,1075,574,1075,601,944,601],
"recheckNameCoord": [511,781,584,781,584,810,511,810],
"totalAmountCoord": [944,574,1075,574,1075,601,944,601],
"qrListsCoord":[184,69,184,183,72,183,72,69],
"passwordFieldCoord": [836,206,1263,208,1265,310,834,308],
"redSealCoord": [124,376,386,376,386,577,124,577],
"tollSignCoord": [-1,-1,-1,-1,-1,-1,-1,-1],
"salesNameCoord": [286,664,475,664,475,686,286,686],
"invoiceFormNumCoord": [-1,-1,-1,-1,-1,-1,-1,-1],
"priInvoiceNumberCoord": [952,70,1160,72,1159,108,952,106],
"salesAddressPhoneCoord": [286,726,677,726,677,747,286,747],
"invoiceListsCoord": [
[91,368,197,368,197,387,91,387],
[0,0,0,0,0,0,0,0],
[566,365,628,365,628,390,566,390],
[709,371,751,371,751,388,709,388],
[772,370,882,370,882,388,772,388],
[997,371,1071,371,1071,387,997,387],
[1097,370,1130,370,1130,388,1097,388],
[1253,370,1314,370,1314,390,1253,390]
],
"aftInvoiceNumberCoord": [1194,109,1310,109,1310,133,1194,133],
"salesBankAndNoCoord": [286,755,772,758,772,776,286,772],
"purchaserNameCoord": [286,202,641,204,641,225,286,224],
"remarksCoord": [833,660,1087,660,1087,689,833,689],
"drawerNameCoord": [814,781,885,783,885,811,813,809],
"totalTaxCoord": [1204,574,1320,572,1321,601,1204,603],
"amountTaxCNCoord":[425,617,710,619,710,642,425,641],
"receiverNameCoord": [186,781,256,781,256,809,186,809],
"aftInvoiceCodeCoord": [1209,82,1313,82,1313,104,1209,104],
"purchaserTaxNoCoord": [307,234,632,234,632,256,307,256],
"priInvoiceCodeCoord": [207,68,437,68,437,109,207,109],
"purchaserAddressPhoneCoord": [286,269,764,269,764,290,286,290],
"amountTaxCoord": [1075,619,1209,619,1209,642,1075,642],
"invoiceNumberCoord": [952,70,1160,72,1159,108,952,106],
"invoiceCodeCoord": [207,68,437,68,437,109,207,109]
},
"flag": 0,
"imgOrgsize": [868,1385],
"regionFourPointOri": [1,5,1378,5,1378,862,1,862],
"code": 0, - - - 识别成功
"invoice": {
"administativeDivisionName": "天津市", - - - 所属行政区名称
"title": "天津增值税专用发票", - - - 发票标题
"invoiceCode": "120***3130", - - - 发票代码
"invoiceNumber": "090***66", - - -发票号码
"billingDate": "2023-04-28", - - - 开票日期
"billingDateocr": "2023-04-28", - - - 开票日期OCR
"totalAmount": "2593.89", - - - 不含税金额
"checkCode": "", - - - 校验码
"amountTax": "2931.10", - - - 票面金额
"amountTaxCN": "贰仟玖佰叁拾壹圆壹角整", - - - 票面金额(大写)
"totalAmountocr": "2593.89", - - - 不含税金额OCR
"amountTaxocr": "2931.10", - - - 票面金额OCR
"priInvoiceCode": "1200***130", - - - 印刷发票代码
"priInvoiceNumber": "09***66", - - - 印刷发票号码
"aftInvoiceCode": "1200***130", - - - 打印发票代码
"aftInvoiceNumber": "090***66", - - - 打印发票号码
"purchaserName": "亿*********有限公司", - - - 购方名称
"purchaserTaxNo": "91******XDA958", - - - 购方税号
"purchaserAddressPhone": "天津市***道建...", - - - 购方地址电话
"purchaserBank": "天津农村商业银行***00001387", - - - 购方开户行
"salesName": "国******公司", - - - 销方名称
"salesTaxNo": "91120000***295A", - - - 销方税号
"salesAddressPhone": "天津*********022..." - - - 销方地址电话
"salesBankAndNo": "招商银行股份有限公司天津...", - - - 销方开户行地址
"passwordField": "8+++68255989+2<7171-235056<4*9399798--**<***187>*+<7>4945-<84+2<6271-65707261<-29019++3+/43636+9+/8", - - - 密码区
"totalTax": "337.21", - - - 合计税额
"machineCode": "", - - - 机器编号
"remarks": "合并***2837等", - - - 备注
"receiverName": "***", - - - 收款人
"recheckName": "***", - - - 复核人
"drawerName": "***", - - - 开票人
"invoiceForm": "发票联", - - - 发票联
"invoiceFormNum": "第三联", - - - 发票联次
"travelTax": "", - - - 车船税
"redSeal": "1", - - - 红章标识,0 无,1 有
"oilMark": "0", - - - 成品油标志,0 非成品油,1 成品油
"invTaxSign": "1", - - - 代开标志,1 自开, 2 代开
"tollSign": "0", - - - 通行费标志,0 非通行费标志,1 通行费标志
"sealMark": "1", - - - 销售方(章)标志,0无,1 有
"kind": "水电", - - - 消费类型
"invoiceLists": [ - - - 明细
{
"commodityName": "*供电*电费", - - - 货物名称
"specificationModel": "", - - - 规格型号
"unit": "千瓦时", - - - 单位
"quantity": "4168", - - - 数量
"unitPrice": "0.622334453", - - - 单价
"amount": "2593.89", - - - 金额
"taxRate": "0.13", - - - 税率
"tax": "337.21", - - - 税额
"taxPercentage": "13%" - - - 税率百分比
}
],
"invoiceType": 1 - - - 发票类型
},
"region": [0,0,1383,867],
"dataCode": -10001, - - - 状态码
"qrLists": { - - - 二维码信息
"billingDate": "2023-04-28",
"totalAmount": "2593.89",
"qrInfo": "",
"invoiceNumber": "",
"salesTaxNo": "",
"invoiceCode": ""
},
"regionFourPoint": [1,5,1378,5,1378,862,1,862],
"cutUrlImage":"/9j/4AAQSkZJRgABAgAA..." - - - 裁剪图片 base64
}
],
"msg": "调用完成"
}
(2) 机动车销售统一发票
{
"code": 0,
"data": [{
"orientation": 0,
"dataMsg": "-10007",
"coord": {
"salesNoCoord": [1953, 1499, 2271, 1499, 2271, 1545, 1953, 1545],
"originPlaceCoord": [2260, 939, 2390, 939, 2390, 990, 2260, 990],
"billingDateCoord": [472, 332, 793, 332, 793, 383, 472, 383],
"paymentVoucherNoCoord": [-1, -1, -1, -1, -1, -1, -1, -1],
"salesAddressCoord": [598, 1604, 1279, 1604, 1279, 1664, 598, 1664],
"engineNoCoord": [594, 1175, 769, 1175, 769, 1221, 594, 1221],
"salesTaxNoCoord": [591, 1491, 1125, 1483, 1129, 1542, 594, 1550],
"salesPhoneCoord": [1950, 1386, 2125, 1386, 2125, 1432, 1950, 1432],
"machineCodeCoord": [598, 635, 975, 635, 975, 690, 598, 690],
"totalAmountCoord": [741, 1845, 1076, 1854, 1073, 1913, 738, 1904],
"passengersLimitedCoord": [2600, 1849, 2644, 1840, 2649, 1870, 2603, 1879],
"qrListsCoord": [537, 104, 537, 323, 327, 323, 327, 104],
"idCardNoCoord": [601, 837, 1111, 837, 1111, 892, 601, 892],
"vehicleNoCoord": [1884, 1171, 2410, 1171, 2410, 1221, 1884, 1221],
"salesNameCoord": [598, 1382, 1286, 1382, 1286, 1441, 598, 1441],
"taxAuthorityNameCoord": [1834, 1698, 2446, 1689, 2449, 1744, 1838, 1748],
"brandModelCoord": [1317, 939, 1726, 939, 1726, 990, 1317, 990],
"vehicleTypeCoord": [601, 944, 852, 944, 852, 994, 601, 994],
"importCertificateNoCoord": [1408, 445, 2550, 445, 2550, 500, 1408, 500],
"purchaserNameCoord": [255, 631, 514, 631, 514, 681, 255, 681],
"taxRateCoord": [601, 1744, 688, 1744, 688, 1790, 601, 1790],
"totalTaxCoord": [1107, 1732, 1408, 1732, 1408, 1790, 1107, 1790],
"amountTaxCNCoord": [594, 1272, 1086, 1272, 1086, 1327, 594, 1327],
"taxAuthorityNoCoord": [1834, 1748, 2145, 1748, 2145, 1799, 1834, 1799],
"certificateNoCoord": [594, 1061, 916, 1061, 916, 1107, 594, 1107],
"purchaserTaxNoCoord": [-1, -1, -1, -1, -1, -1, -1, -1],
"amountTaxCoord": [2163, 1272, 2491, 1272, 2491, 1327, 2163, 1327],
"invoiceNumberCoord": [1988, 282, 2456, 303, 2453, 370, 1988, 353],
"invoiceCodeCoord": [1988, 218, 2582, 231, 2585, 303, 1985, 307],
"salesBankCoord": [1733, 1609, 2163, 1609, 2163, 1659, 1733, 1659]
},
"flag": 0,
"code": 0, - - - 识别成功
"invoice": {
"administativeDivisionName":"北京市", - - - 所属行政区名称
"title": "机动车销售统一发票" - - - 发票标题
"invoiceCode": "1110***2011", - - - 发票代码
"invoiceNumber": "017***07", - - -发票号码
"billingDate": "2017-07-13", - - - 开票日期
"machineCode": "66***71021", - - -机器编码
"taxControlCode": "104+>539*246385433>8*609//</+/69*/43<2+/*4*+*-4*/*/830056002*+8<>78*24279257173</70/997>5969*/43<+/*4*+*-4*/104+>+539*246385***3<-+9384>133<5<229-362<486141>-748/>209*+44570/*-3534-8473-4", - - -税控码
"purchaserName": "***", - - - 购方名称
"idCardNo": "429******81", - - -购买方身份证号码/组织机构代码
"purchaserTaxNo": "", - - -购方税号
"vehicleType": "多用途乘用车", - - -车辆类型
"brandModel": "北京现***5SAV", - - -厂牌型号
"originPlace": "北京市", - - -产地
"certificateNo": "WAJ***653", - - -合格证号
"importCertificateNo": "/", - - -进口证明书号
"inspectionListNo":"", - - - 商检单号
"engineNo": "GB***9", - - - 发动机号
"vehicleNo": "LBETLB***471", - - -车辆识别代号/车架号码
"amountTax": "142400.00", - - -票面金额
"amountTaxCN": "壹拾肆万贰仟肆佰圆整", - - - 票面金额(大写)
"salesName": "北京***限公司", - - - 销方名称
"salesPhone": "60***15", - - - 销方电话
"salesTaxNo": "1101***711499", - - - 销方税号
"salesBankNo": "11080***186049", - - - 销方开户行账户
"salesAddress": "北京市大兴区***号", - - -销方地址
"salesBank": "农行大兴区支***部", - - -销方开户银行
"taxRate": "17%", - - - 税率
"totalTax": "20690.60", - - - 合计税额
"taxAuthorityName": "北京市大兴区***所", - - - 主管税务名称
"taxAuthorityNo": "111***01", - - - 主管税务机关
"totalAmount": "", - - - 不含税金额
"paymentVoucherNo": "", - - - 完税凭证号码
"tonnage": "", - - - 车船吨位
"passengersLimited": 3, - - - 限乘人数
"state": "", - - - 发票状态
"redSeal": "1", - - - 红章,1代表有红章,0无红章
"drawerName": "***", - - - 开票人
"remarks": "***", - - - 备注
"invoiceForm":"", - - - 发票联
"invoiceFormNum":"", - - - 发票联次
"aftInvoiceCode": "11100***2011", - - - 机打代码
"aftInvoiceNumber": "01***07", - - - 机打号码
"kind": "交通", - - - 消费类型
"invoiceType": 3 - - -发票类型
},
"region": [0, 0, 2795, 2048], - - -裁剪坐标
"regionFourPoint": [4, 1, 1396, 1, 1396, 804, 4, 804], - - - 四点坐标
"regionFourPointOri": [4, 1, 1396, 1, 1396, 804, 4, 804], - - - 旋转后四点坐标
"imgOrgsize": [804,1306], - - - 识别图像尺寸
"dataCode": -30000, - - -状态码
"qrLists": { - - - 二维码信息
"qrInfo": ""
},
"cutUrlImage":"/9j/4AAQSkZJRgABAgAA..." - - - 裁剪图片base64
}],
"msg": "调用完成"
}
(3) 增值税普通发票
{
"code": 0,
"data": [
{
"orientation": 0,
"dataMsg": "未调用发票核验",
"coord": {
"titleCoord": [970,77,1653,77,1653,156,970,156],
"billingDateCoord":[2119,273,2434,273,2434,314,2119,314],
"invTaxSignCoord":[-1,-1,-1,-1,-1,-1,-1,-1],
"amountTaxOCRCoord":[1997,1179,2214,1179,2214,1223,1997,1223],
"salesTaxNoCoord":[572,1315,1114,1318,1114,1361,572,1358],
"oilMarkCoord":[-1,-1,-1,-1,-1,-1,-1,-1],
"checkCodeCoord":[1564,1250,2195,1255,2194,1297,1563,1293],
"machineCodeCoord":[323,293,648,293,648,334,323,334],
"invoiceFormCoord":[-1,-1,-1,-1,-1,-1,-1,-1],
"sealMarkCoord":[2079,1488,2188,1488,2188,1533,2079,1533],
"totalAmountOCRCoord":[1797,1087,2011,1087,2011,1131,1797,1131],
"recheckNameCoord":[983,1492,1114,1492,1114,1543,983,1543],
"totalAmountCoord":[1797,1087,2011,1087,2011,1131,1797,1131],
"qrListsCoord":[299,138,299,327,109,327,109,138],
"passwordFieldCoord":[1580,377,2417,382,2417,596,1577,588],
"redSealCoord":[2051,1243,2533,1243,2533,1623,2051,1623],
"tollSignCoord":[-1,-1,-1,-1,-1,-1,-1,-1],
"salesNameCoord":[510,1248,1147,1248,1147,1289,510,1289],
"invoiceFormNumCoord":[-1,-1,-1,-1,-1,-1,-1,-1],
"priInvoiceNumberCoord":[1803,119,2177,107,2178,180,1804,192],
"salesAddressPhoneCoord":[510,1376,1226,1380,1226,1423,510,1419],
"invoiceListsCoord":[
[149,668,415,668,415,709,149,709],
[2,1,2,1,2,1,2,1],[2,1,2,1,2,1,2,1],
[1400,685,1426,671,1438,697,1412,711],
[1422,671,1663,671,1663,712,1422,712],
[1885,675,2011,675,2011,719,1885,719],
[2093,671,2145,671,2145,716,2093,716],
[2381,681,2477,681,2477,719,2381,719]
],
"aftInvoiceNumberCoord":[2257,208,2480,208,2480,252,2257,252],
"salesBankAndNoCoord":[510,1426,1104,1429,1104,1472,510,1468],
"purchaserNameCoord":[517,367,1045,370,1045,414,517,410],
"remarksCoord":[1563,1250,2195,1250,2195,1297,1563,1297],
"drawerNameCoord":[1525,1495,1659,1495,1659,1547,1525,1547],
"totalTaxCoord":[2296,1087,2486,1087,2486,1138,2296,1138],
"amountTaxCNCoord":[806,1159,1102,1163,1102,1207,806,1203],
"receiverNameCoord":[360,1489,495,1493,494,1544,359,1539],
"aftInvoiceCodeCoord":[2293,159,2489,159,2489,204,2293,204],
"purchaserTaxNoCoord":[572,425,1111,429,1111,473,572,469],
"priInvoiceCodeCoord":[395,128,825,128,825,197,395,197],
"amountTaxCoord":[1997,1179,2214,1179,2214,1223,1997,1223],
"invoiceNumberCoord":[1803,119,2177,107,2178,180,1804,192],
"invoiceCodeCoord":[395,128,825,128,825,197,395,197]
},
"flag": 0,
"imgOrgsize":[1661,2656],
"regionFourPointOri":[7,7,2623,7,2623,1645,7,1645],
"code": 0, - - - 识别成功
"invoice": {
"administrativeDivisionName": "北京市", - - - 所属行政区名称
"title": "北京增值税普通发票", - - - 发票标题
"invoiceCode": "11***0", - - - 发票代码
"invoiceNumber": "16***6", - - - 发票号码
"billingDate": "2018-03-03", - - - 开票日期
"billingDateocr": "2018-03-03", - - - 开票日期OCR
"totalAmount": "464.15", - - - 不含税金额
"checkCode": "05365***74819", - - - 校验码
"amountTax": "492.00", - - - 票面金额
"amountTaxCN": "肆佰玖拾贰圆整", - - - 票面金额(大写)
"totalAmountocr": "464.15", - - - 不含税金额OCR
"amountTaxocr": "492.00", - - - 票面金额OCR
"priInvoiceCode": "110***20", - - - 印刷发票代码
"priInvoiceNumber": "16***56", - - - 印刷发票号码
"aftInvoiceCode": "110***20", - - - 打印发票代码
"aftInvoiceNumber": "16***56", - - - 打印发票号码
"purchaserName": "北京***有限公司", - - - 购方名称
"purchaserTaxNo": "91110***15B", - - - 购方税号
"purchaserAddressPhone": "", - - - 购方地址电话
"purchaserBank": "", - - - 购方开户行
"salesName": "北京***饭庄", - - - 销方名称
"salesTaxNo": "91110102096279674A", - - - 销方税号
"salesAddressPhone": "北京***1021", - - - 销方地址电话
"salesBankAndNo": "工行***0004169", - - - 销方开户行账号
"passwordField": "0345-<<->52178138748-167+83-50+5386448-7886-/>6>88***0/<-30<0167<83*1-***<*01+5*20621/8+52-9>", - - - 密码区
"totalTax": "27.85", - - - 合计税额
"machineCode": "4999***31", - - - 机器编码
"remarks": "校验***2287874819", - - - 备注
"receiverName": "***", - - - 收款人
"recheckName": "***", - - - 复核人
"drawerName": "***", - - - 开票人
"invoiceForm": "发票联", - - - 发票联
"invoiceFormNum": "第二联", - - - 发票联次
"travelTax": "", - - - 车船税
"redSeal": "1", - - - 红章,1 代表有红章,0 无红章
"oilMark": "0", - - - 成品油标志,0 非成品油标志,1 成品油发票
"invTaxSign": "1", - - - 代开标志,1 自开,2 代开
"tollSign": "0", - - - 通行费标志,0 非通行费标志,1 通行费标志
"sealMark": "1", - - 销售方(章)标志,0无,1 有
"kind": "餐饮", - - - 消费类型
"invoiceLists": [ - - - 明细列表
{
"commodityName": "*餐饮服务*餐费", - - - 货物名称
"specificationModel": "", - - - 规格型号
"unit": "", - - - 单位
"quantity": "1", - - - 数量
"unitPrice": "1464.150943396", - - - 单价
"amount": "464.15", - - - 金额
"taxRate": "0.06", - - - 税率
"tax": "27.85", - - - 税额
"taxPercentage": "6%" - - - 税率百分比
}
],
"invoiceType": 4 - - - 发票类型
},
"region": [2,2,2628,1650],
"dataCode": -10001, - - - 状态码
"qrLists": { - - - 二维码信息
"billingDate": "2018-03-03",
"totalAmount": "464.15",
"qrInfo": "",
"invoiceNumber": "",
"salesTaxNo": "",
"invoiceCode": "",
"checkCode": ""
},
"regionFourPoint": [7,7,2623,7,2623,1645,7,1645],
"cutUrlImage":"/9j/4AAQSkZJRgABAgAA..." - - - 裁剪图片 base64
}
],
"msg": "调用完成"
}
(4) 增值税电子专用发票
{
"code": 0,
"data": [
{
"orientation": 0,
"dataMsg": "未调用发票核验",
"coord":{
"titleCoord":[174,15,363,15,363,32,174,32],
"billingDateCoord":[382,42,483,44,483,55,382,55],
"invTaxSignCoord":[-1,-1,-1,-1,-1,-1,-1,-1],
"amountTaxOCRCoord":[408,254,491,255,491,266,408,265],
"oilMarkCoord":[-1,-1,-1,-1,-1,-1,-1,-1],
"checkCodeCoord":[382,57,498,58,498,70,381,68],
"sealMarkCoord":[-1,-1,-1,-1,-1,-1,-1,-1],
"purchaserBankCoord":[29,121,82,122,81,131,28,130],
"totalAmountOCRCoord":[377,239,426,239,426,249,377,249],
"recheckNameCoord":[159,326,214,326,214,337,159,337],
"totalAmountCoord":[377,239,426,239,426,249,377,249],
"qrListsCoord":[-1,-1,-1,-1,-1,-1,-1,-1],
"passwordFieldCoord":[335,81,519,81,519,127,334,127],
"redSealCoord":[-1,-1,-1,-1,-1,-1,-1,-1],
"tollSignCoord":[-1,-1,-1,-1,-1,-1,-1,-1],
"salesNameCoord":[86,274,136,274,136,285,86,285],
"priInvoiceNumberCoord":[383,28,458,30,458,41,383,40],
"salesAddressPhoneCoord":[27,298,78,299,78,308,27,308],
"invoiceListsCoord":[
[5,147,129,147,129,249,5,249],
[],
[],
[],
[298,147,343,148,343,155,298,154],
[388,146,426,146,426,158,388,158],
[440,146,455,146,455,156,440,156],
[497,148,527,148,527,157,497,157]
],
"aftInvoiceNumberCoord":[383,28,458,30,458,41,383,40],
"salesBankAndNoCoord":[27,310,76,311,76,321,27,319],
"purchaserNameCoord":[86,78,129,78,129,89,86,89],
"drawerNameCoord":[270,326,337,326,337,337,270,337],
"amountTaxCNCoord":[-1,-1,-1,-1,-1,-1,-1,-1],
"receiverNameCoord":[9,326,75,327,75,337,9,336],
"aftInvoiceCodeCoord":[382,13,476,15,476,27,382,25],
"purchaserTaxNoCoord":[86,92,207,92,207,102,86,102],
"priInvoiceCodeCoord":[382,13,476,15,476,27,382,25],
"purchaserAddressPhoneCoord":[87,108,254,108,254,116,87,116],
"amountTaxCoord":[408,254,491,255,491,266,408,265],
"invoiceNumberCoord":[383,28,458,30,458,41,383,40],
"invoiceCodeCoord":[382,13,476,15,476,27,382,25]
},
"flag": 0,
"code": 0, - - - 识别成功
"imgOrgsize": [354,529],
"regionFourPointOri": [1,5,525,5,525,351,1,351],
"invoice": {
"administrativeDivisionName": "浙江省", - - - 行政区域
"title": "宁波增值税电子专用发票", - - - 标题
"invoiceCode": "03***13", - - - 发票代码
"invoiceNumber": "00000001", - - - 发票号码
"billingDate": "2020-09-01", - - - 开票日期
"billingDateocr": "2020-09-01", - - - 开票日期OCR
"totalAmount": "86797.75", - - - 不含税金额
"checkCode": "1105***5085", - - - 校验码
"amountTax": "9881.40", - - - 票面金额
"amountTaxCN": "玖仟捌佰捌拾壹圆肆角", - - - 票面金额(大写)
"totalAmountocr": "86797.75", - - - 不含税金额OCR
"amountTaxocr": "9881.40", - - - 票面金额OCR
"priInvoiceCode": "03***313", - - - 打印发票代码
"priInvoiceNumber": "00000001", - - - 打印发票号码
"aftInvoiceCode": "03***13", - - - 印刷发票代码
"aftInvoiceNumber": "00000001", - - - 印刷发票号码
"purchaserName": "淮***装", - - - 购方名称
"purchaserTaxNo": "913***136", - - - 购方税号
"purchaserAddressPhone": "宁波***4-77", - - - 购方地址电话
"purchaserBank": "农***0", - - - 购方开户行
"salesName": "宁***", - - - 销方名称
"salesTaxNo": "", - - - 销方税号
"salesAddressPhone": "浙江省宁波...", - - - 销方地址电话
"salesBankAndNo": "宁波银石海...", - - - 销方开户行
"passwordField": "00945*1<0-3>2*62377>93158<5<<4024141+0091580+/30920879<84+3-*<3><21/723494/+/+01+2250*6220933>43/501+<>71+>>><7/", - - - 密码区
"totalTax": "", - - - 合计税额
"machineCode": "", - - - 机器编号
"remarks": "", - - - 备注
"receiverName": "管理员", - - - 收款人
"recheckName": "管理员", - - - 复核人
"drawerName": "管理员", - - - 开票人
"invoiceForm": "", - - - 发票联
"invoiceFormNum": "", - - - 发票联次
"travelTax": "", - - - 车船税
"redSeal": "0", - - - 红章,1 代表有红章,0 无红章
"oilMark": "0", - - - 成品油标志,0 非成品油标志,1 成品油发票
"invTaxSign": "2", - - - 代开标志,1 自开,2 代开
"tollSign": "0", - - - 通行费标志,0 非通行费标志,1 通行费标志
"sealMark": "0", - - - 销售方(章)标记
"kind": "其他", - - - 消费类型
"invoiceLists": [ - - - 明细列表
{
"commodityName": "*织产品*2***1罗纹5", - - - 项目名称
"specificationModel": "", - - - 规格型号
"unit": "", - - - 单位
"quantity": "", - - - 数量
"unitPrice": "", - - - 单价
"amount": "86797.75", - - - 金额
"taxRate": "0.13", - - - 税率
"tax": "11283.70", - - - 税额
"taxPercentage": "13%" - - - 税率百分比
}
],
"invoiceType": 8 - - - 发票类型
},
"region": [0,0,529,354],
"dataCode": -10001, - - - 状态码
"qrLists": { - - - 二维码信息
"billingDate": "",
"totalAmount": "",
"qrInfo": "",
"invoiceNumber": "",
"salesTaxNo": "",
"invoiceCode": "",
"checkCode": ""
},
"regionFourPoint": [1,5,525,5,525,351,1,351],
"cutUrlImage": "/9j/4AAQSkZJRgABAgAA..." - - - 裁剪图片 base64
}
],
"msg": "调用完成"
}
(5) 电子发票(增值税专用发票)
{
"code": 0,
"data": [
{
"orientation": 0,
"dataMsg": "未调用发票核验",
"coord": {
"invoiceListsCoord":[
[60,399,308,399,308,423,60,423],
[38,18,38,18,38,18,38,18],
[544,396,575,396,575,425,544,425],
[715,399,735,399,735,422,715,422],
[786,400,893,400,893,422,786,422],
[918,400,1028,400,1028,422,918,422],
[1181,399,1213,399,1213,423,1181,423],
[1247,400,1345,400,1345,422,1247,422]
],
"titleCoord":[408,88,988,88,988,134,408,134],
"billingDateCoord":[1022,151,1276,151,1276,179,1022,179],
"purchaserNameCoord":[100,275,361,275,361,297,100,297],
"remarksCoord":[102,712,207,712,207,735,102,735],
"drawerNameCoord":[159,863,299,863,299,886,159,886],
"totalTaxCoord":[1230,628,1344,627,1344,650,1230,651],
"salesTaxNoCoord":[748,307,1340,307,1340,332,748,332],
"amountTaxCNCoord":[437,670,686,670,686,691,437,691],
"purchaserTaxNoCoord":[100,308,695,308,695,333,100,333],
"amountTaxCoord":[-1,-1,-1,-1,-1,-1,-1,-1],
"totalAmountCoord":[926,629,1050,629,1050,650,926,650],
"invoiceNumberCoord":[1023,99,1339,99,1339,127,1023,127],
"qrListsCoord":[194,75,194,203,66,203,66,75],
"salesNameCoord":[748,273,1057,273,1057,299,748,299]},
"flag": 0,
"code": 0, - - - 识别成功
"imgOrgsize": [948,1394],
"regionFourPointOri": [39,28,1373,28,1373,924,39,924],
"invoice": {
"invoiceType": 9, - - - 发票类型
"title": "电子发票(增值税专用发票)", - - - 标题
"invoiceNumber": "21***01563", - - - 发票号码
"billingDate": "2021-12-01", - - - 开票日期
"purchaserName": "东***司", - - - 购方名称
"purchaserTaxNo": "9131***2980B", - - - 购方税号
"salesName": "中国***限公司", - - - 销方名称
"salesTaxNo": "91310***16", - - - 销方税号
"totalAmount": "3416320.75", - - - 不含税金额
"totalTax": "204979.25", - - - 合计税额
"amountTax": "3621300.00", - - - 票面金额
"amountTaxCN": "叁佰陆拾贰万壹仟叁佰元整", - - - 票面金额(大写)
"remarks": "", - - - 备注
"drawerName": "***", - - - 开票人
"specialTag": "", - - - 特殊标记
"page": "", - - - 页码
"kind": "服务", - - - 消费类型
"invoiceLists": [ - - - 明细列表
{
"commodityName": "*信息技术服务*系统使用费", - - - 项目名称
"specificationModel": "", - - - 规格型号
"unit": "月", - - - 单位
"quantity": "1", - - - 数量
"unitPrice": "3416320.75" - - - 单价
"amount": "3416320.75", - - - 金额
"taxRate": "0.06", - - - 税率
"tax": "204979.25", - - - 税额
"taxPercentage": "6%" - - - 税率百分比
}
]
},
"region": [39,19,1373,947],
"dataCode": -10001, - - - 状态码
"qrLists": { - - - 二维码信息列表
"billingDate": "2021-12-01",
"qrInfo": "",
"invoiceNumber": "",
"amountTax": "3621300.00"
},
"regionFourPoint": [39,28,1373,28,1373,924,39,924],
"cutUrlImage": "/9j/4AAQSkZJRgABAgAA..." - - - 裁剪图base64
}
],
"msg": "调用完成"
}
(6) 增值税普通发票(电子)
{
"code": 0,
"data": [
{
"orientation": 0,
"dataMsg": "未调用发票核验",
"coord": {
"titleCoord":[430,41,879,41,879,82,430,82],
"billingDateCoord":[927,110,1166,110,1166,134,927,134],
"invTaxSignCoord":[-1,-1,-1,-1,-1,-1,-1,-1],
"amountTaxOCRCoord":[980,613,1154,613,1154,637,980,637],
"salesTaxNoCoord":[225,688,509,688,509,708,225,708],
"oilMarkCoord":[-1,-1,-1,-1,-1,-1,-1,-1],
"checkCodeCoord":[1026,149,1256,149,1256,167,1026,167],
"machineCodeCoord":[133,147,255,147,255,168,133,168],
"sealMarkCoord":[944,781,1100,781,1100,808,944,808],
"totalAmountOCRCoord":[939,577,1028,577,1028,600,939,600],
"recheckNameCoord":[396,784,526,784,526,808,396,808],
"totalAmountCoord":[939,577,1028,577,1028,600,939,600],
"qrListsCoord":[176,18,176,145,50,145,50,18],
"passwordFieldCoord":[815,201,1251,201,1256,310,814,308],
"redSealCoord":[931,666,1099,666,1099,795,931,795],"
tollSignCoord":[-1,-1,-1,-1,-1,-1,-1,-1],
"salesNameCoord":[223,661,562,661,562,682,223,682],
"priInvoiceNumberCoord":[927,75,1108,75,1108,100,927,100],
"salesAddressPhoneCoord":[78,716,212,716,212,740,78,740],
"invoiceListsCoord":[
[26,353,172,353,172,377,26,377],
[],
[],
[],
[],
[960,355,1028,355,1028,379,960,379],
[1075,353,1101,353,1101,377,1075,377],
[1238,358,1282,358,1282,377,1238,377]
],
"aftInvoiceNumberCoord":[927,75,1108,75,1108,100,927,100],
"salesBankAndNoCoord":[221,748,697,748,697,768,221,768],
"purchaserNameCoord":[223,194,462,194,462,216,223,216],
"drawerNameCoord":[658,783,817,783,817,808,658,808],
"totalTaxCoord":[-1,-1,-1,-1,-1,-1,-1,-1],
"amountTaxCNCoord":[360,615,513,615,513,639,360,639],
"receiverNameCoord":[37,783,195,783,195,808,37,808],
"aftInvoiceCodeCoord":[929,41,1150,41,1150,66,929,66],
"purchaserTaxNoCoord":[225,227,509,227,509,249,225,249],
"priInvoiceCodeCoord":[929,41,1150,41,1150,66,929,66],
"amountTaxCoord":[980,613,1154,613,1154,637,980,637],
"invoiceNumberCoord":[927,75,1108,75,1108,100,927,100],
"invoiceCodeCoord":[929,41,1150,41,1150,66,929,66]
},
"flag": 0,
"code": 0, - - - 识别成功
"imgOrgsize": [875,1316],
"regionFourPointOri": [1,3,1308,3,1308,863,1,863],
"invoice": {
"administrativeDivisionName": "北京市", - - - 所属行政区名称
"title": "北京增值税电子普通发票", - - - 标题
"invoiceCode": "01***11", - - - 发票代码
"invoiceNumber": "05***3", - - - 发票号码
"billingDate": "2020-10-25", - - - 开票日期
"billingDateocr": "2020-10-25", - - - 开票日期OCR
"totalAmount": "386.14", - - - 不含税金额
"checkCode": "12385***12101", - - - 校验码
"amountTax": "390.00", - - - 票面金额
"amountTaxCN": "叁佰玖拾圆整", - - - 票面金额(大写)
"totalAmountocr": "386.14", - - - 不含税金额OCR
"amountTaxocr": "390.00", - - - 票面金额OCR
"priInvoiceCode": "011***511", - - - 印刷发票代码
"priInvoiceNumber": "05***33", - - - 印刷发票号码
"aftInvoiceCode": "011***11", - - - 打印发票代码
"aftInvoiceNumber": "05***33", - - - 打印发票号码
"purchaserName": "北京***限公司", - - - 购方名称
"purchaserTaxNo": "9111***613D", - - - 购方税号
"purchaserAddressPhone": "", - - - 购方地址电话
"purchaserBank": "", - - - 购方开户行
"salesName": "北京***有限公司", - - - 销方名称
"salesTaxNo": "91110***34T", - - - 销方税号
"salesAddressPhone": "北京市海***719273", - - - 销方地址电话
"salesBankAndNo": "中国工***9200525773", - - - 销方开户行账户
"passwordField": "007*0-3--5>93414<+579+-1>-215982*/243+>*><3039++3***6-34>43>7*12746931-484668**43*5+>/0132+21987+<0>", - - - 密码区
"totalTax": "3.86", - - - 合计税额
"machineCode": "92***1", - - - 机器编号
"remarks": "", - - - 备注
"receiverName": "管理员", - - - 收款人
"recheckName": "管理员", - - - 复核人
"drawerName": "管理员", - - - 开票人
"invoiceForm": "", - - - 发票联
"invoiceFormNum": "", - - - 发票联次
"travelTax": "", - - - 车船税
"redSeal": "1", - - - 红章,1 代表有红章,0 无红章
"oilMark": "0", - - - 成品油标志,0 非成品油标志,1 成品油发票
"invTaxSign": "1", - - - 代开标志,1 自开,2 代开
"tollSign": "0", - - - 通行费标志,0 非通行费标志,1 通行费标志
"sealMark": "1", - - - 销售方(章)标记
"jiangsutollSign": "0", - - - 江苏通行费发票标识(默认忽略)
"kind": "餐饮", - - - 消费类型
"invoiceLists": [ - - - 明细列表
{
"commodityName": "*餐饮服务*餐费", - - - 项目名称
"specificationModel": "", - - - 规格型号
"unit": "", - - - 单位
"quantity": "", - - - 数量
"unitPrice": "", - - - 单价
"amount": "386.14", - - - 金额
"taxRate": "0.01", - - - 税率
"tax": "3.86", - - - 税额
"taxPercentage": "1%" - - - 税率百分比
}
],
"invoiceType": 10 - - - 发票类型
},
"region": [0,0,1316,875],
"dataCode": -10001, - - - 状态码
"qrLists": {, - - - 二维码信息列表
"billingDate": "2020-10-25",
"totalAmount": "386.14",
"qrInfo": "",
"invoiceNumber": "",
"salesTaxNo": "",
"invoiceCode": "",
"checkCode": ""
},
"regionFourPoint":[1,3,1308,3,1308,863,1,863]}],
"cutUrlImage":"/9j/4AAQSkZJRgABAgAA..." - - - 裁剪图片 base64
}
],
"msg": "调用完成"
}
(7) 增值税普通发票(卷式)
{
"code": 0,
"data": [{
"orientation": 0,
"dataMsg": "未调用发票核验",
"coord": {
"invoiceNumberCoord": [21, 222, 316, 214, 317, 252, 22, 261],
"qrListsCoord": [158, 1168, 158, 1266, 63, 1265, 64, 1168],
"invoiceCodeCoord": [22, 181, 405, 181, 406, 218, 23, 218]
},
"flag": 0,
"code": 0, - - - 识别成功
"invoice": {
"administrativeDivisionName": "北京市", - - - 所属行政区名称
"invoiceCode": "01***107", - - - 发票代码
"invoiceNumber": "27***3", - - - 发票号码
"billingDate": "2019-06-25", - - - 开票日期
"totalAmount": "", - - - 合计金额
"checkCode": "7438931***114", - - - 校验码
"amountTax": "500.00", - - - 票面金额
"amountTaxCN": "伍佰元整", - - - 票面金额(大写)
"purchaserName": "北京***有限公司", - - - 购方名称
"purchaserTaxNo": "911***1503W", - - - 购方税号
"salesName": "北京市***有限公司", - - - 销方名称
"salesTaxNo": "9111***235", - - - 销方税号
"machineCode": "", - - - 机器编号
"invoiceLists": [ - - - 明细列表
{
"commodityName":"汽油", - - - 项目名称
"unitPrice":"5.55", - - - 单价
"quantity":"43.33", - - - 数量
"amount":"241.00" - - - 金额
}
],
"redSeal": "1", - - - 红章,1表示有,0表示无
"aftInvoiceNumber": "04***3", - - - 机打号码
"title": "北京增值税普通发票(卷票)" - - - 发票标题
"kind": "服务", - - - 消费类型
"invoiceType": 11 - - - 发票类型
},
"region": [0, 0, 569, 1300], - - - 裁剪图片坐标
"regionFourPoint": [4, 1, 1396, 1, 1396, 804, 4, 804], - - - 四点坐标
"regionFourPointOri": [4, 1, 1396, 1, 1396, 804, 4, 804], - - - 旋转后四点坐标
"imgOrgsize": [804,1306], - - - 识别图像尺寸
"dataCode": -10001, - - - 状态码
"qrLists": { - - - 二维码信息
"qrInfo": "",
"invoiceNumber": "",
"invoiceCode": "",
"checkCode": ""
},
"cutUrlImage":"/9j/4AAQSkZJRgABAgAA..." - - - 裁剪图片base64
}],
"msg": "调用完成"
}
(8) 增值税普通发票(通行费)
{
"code": 0,
"data": [{
"orientation": 0,
"dataMsg": "未调用发票核验",
"coord": {
"invoiceNumberCoord": [21, 222, 316, 214, 317, 252, 22, 261],
"qrListsCoord": [158, 1168, 158, 1266, 63, 1265, 64, 1168],
"invoiceCodeCoord": [22, 181, 405, 181, 406, 218, 23, 218]
},
"flag": 0,
"code": 0, - - - 识别成功
"invoice": {
"administrativeDivisionName": "", - - - 所属行政区名称
"title": "四川增值税电子普通发票", - - - 发票标题
"invoiceCode": "01***07", - - - 发票代码
"invoiceNumber": "23***20", - - - 发票号码
"billingDate": "2019-09-09", - - - 开票日期
"billingDateocr": "2019-08-28", - - - 开票日期OCR
"totalAmount": "3.69", - - - 不含税金额
"checkCode": "12313", - - - 校验码
"amountTax": "3.8", - - - 票面金额
"amountTaxCn": "叁元捌角", - - - 票面金额(大写)
"totalAmountocr": "3.69", - - - 不含税金额OCR
"amountTaxocr": "3.8", - - - 票面金额OCR
"priInvoiceCode": "051***112", - - - 印刷发票代码
"priInvoiceNumber": "00***72", - - - 印刷发票号码
"aftInvoiceCode": "0510***0112", - - - 打印发票代码
"aftInvoiceNumber": "00***72", - - - 打印发票号码
"purchaserName": "", - - - 购方名称
"purchaserTaxNo": "", - - - 购方税号
"purchaserAddressPhone": "成都***2778", - - - 购方地址电话
"purchaserBank": "建行成都***00000156", - - - 购方开户行账户
"salesName": "", - - - 销方名称
"salesTaxNo": "", - - - 销方税号
"salesAddressPhone": "四川省自***698708", - - - 销方地址电话
"salesBankAndNo": "中行乐山***9057209", - - - 销方开户行账号
"passwordField": "03-873121413>-28/6>8-+*+/15+1588632<9>+-4****115*836062<*/736<88-7*-430>59*9<81930724945013730194+7<0>4/58", - - - 密码区
"totalTax": "0.11", - - - 合计税额
"machineCode": "499***41", - - - 机器编码
"remarks": "", - - - 备注
"receiverName": "***", - - - 收款人
"recheckName": "***", - - - 复核人
"drawerName": "***", - - - 开票人
"invoiceForm": "", - - - 发票联
"invoiceFormNum": "", - - - 发票联次
"travelTax": "", - - - 车船税
"redSeal": "1", - - - 红章,0无红章,1有红章
"oilMark": "0", - - - 成品油标志,0 非成品油标志,1 成品油发票
"invTaxSign": "1", - - - 代开标志,1 自开,2 代开
"tollSign": "1", - - - 通行费标志,0 非通行费标志,1 通行费标志
"sealMark": "1", - - - 销售方(章)标记
"kind": "其他", - - - 消费类型
"invoiceLists": [ - - - 明细列表
{
"commodityName": "*经营租赁*通行费", - - - 项目名称
"specificationModel": "***", - - - 车牌号
"unit": "客车", - - - 类型
"quantity": "20180307", - - - 通行日期起
"unitPrice": "20180307", - - - 通行日期止
"amount": "3.69", - - - 金额
"taxRate": "0.03", - - - 税率
"tax": "0.11", - - - 税额
"taxRatePercentage": "3%" - - - 税率百分比
}
],
"invoiceType": 14 - - - 发票类型
},
"region": [0, 0, 569, 1300], - - - 裁剪图片坐标
"regionFourPoint": [4, 1, 1396, 1, 1396, 804, 4, 804], - - - 四点坐标
"regionFourPointOri": [4, 1, 1396, 1, 1396, 804, 4, 804], - - - 旋转后四点坐标
"imgOrgsize": [804,1306], - - - 识别图像尺寸
"dataCode": -10001,
"qrLists": { - - - 二维码信息
"qrInfo": "",
"invoiceNumber": "",
"invoiceCode": "",
"checkCode": ""
},
"cutUrlImage":"/9j/4AAQSkZJRgABAgAA..." - - - 裁剪图片base64
}],
"msg": "调用完成"
}
(9) 二手车销售统一发票
{
"code": 0,
"data": [{
"orientation": 0,
"dataMsg": "-10008",
"coord": {
"registrationNumberCoord": [1989, 1480, 2415, 1480, 2415, 1541, 1989, 1541],
"brandModelCoord": [1998, 1591, 2451, 1591, 2451, 1647, 1998, 1647],
"carNumberCoord": [1193, 1480, 1418, 1480, 1418, 1541, 1193, 1541],
"billingDateCoord": [823, 574, 1216, 574, 1216, 658, 823, 658],
"vehicleTypeCoord": [2927, 1473, 3138, 1473, 3138, 1534, 2927, 1534],
"purchaserNameCoord": [1189, 1026, 1299, 1026, 1299, 1087, 1189, 1087],
"usedCarAddressCoord": [2364, 2256, 3056, 2285, 3050, 2346, 2364, 2339],
"salesAddressCoord": [1189, 1362, 2114, 1362, 2114, 1428, 1189, 1428],
"salesTaxNoCoord": [2749, 1256, 3395, 1256, 3395, 1317, 2749, 1317],
"purchaserAddressCoord": [1189, 1127, 2297, 1127, 2297, 1195, 1189, 1195],
"amountTaxCNCoord": [1203, 1713, 1651, 1708, 1656, 1770, 1203, 1776],
"purchaserPhoneCoord": [2937, 1132, 3366, 1132, 3366, 1200, 2937, 1200],
"salesPhoneCoord": [2932, 1362, 3362, 1362, 3362, 1423, 2932, 1423],
"auctionPhoneCoord": [3083, 2407, 3499, 2407, 3499, 2464, 3083, 2464],
"machineCodeCoord": [883, 898, 1363, 898, 1363, 965, 883, 965],
"purchaserTaxNoCoord": [2749, 1021, 3399, 1021, 3399, 1082, 2749, 1082],
"amountTaxCoord": [2932, 1713, 3353, 1713, 3353, 1776, 2932, 1776],
"vehiclePlaceNameCoord": [2923, 1579, 3087, 1579, 3087, 1647, 2923, 1647],
"invoiceNumberCoord": [2823, 489, 3412, 489, 3412, 562, 2823, 562],
"qrListsCoord": [-1, -1, -1, -1, -1, -1, -1, -1],
"invoiceCodeCoord": [2836, 390, 3563, 390, 3563, 468, 2836, 468],
"vehicleNoCoord": [1189, 1597, 1651, 1586, 1656, 1642, 1193, 1652],
"auctionTaxNoCoord": [2370, 2179, 2617, 2179, 2617, 2228, 2370, 2228],
"salesNameCoord": [1184, 1250, 1353, 1245, 1359, 1306, 1189, 1317]
},
"flag": 0,
"code": 0, - - - 识别成功
"invoice": {
"invoiceType": 15, - - - 发票类型
"title": "机动车销售统一发票" - - - 发票标题
"administrativeDivisionName": "广东省", - - - 所属行政区名称
"invoiceCode": "04***117", - - - 发票代码
"invoiceNumber": "00***05", - - - 发票号码
"billingDate": "2020-04-22", - - - 开票日期
"aftInvoiceCode": "1***011", - - - 机打代码
"aftInvoiceNumber": "01***7", - - - 机打号码
"machineCode": "661***251", - - - 机器编码
"taxControlCode": "46437***43213", - - - 税控码
"purchaserName": "广东***有限公司", - - - 购方名称
"purchaserTaxNo": "91441***XN8D", - - - 购方税号
"purchaserAddress": "广东省***城中...", - - - 购方地址
"purchaserPhone": "135***348", - - -购方电话
"salesName": "***", - - - 销方名称
"salesTaxNo": "362127***5268619", - - -销方税号
"salesAddress": "广东省***区长", - - - 销方地址
"salesPhone": "33***5", - - - 销方电话
"carNumber": "粤***7", - - - 车牌照号
"registrationNumber": "440***8", - - - 登记证号
"vehicleType": "小型轿车", - - -车辆类型
"vehicleNo": "LBV3***1956", - - - 车辆识别代号/车架号码
"brandModel": "宝***BMW320Li)", - - - 厂牌型号
"vehiclePlaceName": "广东省***所", - - - 转入地车辆车管所名称
"amountTaxCN": "壹万圆整", - - - 票面金额(大写)
"amountTax": "10000.00", - - - 票面金额
"usedCarName": "深圳市***有限公", - - - 二手车市场名称
"usedCarTaxNo": "91440***7K", - - - 二手车市场纳税人识别号
"usedCarAddress": "深圳市南山区***区", - - - 二手车市场地址
"usedCarbank": "中国建设***0000583", - - 二手车市场开户银行及账号
"usedCarPhone": "07***973", - - - 二手车市场电话
"remarks": "", - - - 备注
"drawerName": "", - - - 开票人
"state": "", - - - 发票状态
"auctionAddress": "", - - - 经营,拍卖单位地址
"auctionName": "", - - - 经营,拍卖单位名称
"auctionPhone": "", - - - 经营,拍卖单位电话
"auctionTaxNo": "", - - - 经营,拍卖单位纳税人识别号
"auctionbank": "", - - - 经营,拍卖单位开户银行及账号
"redSeal": "1", - - - 红章,1代表有红章,0无红章
"invoiceForm": "", - - - 发票联
"invoiceFormNum": "", - - - 发票联次
"oilMark": "", - - - 成品油标志,0非成品油标志,1成品油发票
"invTaxSign": "", - - - 代开标志,1代表自开,2代开
"tollSign": "", - - - 通行费标志,0非通行费标志,1通行费标志
"kind": "其他" - - - 消费类型
},
"region": [0, 0, 3660, 2716], - - -发票裁剪坐标
"regionFourPoint": [4, 1, 1396, 1, 1396, 804, 4, 804], - - - 四点坐标
"regionFourPointOri": [4, 1, 1396, 1, 1396, 804, 4, 804], - - - 旋转后四点坐标
"imgOrgsize": [804,1306], - - - 识别图像尺寸
"dataCode":10008, - - - 状态码
"qrLists": { - - - 二维码信息
"qrInfo": ""
},
"cutUrlImage":"/9j/4AAQSkZJRgABAgAA..." - - - 裁剪图片base64
}],
"msg": "调用完成"
}
(10) 火车票
{
"code": 0,
"data": [{
"orientation": 0,
"dataMsg": "此票暂不支持查验",
"coord": {
"numberCoord": [1015, 836, 1637, 852, 1631, 997, 1009, 981],
"trainNumberCoord": [2024, 995, 2515, 996, 2516, 1169, 2025, 1161],
"billingDateCoord": [1017, 1245, 2363, 1282, 2360, 1418, 1015, 1382],
"fromCoord": [1135, 948, 1859, 972, 1853, 1153, 1129, 1126],
"carriageNumberCoord": [2624, 1277, 3178, 1298, 3172, 1446, 2618, 1428],
"userCardNoCoord": [985, 1829, 2635, 1868, 2636, 2022, 985, 1989],
"salestationCoord": [977, 2330, 2657, 2375, 2655, 2509, 974, 2464],
"nameCoord": [1724, 797, 2489, 814, 2484, 967, 1719, 949],
"seatCoord": [2821, 1428, 3172, 1437, 3167, 1580, 2816, 1571],
"toCoord": [2676, 994, 3393, 1014, 3390, 1195, 2673, 1174],
"amountTaxCoord": [1030, 1402, 1488, 1416, 1483, 1550, 1024, 1536],
"billingTimeCoord": [1017, 1245, 2363, 1282, 2360, 1418, 1015, 1382]
},
"flag": 0,
"code": 0, - - - 识别成功
"invoice": {
"number": "X0***47", - - - 编号
"trainNumber": "G***", - - - 车次
"from": "深***", - - - 始发站
"to": "惠***站", - - - 终点站
"amountTax": "20.0", - - - 票面金额
"billingDate": "2019-06-06", - - - 乘车日期
"billingTime": "08:08", - - - 乘车时间
"carriageNumber": "0***D号", - - - 座位号
"seat": "二等座", - - - 座位类型
"name": "***", - - - 乘客姓名
"userCardNo": "420922****1418", - - - 证件号码
"salestation": "深圳北售", - - - 发售车站
"serialNumber": "5373***089257", - - - 序列号
"ticketCheck": "4", - - - 检票口
"remark": "", - - - 备注
"kind": "交通", - - - 消费类型
"invoiceType": 20 - - - 发票类型
},
"region": [29, 47, 3005, 1915], - - - 裁剪图片坐标
"regionFourPoint": [4, 1, 1396, 1, 1396, 804, 4, 804], - - - 四点坐标
"regionFourPointOri": [4, 1, 1396, 1, 1396, 804, 4, 804], - - - 旋转后四点坐标
"imgOrgsize": [804,1306], - - - 识别图像尺寸
"dataCode": -10007, - - - 状态码
"cutUrlImage":"/9j/4AAQSkZJRgABAgAA..." - - - 裁剪图片base64
}],
"msg": "调用完成"
}
(11) 区块链发票
{
"code": 0,
"data": [{
"orientation": 0,
"dataMsg": "未调用发票核验",
"coord": {
"billingDateCoord": [-1, -1, -1, -1, -1, -1, -1, -1],
"amountTaxOCRCoord": [-1, -1, -1, -1, -1, -1, -1, -1],
"salesTaxNoCoord": [-1, -1, -1, -1, -1, -1, -1, -1],
"checkCodeCoord": [-1, -1, -1, -1, -1, -1, -1, -1],
"recheckNameCoord": [-1, -1, -1, -1, -1, -1, -1, -1],
"totalAmountCoord": [-1, -1, -1, -1, -1, -1, -1, -1],
"qrListsCoord": [-1, -1, -1, -1, -1, -1, -1, -1],
"passwordFieldCoord": [-1, -1, -1, -1, -1, -1, -1, -1],
"salesNameCoord": [-1, -1, -1, -1, -1, -1, -1, -1],
"priInvoiceNumberCoord": [-1, -1, -1, -1, -1, -1, -1, -1],
"invoiceListsCoord": [-1, -1, -1, -1, -1, -1, -1, -1],
"salesAddressPhoneCoord": [-1, -1, -1, -1, -1, -1, -1, -1],
"aftInvoiceNumberCoord": [-1, -1, -1, -1, -1, -1, -1, -1],
"taxCoord": [-1, -1, -1, -1, -1, -1, -1, -1],
"salesBankAndNoCoord": [-1, -1, -1, -1, -1, -1, -1, -1],
"remarksCoord": [-1, -1, -1, -1, -1, -1, -1, -1],
"purchaserNameCoord": [-1, -1, -1, -1, -1, -1, -1, -1],
"drawerNameCoord": [-1, -1, -1, -1, -1, -1, -1, -1],
"amountOCRCoord": [-1, -1, -1, -1, -1, -1, -1, -1],
"amountTaxCNCoord": [-1, -1, -1, -1, -1, -1, -1, -1],
"receiverNameCoord": [-1, -1, -1, -1, -1, -1, -1, -1],
"aftInvoiceCodeCoord": [-1, -1, -1, -1, -1, -1, -1, -1],
"purchaserTaxNoCoord": [-1, -1, -1, -1, -1, -1, -1, -1],
"priInvoiceCodeCoord": [-1, -1, -1, -1, -1, -1, -1, -1],
"amountTaxCoord": [-1, -1, -1, -1, -1, -1, -1, -1],
"invoiceNumberCoord": [-1, -1, -1, -1, -1, -1, -1, -1],
"invoiceCodeCoord": [-1, -1, -1, -1, -1, -1, -1, -1]
},
"flag": 0,
"code": 0, - - - 识别成功
"invoice": {
"administrativeDivisionName": "", - - - 所属行政区名称
"title": "深圳电子普通发票" - - - 发票标题
"invoiceCode": "14***110", - - - 发票代码
"invoiceNumber": "0***73", - - - 发票号码
"billingDate": "2019-08-28", - - - 开票日期
"billingDateocr": "2019-08-28", - - - 开票时间OCR
"totalAmount": "9.63", - - - 不含税金额
"checkCode": "078c2", - - - 校验码
"amountTax": "10.50", - - - 票面金额
"amountTaxCN": "壹拾元伍角", - - - 票面金额(大写)
"totalAmountocr": "9.63", - - - 不含税金额ocr
"amountTaxocr": "10.50", - - - 票面金额ocr
"priInvoiceCode": "1***110", - - - 印刷发票代码
"priInvoiceNumber": "07***3", - - - 印刷发票号码
"aftInvoiceCode": "14***10", - - - 打印发票代码
"aftInvoiceNumber": "07***73", - - - 打印发票号码
"purchaserName": "壬***有限公司", - - - 购方名称
"purchaserTaxNo": "9144***J680G", - - - 购方税号
"purchaserAddressPhone": "", - - - 购方地址电话
"purchaserBank": "", - - - 购方开户行账户
"salesName": "深圳市***有限公司", - - - 销方名称
"salesTaxNo": "9144***03X", - - - 销方税号
"salesAddressPhone": "深圳市***3566", - - - 销方地址及电话
"salesBankAndNo": "中国银行***3917", - - - 销方开户行及账户
"passwordField": "00589***b571078c2", - - - 密码区
"totalTax": "0.87", - - - 合计税额
"machineCode": "", - - - 机器编码
"remarks": "车号:***800", - - - 备注
"receiverName": "***00", - - - 收款人
"recheckName": "***800", - - - 复核人
"drawerName": "***800", - - - 开票人
"invoiceForm": "", - - - 发票联
"invoiceFormNum": "", - - - 发票联数
"travelTax": "", - - - 车船税
"redSeal": "", - - - 红章,1表示有,0表示无
"oilMark": "", - - - 成品油标志,0非成品油标志,1成品油发票
"invTaxSign": "", - - - 代开标志,1自开,2代开
"tollSign": "0", - - - 通行费标志,0 非通行费标志,1 通行费标志
"sealMark": "1", - - - 销售方(章)标记
"kind": "其他", - - - 消费类型
"invoiceLists": [{
"commodityName": "*运输服务*出租汽车客运服务", - - - 货物或应税劳务名称
"specificationModel": "", - - - 规格型号
"unit": "", - - - 单位
"quantity": "1", - - - 数量
"unitPrice": "9.63", - - - 单价
"amount": "9.63", - - - 金额
"taxRate": "0.09", - - - 税率
"tax": "0.87", - - - 税额
"taxPercentage": "9%" - - - 税率百分比
}],
"invoiceType": 21 - - - 发票类型
},
"region": [], - - - 裁剪图片坐标
"regionFourPoint": [4, 1, 1396, 1, 1396, 804, 4, 804], - - - 四点坐标
"regionFourPointOri": [4, 1, 1396, 1, 1396, 804, 4, 804], - - - 旋转后四点坐标
"imgOrgsize": [804,1306], - - - 识别图像尺寸
"dataCode": -10001, - - - 状态码
"qrLists": {
"billingDate": "", - - - 发票日期
"totalAmount": "", - - - 不含税金额
"qrInfo": "https://bcfp.shenzhen.chinatax.gov.cn/verify/scan?hash=00589beda25c167eab1ed***dd02260120b52c62af6e52ccda94079b571078c2&bill_num=0***tal_amount=1050",
"invoiceNumber": "", - - - 发票号码
"salesTaxNo": "", - - - 销方号码
"invoiceCode": "", - - - 发票代码
"checkCode": "" - - - 校验码
},
"cutUrlImage":"/9j/4AAQSkZJRgABAgAA..." - - - 裁剪图片base64
}],
"msg": "调用完成"
}
(12) 船票
{
"code": 0,
"data": [{
"orientation": 0,
"dataMsg": "此票暂不支持查验",
"coord": {
"billingDateCoord": [36, 288, 320, 290, 319, 322, 35, 320],
"amountTaxCoord": [488, 517, 630, 517, 630, 546, 488, 546],
"qrListsCoord": [701, 304, 701, 453, 551, 453, 551, 304]
},
"flag": 0,
"code": 0, - - - 识别成功
"invoice": {
"invoiceCode": "15***61", - - - 发票代码
"invoiceNumber": "2019-06-30", - - - 发票号码
"billingDate": "2019-06-30", - - - 开票日期
"amountTax": "125.00", - - - 票面金额
"billingTime": "2019-06-30", - - - 开票时间
"from": "2019-06-30", - - - 出发地
"to": "2019-06-30", - - - 到达地
"name": "", - - - 乘客姓名
"userCardNo": "", - - - 身份证号
"province": "2019-06-30", - - - 省份
"city": "125.00", - - - 城市
"currencyCode": "", - - - 币种
"title": "海九***有限公司船票" - - - 发票标题
"kind": "其他", - - - 消费类型
"invoiceType": 22 - - - 发票类型
},
"region": [0, 0, 1104, 880], - - - 裁剪图片坐标
"regionFourPoint": [4, 1, 1396, 1, 1396, 804, 4, 804], - - - 四点坐标
"regionFourPointOri": [4, 1, 1396, 1, 1396, 804, 4, 804], - - - 旋转后四点坐标
"imgOrgsize": [804,1306], - - - 识别图像尺寸
"dataCode": -10007, - - - 状态码
"qrLists": { - - - 二维码信息
"qrInfo": ""
},
"cutUrlImage":"/9j/4AAQSkZJRgABAgAA..." - - - 裁剪图片base64
}],
"msg": "调用完成"
}
(13) 定额发票
{
"code": 0,
"data": [{
"orientation": 0,
"dataMsg": "此票暂不支持查验",
"coord": {
"amountTaxCoord": [483, 548, 855, 541, 857, 626, 484, 631],
"invoiceNumberCoord": [282, 420, 735, 420, 735, 470, 282, 470],
"invoiceCodeCoord": [280, 330, 867, 325, 868, 377, 282, 382]
},
"flag": 0,
"code": 0, - - - 识别成功
"invoice": {
"province": "江苏省", - - - 省份
"city": "", - - - 城市
"invoiceCode": "132***23", - - - 发票代码
"invoiceNumber": "13***33", - - - 发票号码
"amountTax": "365.33", - - - 票面金额
"amountTaxCN": "叁佰陆拾伍圆叁角叁分", - - - 票面金额(大写)
"kind": "其他", - - - 消费类型
"title": "北京市国家税务局通用定额发票", - - - 发票标题
"redSeal": "1", - - - 红章,1代表有红章,0无红章
"invoiceType": 23 - - - 发票类型
},
"region": [0, 0, 1299, 813], - - - 裁剪图片坐标
"regionFourPoint": [4, 1, 1396, 1, 1396, 804, 4, 804], - - - 四点坐标
"regionFourPointOri": [4, 1, 1396, 1, 1396, 804, 4, 804], - - - 旋转后四点坐标
"imgOrgsize": [804,1306], - - - 识别图像尺寸
"dataCode": -10007, - - - 状态码
"cutUrlImage":"/9j/4AAQSkZJRgABAgAA..." - - - 裁剪图片base64
}],
"msg": "调用完成"
}
(14) 通用机打票
{
"code": 0,
"data": [{
"orientation": 0,
"dataMsg": "此票暂不支持查验",
"coord": {
"billingDateCoord": [378, 598, 753, 581, 756, 639, 381, 655],
"purchaserNameCoord": [206, 682, 770, 657, 773, 714, 209, 739],
"remarksCoord": [1177, 1101, 1372, 1092, 1373, 1149, 1180, 1157],
"drawerNameCoord": [1533, 1368, 1864, 1347, 1869, 1408, 1539, 1426],
"salesTaxNoCoord": [593, 1419, 1440, 1373, 1446, 1437, 598, 1479],
"amountTaxCNCoord": [690, 1040, 1355, 1017, 1355, 1080, 690, 1103],
"categoryCoord": [1519, 572, 1860, 567, 1860, 624, 1519, 630],
"purchaserTaxNoCoord": [1696, 648, 2462, 632, 2462, 687, 1694, 705],
"amountTaxCoord": [1451, 1018, 1759, 1005, 1762, 1063, 1454, 1076],
"invoiceNumberCoord": [1674, 515, 2251, 505, 2249, 575, 1673, 586],
"qrListsCoord": [-1, -1, -1, -1, -1, -1, -1, -1],
"invoiceCodeCoord": [1666, 417, 2404, 406, 2403, 473, 1666, 485],
"salesNameCoord": [780, 1335, 1689, 1284, 1694, 1344, 786, 1395]
},
"flag": 0,
"code": 0, - - - 识别成功
"invoice": {
"title": "青岛市国家税务局通用机打发票", - - - 发票标题
"category": "经济型连锁酒店", - - - 种类
"province": "云南省", - - - 省份
"city": "", - - - 城市
"invoiceCode": "15***01", - - - 发票代码
"invoiceNumber": "05***26", - - - 发票号码
"billingDate": "2019-09-14", - - - 开票日期
"billingTime": "", - - - 开票时间
"checkCode": "", - - - 校验码
"totalAmount": "", - - - 不含税金额
"amountTax": "8000.00", - - - 票面金额
"amountTaxCN": "捌仟元整", - - - 票面金额(大写)
"totalTax": "", - - - 合计税额
"purchaserName": "深圳***", - - - 购方名称
"purchaserTaxNo": "9144***0", - - - 购方税号
"purchaserAddressPhone": "***", - - - 购方地址电话
"purchaserBank": "***", - - - 购方开户行账号
"purchaserAddress": "天津市***宝", - - - 购方地址
"purchaserPhone": "010-***", - - - 购方电话
"salesName": "澄江***酒店", - - - 销方名称
"salesAddress": "天津***", - - - 销方地址
"salesAddressPhone": "天津***", - - - 销方地址、电话
"salesBankAndNo": "***", - - - 销方开户行账号
"salesTaxNo": "925***AK8G", - - - 销方税号
"salesBank": "建设银行", - - - 销方银行名称
"salesPhone": "", - - - 销方电话
"remarks": "", - - - 备注
"receiverName": "管理员", - - - 收款人
"recheckName": "管理员", - - - 复核人
"drawerName": "管理员", - - - 开票人
"redSeal": "", - - - 红章,0无红章,1有红章
"sealMark": "1", - - 销售方(章)标志,0无,1 有
"oilMark": "0", - - - 成品油标志,0 非成品油标志,1 成品油发票
"invTaxSign": "1", - - - 代开标志,1 自开,2 代开
"tollSign": "1", - - - 通行费标志,0 非通行费标志,1 通行费标志
"kind": "其他", - - - 消费类型
"invoiceLists": [{ - - - 明细列表
"commodityName": "*餐饮服务*餐费", - - - 项目名称
"specificationModel": "", - - - 规格型号
"unit": "", - - - 单位
"quantity": "", - - - 数量
"unitPrice": "", - - - 单价
"amount": "386.14", - - - 金额
"taxRate": "0.01", - - - 税率
"tax": "3.86" - - - 税额
}],
"invoiceType": 24 - - - 发票类型
},
"region": [13, 22, 2558, 1568], - - - 裁剪图片坐标
"regionFourPoint": [4, 1, 1396, 1, 1396, 804, 4, 804], - - - 四点坐标
"regionFourPointOri": [4, 1, 1396, 1, 1396, 804, 4, 804], - - - 旋转后四点坐标
"imgOrgsize": [804,1306], - - - 识别图像尺寸
"dataCode": -10007, - - - 状态码
"qrLists": { - - - 二维码信息
"qrInfo": ""
},
"cutUrlImage":"/9j/4AAQSkZJRgABAgAA..." - - - 裁剪图片base64
}],
"msg": "调用完成"
}
(15) 出租车发票
{
"code": 0,
"data": [{
"orientation": 0,
"dataMsg": "此票暂不支持查验",
"coord": {
"timeGetoffCoord": [545, 1339, 667, 1333, 670, 1383, 549, 1385],
"timeGetonCoord": [544, 1269, 670, 1266, 670, 1317, 547, 1318],
"mileageCoord": [497, 1472, 666, 1461, 670, 1510, 500, 1521],
"billingDateCoord": [392, 1207, 673, 1200, 673, 1252, 392, 1259],
"amountTaxCoord": [476, 1603, 662, 1591, 663, 1635, 483, 1650],
"invoiceNumberCoord": [96, 576, 689, 597, 688, 660, 94, 638],
"invoiceCodeCoord": [100, 499, 711, 527, 709, 580, 97, 553]
},
"flag": 0,
"code": 0, - - - 识别成功
"invoice": {
"administrativeDivisionName": "广东省", - - - 所属行政区名称
"title": "北京市出租汽车专用发票", - - - 发票标题
"province": "广东省", - - - 省份
"city": "深圳市", - - - 城市
"invoiceCode": "1440***9", - - - 发票代码
"invoiceNumber": "75***9", - - - 发票号码
"billingDate": "2019-03-30", - - - 开票日期
"amountTax": "34.00", - - - 票面金额
"fare": "34.00", - - - 车费
"timeGeton": "19:47", - - - 上车时间
"timeGetoff": "20:06", - - - 下车时间
"mileage": "9.72", - - - 里程
"invoiceType": 25 - - - 发票类型
"licensePlate": "", - - - 车牌号
"fuelSurcharge": "1.00", - - - 燃油附加费
"otherSurcharge": "1.00", - - - 另收附加费
"otherCallcharge": "1.00", - - - 另收电召费
"kind": "其他" - - - 消费类型
},
"region": [0, 0, 719, 1858], - - - 裁剪图片坐标
"regionFourPoint": [4, 1, 1396, 1, 1396, 804, 4, 804], - - - 四点坐标
"regionFourPointOri": [4, 1, 1396, 1, 1396, 804, 4, 804], - - - 旋转后四点坐标
"imgOrgsize": [804,1306], - - - 识别图像尺寸
"dataCode": -10007, - - - 状态码
"cutUrlImage":"/9j/4AAQSkZJRgABAgAA..." - - - 裁剪图片base64
}],
"msg": "调用完成"
}
(16) 客运汽车票
{
"code": 0,
"data": [{
"orientation": 0,
"dataMsg": "此票暂不支持查验",
"coord": {
"billingDateCoord": [68, 299, 273, 298, 274, 321, 69, 321],
"amountTaxCoord": [312, 218, 352, 218, 352, 239, 312, 239]
},
"flag": 0,
"code": 0, - - - 识别成功
"invoice": {
"invoiceCode": "15***61", - - - 发票代码
"invoiceNumber": "516***61", - - - 发票号码
"billingDate": "2019-10-23", - - - 开票日期
"billingTime": "", - - - 开票时间
"amountTax": "140.00", - - - 票面金额
"from": "北京", - - - 出发地
"to": "东莞", - - - 到达地
"name": "***", - - - 乘客姓名
"userCardNo": "4215***16", - - - 乘客身份证号
"busInsurance":"20", - - - 汽车保险费
"trainNumber":"", - - - 车次
"administrativeDivisionName":"黑龙江省", - - - 所属行政地区
"title":"***", - - - 发票标题
"kind": "其他", - - - 消费类型
"invoiceType": 26 - - - 发票类型
},
"region": [0, 0, 1484, 717], - - - 裁剪图片坐标
"regionFourPoint": [4, 1, 1396, 1, 1396, 804, 4, 804], - - - 四点坐标
"regionFourPointOri": [4, 1, 1396, 1, 1396, 804, 4, 804], - - - 旋转后四点坐标
"imgOrgsize": [804,1306], - - - 识别图像尺寸
"dataCode": -10007, - - - 状态码
"cutUrlImage":"/9j/4AAQSkZJRgABAgAA..." - - - 裁剪图片base64
}],
"msg": "调用完成"
}
(17) 航空运输电子客票行程单
{
"code": 0,
"data": [{
"orientation": 0,
"dataMsg": "未调用发票核验",
"coord": {
"userCardNoCoord": [676, 248, 1229, 248, 1229, 291, 676, 291],
"caacDevelopmentFundCoord": [1035, 848, 1213, 848, 1213, 891, 1035, 891],
"nameCoord": [206, 219, 413, 219, 413, 294, 206, 294],
"billingDateCoord": [2032, 996, 2341, 996, 2341, 1038, 2032, 1038],
"fuelSurchargeCoord": [1368, 848, 1555, 848, 1555, 887, 1368, 887],
"flightsCoord": [
[
[229, 415, 348, 415, 348, 498, 229, 498],
[236, 517, 348, 517, 348, 595, 236, 595],
[1038, 449, 1074, 449, 1074, 490, 1038, 490],
[1097, 449, 1407, 449, 1407, 490, 1097, 490],
[1430, 449, 1588, 449, 1588, 490, 1430, 490],
[],
[650, 425, 1012, 432, 1012, 490, 650, 490]
]
],
"amountTaxCoord": [2032, 848, 2219, 848, 2219, 887, 2032, 887],
"eticketNumberCoord": [285, 898, 684, 898, 684, 940, 285, 940],
"totalAmountCoord": [-1, -1, -1, -1, -1, -1, -1, -1],
"qrListsCoord": [-1, -1, -1, -1, -1, -1, -1, -1],
"printNumberCoord": [1923, 134, 2442, 131, 2446, 176, 1926, 183]
},
"code": 0, - - - 识别成功
"invoice": {
"invoiceType": 27, - - - 发票类型
"title": "航空运输电子客票行程单", - - - 发票标题
"printNumber": "848***4", - - - 印刷序号
"name": "陈***", - - - 乘客姓名
"userCardNo": "320***18", - - - 乘客证件号码
"endorsement": "BUDEQIA***GTUIPIAOE", - - - 签注
"fare": "780.00", - - - 票价
"caacDevelopmentFund": "50", - - - 民航发展基金
"fuelSurcharge": "0.0", - - - 燃油附加费
"taxFee": "0.0", - - - 其他税费
"amountTax": "780.00", - - - 合计金额
"totalAmount": "", - - - 合计金额(不含税)
"eticketNumber": "999***719", - - - 电子客票号码
"checkCode": "", - - - 校验码
"insurance": "", - - - 保险费
"agentcode": "", - - - 销售单位代号
"issueBy": "", - - - 填开单位
"billingDate": "2017-10-07", - - - 开票日期
"internationalFlag": "国内", - - - 国内国际标签
"kind": "其他", - - - 消费类型
"flights": [{ - - - 航班信息
"from": "杭州", - - - 出发地
"to": "贵阳", - - - 到达地
"seat": "Y", - - - 座位类型
"date": "2017-10-03", - - - 日期
"time": "09:30", - - - 时间
"carrier": "", - - - 承运人
"flightNumber": "CA749", - - - 航班号
"fareBasis": "ZCPOWNNP-YHQ", - - - 客票级别
"notValidBefore": "", - - - 客票生效日期
"notValidAfter": "", - - - 有效截至日期
"allow": "20K", - - - 免费行李标记
"binlevel": "经济舱" - - - 舱位等级
}]
},
"region": [0, 1, 2631, 1197], - - - 裁剪图片坐标
"regionFourPoint": [4, 1, 1396, 1, 1396, 804, 4, 804], - - - 四点坐标
"regionFourPointOri": [4, 1, 1396, 1, 1396, 804, 4, 804], - - - 旋转后四点坐标
"imgOrgsize": [804,1306], - - - 识别图像尺寸
"dataCode": -10001, - - - 状态码
"qrLists": { - - - 二维码信息
"printNumber": "",
"qrInfo": ""
},
"cutUrlImage":"/9j/4AAQSkZJRgABAgAA..." - - - 裁剪图片base64
}],
"msg": "调用完成"
}
(18) 过路费发票
{
"code": 0,
"data": [{
"orientation": 0,
"dataMsg": "此票暂不支持查验",
"coord": {
"billingDateCoord": [787, 2130, 1263, 2131, 1269, 2231, 792, 2230],
"amountTaxCoord": [771, 2522, 1029, 2535, 1022, 2640, 762, 2632],
"invoiceNumberCoord": [1066, 1358, 1737, 1370, 1733, 1494, 1062, 1482],
"invoiceCodeCoord": [998, 1173, 2029, 1180, 2033, 1312, 1000, 1308]
},
"flag": 0,
"code": 0, - - - 识别成功
"invoice": {
"administrativeDivisionName": "广西壮族自治区", - - - 所属行政区名称
"invoiceType": 28, - - - 发票类型
"invoiceCode": "14***201", - - - 发票代码
"invoiceNumber": "28***15", - - - 发票号码
"billingDate": "2019-11-28", - - - 开票日期
"billingTime": "19:22:12", - - - 开票时间
"amountTax": "35.00", - - - 票面金额
"from": "", - - - 入口
"to": "", - - - 出口
"highwayFlag": "1" - - - 高速标志
"kind": "其他", - - - 消费类型
"title": "四州通用机打发票" - - - 发票标题
},
"region": [18, 14, 2635, 3253], - - - 裁剪图片坐标
"regionFourPoint": [4, 1, 1396, 1, 1396, 804, 4, 804], - - - 四点坐标
"regionFourPointOri": [4, 1, 1396, 1, 1396, 804, 4, 804], - - - 旋转后四点坐标
"imgOrgsize": [804,1306], - - - 识别图像尺寸
"dataCode": -10001, - - - 状态码
"cutUrlImage":"/9j/4AAQSkZJRgABAgAA..." - - - 裁剪图片base64
}],
"msg": "调用完成"
}
(19) 滴滴出行行程单
{
"code": 0,
"data": [{
"orientation": 0,
"dataMsg": "此票暂不支持查验",
"coord": {
"billingDateCoord": [787, 2130, 1263, 2131, 1269, 2231, 792, 2230],
"amountTaxCoord": [771, 2522, 1029, 2535, 1022, 2640, 762, 2632],
"invoiceNumberCoord": [1066, 1358, 1737, 1370, 1733, 1494, 1062, 1482],
"invoiceCodeCoord": [998, 1173, 2029, 1180, 2033, 1312, 1000, 1308]
},
"flag": 0,
"code": 0, - - - 识别成功
"invoice": {
"invoiceType": 28, - - - 发票类型
"dateStart": "35.00", - - - 行程开始时间
"dateEnd": "35.00", - - - 行程结束时间
"amountTax": "35.00", - - - 票面金额
"billingDate": "2019-11-28", - - - 开票日期
"phone": "13***28", - - - 行程人手机号
"provider": "***", - - - 服务商
"title": "滴滴行程单", - - - 发票标题
"kind": "其他", - - - 消费类型
"invoiceLists": [{ - - - 明细列表
"carType": "快车", - - - 车型
"timeGeton": "2019-11-28", - - - 上车时间
"city": "北京市", - - - 城市
"from": "四惠", - - - 出发地
"to": "西单", - - - 到达地
"mileage": ,"84" - - - 里程
"amount": "30.35" - - - 金额(元)
}]
},
"region": [18, 14, 2635, 3253], - - - 裁剪图片坐标
"regionFourPoint": [4, 1, 1396, 1, 1396, 804, 4, 804], - - - 四点坐标
"regionFourPointOri": [4, 1, 1396, 1, 1396, 804, 4, 804], - - - 旋转后四点坐标
"imgOrgsize": [804,1306], - - - 识别图像尺寸
"dataCode": -10001, - - - 状态码
"cutUrlImage":"/9j/4AAQSkZJRgABAgAA..." - - - 裁剪图片base64
}],
"msg": "调用完成"
}
(20) 销货清单
{
"code": 0,
"data": [
{
"orientation": 0,
"dataMsg": "此票暂不支持查验",
"coord":{
"titleCoord":[398,122,1413,125,1413,188,398,185],
"billingDateCoord":[1353,1923,1535,1924,1535,1959,1353,1958],
"purchaserNameCoord":[340,254,710,253,710,289,339,290],
"invoiceNumberCoord":[138,377,954,380,954,421,138,418],
"invoiceCodeCoord":[138,377,954,380,954,421,138,418],
"salesNameCoord":[341,322,768,324,768,352,341,350]
}
"flag": 0,
"code": 0, - - - 识别成功
"imgOrgsize": [2191,1781],
"regionFourPointOri": [37,7,1757,7,1757,2172,37,2172],
"invoice": {
"invoiceType": 33, - - - 发票类型
"invoiceCode": "31***30", - - - 发票代码
"invoiceNumber": "6***12", - - - 发票号码
"billingDate": "2018-09-30", - - - 开票日期
"purchaserName": "南京***有限公司", - - - 购方名称
"salesName": "英迈***有限公司", - - - 销方名称
"kind": "其他", - - - 消费类型
"title": "销售货物或者提供应税劳务、服务清单" - - - 发票标题
},
"region": [37,7,1757,2172],
"dataCode": -10007, - - - 状态码
"regionFourPoint": [37,7,1757,7,1757,2172,37,2172],
"cutUrlImage":"/9j/4AAQSkZJRgABAgAA..." - - - 裁剪图片base64
}
],
"msg": "调用完成"
}
(21) 财政电子票据
{
"code": 0,
"data": [{
"orientation": 0,
"dataMsg": "此票暂不支持查验",
"coord": {
"invoiceListsCoord": [-1, -1, -1, -1, -1, -1, -1, -1],
"billingDateCoord": [-1, -1, -1, -1, -1, -1, -1, -1],
"purchaserNameCoord": [-1, -1, -1, -1, -1, -1, -1, -1],
"reuniteNameCoord": [-1, -1, -1, -1, -1, -1, -1, -1],
"administrativeDivisionNameCoord": [-1, -1, -1, -1, -1, -1, -1, -1],
"amountTaxCNCoord": [-1, -1, -1, -1, -1, -1, -1, -1],
"receiverNameCoord": [-1, -1, -1, -1, -1, -1, -1, -1],
"checkCodeCoord": [-1, -1, -1, -1, -1, -1, -1, -1],
"purchaserTaxNoCoord": [-1, -1, -1, -1, -1, -1, -1, -1],
"amountTaxCoord": [-1, -1, -1, -1, -1, -1, -1, -1],
"invoiceNumberCoord": [-1, -1, -1, -1, -1, -1, -1, -1],
"qrListsCoord": [-1, -1, -1, -1, -1, -1, -1, -1],
"invoiceCodeCoord": [-1, -1, -1, -1, -1, -1, -1, -1],
"salesNameCoord": [-1, -1, -1, -1, -1, -1, -1, -1]
},
"flag": 0,
"code": 0, - - - 识别成功
"invoice": {
"title": "北京市非税收入统一票据(电子)", - - - 发票标题
"administrativeDivisionName": "北京市", - - - 所属行政区名称
"invoiceCode": "1***001", - - - 发票代码
"invoiceNumber": "00***49", - - - 发票号码
"billingDate": "2021-01-24", - - - 开票日期
"purchaserName": "北京***有限公司", - - - 购方名称
"purchaserTaxNo": "9111***90613D", - - - 购方税号
"checkCode": "b298fd", - - - 校验码
"amountTax": "21.75", - - - 票面金额
"amountTaxCN": "贰拾壹元柒角伍分", - - - 票面金额(大写)
"salesName": "北京市海淀***员会", - - - 销方名称
"recheckName": "", - - - 复核人
"kind": "其他", - - - 消费类型
"receiverName": "海淀区***会", - - - 收款人
"eleNontaxInvoice": "1", - - - 电子票标识 0纸票 1电子票
"invoiceLists": [{ - - - 明细列表
"commodityNo": "152***03", - - - 项目编码
"commodityName": "停车占道费" - - - 项目名称
"unit": "元", - - - 单位
"quantity": "1", - - - 数量
"unitPrice": "21.75", - - - 标准
"amount": "21.75" - - - 金额
}],
"invoiceType": 34 - - - 发票类型
},
"region": [0, 0, 569, 1300], - - - 裁剪图片坐标
"regionFourPoint": [4, 1, 1396, 1, 1396, 804, 4, 804], - - - 四点坐标
"regionFourPointOri": [4, 1, 1396, 1, 1396, 804, 4, 804], - - - 旋转后四点坐标
"imgOrgsize": [804,1306], - - - 识别图像尺寸
"dataCode": -10007, - - - 状态码
"qrLists": {
"billingDate": "",
"totalAmount": "",
"qrInfo": "",
"invoiceNumber": "",
"invoiceCode": "",
"checkCode": "b298fd"
},
"cutUrlImage":"/9j/4AAQSkZJRgABAgAA..." - - - 裁剪图片base64
}],
"msg": "调用完成"
}
(22) 海关专用缴款书
{
"code": 0,
"data": [{
"orientation": 0,
"dataMsg": "此票暂不支持查验",
"coord": {
"billingDateCoord": [787, 2130, 1263, 2131, 1269, 2231, 792, 2230],
"amountTaxCoord": [771, 2522, 1029, 2535, 1022, 2640, 762, 2632],
"invoiceNumberCoord": [1066, 1358, 1737, 1370, 1733, 1494, 1062, 1482],
"invoiceCodeCoord": [998, 1173, 2029, 1180, 2033, 1312, 1000, 1308]
},
"flag": 0,
"code": 0, - - - 识别成功
"invoice": {
"title": "进口增值税专用缴款书", - - - 发票标题
"administrativeDivisionName": "深圳", - - - 行政区域
"billingDate": "2019年5月14日", - - - 开票日期
"customsNo": "800***01", - - - 号码
"amountTax": "1200", - - - 票面金额
"amountTaxCN": "壹仟贰佰元", - - -票面金额(大写)
"revenueSys": "海关系统", - - - 收入系统
"revenueOrg": "中央金库", - - - 收入机关
"subject": "进口关税", - - - 科目
"budgetLevel": "中央", - - - 预算级次
"exchequer": "", - - - 收入国库
"corporateName": "天津***有限公司", - - - 缴款单位名称
"corporateAccountNo": "22308***001", - - - 交款单位账号
"corporateBank": "", - - - 交款单位开户银行
"corporateNo": "314***000", - - - 申请单位编号
"customsBillNo": "020***37781", - - - 报关单编号
"contractNo": "TFTM-15096", - - - 合同(批文)号
"transport": "", - - - 运输工具(号)
"endTime": "2021年3月22日前", - - - 缴款期限
"loadBillNo": "", - - - 提/装货单号
"fillingOrg": "***", - - - 填制单位
"producer": "", - - - 制单人
"reuniteName": "", - - - 复核人
"remarks": "", - - - 备注
"kind": "其他", - - - 消费类型
"invoiceLists": [{ - - - 明细列表
"dutyNo": "263***090", - - - 税号
"commodityName": "", - - - 货物名称
"quantity": "", - - - 数量
"unit": "", - - - 单位
"taxPaid": "577", - - - 完税价格
"taxRate": "0.06", - - - 税率
"tax": "", - - - 税额
"taxPercentage": "6%" - - - 税率百分比
}],
"invoiceType": 35 - - - 发票类型
},
"region": [18, 14, 2635, 3253], - - - 裁剪图片坐标
"regionFourPoint": [4, 1, 1396, 1, 1396, 804, 4, 804], - - - 四点坐标
"regionFourPointOri": [4, 1, 1396, 1, 1396, 804, 4, 804], - - - 旋转后四点坐标
"imgOrgsize": [804,1306], - - - 识别图像尺寸
"dataCode": -10007, - - - 状态码
"cutUrlImage":"/9j/4AAQSkZJRgABAgAA..." - - - 裁剪图片base64
}],
"msg": "调用完成"
}
(23) 通用电子发票
{
"code": 0,
"data": [{
"orientation": 0,
"dataMsg": "此票暂不支持查验",
"coord": {
"billingDateCoord": [593, 105, 721, 105, 721, 117, 593, 117],
"invTaxSignCoord": [-1, -1, -1, -1, -1, -1, -1, -1],
"amountTaxOCRCoord": [626, 397, 658, 397, 658, 408, 626, 408],
"salesTaxNoCoord": [191, 428, 300, 430, 299, 442, 190, 441],
"oilMarkCoord": [-1, -1, -1, -1, -1, -1, -1, -1],
"checkCodeCoord": [462, 162, 612, 162, 611, 175, 462, 174],
"qrListsCoord": [-1, -1, -1, -1, -1, -1, -1, -1],
"passwordFieldCoord": [-1, -1, -1, -1, -1, -1, -1, -1],
"redSealCoord": [574, 437, 715, 437, 715, 529, 574, 529],
"tollSignCoord": [-1, -1, -1, -1, -1, -1, -1, -1],
"salesNameCoord": [191, 411, 328, 411, 328, 425, 191, 425],
"priInvoiceNumberCoord": [593, 88, 689, 88, 689, 101, 593, 101],
"salesAddressPhoneCoord": [97, 451, 176, 451, 176, 465, 97, 465],
"invoiceListsCoord": [
[59, 213, 148, 213, 148, 226, 59, 226],
[464, 215, 483, 215, 483, 226, 464, 226],
[],
[564, 216, 585, 216, 585, 227, 564, 227],
[],
[692, 217, 722, 217, 722, 228, 692, 228],
[],
[]
],
"aftInvoiceNumberCoord": [593, 88, 689, 88, 689, 101, 593, 101],
"taxCoord": [-1, -1, -1, -1, -1, -1, -1, -1],
"purchaserNameCoord": [193, 122, 365, 125, 364, 139, 192, 137],
"remarksCoord": [595, 397, 674, 397, 674, 470, 595, 470],
"amountOCRCoord": [601, 379, 622, 379, 622, 391, 601, 391],
"amountTaxCNCoord": [224, 394, 271, 394, 271, 406, 224, 406],
"aftInvoiceCodeCoord": [593, 73, 707, 73, 707, 84, 593, 84],
"purchaserTaxNoCoord": [192, 141, 289, 143, 288, 155, 191, 154],
"priInvoiceCodeCoord": [593, 73, 707, 73, 707, 84, 593, 84],
"amountTaxCoord": [601, 379, 622, 379, 622, 391, 601, 391],
"invoiceNumberCoord": [593, 88, 689, 88, 689, 101, 593, 101],
"invoiceCodeCoord": [593, 73, 707, 73, 707, 84, 593, 84]
},
"flag": 0,
"code": 0, - - - 识别成功
"invoice": { - - - OCR识别数据
"administrativeDivisionName": "", - - - 所属行政区名称
"invoiceType": 36, - - - 发票类型
"invoiceCode": "23***111", - - - 发票代码
"invoiceNumber": "51***66", - - - 发票号码
"billingDate": "2021-07-31", - - - 开票日期
"totalAmount": "", - - - 不含税金额
"checkCode": "0000***91135", - - - 校验码
"purchaserName": "上海***有限公司", - - - 购方名称
"purchaserTaxNo": "9131***4199F", - - - 购方税号
"purchaserAddressPhone": "", - - - 购方地址与电话
"purchaserBank": "", - - - 购方开户行与账户
"salesName": "桐乡市***厅", - - - 销方名称
"salesTaxNo": "923***08K5Y", - - - 销方税号
"salesAddressPhone": "浙江省嘉兴***-", - - - 销方地址及电话号
"salesBankAndNo": "", - - - 销方开户行与账户
"totalTax": "", - - - 合计税额
"amountTax": "200.00", - - - 票面金额
"amountTaxCN": "贰佰元整", - - - 票面金额(大写)
"remarks": "200", - - - 备注
"receiverName": "***", - - - 收款人
"recheckName": "***", - - - 复核人
"drawerName": "***", - - - 开票人
"sealMark": "1", - - 销售方(章)标志,0无,1 有
"collectionUser": "", - - - 取票用户
"payInfo": "", - - - 支付信息
"merchantNo": "80a18***aa1f16", - - - 商户号
"orderNo": "20220***52834e5", - - - 订单号
"title": "浙江通用(电子)发票", - - - 发票标题
"kind": "其他", - - - 消费类型
"invoiceLists": [{ - - - 明细列表
"commodityName": "*餐饮服务*餐饮费", - - - 货物或应税劳务名称
"specificationModel": "001", - - - 规格型号
"unit": "", - - - 单位
"quantity": "198", - - - 数量
"unitPrice": "", - - - 单价
"amount": "198.02", - - - 金额
"taxRate": "*", - - - 税率
"tax": "*" - - - 税额
}]
},
"region": [0, 0, 569, 1300], - - - 裁剪图片坐标
"regionFourPoint": [4, 1, 1396, 1, 1396, 804, 4, 804], - - - 四点坐标
"regionFourPointOri": [4, 1, 1396, 1, 1396, 804, 4, 804], - - - 旋转后四点坐标
"imgOrgsize": [804,1306], - - - 识别图像尺寸
"dataCode": -10007, - - - 状态码
"qrLists": {
"billingDate": "",
"totalAmount": "",
"qrInfo": "",
"invoiceNumber": "",
"salesTaxNo": "",
"invoiceCode": "",
"checkCode": ""
},
"cutUrlImage":"/9j/4AAQSkZJRgABAgAA..." - - - 裁剪图片base64
}],
"msg": "调用完成"
}
(24) 税收完税证明
{
"code": 0,
"data": [{
"orientation": 0,
"dataMsg": "此票暂不支持查验",
"coord": {
"taxAuthorityNoCoord": [1612, 376, 2093, 382, 2093, 414, 1612, 408],
"voucherNumberCoord": [395, 521, 559, 524, 559, 558, 395, 556],
"billingDateCoord": [820, 388, 951, 389, 951, 424, 820, 423],
"auctionTaxNameCoord": [1366, 450, 1842, 461, 1838, 496, 1363, 487],
"remarksCoord": [1168, 1074, 1967, 1078, 1966, 1115, 1171, 1108],
"amountTaxCoord": [496, 1010, 1161, 1017, 1160, 1050, 495, 1042],
"invoiceNumberCoord": [1513, 340, 1832, 344, 1831, 376, 1512, 372],
"auctionTaxNoCoord": [552, 446, 879, 450, 879, 479, 552, 475]
},
"flag": 0,
"code": 0, - - - 识别成功
"invoice": {
"invoiceNumber": "3110***8231", - - - 发票号码
"billingDate": "2021-01-08", - - - 填发日期
"taxAuthorityNo": "国家税务***税务所", - - - 税务机关
"auctionTaxNo": "9146***3W5M", - - - 纳税人识别号
"auctionTaxName": "逻轩英***有限公司", - - - 纳税人名称
"voucherNumber": "3110***8485", - - - 原凭证号
"amountTaxCN": "", - - - 票面金额(大写)
"amountTax": "141648.14", - - - 票面金额
"drawerName": "", - - - 填票人
"remarks": "计税金额", - - - 备注
"invoiceLists": [{ - - - 明细列表
"voucherNumber": "34205***4", - - - 原凭证号
"timeHorizon: "2021-01-04至2021-01-04", - - - 税款所属时间
"storageDate": "2021-01-04", - - - 入(退)库日期
"amount": "49950.00", - - - 实缴(退)金额
"taxCategories": "永土保特补偿费收入", - - - 税种
"itemsName": "水土保材补偿费收入" - - - 品目名称
}],
"title": "完税证明", - - - 发票标题
"kind": "其他", - - - 消费类型
"invoiceType": 37 - - - 发票类型
},
"region": [0, 0, 569, 1300], - - - 裁剪图片坐标
"regionFourPoint": [4, 1, 1396, 1, 1396, 804, 4, 804], - - - 四点坐标
"regionFourPointOri": [4, 1, 1396, 1, 1396, 804, 4, 804], - - - 旋转后四点坐标
"imgOrgsize": [804,1306], - - - 识别图像尺寸
"dataCode": -10007, - - - 状态码
"cutUrlImage":"/9j/4AAQSkZJRgABAgAA..." - - - 裁剪图片base64
}],
"msg": "调用完成"
}
(25) 医疗票据
{
"code": 0,
"data": [{
"orientation": 0,
"dataMsg": "此票暂不支持查验",
"coord": {
"amountTaxCNCoord": [226, 418, 350, 416, 351, 434, 226, 437],
"amountTaxCoord": [226, 418, 350, 416, 351, 434, 226, 437],
"invoiceNumberCoord": [715, 127, 814, 128, 814, 143, 715, 142],
"qrListsCoord": [-1, -1, -1, -1, -1, -1, -1, -1],
"invoiceCodeCoord": [262, 133, 355, 130, 355, 144, 262, 147]
},
"flag": 0,
"code": 0, - - - 识别成功
"invoice": {
"invoiceType": 38, - - - 发票类型
"invoiceCode": "211***00", - - - 发票代码
"invoiceNumber": "0015***2", - - - 发票号码
"billingDate": "", - - - 开票日期
"amountTax": "51.50", - - - 票面金额
"amountTaxCN": "伍拾壹元伍角", - - - 票面金额(大写)
"payer": "", - - - 交款人
"title": "医疗票据", - - - 发票标题
"checkCode": "1a8f3", - - - 校验码
"purchaserTaxNo":"3410***5930", - - - 交款人统一社会信用代码
"receiverName": "9948", - - - 收款人
"recheckName": "王洋", - - - 复核人
"salesName": "广州市***医院", - - - 收款单位
"eleMedical": "0", - - - 电子医疗票标识 0否,1是
"invoiceLists": [ - - - 明细列表
{
"remarks": "全自付", - - - 备注
"amount": "120.0000", - - - 金额
"quantity_unit": "1/次", - - - 数量/单位
"commodityName": "***" - - - 项目名称
}
],
"kind": "其他" - - - 消费类型
},
"region": [0, 0, 569, 1300], - - - 裁剪图片坐标
"regionFourPoint": [4, 1, 1396, 1, 1396, 804, 4, 804], - - - 四点坐标
"regionFourPointOri": [4, 1, 1396, 1, 1396, 804, 4, 804], - - - 旋转后四点坐标
"imgOrgsize": [804,1306], - - - 识别图像尺寸
"dataCode": -10007, - - - 状态码
"qrLists": {
"qrInfo": ""
},
"cutUrlImage":"/9j/4AAQSkZJRgABAgAA..." - - - 裁剪图片base64
}],
"msg": "调用完成"
}
(26) 火车退费票
{
"code": 0,
"data": [
{
"orientation": 0,
"dataMsg": "此票暂不支持查验",
"coord": {
"amountTaxCoord": [255,260,396,258,398,334,257,336 ],
"invoiceNumberCoord": [212,434,429,430,430,474,213,478]
},
"flag": 0,
"code": 0, - - - 识别成功
"imgOrgsize": [206,342],
"regionFourPointOri": [25,11,325,11,325,203,25,203],
"invoice": {
"invoiceNumber": "43***142", - - - 发票综合号码
"amount": "10.0" - - - 金额
"kind": "其他", - - - 消费类型
"invoiceType": 39 - - - 发票类型
},
"region": [25,11,325,203],
"dataCode": -10007, - - - 状态码
"regionFourPoint": [25,11,325,11,325,203,25,203],
"cutUrlImage":"/9j/4AAQSkZJRgABAgAA..." - - - 裁剪图片base64
}
],
"msg": "调用完成"
}
(27) 电子发票(普通发票)
{
"code": 0,
"data": [{
"orientation": 0,
"dataMsg": "此票暂不支持查验",
"coord": {
"amountTaxCNCoord": [444, 713, 652, 713, 652, 746, 444, 746],
"invoiceListsCoord": [
[
[95, 446, 442, 446, 442, 466, 95, 466],
[461, 446, 483, 446, 483, 465, 461, 465],
[623, 441, 649, 441, 649, 468, 623, 468],
[792, 444, 808, 444, 808, 466, 792, 466],
[907, 447, 950, 447, 950, 463, 907, 463],
[1110, 446, 1157, 446, 1157, 466, 1110, 466],
[1229, 444, 1258, 444, 1258, 466, 1229, 466],
[1392, 444, 1432, 444, 1432, 465, 1392, 465]
]
],
"taxCoord": [1378, 673, 1429, 673, 1429, 694, 1378, 694],
"billingDateCoord": [1209, 177, 1402, 177, 1402, 207, 1209, 207],
"purchaserNameCoord": [195, 301, 470, 301, 470, 326, 195, 326],
"purchaserTaxNoCoord": [483, 341, 731, 341, 731, 366, 483, 366],
"amountTaxCoord": [1088, 673, 1156, 673, 1156, 692, 1088, 692],
"invoiceNumberCoord": [1210, 125, 1455, 125, 1455, 150, 1210, 150],
"qrListsCoord": [233, 95, 233, 232, 95, 232, 95, 95],
"salesTaxNoCoord": [808, 339, 1419, 339, 1419, 366, 808, 366],
"salesNameCoord": [810, 300, 1314, 298, 1314, 326, 811, 329]
},
"flag": 0,
"code": 0, - - - 识别成功
"invoice": {
"invoiceType": 83, - - - 发票类型
"title": "电子发票(普通发票)", - - 发票标题
"invoiceNumber": "213***00000001", - - - 发票号码
"billingDate": "2021-12-01", - - - 开票日期
"purchaserName": "上海***有限公司", - - - 购方名称
"purchaserTaxNo": "91310***78159", - - - 购方税号
"salesName": "港***有限公司", - - - 销方名称
"salesTaxNo": "913***62H", - - - 销方税号
"totalAmount": "154.71", - - - 不含税金额
"totalTax": "9.29", - - - 合计税额
"amountTax": "164.00", - - - 票面金额
"amountTaxCN": "壹佰陆拾肆元整", - - - 票面金额(大写)
"remarks": "", - - - 备注
"drawerName": "", - - - 开票人
"specialTag": "", - - - 特殊标记
"page": "1/2", - - - 页码
"kind": "其他", - - - 消费类型
"invoiceLists": [{ - - - 明细列表
"commodityName": "*物流辅***费", - - - 项目名称
"specificationModel": "无", - - - 规格型号
"unit": "件", - - - 单位
"quantity": "1", - - - 数量
"unitPrice": "11.32", - - - 单价
"amount": "11.32", - - - 金额
"taxRate": "0.06", - - - 税率
"tax": "0.68", - - - 税额
"taxRatePercentage": "6%" - - - 税率百分比
}],
"goodsInvoiceLists": [], - - - 货物运输明细
"travelerInvoiceLists": [] - - - 旅客运输明细
},
"region": [0, 0, 569, 1300], - - - 裁剪图片坐标
"regionFourPoint": [4, 1, 1396, 1, 1396, 804, 4, 804], - - - 四点坐标
"regionFourPointOri": [4, 1, 1396, 1, 1396, 804, 4, 804], - - - 旋转后四点坐标
"imgOrgsize": [804,1306], - - - 识别图像尺寸
"dataCode": -10007, - - - 状态码
"qrLists": {
"qrInfo": ""
},
"cutUrlImage":"/9j/4AAQSkZJRgABAgAA..." - - - 裁剪图片base64
}],
"msg": "调用完成"
}
(28) 全电纸票(增值税专用发票)
{
"code": 0,
"data": [{
"orientation": 0,
"dataMsg": "未调用发票核验",
"coord": {
"billingDateCoord": [1334, 166, 1713, 168, 1713, 206, 1331, 200],
"amountTaxOCRCoord": [1445, 763, 1636, 763, 1636, 793, 1445, 793],
"salesTaxNoCoord": [475, 864, 889, 864, 889, 893, 475, 893],
"invoiceFormCoord": [-1, -1, -1, -1, -1, -1, -1, -1],
"purchaserBankCoord": [224, 361, 882, 363, 882, 392, 224, 390],
"recheckNameCoord": [636, 983, 776, 976, 778, 1010, 636, 1010],
"totalAmountCoord": [1261, 710, 1434, 706, 1436, 737, 1264, 742],
"qrListsCoord": [166, 78, 310, 78, 310, 221, 166, 221],
"passwordFieldCoord": [1136, 244, 1680, 240, 1680, 372, 1138, 372],
"salesNameCoord": [441, 826, 708, 826, 708, 853, 441, 853],
"priInvoiceNumberCoord": [1357, 74, 1601, 74, 1601, 123, 1357, 123],
"salesAddressPhoneCoord": [441, 898, 1017, 903, 1015, 934, 438, 929],
"invoiceListsCoord": [
[
[],
[182, 448, 567, 448, 567, 513, 182, 513],
[585, 448, 682, 448, 682, 481, 585, 481],
[820, 448, 847, 448, 847, 475, 820, 475],
[1003, 448, 1028, 448, 1028, 473, 1003, 473],
[1119, 448, 1196, 448, 1196, 473, 1119, 473],
[1357, 448, 1434, 448, 1434, 473, 1357, 473],
[1471, 446, 1510, 446, 1510, 473, 1471, 473],
[1680, 446, 1743, 446, 1743, 473, 1680, 473]
],
[
[],
[182, 640, 575, 640, 575, 670, 182, 670],
[588, 641, 685, 641, 682, 670, 588, 670],
[824, 645, 842, 645, 842, 665, 824, 665],
[989, 643, 1028, 643, 1028, 665, 989, 665],
[1094, 641, 1199, 641, 1199, 663, 1094, 663],
[1345, 643, 1434, 643, 1434, 665, 1345, 665],
[1471, 643, 1510, 643, 1510, 665, 1471, 665],
[1657, 641, 1743, 641, 1743, 663, 1657, 663]
]
],
"aftInvoiceNumberCoord": [1592, 119, 1738, 119, 1738, 152, 1592, 152],
"taxCoord": [-1, -1, -1, -1, -1, -1, -1, -1],
"salesBankAndNoCoord": [224, 936, 952, 936, 952, 970, 224, 965],
"purchaserNameCoord": [441, 240, 708, 240, 708, 269, 441, 269],
"remarksCoord": [982, 822, 1747, 822, 1747, 950, 982, 950],
"drawerNameCoord": [1136, 978, 1201, 983, 1199, 1008, 1133, 1004],
"amountOCRCoord": [1261, 710, 1434, 706, 1436, 737, 1264, 742],
"amountTaxCNCoord": [617, 766, 1038, 766, 1038, 797, 617, 797],
"receiverNameCoord": [189, 983, 401, 978, 401, 1012, 189, 1012],
"aftInvoiceCodeCoord": [1613, 90, 1740, 90, 1740, 117, 1613, 117],
"purchaserTaxNoCoord": [466, 280, 880, 280, 880, 314, 466, 314],
"priInvoiceCodeCoord": [340, 74, 622, 74, 622, 119, 340, 119],
"purchaserAddressPhoneCoord": [226, 320, 1013, 320, 1013, 349, 226, 349],
"amountTaxCoord": [1445, 763, 1636, 763, 1636, 793, 1445, 793],
"invoiceNumberCoord": [1357, 74, 1601, 74, 1601, 123, 1357, 123],
"invoiceCodeCoord": [340, 74, 622, 74, 622, 119, 340, 119]
},
"flag": 0,
"code": 0, - - - 识别成功
"invoice": {
"administrativeDivisionName": "辽宁省", - - - 所属行政区名称
"title": "江苏增值税专用发票" - - - 发票标题
"fullInvoiceNumber": "2231***514", - - - 全电发票号码
"invoiceCode": "2***130", - - -发票代码
"invoiceNumber": "0***3", - - - 发票号码
"billingDate": "2018-05-03", - - - 开票日期
"billingDateocr": "2019-01-14", - - - 开票日期OCR
"totalAmount": "14127.75", - - - 不含税金额
"checkCode": "", - - - 校验码
"amountTax": "16388.20", - - - 票面金额
"amountTaxCN": "壹万陆仟叁佰捌拾捌圆贰角整", - - - 票面金额(大写)
"totalAmountocr": "14127.75", - - - 不含税金额ocr
"amountTaxocr": "16388.20", - - - 票面金额ocr
"priInvoiceCode": "210***30", - - - 印刷发票代码
"priInvoiceNumber": "04***43", - - - 印刷发票号码
"aftInvoiceCode": "210***30", - - - 打印发票代码
"aftInvoiceNumber": "042***", - - - 打印发票号码
"purchaserName": "国***有限公司", - - - 购方名称
"purchaserTaxNo": "91210***956Q", - - - 购方税号
"purchaserAddressPhone": "锦州***", - - - 购方地址电话
"purchaserBank": "锦州***21530520", - - - 购方开户行
"salesName": "国***有限公司", - - - 销方名称
"salesTaxNo": "91210***7T", - - - 销方税号
"salesAddressPhone": "辽宁省***2723325", - - - 销方地址电话
"salesBankAndNo": "招商银***10001", - - - 销方开户行账号
"passwordField": "/6344>-<1/5862911*1>6<238/32+39*<-*75<<5<45/3>3+4100-//+7+62003*5+>75562/64/03<8028/75819*6<8646<67449-953>7", - - - 密码区
"totalTax": "2260.45", - - - 合计税额
"machineCode": "", - - - 机器编号
"remarks":"", - - - 备注
"receiverName": "***", - - -收款人
"recheckName": "204", - - -复核人
"drawerName": "***", - - - 开票人
"invoiceForm": "发票联", - - - 发票联
"invoiceFormNum": "", - - - 发票联数
"travelTax": "", - - - 车船税
"redSeal": "1", - - - 红章标识,0 无,1 有
"oilMark": "0", - - - 成品油标志,0 非成品油,1 成品油
"invTaxSign": "1", - - - 代开标志,1 自开, 2 代开
"tollSign": "0", - - - 通行费标志,0 非通行费标志,1 通行费标志
"sealMark": "1", - - - 销售方(章)标志,0无,1 有
"kind": "其他", - - - 消费类型
"invoiceLists": [{ - - - 明细列表
"commodityName": "*化学药品***", - - - 货物名称
"specificationModel": "5mg*20s", - - - 规格型号
"unit": "盒", - - - 单位
"quantity": "10", - - - 数量
"unitPrice": "19.112", - - - 单价
"amount": "191.12", - - - 金额
"taxRate": "0.06", - - - 税率
"tax": "30.58", - - - 税额
"taxRatePercentage": "6%" - - - 税率百分比
}],
"invoiceType": 91 - - - 发票类型
},
"region": [0, 0, 1861, 1088], - - - 裁剪图片坐标
"regionFourPoint": [4, 1, 1396, 1, 1396, 804, 4, 804], - - - 4四点坐标
"regionFourPointOri": [4, 1, 1396, 1, 1396, 804, 4, 804], - - - 旋转后4四点坐标
"imgOrgsize": [804,1306], - - - 识别图像尺寸
"dataCode": -10007, - - - 状态码
"qrLists": { - - - 二维码信息
"billingDate": "2018-05-03",
"totalAmount": "14127.75",
"qrInfo": "",
"invoiceNumber": "",
"salesTaxNo": "",
"invoiceCode": ""
},
"cutUrlImage":"/9j/4AAQSkZJRgABAgAA..." - - - 裁剪图片base64
}],
"msg": "调用完成"
}
(29) 全电纸票(增值税普通发票)
{
"code": 0,
"data": [{
"orientation": 0,
"dataMsg": "未调用发票核验",
"coord": {
"billingDateCoord": [1334, 166, 1713, 168, 1713, 206, 1331, 200],
"amountTaxOCRCoord": [1445, 763, 1636, 763, 1636, 793, 1445, 793],
"salesTaxNoCoord": [475, 864, 889, 864, 889, 893, 475, 893],
"invoiceFormCoord": [-1, -1, -1, -1, -1, -1, -1, -1],
"purchaserBankCoord": [224, 361, 882, 363, 882, 392, 224, 390],
"recheckNameCoord": [636, 983, 776, 976, 778, 1010, 636, 1010],
"totalAmountCoord": [1261, 710, 1434, 706, 1436, 737, 1264, 742],
"qrListsCoord": [166, 78, 310, 78, 310, 221, 166, 221],
"passwordFieldCoord": [1136, 244, 1680, 240, 1680, 372, 1138, 372],
"salesNameCoord": [441, 826, 708, 826, 708, 853, 441, 853],
"priInvoiceNumberCoord": [1357, 74, 1601, 74, 1601, 123, 1357, 123],
"salesAddressPhoneCoord": [441, 898, 1017, 903, 1015, 934, 438, 929],
"invoiceListsCoord": [
[
[],
[182, 448, 567, 448, 567, 513, 182, 513],
[585, 448, 682, 448, 682, 481, 585, 481],
[820, 448, 847, 448, 847, 475, 820, 475],
[1003, 448, 1028, 448, 1028, 473, 1003, 473],
[1119, 448, 1196, 448, 1196, 473, 1119, 473],
[1357, 448, 1434, 448, 1434, 473, 1357, 473],
[1471, 446, 1510, 446, 1510, 473, 1471, 473],
[1680, 446, 1743, 446, 1743, 473, 1680, 473]
],
[
[],
[182, 640, 575, 640, 575, 670, 182, 670],
[588, 641, 685, 641, 682, 670, 588, 670],
[824, 645, 842, 645, 842, 665, 824, 665],
[989, 643, 1028, 643, 1028, 665, 989, 665],
[1094, 641, 1199, 641, 1199, 663, 1094, 663],
[1345, 643, 1434, 643, 1434, 665, 1345, 665],
[1471, 643, 1510, 643, 1510, 665, 1471, 665],
[1657, 641, 1743, 641, 1743, 663, 1657, 663]
]
],
"aftInvoiceNumberCoord": [1592, 119, 1738, 119, 1738, 152, 1592, 152],
"taxCoord": [-1, -1, -1, -1, -1, -1, -1, -1],
"salesBankAndNoCoord": [224, 936, 952, 936, 952, 970, 224, 965],
"purchaserNameCoord": [441, 240, 708, 240, 708, 269, 441, 269],
"remarksCoord": [982, 822, 1747, 822, 1747, 950, 982, 950],
"drawerNameCoord": [1136, 978, 1201, 983, 1199, 1008, 1133, 1004],
"amountOCRCoord": [1261, 710, 1434, 706, 1436, 737, 1264, 742],
"amountTaxCNCoord": [617, 766, 1038, 766, 1038, 797, 617, 797],
"receiverNameCoord": [189, 983, 401, 978, 401, 1012, 189, 1012],
"aftInvoiceCodeCoord": [1613, 90, 1740, 90, 1740, 117, 1613, 117],
"purchaserTaxNoCoord": [466, 280, 880, 280, 880, 314, 466, 314],
"priInvoiceCodeCoord": [340, 74, 622, 74, 622, 119, 340, 119],
"purchaserAddressPhoneCoord": [226, 320, 1013, 320, 1013, 349, 226, 349],
"amountTaxCoord": [1445, 763, 1636, 763, 1636, 793, 1445, 793],
"invoiceNumberCoord": [1357, 74, 1601, 74, 1601, 123, 1357, 123],
"invoiceCodeCoord": [340, 74, 622, 74, 622, 119, 340, 119]
},
"flag": 0,
"code": 0, - - - 识别成功
"invoice": {
"administrativeDivisionName": "上海市", - - - 所属行政区名称
"title": "上海增值税普通发票" - - - 发票标题
"fullInvoiceNumber": "2231***123", - - - 全电发票号码
"invoiceCode": "2***130", - - -发票代码
"invoiceNumber": "0***3", - - - 发票号码
"billingDate": "2018-05-03", - - - 开票日期
"billingDateocr": "2019-01-14", - - - 开票日期OCR
"totalAmount": "14127.75", - - - 不含税金额
"checkCode": "", - - - 校验码
"amountTax": "16388.20", - - - 票面金额
"amountTaxCN": "壹万陆仟叁佰捌拾捌圆贰角整", - - - 票面金额(大写)
"totalAmountocr": "14127.75", - - - 不含税金额ocr
"amountTaxocr": "16388.20", - - - 票面金额ocr
"priInvoiceCode": "210***30", - - - 印刷发票代码
"priInvoiceNumber": "04***43", - - - 印刷发票号码
"aftInvoiceCode": "210***30", - - - 打印发票代码
"aftInvoiceNumber": "042***", - - - 打印发票号码
"purchaserName": "国***有限公司", - - - 购方名称
"purchaserTaxNo": "91210***956Q", - - - 购方税号
"purchaserAddressPhone": "锦州***", - - - 购方地址电话
"purchaserBank": "锦州***21530520", - - - 购方开户行
"salesName": "国***有限公司", - - - 销方名称
"salesTaxNo": "91210***7T", - - - 销方税号
"salesAddressPhone": "辽宁省***2723325", - - - 销方地址电话
"salesBankAndNo": "招商银***10001", - - - 销方开户行账号
"passwordField": "/6344>-<1/5862911*1>6<238/32+39*<-*75<<5<45/3>3+4100-//+7+62003*5+>75562/64/03<8028/75819*6<8646<67449-953>7", - - - 密码区
"totalTax": "2260.45", - - - 合计税额
"machineCode": "", - - - 机器编号
"remarks":"", - - - 备注
"receiverName": "***", - - -收款人
"recheckName": "204", - - -复核人
"drawerName": "***", - - - 开票人
"invoiceForm": "发票联", - - - 发票联
"invoiceFormNum": "", - - - 发票联数
"travelTax": "", - - - 车船税
"redSeal": "1", - - - 红章标识,0 无,1 有
"oilMark": "0", - - - 成品油标志,0 非成品油,1 成品油
"invTaxSign": "1", - - - 代开标志,1 自开, 2 代开
"tollSign": "0", - - - 通行费标志,0 非通行费标志,1 通行费标志
"sealMark": "1", - - - 销售方(章)标志,0无,1 有
"kind": "其他", - - - 消费类型
"invoiceLists": [{ - - - 明细列表
"commodityName": "*化学药品***", - - - 货物名称
"specificationModel": "5mg*20s", - - - 规格型号
"unit": "盒", - - - 单位
"quantity": "10", - - - 数量
"unitPrice": "19.112", - - - 单价
"amount": "191.12", - - - 金额
"taxRate": "0.06", - - - 税率
"tax": "30.58", - - - 税额
"taxRatePercentage": "6%" - - - 税率百分比
}],
"invoiceType": 92 - - - 发票类型
},
"region": [0, 0, 1861, 1088], - - - 裁剪图片坐标
"regionFourPoint": [4, 1, 1396, 1, 1396, 804, 4, 804], - - - 4四点坐标
"regionFourPointOri": [4, 1, 1396, 1, 1396, 804, 4, 804], - - - 旋转后4四点坐标
"imgOrgsize": [804,1306], - - - 识别图像尺寸
"dataCode": -10007, - - - 状态码
"qrLists": { - - - 二维码信息
"billingDate": "2018-05-03",
"totalAmount": "14127.75",
"qrInfo": "01,01,2100173130,04210743,14127.75,20180503,,BB8D,",
"invoiceNumber": "04210743",
"salesTaxNo": "",
"invoiceCode": "2100173130"
},
"cutUrlImage":"/9j/4AAQSkZJRgABAgAA..." - - - 裁剪图片base64
}],
"msg": "调用完成"
}
(30) 电子发票(航空运输电子客票行程单)
{
"code":0,
"data":[
{
"orientation":0,
"dataMsg":"未调用发票核验",
"coord":{},
"flag":0,
"imgOrgsize":[],
"regionFourPointOri":[],
"region":[],
"code": 0, - - - 识别成功
"invoice":{
"invoiceType":61, - - - 发票类型
"title":"电子发票(铁路电子客票)", - - - 标题
"administrativeDivisionName":"广东省", - - - 所属行政区名称
"internationalFlag":"国内", - - -国内国际标识
"state":"正常", - - - 开具状态
"invoiceNumber":"23***0660", - - - 发票号码
"name":"***", - - - 旅客姓名
"userCardNo":"6541******2311", - - - 有效身份证件号码
"endorsement":"BUDEQ***签转/...", - - - 签注
"fare":"816.51", - - - 票价
"totalAmount":"816.51", - - - 不含税金额
"fuelSurcharge":"128.44", - - - 燃油附加费
"taxRate":"9%", - - - 增值税税率(百分比)
"taxRateValue":"0.09", - - - 增值税税率
"totalTax":"85.05", - - - 增值税额
"caacDevelopmentFund":"50.00", - - - 民航发展基金
"taxFee":"0.00", - - - 其他税费
"amountTax":"1080.00", - - - 合计金额
"eticketNumber":"78***94", - - - 电子客票号码
"checkCode":"0660", - - - 验证码
"hintInfo":"", - - - 提示信息
"insurance":"0.00", - - - 保险费
"agentcode":"CAN***704", - - - 销售网点代号
"issueParty":"中国***有限公司", - - - 填开单位
"billingDate":"2023-03-15", - - - 填开日期
"purchaserName":"厦***公司", - - -购买方名称
"purchaserTaxNo":"91***233XE", - - - 统一社会信用代码/纳税人识别号
"kind":"其他", - - - 消费类型
"flights":[
{
"from":"URC 乌鲁木齐", - - - 出发地
"to":"NKG 南京", - - - 到达地
"seat":"N", - - - 座位类型
"date":"2022-06-15", - - - 日期
"time":"09:25", - - - 时间
"carrier":"南航", - - - 承运人
"flightNumber":"CZ6927", - - - 航班号
"fareBasis":"NRE0WNNP", - - - 客票级别
"notValidBefore":"2022-06-15", - - - 客票生效日期
"notValidAfter":"2022-06-15", - - - 有效截止日期
"allow":"20K", - - - 免费行李标记
"binlevel":"", - - - 舱位等级
}
],
"signatureFlag":0,
"signature":{}
},
"dataCode": -10001, - - - 状态码
"regionFourPoint":[],
"cutUrlImage":"/9j/4AAQSkZJRgABAgAA..." - - - 裁剪图片base64
}
],
"msg":"调用完成"
}
(31) 电子发票(铁路电子客票)
{
"code":0,
"data":[
{
"orientation":0,
"dataMsg":"未调用发票核验",
"coord":{},
"flag":0,
"imgOrgsize":[],
"regionFourPointOri":[],
"code": 0, - - - 识别成功
"invoice":{
"invoiceType":62, - - - 发票类型
"title":"电子发票(铁路电子客票)", - - - 发票标题
"administrativeDivisionName":"广东省", - - - 所属行政区名称
"invoiceNumber":"2***00049", - - - 发票号码
"billingDate":"2022-03-17", - - - 开票日期
"from":"南京", - - - 出发地
"trainNumber":"G7101", - - - 车次
"to":"上海虹桥", - - - 到达地
"ridingDate":"2022-03-01", - - - 乘车日期
"ridingTime":"06:23", - - - 乘车时间
"carriageNumber":"01车", - - - 车厢
"seatNumber":"05C号", - - - 席位
"amountTax":"181.00", - - - 票价
"airSign":"新空调", - - - 空调特征
"seat":"软卧", - - - 座位类型
"totalAmount":"166.05", - - - 不含税金额
"taxRate":"6%", - - - 税率
"totalTax":"14.95", - - - 税额
"userCardNo":"14272****1627", - - - 乘客证件号码
"name":"***", - - - 乘客姓名
"eticketNumber":"3067***4302022", - - - 电子客票号
"remark":"", - - - 备注
"originalInvoiceNumber":"221***0048", - - - 原发票号码
"purchaserName":"铁路***单位", - - - 购买方名称
"purchaserTaxNo":"911***35858", - - - 统一社会信用代码(购方税号)
"state":"", - - - 发票状态
"amountTaxType":"", - - - 金额类型
"reFund":"", - - - 退费
"rebook":"", - - - 改签
"replace":"", - - - 换开
"cancle":"", - - - 红冲
"kind":"其他", - - - 消费类型
"signatureFlag":0,
"signature":{}
},
"region":[],
"dataCode": -10001, - - - 状态码
"regionFourPoint":[],
"cutUrlImage":"/9j/4AAQSkZJRgABAgAA..." - - - 裁剪图片base64
}
],
"msg":"调用完成"
}
(32) 非税收入一般缴款书(电子)
{
"code":0, - - - 识别成功
"data":[
{
"orientation":0,
"flag":0,
"code":0, - - - 识别成功
"confidence":{ - - - 字段置信度
"receivingCodeConfidence":1,
"invoiceCodeConfidence":1,
"receivingNameConfidence":1,
"paymentCodeConfidence":0.907,
"billingDateConfidence":1,
"amountTaxConfidence":1,
"invoiceNumberConfidence":0.986,
"payerNameConfidence":1,
"checkCodeConfidence":0.999,
"currencyCodeConfidence":1,
"sealMarkConfidence":0.94,
"titleConfidence":0.993
},
"dataCode":-10007,
"regionFourPoint":[8,2,1375,2,1375,756,8,756],
"dataMsg":"此票暂不支持查验",
"coord":{
"invoiceListsCoord":[
[50,437,152,437,152,458,50,458],
[186,436,400,436,400,460,186,460],
[748,436,777,436,777,461,748,461],
[858,437,920,437,920,458,858,458],
[1012,440,1100,440,1100,458,1012,458],
[1289,436,1364,436,1364,458,1289,458]
],
"titleCoord":[447,39,953,41,952,84,447,83],
"billingDateCoord":[1144,171,1242,171,1242,189,1144,189],
"remarksCoord":[821,584,884,584,884,611,821,611],
"currencyCodeCoord":[53,355,115,355,115,381,53,381],
"paymentCodeCoord":[42,102,133,102,133,131,42,131],
"receivingCodeCoord":[42,137,200,137,200,164,42,164],
"checkCodeCoord":[1118,138,1179,138,1179,157,1118,157],
"payerNameCoord":[242,207,470,207,470,228,242,228],
"sealMarkCoord":[407,584,576,584,576,613,407,613],
"receivingNameCoord":[42,170,200,170,200,197,42,197],
"amountTaxCoord":[905,351,1058,351,1058,384,905,384],
"invoiceNumberCoord":[576,169,686,169,686,195,576,195],
"invoiceCodeCoord":[684,138,762,138,762,157,684,157],
"qrListsCoord":[1261,17,1365,17,1365,121,1261,121]
},
"imgOrgsize":[759,1416],
"regionFourPointOri":[8,2,1375,2,1375,756,8,756],
"invoice":{
"title":"非税收入一般缴款书(电子)", - - - 发票标题
"invoiceCode":"14***23", - - - 发票代码
"invoiceNumber":"000***4", - - - 发票号码
"billingDate":"2023-08-16", - - - 填制日期
"checkCode":"6bcd6e", - - - 校验码
"paymentCode":"14030***169337", - - - 缴款码
"receivingCode":"029005", - - - 执收单位编码
"receivingName":"阳泉***测中心", - - - 执收单位名称
"payerName":"盂***有限公司", - - - 付款人全称
"payerNumber":"", - - - 付款人账号
"payerBank":"", - - - 付款人开户行
"payeeName":"", - - - 收款人全称
"payeeNumber":"", - - - 收款人账号
"payeeBank":"", - - - 收款人开户行
"currencyCode":"人民币", - - - 币种
"amountTax":"1358.74", - - - 票面金额
"amountTaxCN":"", - - - 票面金额(大写)
"sealReceiving":"", - - - 执收单位(盖章)
"sealMark":"***", - - - 经办人(盖章)
"remarks":"在线-扫码支付", - - - 备注
"invoiceLists":[ - - - 明细列表
{
"commodityNo":"0101150306", - - - 项目编码
"commodityName":"固定***检验", - - - 收入项目名称
"unit":"元", - - - 单位
"quantity":"1.0000", - - - 数量
"standard":"1358.7400", - - - 收缴标准
"amount":"1358.74" - - - 金额
}
],
"invoiceType":40 - - - 发票类型
},
"region":[8,2,1375,756],
"qrLists":{ - - - 二维码信息
"qrInfo":""
},
"cutUrlImage":"/9j/4AAQSkZJRgABAgAAAQAB" - - - 裁剪图片base64
}
],
"msg":"调用完成"
}
(33) 车辆通行费通用(电子)发票
{
"code":0, - - - 识别成功
"data":[
{
"orientation":0,
"flag":0,
"code":0, - - - 识别成功
"confidence":{ - - - 字段置信度
"salesBankAndNoConfidence":1,
"purchaserBankConfidence":1
},
"dataCode":-10007,
"regionFourPoint":[25,86,2516,86,2516,1634,25,1634],
"dataMsg":"此票暂不支持查验",
"coord":{ - - - 字段坐标点
"titleCoord":[543,194,1739,194,1739,263,543,263],
"billingDateCoord":[2096,352,2399,352,2399,393,2096,393]
},
"imgOrgsize":[1667,2538],
"regionFourPointOri":[25,86,2516,86,2516,1634,25,1634],
"invoice":{
"administrativeDivisionName":"江苏省", - - - 所属行政区名称
"title":"江苏省车辆通行费通用(电子)发票", - - - 标题
"invoiceCode":"13***111", - - - 发票代码
"invoiceNumber":"01***92", - - - 发票号码
"billingDate":"2023-10-29", - - - 开票日期
"totalAmount":"26.00", - - - 合计金额
"amountTax":"26.00", - - - 票面金额
"amountTaxCN":"贰拾陆圆", - - - 票面金额大写
"purchaserName":"四****有限公司", - - - 购方名称
"purchaserTaxNo":"91510***2097G", - - - 购方税号
"purchaserAddressPhone":"*01室028-87838107", - - - 购方地址电话
"purchaserBank":"中国农业银行股份有限*****", - - - 购方开户行
"salesName":"江苏扬***股份有限公司", - - - 销方名称
"salesTaxNo":"913200***765092E", - - - 销方税号
"salesAddressPhone":"南京市中***510-86855073", - - - 销方地址电话
"salesBankAndNo":"中国建设***36052500447", - - - 销方开户行账户
"passwordField":"*/7*>>2571/-14*8762159689799/", - - - 密码区
"remarks":"车牌号:苏E***", - - - 备注
"receiverName":"厉*", - - - 收款人
"recheckName":"夏*", - - - 复核人
"drawerName":"厉*", - - - 开票人
"redSeal":"1", - - - 红章,1 代表有红章,0 无红章
"invTaxSign":"1", - - - 代开标志,1 自开,2 代开
"sealMark":"1", - - - 销售方(章)标记
"kind":"其他", - - - 消费类型
"invoiceLists":[ - - - 发票明细
{
"commodityName":"车辆通行费", - - - 货物或应税劳务名称
"quantity":"1", - - - 数量
"amount":"26.00" - - - 金额
}
],
"invoiceType":41, - - - 发票类型
"signatureFlag":0, - - - 是否含有签名
"signature":{ - - - 签名信息
}
},
"region":[0,53,2538,1667],
"qrLists":{
"qrInfo":""
},
"cutUrlImage":"/9j/4AAQSkZJRgABAgAAAQAB" - - - 裁剪图片base64
}
],
"msg":"调用完成"
}
(34) 全电纸票(机动车销售统一发票)
{
"code": 0,
"data": [{
"orientation": 0,
"dataMsg": "-10007",
"coord": {
"salesNoCoord": [1953, 1499, 2271, 1499, 2271, 1545, 1953, 1545],
"originPlaceCoord": [2260, 939, 2390, 939, 2390, 990, 2260, 990],
"billingDateCoord": [472, 332, 793, 332, 793, 383, 472, 383],
"paymentVoucherNoCoord": [-1, -1, -1, -1, -1, -1, -1, -1],
"salesAddressCoord": [598, 1604, 1279, 1604, 1279, 1664, 598, 1664],
"engineNoCoord": [594, 1175, 769, 1175, 769, 1221, 594, 1221],
"salesTaxNoCoord": [591, 1491, 1125, 1483, 1129, 1542, 594, 1550],
"salesPhoneCoord": [1950, 1386, 2125, 1386, 2125, 1432, 1950, 1432],
"machineCodeCoord": [598, 635, 975, 635, 975, 690, 598, 690],
"totalAmountCoord": [741, 1845, 1076, 1854, 1073, 1913, 738, 1904],
"passengersLimitedCoord": [2600, 1849, 2644, 1840, 2649, 1870, 2603, 1879],
"qrListsCoord": [537, 104, 537, 323, 327, 323, 327, 104],
"idCardNoCoord": [601, 837, 1111, 837, 1111, 892, 601, 892],
"vehicleNoCoord": [1884, 1171, 2410, 1171, 2410, 1221, 1884, 1221],
"salesNameCoord": [598, 1382, 1286, 1382, 1286, 1441, 598, 1441],
"taxAuthorityNameCoord": [1834, 1698, 2446, 1689, 2449, 1744, 1838, 1748],
"brandModelCoord": [1317, 939, 1726, 939, 1726, 990, 1317, 990],
"vehicleTypeCoord": [601, 944, 852, 944, 852, 994, 601, 994],
"importCertificateNoCoord": [1408, 445, 2550, 445, 2550, 500, 1408, 500],
"purchaserNameCoord": [255, 631, 514, 631, 514, 681, 255, 681],
"taxRateCoord": [601, 1744, 688, 1744, 688, 1790, 601, 1790],
"totalTaxCoord": [1107, 1732, 1408, 1732, 1408, 1790, 1107, 1790],
"amountTaxCNCoord": [594, 1272, 1086, 1272, 1086, 1327, 594, 1327],
"taxAuthorityNoCoord": [1834, 1748, 2145, 1748, 2145, 1799, 1834, 1799],
"certificateNoCoord": [594, 1061, 916, 1061, 916, 1107, 594, 1107],
"purchaserTaxNoCoord": [-1, -1, -1, -1, -1, -1, -1, -1],
"amountTaxCoord": [2163, 1272, 2491, 1272, 2491, 1327, 2163, 1327],
"invoiceNumberCoord": [1988, 282, 2456, 303, 2453, 370, 1988, 353],
"invoiceCodeCoord": [1988, 218, 2582, 231, 2585, 303, 1985, 307],
"salesBankCoord": [1733, 1609, 2163, 1609, 2163, 1659, 1733, 1659]
},
"flag": 0,
"code": 0, - - - 识别成功
"invoice": {
"administrativeDivisionName":"北京市", - - - 所属行政区名称
"title": "机动车销售统一发票", - - - 发票标题
"fullInvoiceNumber": "24***01", - - - 数电票代码
"invoiceCode": "111***011", - - - 发票代码
"invoiceNumber": "017***7", - - -发票号码
"billingDate": "2017-07-13", - - - 开票日期
"machineCode": "6615***21", - - -机器编码
"taxControlCode": "104+>539*246385433>8*609//</+/69*/43<2+/*4*+*-4*/*/830056002*+8<>78*24279257173</70/997>5969*/43<+/*4*+*-4*/104+>+539*246385433<913<-+9384>133<5<229-362<486141>-748/>209*+44570/*-3534-8473-4", - - -税控码
"purchaserName": "机器编号", - - - 购方名称
"idCardNo": "4290***2481", - - -购买方身份证号码/组织机构代码
"purchaserTaxNo": "", - - -购方税号
"vehicleType": "多用途乘用车", - - -车辆类型
"brandModel": "北京现***55SAV", - - -厂牌型号
"originPlace": "北京市", - - -产地
"certificateNo": "WAJ***5653", - - -合格证号
"importCertificateNo": "/", - - -进口证明书号
"inspectionListNo":"", - - - 商检单号
"engineNo": "GB***69", - - - 发动机号
"vehicleNo": "LB***8471", - - -车辆识别代号/车架号码
"amountTax": "142400.00", - - -票面金额
"amountTaxCN": "壹拾肆万贰仟肆佰圆整", - - - 票面金额(大写)
"salesName": "北京***有限公司", - - - 销方名称
"salesPhone": "602***5", - - - 销方电话
"salesTaxNo": "110***1499", - - - 销方税号
"salesBankNo": "***", - - - 销方开户行账号
"salesAddress": "北京***31号", - - -销方地址
"salesBank": "农行大兴区支行营业部", - - - 销方开户行
"taxRate": "13%", - - - 税率
"totalTax": "20690.60", - - - 合计税额
"taxAuthorityName": "北京市***第八税务所", - - - 主管税务名称
"taxAuthorityNo": "111***01", - - - 主管税务机关
"totalAmount": "52035.40", - - - 不含税金额
"paymentVoucherNo": "", - - - 完税凭证号码
"tonnage": "", - - - 车船吨位
"passengersLimited": "3", - - - 限乘人数
"state": "" - - - 发票状态
"redSeal": "1", - - - 红章,1代表有红章,0无红章
"drawerName": "***", - - - 开票人
"remarks": "***", - - - 备注
"invoiceForm":"", - - - 发票联
"invoiceFormNum":"", - - - 发票联次
"aftInvoiceCode": "111***11", - - - 机打代码
"aftInvoiceNumber": "01***07", - - - 机打号码
"kind": "交通", - - - 消费类型
"invoiceType": 93 - - - 发票类型
},
"region": [0, 0, 2795, 2048], - - -裁剪坐标
"regionFourPoint": [4, 1, 1396, 1, 1396, 804, 4, 804], - - - 四点坐标
"regionFourPointOri": [4, 1, 1396, 1, 1396, 804, 4, 804], - - - 旋转后四点坐标
"imgOrgsize": [804,1306], - - - 识别图像尺寸
"dataCode": -30000, - - - 状态码
"qrLists": { - - - 二维码信息
"qrInfo": ""
},
"cutUrlImage":"/9j/4AAQSkZJRgABAgAA..." - - - 裁剪图片base64
}],
"msg": "调用完成"
}
(35) 全电纸票(二手车销售统一发票)
{
"code": 0,
"data": [{
"orientation": 0,
"dataMsg": "-10008",
"coord": {
"registrationNumberCoord": [1989, 1480, 2415, 1480, 2415, 1541, 1989, 1541],
"brandModelCoord": [1998, 1591, 2451, 1591, 2451, 1647, 1998, 1647],
"carNumberCoord": [1193, 1480, 1418, 1480, 1418, 1541, 1193, 1541],
"billingDateCoord": [823, 574, 1216, 574, 1216, 658, 823, 658],
"vehicleTypeCoord": [2927, 1473, 3138, 1473, 3138, 1534, 2927, 1534],
"purchaserNameCoord": [1189, 1026, 1299, 1026, 1299, 1087, 1189, 1087],
"usedCarAddressCoord": [2364, 2256, 3056, 2285, 3050, 2346, 2364, 2339],
"salesAddressCoord": [1189, 1362, 2114, 1362, 2114, 1428, 1189, 1428],
"salesTaxNoCoord": [2749, 1256, 3395, 1256, 3395, 1317, 2749, 1317],
"purchaserAddressCoord": [1189, 1127, 2297, 1127, 2297, 1195, 1189, 1195],
"amountTaxCNCoord": [1203, 1713, 1651, 1708, 1656, 1770, 1203, 1776],
"purchaserPhoneCoord": [2937, 1132, 3366, 1132, 3366, 1200, 2937, 1200],
"salesPhoneCoord": [2932, 1362, 3362, 1362, 3362, 1423, 2932, 1423],
"auctionPhoneCoord": [3083, 2407, 3499, 2407, 3499, 2464, 3083, 2464],
"machineCodeCoord": [883, 898, 1363, 898, 1363, 965, 883, 965],
"purchaserTaxNoCoord": [2749, 1021, 3399, 1021, 3399, 1082, 2749, 1082],
"amountTaxCoord": [2932, 1713, 3353, 1713, 3353, 1776, 2932, 1776],
"vehiclePlaceNameCoord": [2923, 1579, 3087, 1579, 3087, 1647, 2923, 1647],
"invoiceNumberCoord": [2823, 489, 3412, 489, 3412, 562, 2823, 562],
"qrListsCoord": [-1, -1, -1, -1, -1, -1, -1, -1],
"invoiceCodeCoord": [2836, 390, 3563, 390, 3563, 468, 2836, 468],
"vehicleNoCoord": [1189, 1597, 1651, 1586, 1656, 1642, 1193, 1652],
"auctionTaxNoCoord": [2370, 2179, 2617, 2179, 2617, 2228, 2370, 2228],
"salesNameCoord": [1184, 1250, 1353, 1245, 1359, 1306, 1189, 1317]
},
"flag": 0,
"code": 0, - - - 识别成功
"invoice": {
"invoiceType": 94, - - - 发票类型
"fullInvoiceNumber": "247***19", - - - 数电票代码
"invoiceCode": "04407***17", - - - 发票代码
"invoiceNumber": "07***5", - - - 发票号码
"billingDate": "2020-04-22", - - - 开票日期
"machineCode": "667***51", - - - 机器编码
"taxControlCode": "46437***43213", - - - 税控码
"purchaserName": "广东7***有限公司", - - - 购方名称
"purchaserTaxNo": "914417***XN8D", - - - 购方税号
"purchaserAddress": "广东7***寮城中...", - - - 购方地址
"purchaserPhone": "137***8", - - -购方电话
"salesName": "7***", - - - 销方名称
"salesTaxNo": "362127***19", - - -销方税号
"salesAddress": "广东省***社区长", - - - 销方地址
"salesPhone": "337***85", - - - 销方电话
"carNumber": "粤***", - - - 车牌照号
"registrationNumber": "44***088", - - - 登记证号
"vehicleType": "小型轿车", - - -车辆类型
"vehicleNo": "LBV3M2109FME91956", - - - 车辆识别代号/车架号码
"brandModel": "宝马牌***W320Li)", - - - 厂牌型号
"vehiclePlaceName": "广东省***理所", - - - 转入地车辆车管所名称
"amountTaxCN": "壹万圆整", - - - 票面金额(大写)
"amountTax": "10000.00", - - - 票面金额
"usedCarName": "深圳市***有限公司", - - - 二手车市场名称
"usedCarTaxNo": "914***797K", - - - 二手车市场纳税人识别号
"usedCarAddress": "深圳市***车场F区", - - - 二手车市场地址
"usedCarbank": "中国建设***0000583", - - 二手车市场开户银行及账号
"usedCarPhone": "07***3", - - - 二手车市场电话
"administrativeDivisionName": "广东省", - - - 所属行政地区
"remarks": "", - - - 备注
"state": "", - - - 发票状态
"auctionAddress": "", - - - 经营,拍卖单位地址
"auctionName": "", - - - 经营,拍卖单位名称
"auctionPhone": "", - - - 经营,拍卖单位电话
"auctionTaxNo": "", - - - 经营,拍卖单位纳税人识别号
"auctionbank": "", - - - 经营,拍卖单位开户银行及账号
"redSeal": "1", - - - 红章,1代表有红章,0无红章
"invoiceForm": "", - - - 发票联
"invoiceFormNum": "", - - - 发票联次
"invTaxSign": "", - - - 代开标志,1代表自开,2代开
"oilMark": "", - - - 成品油标志,0非成品油标志,1成品油发票
"tollSign": "", - - - 通行费标志,0非通行费标志,1通行费标志
"title": "机动车销售统一发票", - - - 发票标题
"aftInvoiceCode": "111***2011", - - - 机打代码
"kind": "其他", - - - 消费类型
"aftInvoiceNumber": "01***07" - - - 机打号码
},
"region": [0, 0, 3660, 2716], - - -发票裁剪坐标
"regionFourPoint": [4, 1, 1396, 1, 1396, 804, 4, 804], - - - 四点坐标
"regionFourPointOri": [4, 1, 1396, 1, 1396, 804, 4, 804], - - - 旋转后四点坐标
"imgOrgsize": [804,1306], - - - 识别图像尺寸
"dataCode": -10008, - - - 状态码
"qrLists": { - - - 二维码信息
"qrInfo": ""
},
"cutUrlImage":"/9j/4AAQSkZJRgABAgAA..." - - - 裁剪图片base64
}],
"msg": "调用完成"
}
(36) 银行回单
{
"code": 0,
"data": [
{
"orientation": 0,
"dataMsg": "此票暂不支持查验",
"coord": {
"amountTaxCNCoord":[93,298,217,298,217,321,93,321],
"purchaserNoCoord":[42,128,275,128,275,151,42,151],
"receiptNoCoord":[44,760,227,760,227,774,44,774],
"billingDateCoord":[683,100,826,100,826,125,683,125],
"purchaserNameCoord":[42,155,392,155,392,179,42,179],
"serialNoCoord":[518,727,738,727,738,749,518,749],
"amountTaxCoord":[39,268,167,268,167,294,39,294],
"purchaserBankAddCoord":[39,212,392,212,392,238,39,238],
"redSealCoord":[799,588,1062,588,1062,749,799,749],
"salesNameCoord":[552,156,902,156,902,179,552,179]
},
"flag": 0,
"code": 0, - - - 识别成功
"imgOrgsize": [813,1111],
"confidence": { - - - 置信度
"purchaserBankAddConfidence": 0.998,
"redSealConfidence": 1,
"serialNoConfidence": 1,
"amountTaxCNConfidence": 1,
"billingDateConfidence": 0.99,
"amountTaxConfidence": 0.938,
"purchaserNoConfidence": 1,
"receiptNoConfidence": 0.992,
"salesNameConfidence": 1,
"purchaserNameConfidence": 0.981
},
"regionFourPointOri": [0,51,1103,51,1103,796,0,796],
"invoice": {
"title": "", - - - 标题
"purchaserName": "北京****有限公司", - - - 付款人名称
"purchaserNo": "325564****66", - - - 付款人账号
"purchaserBankAdd": "中国银行*****支行", - - - 付款人开户行
"salesName": "国家****支库", - - - 收款人名称
"salesNo": "", - - - 收款人账号
"salesBank": "", - - - 收款人开户行
"billingDate": "2023-06-08", - - - 交易日期
"currencyCode": "人民币", - - - 币种
"amountTax": "3.00", - - - 金额
"amountTaxCN": "叁元整", - - - 金额(大写)
"summary": "", - - - 摘要
"serialNo": "1686***131", - - - 流水号
"receiptNo": "202306****06479", - - - 回单编号
"used": "", - - - 用途
"bankName": "", - - - 银行名称
"postscript": "", - - - 附言
"tradeName": "", - - - 交易名称
"category": "", - - - 业务种类
"remarks": "", - - - 备注
"bankCategory": "", - - - 回单种类
"redSeal": "1", - - - 红章,1代表有红章,0无红章
"invoiceType": 42 - - - 发票类型
},
"region": [0,51,1103,796],
"dataCode": -10007,
"regionFourPoint": [0,51,1103,51,1103,796,0,796]
}
],
"msg": "调用完成"
}
(37) 其他票据
{
"code": 0,
"data": [
{
"orientation": 0,
"dataMsg": "此票暂不支持查验",
"coord": {
"titleCoord": [1392, 520,1932,523,1932,649,1392, 646],
"amountTaxCoord": [1421, 1361,1577, 1362,1577, 1404,1421, 1403 ],
"invoiceNumberCoord": [1385,770,1835, 772,1834, 827, 1384,825],
"invoiceCodeCoord": [ 1381,686,1920, 689, 1920,744,1381,741
],
"qrListsCoord": [-1, -1,-1, -1, -1, -1,-1,-1 ]
},
"flag": 0,
"imgOrgsize": [
3648,
2736
],
"regionFourPointOri": [1262,272,1984,277,1966,3322,1243,3317],
"code": 0, - - - 识别成功
"invoice": {
"invoiceType": 99, - - -发票类型
"invoiceCode": "135091697006", - - -发票代码
"invoiceNumber": "01101236", - - -发票号码
"billingDate": "", - - -开票日期
"amountTax": "100", - - -票面金额
"kind":"其他" - - - 消费类型
},
"region": [1243,272,1984,3322 ],
"dataCode": -10007, - - - 状态码
"qrLists": {
"qrInfo": ""
},
"regionFourPoint": [1262,272,1984,277,1966,3322,1243,3317]
}
],
"msg": "调用完成"
}
(38) 电子发票(特定业务明细)
a 不动产经营租赁服务
{
"invoiceLists": [
{
"commodityName": "*经营租赁*地面停车费", - - - 项目名称
"specificationModel": "无", - - - 产权证书/不动产权证号
"unit": "m", - - - 面积单位
"quantity": "1", - - - 数量
"unitPrice": "1142.85714285714", - - - 单价
"amount": "1142.86", - - - 金额
"taxRate": "0.05", - - - 税率/征收率
"tax": "57.14", - - - 税额
"taxPercentage": "5%" - - - 税额百分比
}
]
}
b 货物运输服务
{
"invoiceLists": [
{
"commodityName": "*运输服务*运输服务", - - - 项目名称
"unit": "吨", - - - 单位
"quantity": "33", - - - 数量
"unitPrice": "89.1089108910891", - - - 单价
"amount": "2940.59", - - - 金额
"taxRate": "0.01", - - - 税率/征收率
"tax": "29.41", - - - 税额
"taxPercentage": "1%" - - - 税率百分比
}
],
"goodsInvoiceLists": [
{
"transportationType": "公路运输", - - - 运输工具种类
"travelerID": "黑****", - - - 运输工具牌号
"travelerFrom": "讷河", - - - 起运地
"travelerTo": "哈尔滨", - - - 到达地
"goodsName": "氢钙" - - - 运输货物名称
}
]
}
c 建筑服务
{
"invoiceLists": [
{
"commodityName": "*建筑服务*作业分包", - - - 项目名称
"locationConstructionService": "上海市黄浦*****号", - - - 建筑服务发生地
"constructionName": "中**********校建设工程", - - - 建筑项目名称
"amount": "35643.56", - - - 金额
"taxRate": "0.01", - - - 税率/征收率
"tax": "356.44", - - - 税额
"taxPercentage": "1%" - - - 税率百分比
}
]
}
d 旅客运输服务
{
"invoiceLists": [
{
"commodityName": "*运输服务*旅游客运省际包车", - - - 项目名称
"unit": "", - - - 数量
"unitPrice": "", - - - 单价
"amount": "1266.06", - - - 金额
"taxRate": "0.09", - - - 税率/征收率
"tax": "113.94", - - - 税额
"taxPercentage": "9%" - - - 税率百分比
}
],
"travelerInvoiceLists": [
{
"travelerName": "上海电****有限公司", - - - 出行人
"travelerID": "913102******HPT181", - - - 有效身份证件号
"travelerDate": "2023-04-13", - - - 出行日期
"travelerFrom": "上海市闵行区", - - - 出发地
"travelerTo": "上海市浦东新区", - - - 到达地
"travelerLevel": "", - - - 等级
"transportationType": "汽车" - - - 交通工具类型
}
]
}