酒店结算记账查询接口
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
rq | OpenIsvBillSettlementSearchRq | 可选 | 请求入参 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | HisvResultSupport | result | 返回结果 |
|
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlitripBtripCorpopHotelBillsettlementQueryRequest req = new AlitripBtripCorpopHotelBillsettlementQueryRequest(); AlitripBtripCorpopHotelBillsettlementQueryRequest.OpenIsvBillSettlementSearchRq obj1 = new AlitripBtripCorpopHotelBillsettlementQueryRequest.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); AlitripBtripCorpopHotelBillsettlementQueryResponse rsp = client.execute(req, sessionKey); System.out.println(rsp.getBody());
<alitrip_btrip_corpop_hotel_billsettlement_query_response> <result> <success>true</success> <module> <corp_id>aliba1423432423</corp_id> <total_num>1402</total_num> <data_list> <open_isv_bill_settlement_hotel_rs> <traveler_name>张三</traveler_name> <order_type>预付</order_type> <fees>0</fees> <order_id>223423423432422</order_id> <department_id>3454352343</department_id> <primary_id>5038018</primary_id> <over_apply_id>4234324</over_apply_id> <apply_id>103208648</apply_id> <booker_id>al_ch.oyc</booker_id> <cost_center_number>8b7f3cd-24324-097</cost_center_number> <invoice_title>张三有限公司</invoice_title> <room_type>零压高级大床房-(提前1天预订)(限内宾)(大床)含双早</room_type> <promotion_fee>113.02</promotion_fee> <service_fee>3465</service_fee> <room_price>1201.98</room_price> <cost_center>张三有限公司</cost_center> <person_refund_fee>34</person_refund_fee> <settlement_fee>1000</settlement_fee> <index>5038018</index> <book_time>2021-10-12 23:58:48</book_time> <fee_type>20101</fee_type> <checkout_date>2021-10-16 00:00:00</checkout_date> <person_settle_price>88.96</person_settle_price> <is_negotiation>是</is_negotiation> <project_name>张三生产-张三自制线-公共</project_name> <total_nights>2</total_nights> <status>1</status> <room_number>1</room_number> <city>北京市</city> <city_code>110100</city_code> <traveler_job_no>326246</traveler_job_no> <check_in_date>2021-10-14 00:00:00</check_in_date> <project_code>223423432</project_code> <cascade_department>张三-营运部-北方营运大区</cascade_department> <order_price>1088.96</order_price> <department>张三大区</department> <corp_total_fee>1000</corp_total_fee> <settlement_type>4</settlement_type> <alipay_trade_no>234432432</alipay_trade_no> <corp_refund_fee>12</corp_refund_fee> <fu_point_fee>12</fu_point_fee> <booker_name>张三</booker_name> <hotel_name>全季北京广渠路酒店(Season Beijing guangqu road branch)</hotel_name> <traveler_id>al_ch2343242g.oyc</traveler_id> <capital_direction>1</capital_direction> <settlement_time>2021-10-12 23:58:56</settlement_time> <nights>2</nights> <booker_job_no>326246</booker_job_no> <is_share_str>否</is_share_str> <voucher_type>11</voucher_type> <bill_record_time>2021-10-12 13:51:43</bill_record_time> <settlement_grant_fee>3.12</settlement_grant_fee> <remark>线下改签</remark> <apply_extend_field>{"cost_center":"成本中心"}</apply_extend_field> </open_isv_bill_settlement_hotel_rs> </data_list> <category>2</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_hotel_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>
错误码 | 错误描述 | 解决方案 |
---|