接口描述
获取凭证数据接口
请求地址: https://oapi.i8xiaoshi.com/app/financefee/exportVoucherApi
返回格式: JSON
授权模式: clientcredentials(客户端模式)
请求方式: POST
HTTP Headers
Content-Type:application/json
Authorization:有效访问令牌(access_token)
提交参数
参数名类型必须描述
afterinttrue起始i8凭证编号(不包含此编号)。
takeinttrue获取凭证列表的数量,分页用。
返回结果
{"status": "状态码", "ReturnObject":{"Total":"i8凭证编号大于 after 的凭证总数","ReturnObject":[{"VoucherId":"i8凭证编号","PeriodYear":"会计年度","PeriodMonth":"会计期间","VoucherType":"凭证类别字","VoucherDate":"凭证日期","Items":[{"SortIndex":"分录顺序","Summary":"摘要","Project":"核算中心/项目","AccCode":"会计科目编号","AccName":"会计科目名称","DrAmount":"借方金额(发生额在借方表示借方分录)","CrAmount":"贷方金额(发生额在贷方表示贷方分录)"}]}]}, "Description":"结果描述"}
备注
返回i8凭证编号大于 "after" 的 "take" 个凭证。每次调用接口后,需记录最后一个凭证编号,作为下次调用时的 "after" 值。