[
{
"voucher": {
"voucherId": "string",
"businessEntityName": "string",
"accountSetNo": "string",
"voucherPeriod": "string",
"voucherType": "string",
"voucherNo": "string"
},
"relatedVoucherList": [
{
"voucherId": "string",
"businessEntityName": "string",
"accountSetNo": "string",
"voucherPeriod": "string",
"voucherType": "string",
"voucherNo": "string"
}
],
"linkMode": "WRITE_OFF"
}
]curl --location --request POST '/open/relation/v2/voucher/voucher' \
--header 'Authorization: {{token}}' \
--header 'Content-Type: application/json' \
--data-raw '[
{
"voucher": {
"voucherId": "string",
"businessEntityName": "string",
"accountSetNo": "string",
"voucherPeriod": "string",
"voucherType": "string",
"voucherNo": "string"
},
"relatedVoucherList": [
{
"voucherId": "string",
"businessEntityName": "string",
"accountSetNo": "string",
"voucherPeriod": "string",
"voucherType": "string",
"voucherNo": "string"
}
],
"linkMode": "WRITE_OFF"
}
]'{
"code": 0,
"message": "",
"errMsg": "",
"data": [
{
"index": 0,
"voucherId": "",
"businessEntityName": "",
"accountSetNo": "",
"voucherPeriod": "",
"voucherType": "",
"voucherNo": "",
"code": 0,
"errorMsg": ""
}
],
"timestamp": ""
}