fpm

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package fpm 包含企业运营平台-集团财相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReleaseAlibabaCfoIncomingInvoicePytImageUploadAPIRequest added in v1.3.4

func ReleaseAlibabaCfoIncomingInvoicePytImageUploadAPIRequest(v *AlibabaCfoIncomingInvoicePytImageUploadAPIRequest)

ReleaseAlibabaCfoIncomingInvoicePytImageUploadAPIRequest 将 AlibabaCfoIncomingInvoicePytImageUploadAPIRequest 放入 sync.Pool

func ReleaseAlibabaCfoIncomingInvoicePytImageUploadAPIResponse added in v1.3.4

func ReleaseAlibabaCfoIncomingInvoicePytImageUploadAPIResponse(v *AlibabaCfoIncomingInvoicePytImageUploadAPIResponse)

ReleaseAlibabaCfoIncomingInvoicePytImageUploadAPIResponse 将 AlibabaCfoIncomingInvoicePytImageUploadAPIResponse 保存到 sync.Pool

func ReleaseAlibabaCfoIncomingInvoicePytInvoiceScanAPIRequest added in v1.3.4

func ReleaseAlibabaCfoIncomingInvoicePytInvoiceScanAPIRequest(v *AlibabaCfoIncomingInvoicePytInvoiceScanAPIRequest)

ReleaseAlibabaCfoIncomingInvoicePytInvoiceScanAPIRequest 将 AlibabaCfoIncomingInvoicePytInvoiceScanAPIRequest 放入 sync.Pool

func ReleaseAlibabaCfoIncomingInvoicePytInvoiceScanAPIResponse added in v1.3.4

func ReleaseAlibabaCfoIncomingInvoicePytInvoiceScanAPIResponse(v *AlibabaCfoIncomingInvoicePytInvoiceScanAPIResponse)

ReleaseAlibabaCfoIncomingInvoicePytInvoiceScanAPIResponse 将 AlibabaCfoIncomingInvoicePytInvoiceScanAPIResponse 保存到 sync.Pool

func ReleaseAlibabaCfoIncomingInvoiceRegisterAPIRequest added in v1.3.4

func ReleaseAlibabaCfoIncomingInvoiceRegisterAPIRequest(v *AlibabaCfoIncomingInvoiceRegisterAPIRequest)

ReleaseAlibabaCfoIncomingInvoiceRegisterAPIRequest 将 AlibabaCfoIncomingInvoiceRegisterAPIRequest 放入 sync.Pool

func ReleaseAlibabaCfoIncomingInvoiceRegisterAPIResponse added in v1.3.4

func ReleaseAlibabaCfoIncomingInvoiceRegisterAPIResponse(v *AlibabaCfoIncomingInvoiceRegisterAPIResponse)

ReleaseAlibabaCfoIncomingInvoiceRegisterAPIResponse 将 AlibabaCfoIncomingInvoiceRegisterAPIResponse 保存到 sync.Pool

func ReleaseAlibabaFpmFileUploadAPIRequest added in v1.3.4

func ReleaseAlibabaFpmFileUploadAPIRequest(v *AlibabaFpmFileUploadAPIRequest)

ReleaseAlibabaFpmFileUploadAPIRequest 将 AlibabaFpmFileUploadAPIRequest 放入 sync.Pool

func ReleaseAlibabaFpmFileUploadAPIResponse added in v1.3.4

func ReleaseAlibabaFpmFileUploadAPIResponse(v *AlibabaFpmFileUploadAPIResponse)

ReleaseAlibabaFpmFileUploadAPIResponse 将 AlibabaFpmFileUploadAPIResponse 保存到 sync.Pool

func ReleaseAlibabaFpmFileUploadResultModel added in v1.3.4

func ReleaseAlibabaFpmFileUploadResultModel(v *AlibabaFpmFileUploadResultModel)

ReleaseAlibabaFpmFileUploadResultModel 释放AlibabaFpmFileUploadResultModel

func ReleaseAlibabaSpOpenPaymentRepayAPIRequest added in v1.3.4

func ReleaseAlibabaSpOpenPaymentRepayAPIRequest(v *AlibabaSpOpenPaymentRepayAPIRequest)

ReleaseAlibabaSpOpenPaymentRepayAPIRequest 将 AlibabaSpOpenPaymentRepayAPIRequest 放入 sync.Pool

func ReleaseAlibabaSpOpenPaymentRepayAPIResponse added in v1.3.4

func ReleaseAlibabaSpOpenPaymentRepayAPIResponse(v *AlibabaSpOpenPaymentRepayAPIResponse)

ReleaseAlibabaSpOpenPaymentRepayAPIResponse 将 AlibabaSpOpenPaymentRepayAPIResponse 保存到 sync.Pool

func ReleaseAlibabaSpOpenPaymentSyncAPIRequest added in v1.3.4

func ReleaseAlibabaSpOpenPaymentSyncAPIRequest(v *AlibabaSpOpenPaymentSyncAPIRequest)

ReleaseAlibabaSpOpenPaymentSyncAPIRequest 将 AlibabaSpOpenPaymentSyncAPIRequest 放入 sync.Pool

func ReleaseAlibabaSpOpenPaymentSyncAPIResponse added in v1.3.4

func ReleaseAlibabaSpOpenPaymentSyncAPIResponse(v *AlibabaSpOpenPaymentSyncAPIResponse)

ReleaseAlibabaSpOpenPaymentSyncAPIResponse 将 AlibabaSpOpenPaymentSyncAPIResponse 保存到 sync.Pool

func ReleaseFileUploadReponseDto added in v1.3.4

func ReleaseFileUploadReponseDto(v *FileUploadReponseDto)

ReleaseFileUploadReponseDto 释放FileUploadReponseDto

func ReleaseFileUploadRequestDto added in v1.3.4

func ReleaseFileUploadRequestDto(v *FileUploadRequestDto)

ReleaseFileUploadRequestDto 释放FileUploadRequestDto

func ReleaseImageUploadRequest added in v1.3.4

func ReleaseImageUploadRequest(v *ImageUploadRequest)

ReleaseImageUploadRequest 释放ImageUploadRequest

func ReleaseInvoiceDetails added in v1.3.4

func ReleaseInvoiceDetails(v *InvoiceDetails)

