{
"authorize": {
"appSecId": "string",
"appSec": "string"
},
"globalInfo": {
"appId": "string",
"version": "string",
"interfaceCode": "string",
"enterpriseCode": "string",
"dataExchangeId": "string"
},
"data": {
"checkCode": "string",
"invoiceAmount": "string",
"invoiceCode": "string",
"invoiceDate": "string",
"invoiceNo": "string",
"invoiceType": "string",
"taxNo": "string",
"xfmc": "string",
"xfsbh": "string",
"dq": "string"
}
}
curl --location --request POST 'http://117.78.0.163/51GP/post/rest/invoice/dii' \
--header 'Content-Type: application/json' \
--data-raw '{
"authorize": {
"appSecId": "string",
"appSec": "string"
},
"globalInfo": {
"appId": "string",
"version": "string",
"interfaceCode": "string",
"enterpriseCode": "string",
"dataExchangeId": "string"
},
"data": {
"checkCode": "string",
"invoiceAmount": "string",
"invoiceCode": "string",
"invoiceDate": "string",
"invoiceNo": "string",
"invoiceType": "string",
"taxNo": "string",
"xfmc": "string",
"xfsbh": "string",
"dq": "string"
}
}'
{
"data": "eyJyZXN1bHQiOlt7ImJhbmRNb2RlbCI6bnVsbCwiYmx1ZUlu...",
"returnStateInfo": {
"returnCode": "0000",
"returnMessage": "处理成功"
}
}
//data加密前的数据
{
"result": [
{
"bandModel": null,
"blueInvoiceCode": null,
"blueInvoiceNo": null,
"buyerAccount": null,
"buyerAddressPhone": null,
"buyerName": null,
"buyerTaxNo": "913101153987159026",
"cancellationMark": null,
"carNumber": null,
"carrierName": null,
"carrierTaxNo": null,
"certificateOfImport": null,
"checkCode": " ",
"checkCount": null,
"commodityInspectionNo": null,
"consignorName": null,
"consignorTaxNo": null,
"detailList": [
{
"detailAmount": "322.64",
"detailNo": "1",
"expenseItem": null,
"goodsName": "*餐饮服务*餐费",
"num": "1",
"plateNo": null,
"specificationModel": null,
"taxAmount": "19.36",
"taxDetailAmount": null,
"taxRate": "6%",
"taxUnitPrice": null,
"trafficDateEnd": null,
"trafficDateStart": null,
"type": null,
"unit": null,
"unitPrice": "322.64"
},
{
"detailAmount": "322.64",
"detailNo": "1",
"expenseItem": null,
"goodsName": "*餐饮服务*餐费",
"num": "1",
"plateNo": null,
"specificationModel": null,
"taxAmount": "19.36",
"taxDetailAmount": null,
"taxRate": "6%",
"taxUnitPrice": null,
"trafficDateEnd": null,
"trafficDateStart": null,
"type": null,
"unit": null,
"unitPrice": "322.64"
}
],
"draweeName": null,
"draweeTaxNo": null,
"drawer": null,
"engineNo": null,
"idNo": null,
"invoiceAmount": "322.64",
"invoiceCode": "全电发票",
"invoiceDate": "20231008",
"invoiceNo": "23312000000094022820",
"invoiceType": "32",
"limitedPeopleCount": null,
"machineNo": " ",
"payee": null,
"produceArea": null,
"qualifiedNo": null,
"receiveName": null,
"receiveTaxNo": null,
"remark": null,
"resultCode": "0001",
"resultTip": "查验成功,重复查验",
"reviewer": null,
"salerAccount": null,
"salerAddress": null,
"salerAddressPhone": null,
"salerBankAccount": null,
"salerBankName": null,
"salerName": "上海昕怡小南国餐饮管理有限公司",
"salerPhone": null,
"salerTaxNo": "91310104570820588K",
"taxAmount": "19.36",
"taxAuthorityCode": null,
"taxAuthorityName": null,
"taxDiskNumber": null,
"taxPaymentCertificateNo": null,
"taxRate": "0",
"throughAddress": null,
"tonnage": null,
"totalAmount": "342.00",
"trafficFeeFlag": null,
"transportGoodsInfo": null,
"vehicleIdentificationNo": null,
"vehicleTonnage": null,
"vehicleType": null,
"zeroTaxRateFlag": null
}
],
"totalRows": 1
}