机票结算记账查询接口
| 名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
|---|---|---|---|---|---|
| rq | OpenIsvBillSettlementSearchRq | 可选 | 入参 | ||
|
| 名称 | 类型 | 示例值 | 描述 |
|---|---|---|---|
| result | HisvResultSupport | result | 返回结果 |
|
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlitripBtripCorpopFlightBillsettlementQueryRequest req = new AlitripBtripCorpopFlightBillsettlementQueryRequest();
AlitripBtripCorpopFlightBillsettlementQueryRequest.OpenIsvBillSettlementSearchRq obj1 = new AlitripBtripCorpopFlightBillsettlementQueryRequest.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);
AlitripBtripCorpopFlightBillsettlementQueryResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());
<alitrip_btrip_corpop_flight_billsettlement_query_response>
<result>
<success>true</success>
<module>
<corp_id>aliba2343232423</corp_id>
<total_num>5180</total_num>
<data_list>
<open_isv_bill_settlement_flight_rs>
<traveler_name>张三</traveler_name>
<cabin_class>经济舱</cabin_class>
<build_fee>50</build_fee>
<refund_fee>23.9</refund_fee>
<arr_date>2021-10-02</arr_date>
<order_id>234223423423</order_id>
<department_id>2342342</department_id>
<discount>51%</discount>
<change_fee>23.9</change_fee>
<primary_id>4564547</primary_id>
<upgrade_cost>23.9</upgrade_cost>
<over_apply_id>234324324423</over_apply_id>
<apply_id>103177854</apply_id>
<booker_id>al_yxfdsg.fj</booker_id>
<most_difference_price>23.9</most_difference_price>
<cost_center_number>48b7f3cd-8a4f-4df9-ae2c-883e008cf097</cost_center_number>
<itinerary_num>5334916421</itinerary_num>
<invoice_title>张三有限公司</invoice_title>
<service_fee>23.9</service_fee>
<itinerary_price>460</itinerary_price>
<arr_station>白云国际机场</arr_station>
<cost_center>张三有限公司</cost_center>
<settlement_fee>460</settlement_fee>
<index>4564547</index>
<book_time>2021-10-01 00:17:05</book_time>
<fee_type>10101</fee_type>
<flight_no>MU9684</flight_no>
<corp_pay_order_fee>460</corp_pay_order_fee>
<oil_fee>0</oil_fee>
<btrip_coupon_fee>23.9</btrip_coupon_fee>
<repeat_refund>是</repeat_refund>
<dept_city>南昌</dept_city>
<project_name>张三生产-张三自制线-公共</project_name>
<arr_airport_code>CAN</arr_airport_code>
<ticket_id>781-6586234234324</ticket_id>
<status>1</status>
<airline_corp_code>MU</airline_corp_code>
<dept_station>昌北国际机场</dept_station>
<dept_time>12:00:00</dept_time>
<most_price>23.9</most_price>
<arr_city>广州</arr_city>
<cabin>R</cabin>
<dep_airport_code>KHN</dep_airport_code>
<project_code>45623234</project_code>
<cascade_department>张三事业群-张三部-北方营运大区</cascade_department>
<advance_day>1</advance_day>
<department>北方营运大区</department>
<most_difference_discount>23%</most_difference_discount>
<settlement_type>2</settlement_type>
<coupon>1</coupon>
<alipay_trade_no>2021100122001138061456080520</alipay_trade_no>
<airline_corp_name>中国东方航空</airline_corp_name>
<most_difference_flight_no>MU9684</most_difference_flight_no>
<booker_name>张三</booker_name>
<refund_upgrade_cost>23.9</refund_upgrade_cost>
<traveler_id>al_y234324asdg.fj</traveler_id>
<capital_direction>1</capital_direction>
<insurance_fee>23.9</insurance_fee>
<seal_price>410</seal_price>
<settlement_time>2021-10-01 00:17:13</settlement_time>
<most_difference_dept_time>2021-10-01 00:17:13</most_difference_dept_time>
<most_difference_reason>不选</most_difference_reason>
<negotiation_coupon_fee>23.9</negotiation_coupon_fee>
<arr_time>13:30:00</arr_time>
<dept_date>2021-10-02</dept_date>
<booker_job_no>2342432</booker_job_no>
<traveler_job_no>345345</traveler_job_no>
<voucher_type>11</voucher_type>
<bill_record_time>2021-10-12 13:51:43</bill_record_time>
<settlement_grant_fee>5.67</settlement_grant_fee>
<remark>线下改签</remark>
<apply_extend_field>{"cost_center":"成本中心"}</apply_extend_field>
</open_isv_bill_settlement_flight_rs>
</data_list>
<category>1</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_flight_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>
| 错误码 | 错误描述 | 解决方案 |
|---|