该接口主要用于第三方平台或自主研发者,需要通过日期、单号、部门批量查询ERP系统的单据时,则可调用该单据的批量查询接口,将Sunlike ERP或Online ERP系统中的批量单据信息查询到第三方平台中。
{
"code": 0,
"message": "查询成功",
"data": {
"UP_DD": "2021-10-29 14:25:34",
"TOTAL_NUM": 1,
"DEFINE_INFO": {
"VHED": [
"TEST01"
],
"VDTL": [
"TF_TEST01"
]
},
"BILL_LIST": [
{
"VHED": [
{
"MAK_NO": "MK1A290001",
"MAK_DAT": "2021-10-29 00:00:00",
"VOH_NO": "VH1A290001",
"VOH_DAT": "2021-10-29 00:00:00",
"VOH_ID": "3",
"POS_DAT": "2021-10-29 00:00:00",
"CHK_MAN": "ADMIN",
"POS_MAN": "ADMIN",
"AMT": 100.00000000,
"PRT_SW": "N",
"USR": "ADMIN",
"A": "",
"SYS_DATE": "2021-10-29 14:25:34",
"CLS_DATE": "2021-10-29 14:25:35",
"MOB_ID": "",
"PRT_USR": "",
"DEP": "00000000",
"DEP_NAME": "First Department",
"TEST01": "表头测试"
}
],
"VDTL": [
{
"MAK_NO": "MK1A290001",
"ITM": 1,
"VOH_DAT": "2021-10-29 00:00:00",
"DC": "D",
"ACC_NO": "1001",
"DEP": "00000000",
"AMTN": 100.00000000,
"EXC_RTO": 1.00000000,
"OBJ": "",
"POS": "T",
"VOH_ID": "3",
"CLS_ID1": "",
"CLS_ID2": "",
"CUR_ID": "",
"CLS_ID3": "",
"CLS_ID4": "",
"PRE_ITM": 1,
"ACC_NAME": "库存现金",
"DEP_NAME": "First Department",
"ENG_NAME": "Cash on hand",
"TF_TEST01": "表身测试1",
"AMTND": 100.00,
"ACCNO": "1001",
"DEP_NO": "00000000"
},
{
"MAK_NO": "MK1A290001",
"ITM": 2,
"VOH_DAT": "2021-10-29 00:00:00",
"DC": "C",
"ACC_NO": "1122",
"DEP": "00000000",
"AMTN": 100.00000000,
"EXC_RTO": 1.00000000,
"OBJ": "",
"POS": "T",
"VOH_ID": "3",
"CLS_ID1": "",
"CLS_ID2": "",
"CUR_ID": "",
"CLS_ID3": "",
"CLS_ID4": "",
"PRE_ITM": 2,
"ACC_NAME": "应收账款",
"DEP_NAME": "First Department",
"ENG_NAME": "Accounts receivable",
"TF_TEST01": "表身测试2",
"AMTNC": 100.00,
"ACCNO": "1122",
"DEP_NO": "00000000"
}
],
"BILL_STATE": {
"READONLY": false,
"READONLY_REM": []
}
}
]
}
}