凭证生产
POST
https://v4.fenxi365.com/api/salary/voucher/generate最后修改时间: 8 个月前
责任人: 未设置
请求参数
Body 参数application/json
salaryId
integer | null
可选
templateId
integer | null
可选
voucher
object (VoucherDto)
可选
id
integer | null
可选
word
string | null
可选
code
integer | null
可选
remark
string | null
可选
receiptNum
integer | null
可选
createMember
integer | null
可选
createMemberName
string | null
可选
createMemberMobile
string | null
可选
createDate
string | null
可选
debitAmount
number | null
可选
creditAmount
number | null
可选
accountSetsId
integer | null
可选
year
integer | null
可选
month
integer | null
可选
voucherDate
string | null
可选
auditMemberId
integer | null
可选
invoiceId
integer | null
可选
invoiceIds
array[integer] | null
可选
journalId
integer | null
可选
journalIds
array[integer] | null
可选
cashierTransferId
integer | null
可选
cashierTransferIds
array[integer] | null
可选
auditMemberName
string | null
可选
auditDate
string | null
可选
carryForward
boolean | null
可选
billList
array[object (FileInfo) {8}] | null
可选
details
array[object (VoucherDetailsDto) {27}] | null
可选
默认值:
new ArrayList<>(0)
yearMonth
string | null
可选
isTemplate
boolean | null
可选
templateName
string | null
可选
locked
boolean | null
可选
insert
boolean | null
可选
默认值:
false
checkTplId
integer | null
可选
reverseVoucherId
integer | null
可选
示例
{
"salaryId": 0,
"templateId": 0,
"voucher": {
"id": 0,
"word": "string",
"code": 0,
"remark": "string",
"receiptNum": 0,
"createMember": 0,
"createMemberName": "string",
"createMemberMobile": "string",
"createDate": "string",
"debitAmount": 0,
"creditAmount": 0,
"accountSetsId": 0,
"year": 0,
"month": 0,
"voucherDate": "string",
"auditMemberId": 0,
"invoiceId": 0,
"invoiceIds": [
0
],
"journalId": 0,
"journalIds": [
0
],
"cashierTransferId": 0,
"cashierTransferIds": [
0
],
"auditMemberName": "string",
"auditDate": "string",
"carryForward": true,
"billList": [
{
"name": "string",
"size": 0,
"type": "string",
"url": "string",
"uid": "string",
"thumbUrl": "string",
"status": "string",
"date": "string"
}
],
"details": "new ArrayList<>(0)",
"yearMonth": "string",
"isTemplate": true,
"templateName": "string",
"locked": true,
"insert": "false",
"checkTplId": 0,
"reverseVoucherId": 0
}
}
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
success
boolean | null
可选
默认值:
true
code
integer | null
可选
默认值:
200
msg
string | null
可选
示例
{
"success": false,
"code": 0,
"msg": "",
"data": {}
}
最后修改时间: 8 个月前