该接口主要用于第三方平台或自主研发者,需要通过日期、单号、部门批量查询ERP系统的单据时,则可调用该单据的批量查询接口,将Sunlike ERP或Online ERP系统中的批量单据信息查询到第三方平台中。
{
"code": 0, //0表示执行成功
"message": "查询成功",
"data": {
"PS_DD": "2021-01-11 00:00:00", //本次查询单据中的最大日期
"TOTAL_NUM": 1, //本次查询单据的总单量
"BILL_LIST": [ //本次查询单据的明细信息,每次最多可显示5000笔
{
"MF_PSS": [
{
"PS_ID": "PC",
"PS_NO": "PC11110001",
"PS_DD": "2021-01-11 00:00:00",
"PAY_DD": "2021-02-01 00:00:00",
"CHK_DD": "2021-03-01 00:00:00",
"CUS_NO": "1001",
"CUS_NAME": "1001供应商",
"DEP": "0101",
"DEP_NAME": "总部-采购部",
"TAX_ID": "2",
"ZHANG_ID": "1",
"CUR_ID": "",
"EXC_RTO": 1.00000000,
"SAL_NO": "10001",
"SAL_NAME": "10001员工",
"ARP_NO": "AP11110001",
"ARP_DD": "2021-01-11 00:00:00",
"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",
"CLS_DATE": "2021-01-11 00:00:00",
"CK_CLS_ID": "F",
"LZ_CLS_ID": "F",
"BIL_TYPE": "",
"AMTN_RCV": 0.00000000,
"SYS_DATE": "2021-01-11 10:09:08",
"TOT_QTY": 200.00000000,
"AMT": 0.00000000,
"KP_ID": "F",
"TAX_IRP": 0.00000000,
"AMTN_TAX_IRP": 0.00000000,
"AMT_TAX_IRP": 0.00000000
}
],
"TF_PSS": [
{
"PS_ID": "PC",
"PS_NO": "PC11110001",
"ITM": 1,
"PS_DD": "2021-01-11 00:00:00",
"WH": "A000",
"PRD_NO": "05Cr17Ni4Cu4Nb-Φ95",
"PRD_NAME": "不锈圆",
"PRD_MARK": "",
"UNIT": "1",
"TAX_RTO": 5.00000000,
"QTY": 100.00000000,
"UP": 1.00000000,
"AMTN_NET": 95.24000000,
"AMT": 100.00000000,
"CST_STD": 0.00000000,
"PRE_ITM": 2,
"CSTN_SAL": 95.24000000,
"TAX": 4.76000000,
"AMT_ORG": 0.00000000,
"AMT_ORG1": 0.00000000,
"UP_MAIN": 1.00000000,
"CST_SAL": 100.00000000,
"PRD_NO_NO": "05Cr17Ni4Cu4Nb-Φ95",
"CST_STD_UNIT": 0.00,
"WLGL_UP": "1.00000000"
},
{
"PS_ID": "PC",
"PS_NO": "PC11110001",
"ITM": 2,
"PS_DD": "2021-01-11 00:00:00",
"WH": "A000",
"PRD_NO": "A2001",
"PRD_NAME": "A2001制成品",
"PRD_MARK": "",
"UNIT": "1",
"TAX_RTO": 5.00000000,
"QTY": 100.00000000,
"UP": 1.00000000,
"AMTN_NET": 95.24000000,
"AMT": 100.00000000,
"CST_STD": 0.00000000,
"PRE_ITM": 3,
"CSTN_SAL": 95.24000000,
"TAX": 4.76000000,
"AMT_ORG": 0.00000000,
"AMT_ORG1": 0.00000000,
"UP_MAIN": 1.00000000,
"CST_SAL": 100.00000000,
"PRD_NO_NO": "A2001",
"CST_STD_UNIT": 0.00,
"WLGL_UP": "1.00000000"
}
]
}
]
}
}