Documentation ¶
Overview ¶
Package fpm 包含企业运营平台-集团财相关结构体
Index ¶
- type AlibabaCfoIncomingInvoicePytImageUploadAPIRequest
- func (r AlibabaCfoIncomingInvoicePytImageUploadAPIRequest) GetApiMethodName() string
- func (r AlibabaCfoIncomingInvoicePytImageUploadAPIRequest) GetApiParams(params url.Values)
- func (r AlibabaCfoIncomingInvoicePytImageUploadAPIRequest) GetRawParams() model.Params
- func (r AlibabaCfoIncomingInvoicePytImageUploadAPIRequest) GetUploadRequest() *ImageUploadRequest
- func (r *AlibabaCfoIncomingInvoicePytImageUploadAPIRequest) SetUploadRequest(_uploadRequest *ImageUploadRequest) error
- type AlibabaCfoIncomingInvoicePytImageUploadAPIResponse
- type AlibabaCfoIncomingInvoicePytImageUploadAPIResponseModel
- type AlibabaCfoIncomingInvoicePytInvoiceScanAPIRequest
- func (r AlibabaCfoIncomingInvoicePytInvoiceScanAPIRequest) GetApiMethodName() string
- func (r AlibabaCfoIncomingInvoicePytInvoiceScanAPIRequest) GetApiParams(params url.Values)
- func (r AlibabaCfoIncomingInvoicePytInvoiceScanAPIRequest) GetRawParams() model.Params
- func (r AlibabaCfoIncomingInvoicePytInvoiceScanAPIRequest) GetScanRequest() *InvoiceScanRequest
- func (r *AlibabaCfoIncomingInvoicePytInvoiceScanAPIRequest) SetScanRequest(_scanRequest *InvoiceScanRequest) error
- type AlibabaCfoIncomingInvoicePytInvoiceScanAPIResponse
- type AlibabaCfoIncomingInvoicePytInvoiceScanAPIResponseModel
- type AlibabaCfoIncomingInvoiceRegisterAPIRequest
- func (r AlibabaCfoIncomingInvoiceRegisterAPIRequest) GetApiMethodName() string
- func (r AlibabaCfoIncomingInvoiceRegisterAPIRequest) GetApiParams(params url.Values)
- func (r AlibabaCfoIncomingInvoiceRegisterAPIRequest) GetInvoiceRegisterRequest() *InvoiceRegisterRequest
- func (r AlibabaCfoIncomingInvoiceRegisterAPIRequest) GetRawParams() model.Params
- func (r *AlibabaCfoIncomingInvoiceRegisterAPIRequest) SetInvoiceRegisterRequest(_invoiceRegisterRequest *InvoiceRegisterRequest) error
- type AlibabaCfoIncomingInvoiceRegisterAPIResponse
- type AlibabaCfoIncomingInvoiceRegisterAPIResponseModel
- type AlibabaFpmFileUploadAPIRequest
- func (r AlibabaFpmFileUploadAPIRequest) GetApiMethodName() string
- func (r AlibabaFpmFileUploadAPIRequest) GetApiParams(params url.Values)
- func (r AlibabaFpmFileUploadAPIRequest) GetBizDto() *FileUploadRequestDto
- func (r AlibabaFpmFileUploadAPIRequest) GetRawParams() model.Params
- func (r *AlibabaFpmFileUploadAPIRequest) SetBizDto(_bizDto *FileUploadRequestDto) error
- type AlibabaFpmFileUploadAPIResponse
- type AlibabaFpmFileUploadAPIResponseModel
- type AlibabaFpmFileUploadResultModel
- type AlibabaSpOpenPaymentRepayAPIRequest
- func (r AlibabaSpOpenPaymentRepayAPIRequest) GetApiMethodName() string
- func (r AlibabaSpOpenPaymentRepayAPIRequest) GetApiParams(params url.Values)
- func (r AlibabaSpOpenPaymentRepayAPIRequest) GetAppCode() string
- func (r AlibabaSpOpenPaymentRepayAPIRequest) GetData() string
- func (r AlibabaSpOpenPaymentRepayAPIRequest) GetRawParams() model.Params
- func (r *AlibabaSpOpenPaymentRepayAPIRequest) SetAppCode(_appCode string) error
- func (r *AlibabaSpOpenPaymentRepayAPIRequest) SetData(_data string) error
- type AlibabaSpOpenPaymentRepayAPIResponse
- type AlibabaSpOpenPaymentRepayAPIResponseModel
- type AlibabaSpOpenPaymentSyncAPIRequest
- func (r AlibabaSpOpenPaymentSyncAPIRequest) GetApiMethodName() string
- func (r AlibabaSpOpenPaymentSyncAPIRequest) GetApiParams(params url.Values)
- func (r AlibabaSpOpenPaymentSyncAPIRequest) GetAppCode() string
- func (r AlibabaSpOpenPaymentSyncAPIRequest) GetData() string
- func (r AlibabaSpOpenPaymentSyncAPIRequest) GetRawParams() model.Params
- func (r *AlibabaSpOpenPaymentSyncAPIRequest) SetAppCode(_appCode string) error
- func (r *AlibabaSpOpenPaymentSyncAPIRequest) SetData(_data string) error
- type AlibabaSpOpenPaymentSyncAPIResponse
- type AlibabaSpOpenPaymentSyncAPIResponseModel
- type FileUploadReponseDto
- type FileUploadRequestDto
- type ImageUploadRequest
- type InvoiceDetails
- type InvoiceMainExt
- type InvoiceRegisterRequest
- type InvoiceScanRequest
- type RegisterInvoiceDto
- type RegisterInvoiceLineDto
- type XforceInvoiceDto
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
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 NewAlibabaCfoIncomingInvoicePytImageUploadRequest ¶ added in v1.2.5
func NewAlibabaCfoIncomingInvoicePytImageUploadRequest() *AlibabaCfoIncomingInvoicePytImageUploadAPIRequest
NewAlibabaCfoIncomingInvoicePytImageUploadRequest 初始化AlibabaCfoIncomingInvoicePytImageUploadAPIRequest对象
func (AlibabaCfoIncomingInvoicePytImageUploadAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r AlibabaCfoIncomingInvoicePytImageUploadAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaCfoIncomingInvoicePytImageUploadAPIRequest) GetApiParams ¶ added in v1.2.5
func (r AlibabaCfoIncomingInvoicePytImageUploadAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaCfoIncomingInvoicePytImageUploadAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AlibabaCfoIncomingInvoicePytImageUploadAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AlibabaCfoIncomingInvoicePytImageUploadAPIRequest) GetUploadRequest ¶ added in v1.2.5
func (r AlibabaCfoIncomingInvoicePytImageUploadAPIRequest) GetUploadRequest() *ImageUploadRequest
GetUploadRequest UploadRequest Getter
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
票易通发票影像上传
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 票易通发票影像上传 成功返回结果
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 NewAlibabaCfoIncomingInvoicePytInvoiceScanRequest ¶ added in v1.2.5
func NewAlibabaCfoIncomingInvoicePytInvoiceScanRequest() *AlibabaCfoIncomingInvoicePytInvoiceScanAPIRequest
NewAlibabaCfoIncomingInvoicePytInvoiceScanRequest 初始化AlibabaCfoIncomingInvoicePytInvoiceScanAPIRequest对象
func (AlibabaCfoIncomingInvoicePytInvoiceScanAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r AlibabaCfoIncomingInvoicePytInvoiceScanAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaCfoIncomingInvoicePytInvoiceScanAPIRequest) GetApiParams ¶ added in v1.2.5
func (r AlibabaCfoIncomingInvoicePytInvoiceScanAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaCfoIncomingInvoicePytInvoiceScanAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AlibabaCfoIncomingInvoicePytInvoiceScanAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AlibabaCfoIncomingInvoicePytInvoiceScanAPIRequest) GetScanRequest ¶ added in v1.2.5
func (r AlibabaCfoIncomingInvoicePytInvoiceScanAPIRequest) GetScanRequest() *InvoiceScanRequest
GetScanRequest ScanRequest Getter
func (*AlibabaCfoIncomingInvoicePytInvoiceScanAPIRequest) SetScanRequest ¶ added in v1.2.5
func (r *AlibabaCfoIncomingInvoicePytInvoiceScanAPIRequest) SetScanRequest(_scanRequest *InvoiceScanRequest) error
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信息同步
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信息同步 成功返回结果
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 NewAlibabaCfoIncomingInvoiceRegisterRequest ¶ added in v1.2.5
func NewAlibabaCfoIncomingInvoiceRegisterRequest() *AlibabaCfoIncomingInvoiceRegisterAPIRequest
NewAlibabaCfoIncomingInvoiceRegisterRequest 初始化AlibabaCfoIncomingInvoiceRegisterAPIRequest对象
func (AlibabaCfoIncomingInvoiceRegisterAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r AlibabaCfoIncomingInvoiceRegisterAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaCfoIncomingInvoiceRegisterAPIRequest) GetApiParams ¶ added in v1.2.5
func (r AlibabaCfoIncomingInvoiceRegisterAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaCfoIncomingInvoiceRegisterAPIRequest) GetInvoiceRegisterRequest ¶ added in v1.2.5
func (r AlibabaCfoIncomingInvoiceRegisterAPIRequest) GetInvoiceRegisterRequest() *InvoiceRegisterRequest
GetInvoiceRegisterRequest InvoiceRegisterRequest Getter
func (AlibabaCfoIncomingInvoiceRegisterAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AlibabaCfoIncomingInvoiceRegisterAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
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
发票登记接口
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 发票登记接口 成功返回结果
type AlibabaFpmFileUploadAPIRequest ¶ added in v1.2.0
type AlibabaFpmFileUploadAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaFpmFileUploadAPIRequest 结算单文件上传 API请求 alibaba.fpm.file.upload
结算单文件上传
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
func (r AlibabaFpmFileUploadAPIRequest) GetBizDto() *FileUploadRequestDto
GetBizDto BizDto Getter
func (AlibabaFpmFileUploadAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AlibabaFpmFileUploadAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlibabaFpmFileUploadAPIRequest) SetBizDto ¶ added in v1.2.0
func (r *AlibabaFpmFileUploadAPIRequest) SetBizDto(_bizDto *FileUploadRequestDto) error
SetBizDto is BizDto Setter 实体
type AlibabaFpmFileUploadAPIResponse ¶
type AlibabaFpmFileUploadAPIResponse struct { model.CommonResponse AlibabaFpmFileUploadAPIResponseModel }
AlibabaFpmFileUploadAPIResponse 结算单文件上传 API返回值 alibaba.fpm.file.upload
结算单文件上传
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 结算单文件上传 成功返回结果
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 结构体
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 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
func (r AlibabaSpOpenPaymentRepayAPIRequest) GetAppCode() string
GetAppCode AppCode Getter
func (AlibabaSpOpenPaymentRepayAPIRequest) GetData ¶ added in v1.2.5
func (r AlibabaSpOpenPaymentRepayAPIRequest) GetData() string
GetData Data Getter
func (AlibabaSpOpenPaymentRepayAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AlibabaSpOpenPaymentRepayAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
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
func (r *AlibabaSpOpenPaymentRepayAPIRequest) SetData(_data string) error
SetData is Data Setter 入参数据
type AlibabaSpOpenPaymentRepayAPIResponse ¶ added in v1.2.5
type AlibabaSpOpenPaymentRepayAPIResponse struct { model.CommonResponse AlibabaSpOpenPaymentRepayAPIResponseModel }
AlibabaSpOpenPaymentRepayAPIResponse 智付重新打款 API返回值 alibaba.sp.open.payment.repay
智付重新打款
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 智付重新打款 成功返回结果
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 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
func (r AlibabaSpOpenPaymentSyncAPIRequest) GetAppCode() string
GetAppCode AppCode Getter
func (AlibabaSpOpenPaymentSyncAPIRequest) GetData ¶ added in v1.2.5
func (r AlibabaSpOpenPaymentSyncAPIRequest) GetData() string
GetData Data Getter
func (AlibabaSpOpenPaymentSyncAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AlibabaSpOpenPaymentSyncAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
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
func (r *AlibabaSpOpenPaymentSyncAPIRequest) SetData(_data string) error
SetData is Data Setter 入参数据
type AlibabaSpOpenPaymentSyncAPIResponse ¶ added in v1.2.5
type AlibabaSpOpenPaymentSyncAPIResponse struct { model.CommonResponse AlibabaSpOpenPaymentSyncAPIResponseModel }
AlibabaSpOpenPaymentSyncAPIResponse 付款单同步 API返回值 alibaba.sp.open.payment.sync
新康众弹外同步付款数据
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 付款单同步 成功返回结果
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 结构体
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 结构体
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 结构体
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 结构体
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"` }
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 结构体
type InvoiceScanRequest ¶ added in v1.2.5
type InvoiceScanRequest struct { 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"` }InvoiceScanShareData []
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"` // 登记时,最终所选的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 结构体
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 结构体
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 结构体
Source Files ¶
- AlibabaCfoIncomingInvoicePytImageUploadAPIRequest.go
- AlibabaCfoIncomingInvoicePytImageUploadAPIResponse.go
- AlibabaCfoIncomingInvoicePytInvoiceScanAPIRequest.go
- AlibabaCfoIncomingInvoicePytInvoiceScanAPIResponse.go
- AlibabaCfoIncomingInvoiceRegisterAPIRequest.go
- AlibabaCfoIncomingInvoiceRegisterAPIResponse.go
- AlibabaFpmFileUploadAPIRequest.go
- AlibabaFpmFileUploadAPIResponse.go
- AlibabaFpmFileUploadResultModel.go
- AlibabaSpOpenPaymentRepayAPIRequest.go
- AlibabaSpOpenPaymentRepayAPIResponse.go
- AlibabaSpOpenPaymentSyncAPIRequest.go
- AlibabaSpOpenPaymentSyncAPIResponse.go
- FileUploadReponseDto.go
- FileUploadRequestDto.go
- ImageUploadRequest.go
- InvoiceDetails.go
- InvoiceMainExt.go
- InvoiceRegisterRequest.go
- InvoiceScanRequest.go
- RegisterInvoiceDto.go
- RegisterInvoiceLineDto.go
- XforceInvoiceDto.go
- doc.go