保险-开票结果反馈
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
invoice_result_feedback_top_req | InvoiceResultFeedbackTopReq | 必须 | 开票结果反馈请求 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | Result | 结果 | |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); ServindustryFinanceInsuranceInvoiceFeedbackRequest req = new ServindustryFinanceInsuranceInvoiceFeedbackRequest(); ServindustryFinanceInsuranceInvoiceFeedbackRequest.InvoiceResultFeedbackTopReq obj1 = new ServindustryFinanceInsuranceInvoiceFeedbackRequest.InvoiceResultFeedbackTopReq(); obj1.setRealAmount( "120" ); obj1.setInvoiceApplyId( "12412412" ); obj1.setExpressNumber( "SF12421412" ); obj1.setSuccess( true ); obj1.setErrCode( "SYSTEM_ERROR" ); obj1.setErrMsg( "系统异常" ); obj1.setInvoiceId( "12412421" ); req.setInvoiceResultFeedbackTopReq(obj1); ServindustryFinanceInsuranceInvoiceFeedbackResponse rsp = client.execute(req); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 8 9 10 11 12 | < servindustry_finance_insurance_invoice_feedback_response > < result > < trace_id >124sbr12412412</ trace_id > < data >true</ data > < success >true</ success > < error > < view >系统异常</ view > < code >SYSTEM_ERROR</ code > < message >系统异常</ message > </ error > </ result > </ servindustry_finance_insurance_invoice_feedback_response > |
1 2 3 4 5 6 | < error_response > < code >50</ code > < msg >Remote service error</ msg > < sub_code >isv.invalid-parameter</ sub_code > < sub_msg >非法参数</ sub_msg > </ error_response > |
错误码 | 错误描述 | 解决方案 |
---|