操作浙江电子税务局发票作废
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
invoice_invalid_dto | InvoiceInvalidDto | 必须 | 发票作废请求信息 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | InvoiceInvalidResultDto | 发票作废操作结果 | |
|
1 2 3 4 5 6 7 8 9 10 11 12 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlibabaEinvoiceRevenueInvoiceInvalidRequest req = new AlibabaEinvoiceRevenueInvoiceInvalidRequest(); AlibabaEinvoiceRevenueInvoiceInvalidRequest.InvoiceInvalidDto obj1 = new AlibabaEinvoiceRevenueInvoiceInvalidRequest.InvoiceInvalidDto(); obj1.setInvoiceDate( "2020-06-03" ); obj1.setInvoiceAmount( "100.50" ); obj1.setInvoiceNo( "233455" ); obj1.setInvoiceCode( "12345643" ); obj1.setUserkey( "aliuserkey" ); obj1.setPlatformCode( "FPGJ" ); req.setInvoiceInvalidDto(obj1); AlibabaEinvoiceRevenueInvoiceInvalidResponse rsp = client.execute(req); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 | < alibaba_einvoice_revenue_invoice_invalid_response > < result > < invoice_no >1223435</ invoice_no > < invoice_code >4546465757</ invoice_code > </ result > </ alibaba_einvoice_revenue_invoice_invalid_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 > |
错误码 | 错误描述 | 解决方案 |
---|