tax

package
v1.2.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 11, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package tax 包含业务平台事业部-税务平台API相关结构体

https://open.taobao.com/API.htm?docType=2&docId=41740

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlibabaTaxInvoiceSyncAPIRequest added in v1.2.0

type AlibabaTaxInvoiceSyncAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabaTaxInvoiceSyncAPIRequest 第三方开票回调API API请求 alibaba.tax.invoice.sync

该接口只提供给俄罗斯供应商开具发票使用,请勿申请。

func NewAlibabaTaxInvoiceSyncRequest

func NewAlibabaTaxInvoiceSyncRequest() *AlibabaTaxInvoiceSyncAPIRequest

NewAlibabaTaxInvoiceSyncRequest 初始化AlibabaTaxInvoiceSyncAPIRequest对象

func (AlibabaTaxInvoiceSyncAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaTaxInvoiceSyncAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaTaxInvoiceSyncAPIRequest) GetApiParams added in v1.2.0

func (r AlibabaTaxInvoiceSyncAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaTaxInvoiceSyncAPIRequest) GetParamJson added in v1.2.0

func (r AlibabaTaxInvoiceSyncAPIRequest) GetParamJson() string

GetParamJson ParamJson Getter

func (AlibabaTaxInvoiceSyncAPIRequest) GetRawParams added in v1.2.8

func (r AlibabaTaxInvoiceSyncAPIRequest) GetRawParams() model.Params

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabaTaxInvoiceSyncAPIRequest) SetParamJson added in v1.2.0

func (r *AlibabaTaxInvoiceSyncAPIRequest) SetParamJson(_paramJson string) error

SetParamJson is ParamJson Setter 回调发票信息,请求参数详情见链接:https://yuque.antfin-inc.com/tax/biw99l/uestb7

type AlibabaTaxInvoiceSyncAPIResponse

type AlibabaTaxInvoiceSyncAPIResponse struct {
	model.CommonResponse
	AlibabaTaxInvoiceSyncAPIResponseModel
}

AlibabaTaxInvoiceSyncAPIResponse 第三方开票回调API API返回值 alibaba.tax.invoice.sync

该接口只提供给俄罗斯供应商开具发票使用,请勿申请。

type AlibabaTaxInvoiceSyncAPIResponseModel added in v1.2.0

type AlibabaTaxInvoiceSyncAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_tax_invoice_sync_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	Result *ThirdPartyInvoiceCallBackResultDto `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaTaxInvoiceSyncAPIResponseModel is 第三方开票回调API 成功返回结果

type ResultItem

type ResultItem struct {
	// 每一项具体异常信息
	ErrorDescription string `json:"error_description,omitempty" xml:"error_description,omitempty"`
	// 每一项的请求id
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 每一项成功失败
	Correctness bool `json:"correctness,omitempty" xml:"correctness,omitempty"`
}

ResultItem 结构体

type ThirdPartyInvoiceCallBackResultDto

type ThirdPartyInvoiceCallBackResultDto struct {
	// 具体明细列表
	ValueList []ResultItem `json:"value_list,omitempty" xml:"value_list>result_item,omitempty"`
}

ThirdPartyInvoiceCallBackResultDto 结构体

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL