{
"messageType": "billSave",
"messageId": "string",
"data": {
"billId": "string",
"billNo": "string",
"billType": "string",
"status": "1",
"resource": "string",
"billTaxNo": "string",
"orgNumber": "string",
"updateInvoiceOrg": "0",
"bussinSysUserId": "string",
"userName": "string",
"invoiceData": [
{
"serialNo": "string",
"useAmount": 0,
"deductionFlag": "0",
"deductionPurpose": "1",
"deductionTaxAmount": "string",
"effectiveTaxAmount": "string",
"outputAmount": "string",
"remark": "string",
"entryId": "string",
"extInfo": {}
}
],
"coverData": [
{
"base64": "string",
"coveNo": "string",
"coveType": "1"
}
],
"updateAttachRelation": "0",
"attachData": [
{
"attachName": "string",
"attachNo": "string",
"attachUrl": "string",
"attachType": "1",
"remark": "string",
"serialNo": "string"
}
]
}
}
curl --location --request POST 'https://cosmic-sandbox.piaozone.com/jdpjykjyxgs/kapi/app/rim/message?access_token=' \
--header 'access_token: {{access_token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"messageType": "billSave",
"messageId": "string",
"data": {
"billId": "string",
"billNo": "string",
"billType": "string",
"status": "1",
"resource": "string",
"billTaxNo": "string",
"orgNumber": "string",
"updateInvoiceOrg": "0",
"bussinSysUserId": "string",
"userName": "string",
"invoiceData": [
{
"serialNo": "string",
"useAmount": 0,
"deductionFlag": "0",
"deductionPurpose": "1",
"deductionTaxAmount": "string",
"effectiveTaxAmount": "string",
"outputAmount": "string",
"remark": "string",
"entryId": "string",
"extInfo": {}
}
],
"coverData": [
{
"base64": "string",
"coveNo": "string",
"coveType": "1"
}
],
"updateAttachRelation": "0",
"attachData": [
{
"attachName": "string",
"attachNo": "string",
"attachUrl": "string",
"attachType": "1",
"remark": "string",
"serialNo": "string"
}
]
}
}'
{
"success": "string",
"errorCode": "string",
"message": "string",
"data": {}
}