用车结算记账查询接口
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
rq | OpenIsvBillSettlementSearchRq | 可选 | 入参 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | HisvResultSupport | result | 请求结果 |
|
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlitripBtripCorpopCarBillsettlementQueryRequest req = new AlitripBtripCorpopCarBillsettlementQueryRequest(); AlitripBtripCorpopCarBillsettlementQueryRequest.OpenIsvBillSettlementSearchRq obj1 = new AlitripBtripCorpopCarBillsettlementQueryRequest.OpenIsvBillSettlementSearchRq(); obj1.setCorpId("corp1"); obj1.setPageSize(100L); obj1.setVersion(2L); obj1.setPageNo(1L); obj1.setCategory(1L); obj1.setPeriodStart("2021-10-01"); obj1.setPeriodEnd("2021-10-02"); req.setRq(obj1); AlitripBtripCorpopCarBillsettlementQueryResponse rsp = client.execute(req, sessionKey); System.out.println(rsp.getBody());
<alitrip_btrip_corpop_car_billsettlement_query_response> <result> <success>true</success> <module> <corp_id>ding3454534543543</corp_id> <total_num>2694</total_num> <data_list> <open_isv_bill_settlement_car_rs> <traveler_name>张三三</traveler_name> <arr_date>2021-10-13</arr_date> <order_id>110285961234324</order_id> <department_id>23124214123423</department_id> <memo>家</memo> <primary_id>4988580</primary_id> <over_apply_id>34535465346</over_apply_id> <apply_id>12321213</apply_id> <booker_id>31017975024324</booker_id> <cost_center_number>2391-CN90.150</cost_center_number> <invoice_title>张三投资有限公司</invoice_title> <provider_name>首汽约车</provider_name> <service_fee>12.7</service_fee> <real_drive_distance>0.00</real_drive_distance> <cost_center>张三成本中心</cost_center> <car_level>经济型</car_level> <special_order>是</special_order> <settlement_fee>5</settlement_fee> <index>4988580</index> <book_time>2021-10-12 13:46:05</book_time> <fee_type>40107</fee_type> <person_settle_fee>0</person_settle_fee> <user_confirm_desc>员工认可</user_confirm_desc> <special_reason>关注</special_reason> <dept_city>长沙市</dept_city> <project_name>生产-音卓自制线-公共</project_name> <status>1</status> <dept_time>13:46:05</dept_time> <arr_city>长沙市</arr_city> <traveler_job_no>70022164</traveler_job_no> <arr_location>天街</arr_location> <real_from_addr>长沙南站</real_from_addr> <project_code>23423432423</project_code> <cascade_department>中国东南分公司-业务部</cascade_department> <order_price>12.7</order_price> <department>业务部</department> <settlement_type>4</settlement_type> <coupon>1</coupon> <alipay_trade_no>34534543545345</alipay_trade_no> <booker_name>张三三</booker_name> <estimate_drive_distance>29.07</estimate_drive_distance> <traveler_id>310179750</traveler_id> <capital_direction>1</capital_direction> <real_to_addr>梅溪湖中心15</real_to_addr> <settlement_time>2021-10-12 13:51:43</settlement_time> <dept_location>长沙南站</dept_location> <business_category>市内交通</business_category> <coupon_price>12.7</coupon_price> <booker_job_no>70022164</booker_job_no> <estimate_price>69</estimate_price> <arr_time>13:51:43</arr_time> <dept_date>2021-10-13</dept_date> <voucher_type>11</voucher_type> <sub_order_id>123123232</sub_order_id> <bill_record_time>2021-10-12 13:51:43</bill_record_time> <settlement_grant_fee>6.11</settlement_grant_fee> <remark>线下改签</remark> <apply_extend_field>{"cost_center":"成本中心"}</apply_extend_field> </open_isv_bill_settlement_car_rs> </data_list> <category>4</category> <period_start>2021-10-13</period_start> <period_end>2021-10-14</period_end> </module> <result_code>0</result_code> <result_msg>成功</result_msg> </result> </alitrip_btrip_corpop_car_billsettlement_query_response>
<error_response> <code>50</code> <msg>Remote service error</msg> <sub_code>isv.invalid-parameter</sub_code> <sub_msg>非法参数</sub_msg> </error_response>
错误码 | 错误描述 | 解决方案 |
---|