API中心

  1. 商业汇票
  2. 收票登记
返回

收票登记查询

接口所在U8C版本:U8 cloud3.5以及更高版本
详细描述:用于收票登记查询
API视频讲解API详情补丁列表常见问题参考
接口地址
请求方式
请求参数header
请求参数body
返回类型参数
代码示例
请求参数示例
正确返回示例
错误返回示例
接口地址:http://ip:port/u8cloud/api/fbm/gather/query

参数填写指南

请求方式:POST

请求参数(header):

参数填写指南
参数名必填描述默认值
Content-Type请求体数据类型application/json
usercode用户
password密码
system系统参数

请求参数(body):

参数名类型是否数组必填描述默认值
corp公司
gatherdate_begin收票日期从
gatherdate_end收票日期至
page_now当前页1
page_size每页条数10

返回类型参数:

参数名类型是否数组必填描述默认值
billvo收票登记聚合VO_返回
parentvo收付票据登记表_返回
acceptancenostring承兑协议编号
cctypestring授信类型
chargeitemstring手续费支出项目
chargeplanitemstring手续费支出计划项目
contractnostring交易合同编号
currtype_codestring币种编码
currtype_namestring币种名称
dapprovedatestring审核日期
deptstring部门
dvoucherdatestring制证日期
enddatestring到期日期
fbmbillnostring票据编号
fbmbilltypestring票据类型
gatherdatestring收票日期
gatheritemstringgatheritem
gatherplanitemstring收票计划项目
gathertypestring收票来源类型
holdunitstring持票单位
holdunit_codestring持票单位编码
holdunit_namestring持票单位名称
impawnmodestring担保方式
invoicedatestring出票日期
invoiceitemstring开票收入项目
invoiceoutitemstring付票支出项目
invoiceoutplanitemstring付票计划项目
invoiceplanitemstring开票收入计划项目
invoiceunitstring出票单位
invoiceunit_codestring出票单位编码
invoiceunit_namestring出票单位名称
moneyystring汇票金额
notestring备注
notetype_codestring票据类型编码
notetype_namestring票据类型名称
operator_codestring操作人编码
operator_namestring操作人名称
paybankstring付款银行
paybank_codestring付款银行编码
paybank_namestring付款银行名称
paybankaccstring付款单位银行帐号
paybillunitstring付票单位
paybillunit_codestring付票单位编码
paybillunit_namestring付票单位名称
payunitstring付款单位
payunit_codestring付款单位编码
payunit_namestring付款单位名称
pk_corpstring公司
pk_corp_codestring公司编码
pk_corp_namestring公司名称
pk_currstring币种
poundagemoneystring手续费金额
poundagemoneybstring手续费本币
poundagemoneyfstring手续费辅币
receivebankstring收款银行
receivebank_codestring收款银行编码
receivebank_namestring收款银行名称
receivebankaccstring收款单位银行帐号
receivebankacc_codestring收款单位银行帐号编码
receivebankacc_namestring收款单位银行帐号名称
receiveunitstring收款单位
receiveunit_codestring收款单位编码
receiveunit_namestring收款单位名称
registernostring登记单编号
securityaccountstring保证金帐号
securitycodestring保证金编号
securitymoneystring保证金金额
securitymoneybstring保证金本币金额
securitymoneyfstring保证金辅币金额
securityratestring保证金比例
securityrateystring保证金汇率
securitytypestring保证金类型
vapproveidstring审核人
vapprovenotestring审核批语
verifymanstring核销人
voperatoridstring操作人
vvouchermanidstring制证人

请求参数示例:

复制代码

{
     "corp":"01",
     "gatherdate_begin":"2021-09-22",
     "gatherdate_end":"2021-09-30",
     "page_now":"1",
     "page_size":"100"
}

正确返回示例:

复制代码

