{
"voucherId": "string",
"voucherPeriod": "string",
"voucherType": "string",
"voucherNo": "string",
"accountSetNo": "string",
"lines": [
{
"voucherAbstract": "string",
"subjectCode": "string",
"subjectName": "string",
"originalAmount": 0,
"debitAmount": 0,
"creditAmount": 0,
"entrySequenceNo": "string",
"quantity": 0,
"unitPrice": 0,
"currency": "string",
"exchangeRate": 0,
"deptCode": "string",
"deptName": "string",
"employeeCode": "string",
"employeeName": "string",
"projectCode": "string",
"projectName": "string",
"transactionUnitCode": "string",
"transactionUnitName": "string",
"supplierCode": "string",
"supplierName": "string",
"merchantCode": "string",
"merchantName": "string",
"inventoryCode": "string",
"inventoryName": "string",
"cashFlowCode": "string",
"cashFlowName": "string",
"auxiliaryAccountings": [
{
"type": "string",
"code": "string",
"name": "string",
"value": "string"
}
],
"auxiliaryStr": "string",
"explain": {
"key": "string"
},
"custom": {
"key": {}
},
"businessRemark": "string"
}
]
}
curl --location --request POST '/open/voucher/v3/addVoucherLine' \
--header 'Authorization: {{token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"voucherId": "string",
"voucherPeriod": "string",
"voucherType": "string",
"voucherNo": "string",
"accountSetNo": "string",
"lines": [
{
"voucherAbstract": "string",
"subjectCode": "string",
"subjectName": "string",
"originalAmount": 0,
"debitAmount": 0,
"creditAmount": 0,
"entrySequenceNo": "string",
"quantity": 0,
"unitPrice": 0,
"currency": "string",
"exchangeRate": 0,
"deptCode": "string",
"deptName": "string",
"employeeCode": "string",
"employeeName": "string",
"projectCode": "string",
"projectName": "string",
"transactionUnitCode": "string",
"transactionUnitName": "string",
"supplierCode": "string",
"supplierName": "string",
"merchantCode": "string",
"merchantName": "string",
"inventoryCode": "string",
"inventoryName": "string",
"cashFlowCode": "string",
"cashFlowName": "string",
"auxiliaryAccountings": [
{
"type": "string",
"code": "string",
"name": "string",
"value": "string"
}
],
"auxiliaryStr": "string",
"explain": {
"key": "string"
},
"custom": {
"key": {}
},
"businessRemark": "string"
}
]
}'
{
"code": 0,
"message": "",
"errMsg": "",
"data": {
"successAmount": 0
},
"timestamp": "",
"errData": ""
}