该接口主要用于第三方平台或自主研发者,需要通过日期、单号、部门批量查询ERP系统的单据时,则可调用该单据的批量查询接口,将Sunlike ERP或Online ERP系统中的批量单据信息查询到第三方平台中。
{
"code": 0, //0表示执行成功
"message": "查询成功",
"data": {
"UP_DD": "2021-01-29 16:22:10", //本次查询单据的最大单据日期
"TOTAL_NUM": 1, //本次查询单据的总单量,每次执行最多返回5000笔
"BILL_LIST": [ //本次查询单据的明细
{
"MF_CK": [
{
"CK_ID": "KB",
"CK_NO": "KB11290001",
"CK_DD": "2021-01-29 00:00:00",
"PAY_DD": "2021-02-01 00:00:00",
"CHK_DD": "2021-03-01 00:00:00",
"CUS_NO": "0001",
"DEP": "00000000",
"OS_ID": "CK",
"OS_NO": "CK11290001",
"CUR_ID": "",
"EXC_RTO": 1.00000000,
"SAL_NO": "10001",
"PAY_MTH": "1",
"PAY_DAYS": 1,
"CHK_DAYS": 30,
"INT_DAYS": 30,
"PAY_REM": "结帐期:2021-02-01;票据到期日:2021-03-01",
"USR": "ADMIN",
"CHK_MAN": "ADMIN",
"PRT_SW": "N",
"AMTN_NET": 117.14000000,
"TAX": 5.86000000,
"TAX_ID": "2",
"SEND_MTH": "1",
"AMTN_NET_CLS": 0.00000000,
"CLS_DATE": "2021-01-29 00:00:00",
"LZ_CLS_ID": "F",
"YD_ID": "T",
"BIL_TYPE": "",
"SYS_DATE": "2021-01-29 16:22:10",
"UP_DD_BIL": "AAAAAAAB3Lg=",
"FX_WH": ""
}
],
"TF_CK": [
{
"CK_ID": "KB",
"CK_NO": "KB11290001",
"ITM": 1,
"PRD_NO": "0001",
"PRD_NO_NO": "0001",
"PRD_NAME": "不粘锅",
"PRD_MARK": "",
"UNIT": "1",
"WH": "A000",
"QTY": 1.00000000,
"UP": 123.00000000,
"AMT": 123.00000000,
"AMTN_NET": 117.14000000,
"TAX": 5.86000000,
"EST_DD": "2021-01-28 00:00:00",
"OS_ID": "CK",
"OS_NO": "CK11290001",
"TAX_RTO": 5.00000000,
"EST_ITM": 2,
"CSTN_SAL": 0.00000000,
"FREE_ID_DEF": "F",
"CK_DD": "2021-01-29 00:00:00",
"OTH_ITM": 1,
"PRE_ITM": 1,
"ZHANG_ID": "2",
"SUP_PRD_NO": "",
"PRM_NO": "",
"UNIT_DP": "",
"TRANSM": "0",
"LOGIST": "0",
"QTY_SO_ORG": 1.00
}
],
"BILL_STATE": { //查询本单是否允许删除,true则不允许删除,false则允许删除
"READONLY": false,
"READONLY_REM": []
}
}
]
}
}