ReleaseInvoiceDetails 释放InvoiceDetails

func ReleaseInvoiceMainExt added in v1.3.4

func ReleaseInvoiceMainExt(v *InvoiceMainExt)

ReleaseInvoiceMainExt 释放InvoiceMainExt

func ReleaseInvoiceRegisterRequest added in v1.3.4

func ReleaseInvoiceRegisterRequest(v *InvoiceRegisterRequest)

ReleaseInvoiceRegisterRequest 释放InvoiceRegisterRequest

func ReleaseInvoiceScanRequest added in v1.3.4

func ReleaseInvoiceScanRequest(v *InvoiceScanRequest)

ReleaseInvoiceScanRequest 释放InvoiceScanRequest

func ReleaseRegisterInvoiceDto added in v1.3.4

func ReleaseRegisterInvoiceDto(v *RegisterInvoiceDto)

ReleaseRegisterInvoiceDto 释放RegisterInvoiceDto

func ReleaseRegisterInvoiceLineDto added in v1.3.4

func ReleaseRegisterInvoiceLineDto(v *RegisterInvoiceLineDto)

ReleaseRegisterInvoiceLineDto 释放RegisterInvoiceLineDto

func ReleaseXforceInvoiceDto added in v1.3.4

func ReleaseXforceInvoiceDto(v *XforceInvoiceDto)

ReleaseXforceInvoiceDto 释放XforceInvoiceDto

Types

type AlibabaCfoIncomingInvoicePytImageUploadAPIRequest added in v1.2.5

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

AlibabaCfoIncomingInvoicePytImageUploadAPIRequest 票易通发票影像上传 API请求 alibaba.cfo.incoming.invoice.pyt.image.upload

票易通发票影像上传

func GetAlibabaCfoIncomingInvoicePytImageUploadAPIRequest added in v1.3.4

func GetAlibabaCfoIncomingInvoicePytImageUploadAPIRequest() *AlibabaCfoIncomingInvoicePytImageUploadAPIRequest

GetAlibabaCfoIncomingInvoicePytImageUploadRequest 从 sync.Pool 获取 AlibabaCfoIncomingInvoicePytImageUploadAPIRequest

func NewAlibabaCfoIncomingInvoicePytImageUploadRequest added in v1.2.5

func NewAlibabaCfoIncomingInvoicePytImageUploadRequest() *AlibabaCfoIncomingInvoicePytImageUploadAPIRequest

NewAlibabaCfoIncomingInvoicePytImageUploadRequest 初始化AlibabaCfoIncomingInvoicePytImageUploadAPIRequest对象

func (AlibabaCfoIncomingInvoicePytImageUploadAPIRequest) GetApiMethodName added in v1.2.5

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaCfoIncomingInvoicePytImageUploadAPIRequest) GetApiParams added in v1.2.5

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaCfoIncomingInvoicePytImageUploadAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaCfoIncomingInvoicePytImageUploadAPIRequest) GetUploadRequest added in v1.2.5

GetUploadRequest UploadRequest Getter

func (*AlibabaCfoIncomingInvoicePytImageUploadAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AlibabaCfoIncomingInvoicePytImageUploadAPIRequest) SetUploadRequest added in v1.2.5

func (r *AlibabaCfoIncomingInvoicePytImageUploadAPIRequest) SetUploadRequest(_uploadRequest *ImageUploadRequest) error

SetUploadRequest is UploadRequest Setter 影像上传实体

type AlibabaCfoIncomingInvoicePytImageUploadAPIResponse added in v1.2.5

type AlibabaCfoIncomingInvoicePytImageUploadAPIResponse struct {
	model.CommonResponse
	AlibabaCfoIncomingInvoicePytImageUploadAPIResponseModel
}

AlibabaCfoIncomingInvoicePytImageUploadAPIResponse 票易通发票影像上传 API返回值 alibaba.cfo.incoming.invoice.pyt.image.upload

票易通发票影像上传

func GetAlibabaCfoIncomingInvoicePytImageUploadAPIResponse added in v1.3.4

func GetAlibabaCfoIncomingInvoicePytImageUploadAPIResponse() *AlibabaCfoIncomingInvoicePytImageUploadAPIResponse

GetAlibabaCfoIncomingInvoicePytImageUploadAPIResponse 从 sync.Pool 获取 AlibabaCfoIncomingInvoicePytImageUploadAPIResponse

func (*AlibabaCfoIncomingInvoicePytImageUploadAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type AlibabaCfoIncomingInvoicePytImageUploadAPIResponseModel added in v1.2.5

type AlibabaCfoIncomingInvoicePytImageUploadAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_cfo_incoming_invoice_pyt_image_upload_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 文件resourceId
	Data string `json:"data,omitempty" xml:"data,omitempty"`
	// 响应码
	ResponseCode string `json:"response_code,omitempty" xml:"response_code,omitempty"`
	// 相应消息
	ResponseMsg string `json:"response_msg,omitempty" xml:"response_msg,omitempty"`
	// 是否成功
	Succeeded bool `json:"succeeded,omitempty" xml:"succeeded,omitempty"`
}

AlibabaCfoIncomingInvoicePytImageUploadAPIResponseModel is 票易通发票影像上传 成功返回结果

func (*AlibabaCfoIncomingInvoicePytImageUploadAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type AlibabaCfoIncomingInvoicePytInvoiceScanAPIRequest added in v1.2.5

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

AlibabaCfoIncomingInvoicePytInvoiceScanAPIRequest 票易通发票ocr信息同步 API请求 alibaba.cfo.incoming.invoice.pyt.invoice.scan

票易通发票ocr信息同步

func GetAlibabaCfoIncomingInvoicePytInvoiceScanAPIRequest added in v1.3.4

func GetAlibabaCfoIncomingInvoicePytInvoiceScanAPIRequest() *AlibabaCfoIncomingInvoicePytInvoiceScanAPIRequest

GetAlibabaCfoIncomingInvoicePytInvoiceScanRequest 从 sync.Pool 获取 AlibabaCfoIncomingInvoicePytInvoiceScanAPIRequest

func NewAlibabaCfoIncomingInvoicePytInvoiceScanRequest added in v1.2.5

func NewAlibabaCfoIncomingInvoicePytInvoiceScanRequest() *AlibabaCfoIncomingInvoicePytInvoiceScanAPIRequest

NewAlibabaCfoIncomingInvoicePytInvoiceScanRequest 初始化AlibabaCfoIncomingInvoicePytInvoiceScanAPIRequest对象

func (AlibabaCfoIncomingInvoicePytInvoiceScanAPIRequest) GetApiMethodName added in v1.2.5

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaCfoIncomingInvoicePytInvoiceScanAPIRequest) GetApiParams added in v1.2.5

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaCfoIncomingInvoicePytInvoiceScanAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaCfoIncomingInvoicePytInvoiceScanAPIRequest) GetScanRequest added in v1.2.5

