{
"billCode": "12",
"cuserid": "zxc_yy",
"pk_bill ": "10012101111100001",
"pk_org": "HW010001",
"pk_group": "HW",
"head": {
"prepareddate": "2025-04-07 10:35:04",
"year": "2025",
"period": "04",
"explanation": "test11",
"pk_accountingbook": "HW010001",
"pk_vouchertype": "02"
},
"bodys": {
"BODY": [
{
"explanation": "test11",
"pk_currtype": "IDR",
"pk_accasoa": "100201",
"localdebitamount": 1370000,
"debitamount": 1370000,
"direction": "D",
"ass": [
{
"checktypecode": "0011",
"checkvaluecode": "2828788588"
}
]
},
{
"explanation": "test1",
"creditamount": 1370000,
"pk_accasoa": "630109",
"localcreditamount": 1370000,
"direction": "C",
"cashFlow": [
{
"pk_cashflow": "1124",
"money": "1370000",
"moneymain": "1370000"
}
]
},
{
"explanation": "test1",
"pk_accasoa": "100201",
"localdebitamount": 300000,
"debitamount": 300000,
"direction": "D",
"ass": [
{
"checktypecode": "0011",
"checkvaluecode": "2828788588"
}
]
},
{
"explanation": "test1",
"creditamount": 300000,
"pk_accasoa": "630109",
"localcreditamount": 300000,
"direction": "C",
"cashFlow": [
{
"pk_cashflow": "1124",
"money": "300000",
"moneymain": "1370000"
}
]
}
]
}
}
curl --location --request POST '/service/recivemsg?type=GlVoucherAdd' \
--header 'Content-Type: application/json' \
--data-raw '{
"billCode": "12",
"cuserid": "zxc_yy",
"pk_bill ": "10012101111100001",
"pk_org": "HW010001",
"pk_group": "HW",
"head": {
"prepareddate": "2025-04-07 10:35:04",
"year": "2025",
"period": "04",
"explanation": "test11",
"pk_accountingbook": "HW010001",
"pk_vouchertype": "02"
},
"bodys": {
"BODY": [
{
"explanation": "test11",
"pk_currtype": "IDR",
"pk_accasoa": "100201",
"localdebitamount": 1370000,
"debitamount": 1370000,
"direction": "D",
"ass": [
{
"checktypecode": "0011",
"checkvaluecode": "2828788588"
}
]
},
{
"explanation": "test1",
"creditamount": 1370000,
"pk_accasoa": "630109",
"localcreditamount": 1370000,
"direction": "C",
"cashFlow": [
{
"pk_cashflow": "1124",
"money": "1370000",
"moneymain": "1370000"
}
]
},
{
"explanation": "test1",
"pk_accasoa": "100201",
"localdebitamount": 300000,
"debitamount": 300000,
"direction": "D",
"ass": [
{
"checktypecode": "0011",
"checkvaluecode": "2828788588"
}
]
},
{
"explanation": "test1",
"creditamount": 300000,
"pk_accasoa": "630109",
"localcreditamount": 300000,
"direction": "C",
"cashFlow": [
{
"pk_cashflow": "1124",
"money": "300000",
"moneymain": "1370000"
}
]
}
]
}
}'
{
"code": 200,
"datas": {
"billno": 44,
"headId": "1001K51000000000B5BV"
},
"msg": "",
"opType": "http://127.0.0.1:14611/service/recivemsg?type=GlVoucherAdd",
"page": 1,
"pageSize": 0,
"pk_bill": "100000110004",
"pk_group": "1001A11000000000086X",
"requstId": "唯一请求识别码,非必填",
"success": true,
"total": 0,
"ts": 1654048413618
}