该接口主要用于第三方平台或自主研发者,通过调用【凭证输入】的查询接口,可将Sunlike ERP或Online ERP系统中的【凭证输入】凭证信息调出至第三方平台中显示。
{
"code": 0, //0表示执行成功
"message": "查询成功",
"data": {
"VHED": [ //查询凭证输入的表头信息
{
"MAK_NO": "MK11220001",
"MAK_DAT": "2021-01-22 00:00:00",
"VOH_NO": "VH11220001",
"VOH_DAT": "2021-01-22 00:00:00",
"VOH_ID": "3",
"POS_DAT": "2021-01-22 00:00:00",
"CHK_MAN": "ADMIN",
"POS_MAN": "ADMIN",
"AMT": 110.0,
"VOH_ITM": 2,
"USR": "ADMIN",
"SYS_DATE": "2021-01-22 09:34:55",
"CLS_DATE": "2021-01-22 09:34:55",
"DEP": "00000000",
"DEP_NAME": "First Department"
}
],
"VDTL": [ //查询凭证输入的表身信息
{
"MAK_NO": "MK11220001",
"ITM": 1,
"VOH_DAT": "2021-01-22 00:00:00",
"DC": "D",
"ACC_NO": "1001",
"DEP": "00000000",
"AMTN": 110.0,
"EXC_RTO": 1.0,
"POS": "T",
"VOH_ID": "3",
"PRE_ITM": 1,
"ACC_NAME": "库存现金",
"DEP_NAME": "First Department",
"ENG_NAME": "Cash on hand",
"AMTND": 110.0,
"ACCNO": "1001",
"DEP_NO": "00000000"
},
{
"MAK_NO": "MK11220001",
"ITM": 2,
"VOH_DAT": "2021-01-22 00:00:00",
"DC": "C",
"ACC_NO": "1221",
"DEP": "00000000",
"AMTN": 110.0,
"EXC_RTO": 1.0,
"POS": "T",
"VOH_ID": "3",
"PRE_ITM": 2,
"ACC_NAME": "其他应收款",
"DEP_NAME": "First Department",
"ENG_NAME": "Other receivable",
"AMTNC": 110.0,
"ACCNO": "1221",
"DEP_NO": "00000000"
}
]
}
}