GetScanRequest ScanRequest Getter

func (*AlibabaCfoIncomingInvoicePytInvoiceScanAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AlibabaCfoIncomingInvoicePytInvoiceScanAPIRequest) SetScanRequest added in v1.2.5

SetScanRequest is ScanRequest Setter ocr录入请求体

type AlibabaCfoIncomingInvoicePytInvoiceScanAPIResponse added in v1.2.5

type AlibabaCfoIncomingInvoicePytInvoiceScanAPIResponse struct {
	model.CommonResponse
	AlibabaCfoIncomingInvoicePytInvoiceScanAPIResponseModel
}

AlibabaCfoIncomingInvoicePytInvoiceScanAPIResponse 票易通发票ocr信息同步 API返回值 alibaba.cfo.incoming.invoice.pyt.invoice.scan

票易通发票ocr信息同步

func GetAlibabaCfoIncomingInvoicePytInvoiceScanAPIResponse added in v1.3.4

func GetAlibabaCfoIncomingInvoicePytInvoiceScanAPIResponse() *AlibabaCfoIncomingInvoicePytInvoiceScanAPIResponse

GetAlibabaCfoIncomingInvoicePytInvoiceScanAPIResponse 从 sync.Pool 获取 AlibabaCfoIncomingInvoicePytInvoiceScanAPIResponse

func (*AlibabaCfoIncomingInvoicePytInvoiceScanAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type AlibabaCfoIncomingInvoicePytInvoiceScanAPIResponseModel added in v1.2.5

type AlibabaCfoIncomingInvoicePytInvoiceScanAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_cfo_incoming_invoice_pyt_invoice_scan_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 空值
	Data string `json:"data,omitempty" xml:"data,omitempty"`
	// 响应码
	ResponseCode string `json:"response_code,omitempty" xml:"response_code,omitempty"`
	// 响应消息
	ResponseMsg string `json:"response_msg,omitempty" xml:"response_msg,omitempty"`
	// 是否成功
	Succeeded bool `json:"succeeded,omitempty" xml:"succeeded,omitempty"`
}

AlibabaCfoIncomingInvoicePytInvoiceScanAPIResponseModel is 票易通发票ocr信息同步 成功返回结果

func (*AlibabaCfoIncomingInvoicePytInvoiceScanAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type AlibabaCfoIncomingInvoiceRegisterAPIRequest added in v1.2.5

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

AlibabaCfoIncomingInvoiceRegisterAPIRequest 发票登记接口 API请求 alibaba.cfo.incoming.invoice.register

发票登记接口

func GetAlibabaCfoIncomingInvoiceRegisterAPIRequest added in v1.3.4

func GetAlibabaCfoIncomingInvoiceRegisterAPIRequest() *AlibabaCfoIncomingInvoiceRegisterAPIRequest

GetAlibabaCfoIncomingInvoiceRegisterRequest 从 sync.Pool 获取 AlibabaCfoIncomingInvoiceRegisterAPIRequest

func NewAlibabaCfoIncomingInvoiceRegisterRequest added in v1.2.5

func NewAlibabaCfoIncomingInvoiceRegisterRequest() *AlibabaCfoIncomingInvoiceRegisterAPIRequest

NewAlibabaCfoIncomingInvoiceRegisterRequest 初始化AlibabaCfoIncomingInvoiceRegisterAPIRequest对象

func (AlibabaCfoIncomingInvoiceRegisterAPIRequest) GetApiMethodName added in v1.2.5

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaCfoIncomingInvoiceRegisterAPIRequest) GetApiParams added in v1.2.5

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaCfoIncomingInvoiceRegisterAPIRequest) GetInvoiceRegisterRequest added in v1.2.5

GetInvoiceRegisterRequest InvoiceRegisterRequest Getter

func (AlibabaCfoIncomingInvoiceRegisterAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaCfoIncomingInvoiceRegisterAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AlibabaCfoIncomingInvoiceRegisterAPIRequest) SetInvoiceRegisterRequest added in v1.2.5

func (r *AlibabaCfoIncomingInvoiceRegisterAPIRequest) SetInvoiceRegisterRequest(_invoiceRegisterRequest *InvoiceRegisterRequest) error

SetInvoiceRegisterRequest is InvoiceRegisterRequest Setter 发票登记请求体

type AlibabaCfoIncomingInvoiceRegisterAPIResponse added in v1.2.5

type AlibabaCfoIncomingInvoiceRegisterAPIResponse struct {
	model.CommonResponse
	AlibabaCfoIncomingInvoiceRegisterAPIResponseModel
}

AlibabaCfoIncomingInvoiceRegisterAPIResponse 发票登记接口 API返回值 alibaba.cfo.incoming.invoice.register

发票登记接口

func GetAlibabaCfoIncomingInvoiceRegisterAPIResponse added in v1.3.4

func GetAlibabaCfoIncomingInvoiceRegisterAPIResponse() *AlibabaCfoIncomingInvoiceRegisterAPIResponse

GetAlibabaCfoIncomingInvoiceRegisterAPIResponse 从 sync.Pool 获取 AlibabaCfoIncomingInvoiceRegisterAPIResponse

func (*AlibabaCfoIncomingInvoiceRegisterAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type AlibabaCfoIncomingInvoiceRegisterAPIResponseModel added in v1.2.5

type AlibabaCfoIncomingInvoiceRegisterAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_cfo_incoming_invoice_register_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 响应码
	ResponseCode string `json:"response_code,omitempty" xml:"response_code,omitempty"`
	// 响应消息
	ResponseMsg string `json:"response_msg,omitempty" xml:"response_msg,omitempty"`
	// 发票Id
	Data int64 `json:"data,omitempty" xml:"data,omitempty"`
	// 是否成功
	Succeeded bool `json:"succeeded,omitempty" xml:"succeeded,omitempty"`
}