{
	"status": "success",
	"data": {
		"allcount": 19,
		"retcount": 10,
		"datas": [{
			"parentvo": {
				"pk_curr": "00010000000000000001",
				"currtype_code": "CNY",
				"currtype_name": "人民币",
				"fbmbilltype": "FBMTYPE0000000000001",
				"notetype_code": "bank",
				"notetype_name": "银行承兑汇票",
				"fbmbillno": "2",
				"moneyy": 11,
				"invoicedate": "2021-09-21",
				"enddate": "2022-03-21",
				"paybillunit": "00011210000000000HML",
				"paybillunit_code": "04",
				"paybillunit_name": "弘光食品",
				"holdunit": "00011210000000000HMF",
				"holdunit_code": "01",
				"holdunit_name": "企业运营",
				"gatherdate": "2021-09-22",
				"gathertype": "input",
				"receiveunit": "00011210000000000HMF",
				"receiveunit_code": "01",
				"receiveunit_name": "企业运营",
				"pk_register": "1001ZZ100000000074YV",
				"pk_baseinfo": "1001ZZ100000000074YU"
			},
			"childrenvo": []
		}, {
			"parentvo": {
				"pk_curr": "00010000000000000001",
				"currtype_code": "CNY",
				"currtype_name": "人民币",
				"fbmbilltype": "FBMTYPE0000000000001",
				"notetype_code": "bank",
				"notetype_name": "银行承兑汇票",
				"fbmbillno": "5",
				"moneyy": 12,
				"invoicedate": "2021-09-24",
				"enddate": "2022-03-24",
				"paybillunit": "00011210000000000HML",
				"paybillunit_code": "04",
				"paybillunit_name": "弘光食品",
				"holdunit": "00011210000000000HMF",
				"holdunit_code": "01",
				"holdunit_name": "企业运营",
				"gatherdate": "2021-09-27",
				"gathertype": "input",
				"receiveunit": "00011210000000000HMF",
				"receiveunit_code": "01",
				"receiveunit_name": "企业运营",
				"pk_register": "1001ZZ10000000007MP2",
				"pk_baseinfo": "1001ZZ10000000007MP1"
			},
			"childrenvo": []
		}, {
			"parentvo": {
				"pk_curr": "00010000000000000001",
				"currtype_code": "CNY",
				"currtype_name": "人民币",
				"fbmbilltype": "FBMTYPE0000000000001",
				"notetype_code": "bank",
				"notetype_name": "银行承兑汇票",
				"fbmbillno": "3",
				"moneyy": 12,
				"invoicedate": "2021-09-24",
				"enddate": "2022-03-24",
				"paybillunit": "00011210000000000HMJ",
				"paybillunit_code": "03",
				"paybillunit_name": "王氏食品",
				"holdunit": "00011210000000000HMF",
				"holdunit_code": "01",
				"holdunit_name": "企业运营",
				"gatherdate": "2021-09-28",
				"gathertype": "input",
				"receiveunit": "00011210000000000HMF",
				"receiveunit_code": "01",
				"receiveunit_name": "企业运营",
				"pk_register": "1001ZZ10000000007P0B",
				"pk_baseinfo": "1001ZZ10000000007P0A"
			},
			"childrenvo": []
		}, {
			"parentvo": {
				"pk_curr": "00010000000000000001",
				"currtype_code": "CNY",
				"currtype_name": "人民币",
				"fbmbilltype": "FBMTYPE0000000000001",
				"notetype_code": "bank",
				"notetype_name": "银行承兑汇票",
				"fbmbillno": "8",
				"moneyy": 12,
				"invoicedate": "2021-09-24",
				"enddate": "2022-03-24",
				"paybillunit": "00011210000000000HMH",
				"paybillunit_code": "02",
				"paybillunit_name": "永和食品",
				"holdunit": "00011210000000000HMF",
				"holdunit_code": "01",
				"holdunit_name": "企业运营",
				"gatherdate": "2021-09-28",
				"gathertype": "input",
				"receiveunit": "00011210000000000HMF",
				"receiveunit_code": "01",
				"receiveunit_name": "企业运营",
				"pk_register": "1001ZZ10000000007P0E",
				"pk_baseinfo": "1001ZZ10000000007P0D"
			},
			"childrenvo": []
		}, {
			"parentvo": {
				"pk_curr": "00010000000000000001",
				"currtype_code": "CNY",
				"currtype_name": "人民币",
				"fbmbilltype": "FBMTYPE0000000000001",
				"notetype_code": "bank",
				"notetype_name": "银行承兑汇票",
				"fbmbillno": "12",
				"moneyy": 100,
				"invoicedate": "2021-09-28",
				"enddate": "2022-03-20",
				"paybillunit": "00011210000000000HMJ",
				"paybillunit_code": "03",
				"paybillunit_name": "王氏食品",
				"holdunit": "00011210000000000HMF",
				"holdunit_code": "01",
				"holdunit_name": "企业运营",
				"gatherdate": "2021-09-29",
				"gathertype": "input",
				"receiveunit": "00011210000000000HMF",
				"receiveunit_code": "01",
				"receiveunit_name": "企业运营",
				"pk_register": "1001ZZ100000000087J0",
				"pk_baseinfo": "1001ZZ100000000087IY"
			},
			"childrenvo": []
		}, {
			"parentvo": {
				"pk_curr": "00010000000000000001",
				"currtype_code": "CNY",
				"currtype_name": "人民币",
				"fbmbilltype": "FBMTYPE0000000000001",
				"notetype_code": "bank",
				"notetype_name": "银行承兑汇票",
				"fbmbillno": "13",
				"moneyy": 99,
				"invoicedate": "2021-09-28",
				"enddate": "2022-03-20",
				"paybillunit": "00011210000000000HML",
				"paybillunit_code": "04",
				"paybillunit_name": "弘光食品",
				"holdunit": "00011210000000000HMF",
				"holdunit_code": "01",
				"holdunit_name": "企业运营",
				"gatherdate": "2021-09-29",
				"gathertype": "input",
				"receiveunit": "00011210000000000HMF",
				"receiveunit_code": "01",
				"receiveunit_name": "企业运营",
				"pk_register": "1001ZZ100000000087J1",
				"pk_baseinfo": "1001ZZ100000000087IZ"
			},
			"childrenvo": []
		}, {
			"parentvo": {
				"pk_curr": "00010000000000000001",
				"currtype_code": "CNY",
				"currtype_name": "人民币",
				"fbmbilltype": "FBMTYPE0000000000001",
				"notetype_code": "bank",
				"notetype_name": "银行承兑汇票",
				"fbmbillno": "20",
				"moneyy": 100,
				"invoicedate": "2021-09-28",
				"enddate": "2022-03-20",
				"paybillunit": "00011210000000000HMJ",
				"paybillunit_code": "03",
				"paybillunit_name": "王氏食品",
				"holdunit": "00011210000000000HMF",
				"holdunit_code": "01",
				"holdunit_name": "企业运营",
				"gatherdate": "2021-09-29",
				"gathertype": "input",
				"receiveunit": "00011210000000000HMF",
				"receiveunit_code": "01",
				"receiveunit_name": "企业运营",
				"pk_register": "1001ZZ100000000088B6",
				"pk_baseinfo": "1001ZZ100000000088B5"
			},
			"childrenvo": []
		}, {
			"parentvo": {
				"pk_curr": "00010000000000000001",
				"currtype_code": "CNY",
				"currtype_name": "人民币",
				"fbmbilltype": "FBMTYPE0000000000001",
				"notetype_code": "bank",
				"notetype_name": "银行承兑汇票",
				"fbmbillno": "21",
				"moneyy": 100,
				"invoicedate": "2021-09-28",
				"enddate": "2022-03-20",
				"paybillunit": "00011210000000000HMJ",
				"paybillunit_code": "03",
				"paybillunit_name": "王氏食品",
				"holdunit": "00011210000000000HMF",
				"holdunit_code": "01",
				"holdunit_name": "企业运营",
				"gatherdate": "2021-09-29",
				"gathertype": "input",
				"receiveunit": "00011210000000000HMF",
				"receiveunit_code": "01",
				"receiveunit_name": "企业运营",
				"pk_register": "1001ZZ1000000000892K",
				"pk_baseinfo": "1001ZZ1000000000892J"
			},
			"childrenvo": []
		}, {
			"parentvo": {
				"pk_curr": "00010000000000000001",
				"currtype_code": "CNY",
				"currtype_name": "人民币",
				"fbmbilltype": "FBMTYPE0000000000001",
				"notetype_code": "bank",
				"notetype_name": "银行承兑汇票",
				"fbmbillno": "19",
				"moneyy": 100,
				"invoicedate": "2021-09-28",
				"enddate": "2022-03-20",
				"paybillunit": "00011210000000000HMJ",
				"paybillunit_code": "03",
				"paybillunit_name": "王氏食品",
				"holdunit": "00011210000000000HMF",
				"holdunit_code": "01",
				"holdunit_name": "企业运营",
				"gatherdate": "2021-09-29",
				"gathertype": "input",
				"receiveunit": "00011210000000000HMF",
				"receiveunit_code": "01",
				"receiveunit_name": "企业运营",
				"pk_register": "1001ZZ100000000089UE",
				"pk_baseinfo": "1001ZZ100000000089UD"
			},
			"childrenvo": []
		}, {
			"parentvo": {
				"pk_curr": "00010000000000000001",
				"currtype_code": "CNY",
				"currtype_name": "人民币",
				"fbmbilltype": "FBMTYPE0000000000001",
				"notetype_code": "bank",
				"notetype_name": "银行承兑汇票",
				"fbmbillno": "14",
				"moneyy": 100,
				"invoicedate": "2021-09-28",
				"enddate": "2022-03-20",
				"paybillunit": "00011210000000000HMJ",
				"paybillunit_code": "03",
				"paybillunit_name": "王氏食品",
				"holdunit": "00011210000000000HMF",
				"holdunit_code": "01",
				"holdunit_name": "企业运营",
				"gatherdate": "2021-09-29",
				"gathertype": "input",
				"receiveunit": "00011210000000000HMF",
				"receiveunit_code": "01",
				"receiveunit_name": "企业运营",
				"pk_register": "1001ZZ10000000008CXK",
				"pk_baseinfo": "1001ZZ10000000008CXJ"
			},
			"childrenvo": []
		}]
	},
	"taskNumber": "202111010017"
}

错误返回示例:

复制代码

{
    "status": "falied",
    "errorcode": "-32000",
    "errormsg": "U8C返回信息:下列查询条件必须输入:[corp]",
    "taskNumber": "202111010019"
}