该接口主要用于第三方平台或自主研发者,需要通过日期、单号、部门批量查询ERP系统的单据时,则可调用该单据的批量查询接口,将Sunlike ERP或Online ERP系统中的批量单据信息查询到第三方平台中。
{
"code": 0, //为0表示执行成功
"message": "查询成功",
"data": {
"UP_DD": "2021-04-20 16:24:55",
"TOTAL_NUM": 3,
"BILL_LIST": [ //返回查询内容明细
{
"TF_MON": [
{
"RP_ID": "1",
"RP_NO": "RT14200002",
"ITM": 1,
"IRP_ID": "T",
"CLS_ID": "F",
"RP_DD": "2021-04-20 00:00:00",
"CUS_NO": "0002",
"HS_ID": "F",
"AMTN_TAX_IRP": 0.00000000,
"AMT_TAX_IRP": 0.00000000,
"AMTN_NET_IRP": 0.00000000,
"AMT_NET_IRP": 0.00000000,
"INCLUDESON": "F",
"AMTN_BB": 200.00000000,
"AMTN_OTHER": 0.00000000,
"AMTN_IRP": 0.00000000,
"AMTN_CLS": 0.00000000,
"AMT_OTHER": 0.00000000,
"CACC_NO": "",
"BB_NO": "BT14200002",
"BACC_NO": "001",
"EXC_RTO": 1.00000000,
"DEP": "00000000",
"SK_TYPE": "1",
"USR": "ADMIN",
"CHK_MAN": "ADMIN",
"PRT_SW": "N",
"AMT_CLS": 0.00000000,
"CLS_DATE": "2021-04-20 00:00:00",
"SYS_DATE": "2021-04-20 16:24:55",
"IEA_ID": "F",
"IOR_ID": "F"
}
],
"MF_MON": [
{
"RP_ID": "1",
"RP_NO": "RT14200002",
"RP_DD": "2021-04-20 00:00:00",
"DEP": "00000000",
"AMTN": 200.00000000,
"USR": "ADMIN",
"CLS_DATE": "2021-04-20 00:00:00",
"LOCK_MAN": "",
"FJ_NUM": 0,
"CAS_NO": ""
}
],
"BILL_STATE": {
"READONLY": false,
"READONLY_REM": []
}
},
{
"TF_MON": [
{
"RP_ID": "1",
"RP_NO": "RT14200001",
"ITM": 1,
"IRP_ID": "F",
"CLS_ID": "T",
"RP_DD": "2021-04-20 00:00:00",
"CUS_NO": "0001",
"HS_ID": "F",
"AMTN_NET_IRP": 0.00000000,
"AMT_NET_IRP": 0.00000000,
"INCLUDESON": "F",
"AMTN_BB": 100.00000000,
"AMTN_OTHER": 0.00000000,
"AMTN_CLS": 100.00000000,
"AMT_OTHER": 0.00000000,
"CACC_NO": "",
"BB_NO": "BT14200001",
"BACC_NO": "001",
"EXC_RTO": 1.00000000,
"DEP": "0104",
"SK_TYPE": "1",
"USR": "ADMIN",
"CHK_MAN": "ADMIN",
"PRT_SW": "N",
"AMT_CLS": 0.00000000,
"CLS_DATE": "2021-04-20 00:00:00",
"SYS_DATE": "2021-04-20 16:24:30",
"IEA_ID": "F",
"IOR_ID": "F"
}
],
"MF_MON": [
{
"RP_ID": "1",
"RP_NO": "RT14200001",
"RP_DD": "2021-04-20 00:00:00",
"DEP": "0104",
"AMTN": 100.00000000,
"USR": "ADMIN",
"CLS_DATE": "2021-04-20 00:00:00",
"LOCK_MAN": "",
"FJ_NUM": 0,
"CAS_NO": ""
}
],
"TC_MON": [
{
"RP_ID": "1",
"RP_NO": "RT14200001",
"ITM": 1,
"ITM2": 1,
"ARP_NO": "AR0C210001",
"AMTN_CLS": 100.00000000,
"ARP_OPN_ID": "2",
"RP_DD": "2021-04-20 00:00:00",
"DEP": "0104",
"CUS_NO": "0001",
"CUS_NAME": "0001客户",
"SAL_NO": "10001",
"BIL_DD": "2020-12-21 00:00:00",
"PRE_ITM": 1,
"EXC_RTO_RCV": 1.00000000,
"ARP_CUS_NO": "0001",
"ARP_BIL_DD": "2020-12-21 00:00:00",
"AMTN": 123.00000000,
"REM": "",
"ARP_CUR_ID": "",
"EXC_RTO": 1.00000000,
"ARP_SAL_NO": "10001",
"BIL_NO": "SA0C210001",
"BIL_ID": "SA",
"INV_NO": "",
"PAY_DD": "2021-01-01 00:00:00",
"CHK_DD": "2021-02-01 00:00:00",
"TAX": 0.00000000,
"AMTN_CLS_SUM": 0.00000000,
"AMT_CLS_SUM": 0.00000000,
"AMTN_UNSH": 0.00,
"AMT_UNSH": 0.0000,
"AMTN_BALANCE": 23.00,
"STRIKE_ID": "Y"
}
],
"BILL_STATE": {
"READONLY": false,
"READONLY_REM": []
}
},
{
"TF_MON": [],
"BILL_STATE": {
"READONLY": false,
"READONLY_REM": []
}
}
]
}
}