该接口主要用于第三方平台或自主研发者,通过调用【借入还出单】的查询接口,将Sunlike ERP或Online ERP系统中的【借入还出单】信息查询到第三方平台中。
{
"code": 0, //为0表示执行成功,其他表示错误
"message": "查询成功", //提示信息
"data": {
"MF_BLN": [ //查询单据表头信息
{
"BL_ID": "BB",
"BL_NO": "BB20082500000001",
"BL_MOD": "1",
"AMT_PLED": 500.0,
"CUS_NO": "C1000",
"BL_DD": "2020-08-25 00:00:00",
"PAY_DD": "2020-09-01 00:00:00",
"REP_BL_NO": "BN20082500000001",
"DEP": "001",
"KP_ID": "F",
"ZHANG_ID": "3",
"CUR_ID": "",
"EXC_RTO": 1.0,
"SAL_NO": "9999",
"BL_DAYS": 0,
"TAX": 0.0,
"AMTN_NET": 0.0,
"TAX_ID": "2",
"REM": "API产生",
"PAY_MTH": "1",
"PAY_DAYS": 1,
"CHK_DAYS": 30,
"PAY_REM": "结帐期:2020-09-01;票据到期日:2020-10-01",
"END_DAYS": 0,
"CHK_DD": "2020-10-01 00:00:00",
"INT_DAYS": 30,
"EST_DD": "2020-09-01 00:00:00",
"USR": "ADMIN",
"PRT_SW": "N",
"BIL_TYPE": "01",
"MOB_ID": "01",
"SYS_DATE": "2020-08-25 12:13:48",
"CAS_NO": "",
"PO_ID": "F",
"CAS_NO1": "",
"BN_DD": "2020-08-25 00:00:00",
"LJ_BB1": "外部单据"
}
],
"TF_BLN": [ //查询单据表身信息
{
"BL_ID": "BB",
"BL_NO": "BB20082500000001",
"ITM": 1,
"BL_DD": "2020-08-25 00:00:00",
"WH": "9902",
"PRD_NO": "0001",
"PRD_NAME": "不粘锅",
"PRD_MARK": "",
"UNIT": "1",
"QTY": 100.0,
"CST": 11619.05,
"AMT_RNT": 0.0,
"AMTN_RNT_NET": 0.0,
"UP": 122.0,
"AMT": 12200.0,
"AMTN": 11619.05,
"QTY_RTN": 100.0,
"PRE_BL_NO": "BN20082500000001",
"PRE_ITM": 1,
"CST_STD": 0.0,
"EST_ITM": 1,
"TAX_RTO": 5.0,
"TAX": 580.95,
"SPC": "4L",
"CHK_TAX": "F",
"TAXCODE": "",
"QTY_SO_ORG": 100.0,
"CST_STD_UNIT": 0.0,
"PRD_NO_NO": "0001"
}
]
}
}