AlibabaCfoIncomingInvoiceRegisterAPIResponseModel is 发票登记接口 成功返回结果

func (*AlibabaCfoIncomingInvoiceRegisterAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type AlibabaFpmFileUploadAPIRequest added in v1.2.0

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

AlibabaFpmFileUploadAPIRequest 结算单文件上传 API请求 alibaba.fpm.file.upload

结算单文件上传

func GetAlibabaFpmFileUploadAPIRequest added in v1.3.4

func GetAlibabaFpmFileUploadAPIRequest() *AlibabaFpmFileUploadAPIRequest

GetAlibabaFpmFileUploadRequest 从 sync.Pool 获取 AlibabaFpmFileUploadAPIRequest

func NewAlibabaFpmFileUploadRequest

func NewAlibabaFpmFileUploadRequest() *AlibabaFpmFileUploadAPIRequest

NewAlibabaFpmFileUploadRequest 初始化AlibabaFpmFileUploadAPIRequest对象

func (AlibabaFpmFileUploadAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaFpmFileUploadAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaFpmFileUploadAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaFpmFileUploadAPIRequest) GetBizDto added in v1.2.0

GetBizDto BizDto Getter

func (AlibabaFpmFileUploadAPIRequest) GetRawParams added in v1.2.8

func (r AlibabaFpmFileUploadAPIRequest) GetRawParams() model.Params

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

func (*AlibabaFpmFileUploadAPIRequest) Reset added in v1.3.4

func (r *AlibabaFpmFileUploadAPIRequest) Reset()

Reset IRequest interface 方法, 清空结构体

func (*AlibabaFpmFileUploadAPIRequest) SetBizDto added in v1.2.0

SetBizDto is BizDto Setter 实体

type AlibabaFpmFileUploadAPIResponse

type AlibabaFpmFileUploadAPIResponse struct {
	model.CommonResponse
	AlibabaFpmFileUploadAPIResponseModel
}

AlibabaFpmFileUploadAPIResponse 结算单文件上传 API返回值 alibaba.fpm.file.upload

结算单文件上传

func GetAlibabaFpmFileUploadAPIResponse added in v1.3.4

func GetAlibabaFpmFileUploadAPIResponse() *AlibabaFpmFileUploadAPIResponse

GetAlibabaFpmFileUploadAPIResponse 从 sync.Pool 获取 AlibabaFpmFileUploadAPIResponse

func (*AlibabaFpmFileUploadAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type AlibabaFpmFileUploadAPIResponseModel added in v1.2.0

type AlibabaFpmFileUploadAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_fpm_file_upload_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *AlibabaFpmFileUploadResultModel `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaFpmFileUploadAPIResponseModel is 结算单文件上传 成功返回结果

func (*AlibabaFpmFileUploadAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type AlibabaFpmFileUploadResultModel

type AlibabaFpmFileUploadResultModel struct {
	// 错误编码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错信信息
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// returnValue
	ReturnValue *FileUploadReponseDto `json:"return_value,omitempty" xml:"return_value,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaFpmFileUploadResultModel 结构体

func GetAlibabaFpmFileUploadResultModel added in v1.3.4

func GetAlibabaFpmFileUploadResultModel() *AlibabaFpmFileUploadResultModel

GetAlibabaFpmFileUploadResultModel() 从对象池中获取AlibabaFpmFileUploadResultModel

type AlibabaSpOpenPaymentRepayAPIRequest added in v1.2.5

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

AlibabaSpOpenPaymentRepayAPIRequest 智付重新打款 API请求 alibaba.sp.open.payment.repay

智付重新打款

func GetAlibabaSpOpenPaymentRepayAPIRequest added in v1.3.4

func GetAlibabaSpOpenPaymentRepayAPIRequest() *AlibabaSpOpenPaymentRepayAPIRequest

GetAlibabaSpOpenPaymentRepayRequest 从 sync.Pool 获取 AlibabaSpOpenPaymentRepayAPIRequest

func NewAlibabaSpOpenPaymentRepayRequest added in v1.2.5

func NewAlibabaSpOpenPaymentRepayRequest() *AlibabaSpOpenPaymentRepayAPIRequest

NewAlibabaSpOpenPaymentRepayRequest 初始化AlibabaSpOpenPaymentRepayAPIRequest对象

func (AlibabaSpOpenPaymentRepayAPIRequest) GetApiMethodName added in v1.2.5

func (r AlibabaSpOpenPaymentRepayAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaSpOpenPaymentRepayAPIRequest) GetApiParams added in v1.2.5

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaSpOpenPaymentRepayAPIRequest) GetAppCode added in v1.2.5

GetAppCode AppCode Getter

func (AlibabaSpOpenPaymentRepayAPIRequest) GetData added in v1.2.5

GetData Data Getter

func (AlibabaSpOpenPaymentRepayAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaSpOpenPaymentRepayAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AlibabaSpOpenPaymentRepayAPIRequest) SetAppCode added in v1.2.5

func (r *AlibabaSpOpenPaymentRepayAPIRequest) SetAppCode(_appCode string) error

SetAppCode is AppCode Setter 应用编码

func (*AlibabaSpOpenPaymentRepayAPIRequest) SetData added in v1.2.5

SetData is Data Setter 入参数据

type AlibabaSpOpenPaymentRepayAPIResponse added in v1.2.5

type AlibabaSpOpenPaymentRepayAPIResponse struct {
	model.CommonResponse
	AlibabaSpOpenPaymentRepayAPIResponseModel
}

AlibabaSpOpenPaymentRepayAPIResponse 智付重新打款 API返回值 alibaba.sp.open.payment.repay

智付重新打款

func GetAlibabaSpOpenPaymentRepayAPIResponse added in v1.3.4

func GetAlibabaSpOpenPaymentRepayAPIResponse() *AlibabaSpOpenPaymentRepayAPIResponse

GetAlibabaSpOpenPaymentRepayAPIResponse 从 sync.Pool 获取 AlibabaSpOpenPaymentRepayAPIResponse

func (*AlibabaSpOpenPaymentRepayAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type AlibabaSpOpenPaymentRepayAPIResponseModel added in v1.2.5

type AlibabaSpOpenPaymentRepayAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_sp_open_payment_repay_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 结果处理消息
	ResultMessage string `json:"result_message,omitempty" xml:"result_message,omitempty"`
	// 是否处理成功
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

AlibabaSpOpenPaymentRepayAPIResponseModel is 智付重新打款 成功返回结果

func (*AlibabaSpOpenPaymentRepayAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type AlibabaSpOpenPaymentSyncAPIRequest added in v1.2.5

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

AlibabaSpOpenPaymentSyncAPIRequest 付款单同步 API请求 alibaba.sp.open.payment.sync

新康众弹外同步付款数据

func GetAlibabaSpOpenPaymentSyncAPIRequest added in v1.3.4

func GetAlibabaSpOpenPaymentSyncAPIRequest() *AlibabaSpOpenPaymentSyncAPIRequest

GetAlibabaSpOpenPaymentSyncRequest 从 sync.Pool 获取 AlibabaSpOpenPaymentSyncAPIRequest

func NewAlibabaSpOpenPaymentSyncRequest added in v1.2.5

func NewAlibabaSpOpenPaymentSyncRequest() *AlibabaSpOpenPaymentSyncAPIRequest

NewAlibabaSpOpenPaymentSyncRequest 初始化AlibabaSpOpenPaymentSyncAPIRequest对象

func (AlibabaSpOpenPaymentSyncAPIRequest) GetApiMethodName added in v1.2.5

func (r AlibabaSpOpenPaymentSyncAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaSpOpenPaymentSyncAPIRequest) GetApiParams added in v1.2.5

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaSpOpenPaymentSyncAPIRequest) GetAppCode added in v1.2.5

GetAppCode AppCode Getter

func (AlibabaSpOpenPaymentSyncAPIRequest) GetData added in v1.2.5

GetData Data Getter

func (AlibabaSpOpenPaymentSyncAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaSpOpenPaymentSyncAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AlibabaSpOpenPaymentSyncAPIRequest) SetAppCode added in v1.2.5

func (r *AlibabaSpOpenPaymentSyncAPIRequest) SetAppCode(_appCode string) error

SetAppCode is AppCode Setter 应用编码

func (*AlibabaSpOpenPaymentSyncAPIRequest) SetData added in v1.2.5

SetData is Data Setter 入参数据

type AlibabaSpOpenPaymentSyncAPIResponse added in v1.2.5

type AlibabaSpOpenPaymentSyncAPIResponse struct {
	model.CommonResponse
	AlibabaSpOpenPaymentSyncAPIResponseModel
}

AlibabaSpOpenPaymentSyncAPIResponse 付款单同步 API返回值 alibaba.sp.open.payment.sync

新康众弹外同步付款数据

func GetAlibabaSpOpenPaymentSyncAPIResponse added in v1.3.4

func GetAlibabaSpOpenPaymentSyncAPIResponse() *AlibabaSpOpenPaymentSyncAPIResponse

GetAlibabaSpOpenPaymentSyncAPIResponse 从 sync.Pool 获取 AlibabaSpOpenPaymentSyncAPIResponse

func (*AlibabaSpOpenPaymentSyncAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type AlibabaSpOpenPaymentSyncAPIResponseModel added in v1.2.5

type AlibabaSpOpenPaymentSyncAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_sp_open_payment_sync_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 结果处理消息
	ResultMessage string `json:"result_message,omitempty" xml:"result_message,omitempty"`
	// 是否处理成功
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

AlibabaSpOpenPaymentSyncAPIResponseModel is 付款单同步 成功返回结果

func (*AlibabaSpOpenPaymentSyncAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type FileUploadReponseDto

type FileUploadReponseDto struct {
	// outerSystemSignStr
	OuterSystemSignStr string `json:"outer_system_sign_str,omitempty" xml:"outer_system_sign_str,omitempty"`
	// outerSystemEncryptStr
	OuterSystemEncryptStr string `json:"outer_system_encrypt_str,omitempty" xml:"outer_system_encrypt_str,omitempty"`
}

FileUploadReponseDto 结构体

func GetFileUploadReponseDto added in v1.3.4

func GetFileUploadReponseDto() *FileUploadReponseDto

GetFileUploadReponseDto() 从对象池中获取FileUploadReponseDto

type FileUploadRequestDto

type FileUploadRequestDto struct {
	// 应用代码(必填)
	AppCode string `json:"app_code,omitempty" xml:"app_code,omitempty"`
	// 签名字符串
	OuterSystemSignStr string `json:"outer_system_sign_str,omitempty" xml:"outer_system_sign_str,omitempty"`
	// 加密字符串
	OuterSystemEncryptStr string `json:"outer_system_encrypt_str,omitempty" xml:"outer_system_encrypt_str,omitempty"`
}

FileUploadRequestDto 结构体

func GetFileUploadRequestDto added in v1.3.4

func GetFileUploadRequestDto() *FileUploadRequestDto

GetFileUploadRequestDto() 从对象池中获取FileUploadRequestDto

type ImageUploadRequest added in v1.2.5

type ImageUploadRequest struct {
	// 文件名
	FileName string `json:"file_name,omitempty" xml:"file_name,omitempty"`
	// 文件字节数组Base64字符串
	FileByteBase64Str string `json:"file_byte_base64_str,omitempty" xml:"file_byte_base64_str,omitempty"`
	// 文件大小
	FileSize int64 `json:"file_size,omitempty" xml:"file_size,omitempty"`
}

ImageUploadRequest 结构体

func GetImageUploadRequest added in v1.3.4

func GetImageUploadRequest() *ImageUploadRequest

GetImageUploadRequest() 从对象池中获取ImageUploadRequest

type InvoiceDetails added in v1.2.5

type InvoiceDetails struct {
	// 单价
	UnitPrice string `json:"unit_price,omitempty" xml:"unit_price,omitempty"`
	// 不含税金额
	AmountWithoutTax string `json:"amount_without_tax,omitempty" xml:"amount_without_tax,omitempty"`
	// 规格型号
	ItemSpec string `json:"item_spec,omitempty" xml:"item_spec,omitempty"`
	// 税率
	TaxRate string `json:"tax_rate,omitempty" xml:"tax_rate,omitempty"`
	// 数量
	Quantity string `json:"quantity,omitempty" xml:"quantity,omitempty"`
	// 货物或应税劳务名称
	CargoName string `json:"cargo_name,omitempty" xml:"cargo_name,omitempty"`
	// 单位
	QuantityUnit string `json:"quantity_unit,omitempty" xml:"quantity_unit,omitempty"`
	// 税额
	TaxAmount string `json:"tax_amount,omitempty" xml:"tax_amount,omitempty"`
}

InvoiceDetails 结构体

func GetInvoiceDetails added in v1.3.4

func GetInvoiceDetails() *InvoiceDetails

GetInvoiceDetails() 从对象池中获取InvoiceDetails

type InvoiceMainExt added in v1.2.5

type InvoiceMainExt struct {
	// 申请人
	AuthApplyUserId string `json:"auth_apply_user_id,omitempty" xml:"auth_apply_user_id,omitempty"`
	// 扫描时间
	ScanTime string `json:"scan_time,omitempty" xml:"scan_time,omitempty"`
	// 销方名称
	SellerName string `json:"seller_name,omitempty" xml:"seller_name,omitempty"`
	// 备注
	Remark string `json:"remark,omitempty" xml:"remark,omitempty"`
	// 购方编码
	PurchaserCode string `json:"purchaser_code,omitempty" xml:"purchaser_code,omitempty"`
	// 发票密文(字符200位)
	CipherText string `json:"cipher_text,omitempty" xml:"cipher_text,omitempty"`
	// 申请时间
	AuthApplyTime string `json:"auth_apply_time,omitempty" xml:"auth_apply_time,omitempty"`
	// 发票类型
	InvoiceType string `json:"invoice_type,omitempty" xml:"invoice_type,omitempty"`
	// 代开税号
	IssuedTaxNo string `json:"issued_tax_no,omitempty" xml:"issued_tax_no,omitempty"`
	// 发票号码
	InvoiceNo string `json:"invoice_no,omitempty" xml:"invoice_no,omitempty"`
	// 附件的resourceId(上传影响接口返回)
	FileId string `json:"file_id,omitempty" xml:"file_id,omitempty"`
	// 不含税金额
	AmountWithoutTax string `json:"amount_without_tax,omitempty" xml:"amount_without_tax,omitempty"`
	// 批次号
	BatchNo string `json:"batch_no,omitempty" xml:"batch_no,omitempty"`
	// 机器编号(字符20位)
	MachineCode string `json:"machine_code,omitempty" xml:"machine_code,omitempty"`
	// 扫描员工号
	ScanUserId string `json:"scan_user_id,omitempty" xml:"scan_user_id,omitempty"`
	// 发票代码
	InvoiceCode string `json:"invoice_code,omitempty" xml:"invoice_code,omitempty"`
	// 二维码发票标记
	TwoCodeFlag string `json:"two_code_flag,omitempty" xml:"two_code_flag,omitempty"`
	// 扫描账号
	ScanAccount string `json:"scan_account,omitempty" xml:"scan_account,omitempty"`
	// 购方名称
	PurchaserName string `json:"purchaser_name,omitempty" xml:"purchaser_name,omitempty"`
	// 税率
	TaxRate string `json:"tax_rate,omitempty" xml:"tax_rate,omitempty"`
	// 销方税号
	SellerTaxNo string `json:"seller_tax_no,omitempty" xml:"seller_tax_no,omitempty"`
	// 二维码密文 (字符1000位)	二维码发票必填
	CipherTextTwocode string `json:"cipher_text_twocode,omitempty" xml:"cipher_text_twocode,omitempty"`
	// 购方税号
	PurchaserTaxNo string `json:"purchaser_tax_no,omitempty" xml:"purchaser_tax_no,omitempty"`
	// 校验码
	VerifyNo string `json:"verify_no,omitempty" xml:"verify_no,omitempty"`
	// 发票开票日期
	PaperDrewDate string `json:"paper_drew_date,omitempty" xml:"paper_drew_date,omitempty"`
	// 税额
	TaxAmount string `json:"tax_amount,omitempty" xml:"tax_amount,omitempty"`
	// 快递号
	WaybillNo string `json:"waybill_no,omitempty" xml:"waybill_no,omitempty"`
	// 关联单据号
	DocNo string `json:"doc_no,omitempty" xml:"doc_no,omitempty"`
	// 发票类型(支持全票种)
	DocumentType string `json:"document_type,omitempty" xml:"document_type,omitempty"`
}

InvoiceMainExt 结构体

func GetInvoiceMainExt added in v1.3.4

func GetInvoiceMainExt() *InvoiceMainExt

GetInvoiceMainExt() 从对象池中获取InvoiceMainExt

type InvoiceRegisterRequest added in v1.2.5

type InvoiceRegisterRequest struct {
	// 操作人
	OperateBy string `json:"operate_by,omitempty" xml:"operate_by,omitempty"`
	// 业务请求号【必填】
	RequestNo string `json:"request_no,omitempty" xml:"request_no,omitempty"`
	// 业务平台代码【必填】
	PlatformCode string `json:"platform_code,omitempty" xml:"platform_code,omitempty"`
	// 发票信息
	InvoiceDTO *RegisterInvoiceDto `json:"invoice_d_t_o,omitempty" xml:"invoice_d_t_o,omitempty"`
}

InvoiceRegisterRequest 结构体

func GetInvoiceRegisterRequest added in v1.3.4

func GetInvoiceRegisterRequest() *InvoiceRegisterRequest

GetInvoiceRegisterRequest() 从对象池中获取InvoiceRegisterRequest

type InvoiceScanRequest added in v1.2.5

type InvoiceScanRequest struct {
	// 发票实体
	InvoiceScanShareData []XforceInvoiceDto `json:"invoice_scan_share_data,omitempty" xml:"invoice_scan_share_data>xforce_invoice_dto,omitempty"`
	// 签名值
	Sign string `json:"sign,omitempty" xml:"sign,omitempty"`
	// 应用code
	Appcode string `json:"appcode,omitempty" xml:"appcode,omitempty"`
	// 扫描时间
	T int64 `json:"_t,omitempty" xml:"_t,omitempty"`
}

InvoiceScanRequest 结构体

func GetInvoiceScanRequest added in v1.3.4

func GetInvoiceScanRequest() *InvoiceScanRequest

GetInvoiceScanRequest() 从对象池中获取InvoiceScanRequest

type RegisterInvoiceDto added in v1.2.5

type RegisterInvoiceDto struct {
	// 发票行列表
	LineList []RegisterInvoiceLineDto `json:"line_list,omitempty" xml:"line_list>register_invoice_line_dto,omitempty"`
	// 发票备注
	InvoiceRemark string `json:"invoice_remark,omitempty" xml:"invoice_remark,omitempty"`
	// 销方国家代码
	SellerCountryCode string `json:"seller_country_code,omitempty" xml:"seller_country_code,omitempty"`
	// 购方银行信息
	PurchaserBankInfo string `json:"purchaser_bank_info,omitempty" xml:"purchaser_bank_info,omitempty"`
	// 销方银行信息
	SellerBankInfo string `json:"seller_bank_info,omitempty" xml:"seller_bank_info,omitempty"`
	// 购方地区编码
	PurchaserRegionCode string `json:"purchaser_region_code,omitempty" xml:"purchaser_region_code,omitempty"`
	// 购方公司代码
	PurchaserCode string `json:"purchaser_code,omitempty" xml:"purchaser_code,omitempty"`
	// 发票密文(字符200位)
	CipherText string `json:"cipher_text,omitempty" xml:"cipher_text,omitempty"`
	// 二维码密文
	QrCodeCipherText string `json:"qr_code_cipher_text,omitempty" xml:"qr_code_cipher_text,omitempty"`
	// 发票类型
	InvoiceType string `json:"invoice_type,omitempty" xml:"invoice_type,omitempty"`
	// 发票号码
	InvoiceNo string `json:"invoice_no,omitempty" xml:"invoice_no,omitempty"`
	// 文件下载http地址(优先级高于fileContent)
	FileDownloadHttpUrl string `json:"file_download_http_url,omitempty" xml:"file_download_http_url,omitempty"`
	// 机器编码
	MachineCode string `json:"machine_code,omitempty" xml:"machine_code,omitempty"`
	// 影像id
	ImageId string `json:"image_id,omitempty" xml:"image_id,omitempty"`
	// 发票代码
	InvoiceCode string `json:"invoice_code,omitempty" xml:"invoice_code,omitempty"`
	// 购方名称
	PurchaserName string `json:"purchaser_name,omitempty" xml:"purchaser_name,omitempty"`
	// 扫描账号
	ScanAccount string `json:"scan_account,omitempty" xml:"scan_account,omitempty"`
	// 税率
	TaxRate string `json:"tax_rate,omitempty" xml:"tax_rate,omitempty"`
	// 电子发票类型
	ElectronicType string `json:"electronic_type,omitempty" xml:"electronic_type,omitempty"`
	// 销方税号
	SellerTaxNo string `json:"seller_tax_no,omitempty" xml:"seller_tax_no,omitempty"`
	// 开票国家类型
	IssueCountryType string `json:"issue_country_type,omitempty" xml:"issue_country_type,omitempty"`
	// 登记成功时间
	RegTime string `json:"reg_time,omitempty" xml:"reg_time,omitempty"`
	// 关联单据号
	RelatedOrder string `json:"related_order,omitempty" xml:"related_order,omitempty"`
	// 购方税号
	PurchaserTaxNo string `json:"purchaser_tax_no,omitempty" xml:"purchaser_tax_no,omitempty"`
	// 影像原始文件名称
	ImageFileName string `json:"image_file_name,omitempty" xml:"image_file_name,omitempty"`
	// 登记渠道
	RegisterChannel string `json:"register_channel,omitempty" xml:"register_channel,omitempty"`
	// 校验码
	CheckSum string `json:"check_sum,omitempty" xml:"check_sum,omitempty"`
	// 税额
	TaxAmount string `json:"tax_amount,omitempty" xml:"tax_amount,omitempty"`
	// 代开销方名称
	IssuedSellerName string `json:"issued_seller_name,omitempty" xml:"issued_seller_name,omitempty"`
	// 不含税金额
	ExcludingTaxAmount string `json:"excluding_tax_amount,omitempty" xml:"excluding_tax_amount,omitempty"`
	// 所属平台
	RegPlatformCode string `json:"reg_platform_code,omitempty" xml:"reg_platform_code,omitempty"`
	// 二维码标识
	QrCodeFlag string `json:"qr_code_flag,omitempty" xml:"qr_code_flag,omitempty"`
	// 登记的OU
	RegBizIdentityOu string `json:"reg_biz_identity_ou,omitempty" xml:"reg_biz_identity_ou,omitempty"`
	// 销方名称
	SellerName string `json:"seller_name,omitempty" xml:"seller_name,omitempty"`
	// 登记人
	RegUser string `json:"reg_user,omitempty" xml:"reg_user,omitempty"`
	// 销方code
	SellerCode string `json:"seller_code,omitempty" xml:"seller_code,omitempty"`
	// 购方国家代码
	PurchaserCountryCode string `json:"purchaser_country_code,omitempty" xml:"purchaser_country_code,omitempty"`
	// 币种
	Currency string `json:"currency,omitempty" xml:"currency,omitempty"`
	// 代开单位税号
	IssuedTaxNo string `json:"issued_tax_no,omitempty" xml:"issued_tax_no,omitempty"`
	// 有效税额
	EffectiveTaxAmount string `json:"effective_tax_amount,omitempty" xml:"effective_tax_amount,omitempty"`
	// 购方地址及电话
	PurchaserContactInfo string `json:"purchaser_contact_info,omitempty" xml:"purchaser_contact_info,omitempty"`
	// 发票总金额
	Amount string `json:"amount,omitempty" xml:"amount,omitempty"`
	// 销方地区编码
	SellerRegionCode string `json:"seller_region_code,omitempty" xml:"seller_region_code,omitempty"`
	// 开票日期
	InvoiceDate string `json:"invoice_date,omitempty" xml:"invoice_date,omitempty"`
	// 发票介质类型
	InvoiceMaterial string `json:"invoice_material,omitempty" xml:"invoice_material,omitempty"`
	// 销方地址及电话
	SellerContactInfo string `json:"seller_contact_info,omitempty" xml:"seller_contact_info,omitempty"`
	// 是否海外某些国家的发票使用
	AuthorizedDealer string `json:"authorized_dealer,omitempty" xml:"authorized_dealer,omitempty"`
	// 登记时,所属的业务身份
	RegBizIdentityCode string `json:"reg_biz_identity_code,omitempty" xml:"reg_biz_identity_code,omitempty"`
	// 运单号
	WaybillNo string `json:"waybill_no,omitempty" xml:"waybill_no,omitempty"`
	// 票种类型code
	InvoiceTypeCode string `json:"invoice_type_code,omitempty" xml:"invoice_type_code,omitempty"`
	// 登记时,最终所选的bizId
	RegBizIdentityId int64 `json:"reg_biz_identity_id,omitempty" xml:"reg_biz_identity_id,omitempty"`
	// 纸票是否到票才认证
	PaperOwnCertifyFlag bool `json:"paper_own_certify_flag,omitempty" xml:"paper_own_certify_flag,omitempty"`
}

RegisterInvoiceDto 结构体

func GetRegisterInvoiceDto added in v1.3.4

func GetRegisterInvoiceDto() *RegisterInvoiceDto

GetRegisterInvoiceDto() 从对象池中获取RegisterInvoiceDto

type RegisterInvoiceLineDto added in v1.2.5

type RegisterInvoiceLineDto struct {
	// 发票行类型
	InvoiceLineType string `json:"invoice_line_type,omitempty" xml:"invoice_line_type,omitempty"`
	// 单位
	QuantityUnit string `json:"quantity_unit,omitempty" xml:"quantity_unit,omitempty"`
	// 货物来源国
	GoodsSourceCountry string `json:"goods_source_country,omitempty" xml:"goods_source_country,omitempty"`
	// 税种2
	TaxCategory2 string `json:"tax_category2,omitempty" xml:"tax_category2,omitempty"`
	// 免税注释
	DutyFreeMemo string `json:"duty_free_memo,omitempty" xml:"duty_free_memo,omitempty"`
	// 汇率
	ExchangeRate string `json:"exchange_rate,omitempty" xml:"exchange_rate,omitempty"`
	// 本币税额2
	LocalCurrencyTaxAmount2 string `json:"local_currency_tax_amount2,omitempty" xml:"local_currency_tax_amount2,omitempty"`
	// 本币税额1
	LocalCurrencyTaxAmount1 string `json:"local_currency_tax_amount1,omitempty" xml:"local_currency_tax_amount1,omitempty"`
	// 规格型号
	Model string `json:"model,omitempty" xml:"model,omitempty"`
	// 币种
	Currency string `json:"currency,omitempty" xml:"currency,omitempty"`
	// 税种
	TaxCategories string `json:"tax_categories,omitempty" xml:"tax_categories,omitempty"`
	// 税率2
	TaxRate2 string `json:"tax_rate2,omitempty" xml:"tax_rate2,omitempty"`
	// 货物名称
	GoodsDesc string `json:"goods_desc,omitempty" xml:"goods_desc,omitempty"`
	// 供货地点
	PlaceOfSupply string `json:"place_of_supply,omitempty" xml:"place_of_supply,omitempty"`
	// 单价
	UnitPrice string `json:"unit_price,omitempty" xml:"unit_price,omitempty"`
	// 含税金额
	Amount string `json:"amount,omitempty" xml:"amount,omitempty"`
	// 本币税额
	LocalCurrencyTaxAmount string `json:"local_currency_tax_amount,omitempty" xml:"local_currency_tax_amount,omitempty"`
	// 数量
	Quantity string `json:"quantity,omitempty" xml:"quantity,omitempty"`
	// 本币不含税金额
	LocalCurrencyExcludingTaxAmount string `json:"local_currency_excluding_tax_amount,omitempty" xml:"local_currency_excluding_tax_amount,omitempty"`
	// 本币含税总金额
	LocalCurrencyAmount string `json:"local_currency_amount,omitempty" xml:"local_currency_amount,omitempty"`
	// 税额1
	TaxAmount1 string `json:"tax_amount1,omitempty" xml:"tax_amount1,omitempty"`
	// 税额2
	TaxAmount2 string `json:"tax_amount2,omitempty" xml:"tax_amount2,omitempty"`
	// 本币币种
	LocalCurrencyCode string `json:"local_currency_code,omitempty" xml:"local_currency_code,omitempty"`
	// 服务日期/供货日期
	SupplyDate string `json:"supply_date,omitempty" xml:"supply_date,omitempty"`
	// 服务核算代码
	ServiceAccountingCode string `json:"service_accounting_code,omitempty" xml:"service_accounting_code,omitempty"`
	// 税率
	TaxRate string `json:"tax_rate,omitempty" xml:"tax_rate,omitempty"`
	// 是否海外发票
	ReverseCharge string `json:"reverse_charge,omitempty" xml:"reverse_charge,omitempty"`
	// 本币单价
	LocalCurrencyPrice string `json:"local_currency_price,omitempty" xml:"local_currency_price,omitempty"`
	// 零税率类型
	ZeroRateFlag string `json:"zero_rate_flag,omitempty" xml:"zero_rate_flag,omitempty"`
	// 税额
	TaxAmount string `json:"tax_amount,omitempty" xml:"tax_amount,omitempty"`
	// 不含税金额
	ExcludingTaxAmount string `json:"excluding_tax_amount,omitempty" xml:"excluding_tax_amount,omitempty"`
	// 行号
	RowNo int64 `json:"row_no,omitempty" xml:"row_no,omitempty"`
}

RegisterInvoiceLineDto 结构体

func GetRegisterInvoiceLineDto added in v1.3.4

func GetRegisterInvoiceLineDto() *RegisterInvoiceLineDto

GetRegisterInvoiceLineDto() 从对象池中获取RegisterInvoiceLineDto

type XforceInvoiceDto added in v1.2.5

type XforceInvoiceDto struct {
	// 发票行
	DetailList []InvoiceDetails `json:"detail_list,omitempty" xml:"detail_list>invoice_details,omitempty"`
	// 发票头
	Head *InvoiceMainExt `json:"head,omitempty" xml:"head,omitempty"`
}

XforceInvoiceDto 结构体

func GetXforceInvoiceDto added in v1.3.4

func GetXforceInvoiceDto() *XforceInvoiceDto

GetXforceInvoiceDto() 从对象池中获取XforceInvoiceDto

Jump to

Keyboard shortcuts

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