畅易代开服务商回传代开企业查询信息
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
serial_number | String | 可选 | 202006031415590001 | 业务流水号 | |
biz_message | String | 可选 | 成功 | 业务错误信息 | |
biz_code | String | 可选 | B0000 | 业务错误码 | |
tax_list | ProxyTaxInfoDto [] | 可选 |
|
企业税务信息 | |
|
|||||
query_status | Number | 可选 | 1 | 资格查询状态,0:未同步,1:已同步 |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | ServiceResult | alinkappserver系统返回的通用结果类 | |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlibabaEinvoiceProxyCompanyReturnRequest req = new AlibabaEinvoiceProxyCompanyReturnRequest(); req.setSerialNumber( "202006031415590001" ); req.setBizMessage( "成功" ); req.setBizCode( "B0000" ); List<AlibabaEinvoiceProxyCompanyReturnRequest.ProxyTaxInfoDto> list2 = new ArrayList<AlibabaEinvoiceProxyCompanyReturnRequest.ProxyTaxInfoDto>(); AlibabaEinvoiceProxyCompanyReturnRequest.ProxyTaxInfoDto obj3 = new AlibabaEinvoiceProxyCompanyReturnRequest.ProxyTaxInfoDto(); list2.add(obj3); obj3.setTaxName( "小薇食品公司" ); obj3.setTaxNo( "91000001XR" ); obj3.setStockFlag(1L); req.setTaxList(list2); req.setQueryStatus(1L); AlibabaEinvoiceProxyCompanyReturnResponse rsp = client.execute(req); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 | < alibaba_einvoice_proxy_company_return_response > < result > < result_msg >成功</ result_msg > < result_code >SUCCESS</ result_code > < success >true</ success > </ result > </ alibaba_einvoice_proxy_company_return_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 > |
错误码 | 错误描述 | 解决方案 |
---|