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.3.1
type AlibabacfoincominginvoicepytimageuploadAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabacfoincominginvoicepytimageuploadAPIRequest 票易通发票影像上传 API请求 alibaba.cfo.incoming.invoice.pyt.image.upload
票易通发票影像上传
func NewAlibabacfoincominginvoicepytimageuploadRequest ¶ added in v1.3.1
func NewAlibabacfoincominginvoicepytimageuploadRequest() *AlibabacfoincominginvoicepytimageuploadAPIRequest
NewAlibabacfoincominginvoicepytimageuploadRequest 初始化AlibabacfoincominginvoicepytimageuploadAPIRequest对象
func (AlibabacfoincominginvoicepytimageuploadAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlibabacfoincominginvoicepytimageuploadAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabacfoincominginvoicepytimageuploadAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlibabacfoincominginvoicepytimageuploadAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabacfoincominginvoicepytimageuploadAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlibabacfoincominginvoicepytimageuploadAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AlibabacfoincominginvoicepytimageuploadAPIRequest) GetUploadRequest ¶ added in v1.3.1
func (r AlibabacfoincominginvoicepytimageuploadAPIRequest) GetUploadRequest() *ImageUploadRequest
GetUploadRequest UploadRequest Getter
func (*AlibabacfoincominginvoicepytimageuploadAPIRequest) SetUploadRequest ¶ added in v1.3.1
func (r *AlibabacfoincominginvoicepytimageuploadAPIRequest) SetUploadRequest(_uploadRequest *ImageUploadRequest) error
SetUploadRequest is UploadRequest Setter 影像上传实体
type AlibabacfoincominginvoicepytimageuploadAPIResponse ¶ added in v1.3.1
type AlibabacfoincominginvoicepytimageuploadAPIResponse struct { model.CommonResponse AlibabacfoincominginvoicepytimageuploadAPIResponseModel }
AlibabacfoincominginvoicepytimageuploadAPIResponse 票易通发票影像上传 API返回值 alibaba.cfo.incoming.invoice.pyt.image.upload
票易通发票影像上传
type AlibabacfoincominginvoicepytimageuploadAPIResponseModel ¶ added in v1.3.1
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.3.1
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.3.1
func NewAlibabacfoincominginvoicepytinvoicescanRequest() *AlibabacfoincominginvoicepytinvoicescanAPIRequest
NewAlibabacfoincominginvoicepytinvoicescanRequest 初始化AlibabacfoincominginvoicepytinvoicescanAPIRequest对象
func (AlibabacfoincominginvoicepytinvoicescanAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlibabacfoincominginvoicepytinvoicescanAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabacfoincominginvoicepytinvoicescanAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlibabacfoincominginvoicepytinvoicescanAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabacfoincominginvoicepytinvoicescanAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlibabacfoincominginvoicepytinvoicescanAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AlibabacfoincominginvoicepytinvoicescanAPIRequest) GetScanRequest ¶ added in v1.3.1
func (r AlibabacfoincominginvoicepytinvoicescanAPIRequest) GetScanRequest() *InvoiceScanRequest
GetScanRequest ScanRequest Getter
func (*AlibabacfoincominginvoicepytinvoicescanAPIRequest) SetScanRequest ¶ added in v1.3.1
func (r *AlibabacfoincominginvoicepytinvoicescanAPIRequest) SetScanRequest(_scanRequest *InvoiceScanRequest) error
SetScanRequest is ScanRequest Setter ocr录入请求体
type AlibabacfoincominginvoicepytinvoicescanAPIResponse ¶ added in v1.3.1
type AlibabacfoincominginvoicepytinvoicescanAPIResponse struct { model.CommonResponse AlibabacfoincominginvoicepytinvoicescanAPIResponseModel }
AlibabacfoincominginvoicepytinvoicescanAPIResponse 票易通发票ocr信息同步 API返回值 alibaba.cfo.incoming.invoice.pyt.invoice.scan
票易通发票ocr信息同步
type AlibabacfoincominginvoicepytinvoicescanAPIResponseModel ¶ added in v1.3.1
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.3.1
type AlibabacfoincominginvoiceregisterAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabacfoincominginvoiceregisterAPIRequest 发票登记接口 API请求 alibaba.cfo.incoming.invoice.register
发票登记接口
func NewAlibabacfoincominginvoiceregisterRequest ¶ added in v1.3.1
func NewAlibabacfoincominginvoiceregisterRequest() *AlibabacfoincominginvoiceregisterAPIRequest
NewAlibabacfoincominginvoiceregisterRequest 初始化AlibabacfoincominginvoiceregisterAPIRequest对象
func (AlibabacfoincominginvoiceregisterAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlibabacfoincominginvoiceregisterAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabacfoincominginvoiceregisterAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlibabacfoincominginvoiceregisterAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabacfoincominginvoiceregisterAPIRequest) GetInvoiceRegisterRequest ¶ added in v1.3.1
func (r AlibabacfoincominginvoiceregisterAPIRequest) GetInvoiceRegisterRequest() *InvoiceRegisterRequest
GetInvoiceRegisterRequest InvoiceRegisterRequest Getter
func (AlibabacfoincominginvoiceregisterAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlibabacfoincominginvoiceregisterAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlibabacfoincominginvoiceregisterAPIRequest) SetInvoiceRegisterRequest ¶ added in v1.3.1
func (r *AlibabacfoincominginvoiceregisterAPIRequest) SetInvoiceRegisterRequest(_invoiceRegisterRequest *InvoiceRegisterRequest) error
SetInvoiceRegisterRequest is InvoiceRegisterRequest Setter 发票登记请求体
type AlibabacfoincominginvoiceregisterAPIResponse ¶ added in v1.3.1
type AlibabacfoincominginvoiceregisterAPIResponse struct { model.CommonResponse AlibabacfoincominginvoiceregisterAPIResponseModel }
AlibabacfoincominginvoiceregisterAPIResponse 发票登记接口 API返回值 alibaba.cfo.incoming.invoice.register
发票登记接口
type AlibabacfoincominginvoiceregisterAPIResponseModel ¶ added in v1.3.1
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.3.1
type AlibabafpmfileuploadAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabafpmfileuploadAPIRequest 结算单文件上传 API请求 alibaba.fpm.file.upload
结算单文件上传
func NewAlibabafpmfileuploadRequest ¶ added in v1.3.1
func NewAlibabafpmfileuploadRequest() *AlibabafpmfileuploadAPIRequest
NewAlibabafpmfileuploadRequest 初始化AlibabafpmfileuploadAPIRequest对象
func (AlibabafpmfileuploadAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlibabafpmfileuploadAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabafpmfileuploadAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlibabafpmfileuploadAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabafpmfileuploadAPIRequest) GetBizDto ¶ added in v1.3.1
func (r AlibabafpmfileuploadAPIRequest) GetBizDto() *FileUploadRequestDto
GetBizDto BizDto Getter
func (AlibabafpmfileuploadAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlibabafpmfileuploadAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlibabafpmfileuploadAPIRequest) SetBizDto ¶ added in v1.3.1
func (r *AlibabafpmfileuploadAPIRequest) SetBizDto(_bizDto *FileUploadRequestDto) error
SetBizDto is BizDto Setter 实体
type AlibabafpmfileuploadAPIResponse ¶ added in v1.3.1
type AlibabafpmfileuploadAPIResponse struct { model.CommonResponse AlibabafpmfileuploadAPIResponseModel }
AlibabafpmfileuploadAPIResponse 结算单文件上传 API返回值 alibaba.fpm.file.upload
结算单文件上传
type AlibabafpmfileuploadAPIResponseModel ¶ added in v1.3.1
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 ¶ added in v1.3.1
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.3.1
type AlibabaspopenpaymentrepayAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaspopenpaymentrepayAPIRequest 智付重新打款 API请求 alibaba.sp.open.payment.repay
智付重新打款
func NewAlibabaspopenpaymentrepayRequest ¶ added in v1.3.1
func NewAlibabaspopenpaymentrepayRequest() *AlibabaspopenpaymentrepayAPIRequest
NewAlibabaspopenpaymentrepayRequest 初始化AlibabaspopenpaymentrepayAPIRequest对象
func (AlibabaspopenpaymentrepayAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlibabaspopenpaymentrepayAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaspopenpaymentrepayAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlibabaspopenpaymentrepayAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaspopenpaymentrepayAPIRequest) GetAppCode ¶ added in v1.3.1
func (r AlibabaspopenpaymentrepayAPIRequest) GetAppCode() string
GetAppCode AppCode Getter
func (AlibabaspopenpaymentrepayAPIRequest) GetData ¶ added in v1.3.1
func (r AlibabaspopenpaymentrepayAPIRequest) GetData() string
GetData Data Getter
func (AlibabaspopenpaymentrepayAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlibabaspopenpaymentrepayAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlibabaspopenpaymentrepayAPIRequest) SetAppCode ¶ added in v1.3.1
func (r *AlibabaspopenpaymentrepayAPIRequest) SetAppCode(_appCode string) error
SetAppCode is AppCode Setter 应用编码
func (*AlibabaspopenpaymentrepayAPIRequest) SetData ¶ added in v1.3.1
func (r *AlibabaspopenpaymentrepayAPIRequest) SetData(_data string) error
SetData is Data Setter 入参数据
type AlibabaspopenpaymentrepayAPIResponse ¶ added in v1.3.1
type AlibabaspopenpaymentrepayAPIResponse struct { model.CommonResponse AlibabaspopenpaymentrepayAPIResponseModel }
AlibabaspopenpaymentrepayAPIResponse 智付重新打款 API返回值 alibaba.sp.open.payment.repay
智付重新打款
type AlibabaspopenpaymentrepayAPIResponseModel ¶ added in v1.3.1
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.3.1
type AlibabaspopenpaymentsyncAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaspopenpaymentsyncAPIRequest 付款单同步 API请求 alibaba.sp.open.payment.sync
新康众弹外同步付款数据
func NewAlibabaspopenpaymentsyncRequest ¶ added in v1.3.1
func NewAlibabaspopenpaymentsyncRequest() *AlibabaspopenpaymentsyncAPIRequest
NewAlibabaspopenpaymentsyncRequest 初始化AlibabaspopenpaymentsyncAPIRequest对象
func (AlibabaspopenpaymentsyncAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlibabaspopenpaymentsyncAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaspopenpaymentsyncAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlibabaspopenpaymentsyncAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaspopenpaymentsyncAPIRequest) GetAppCode ¶ added in v1.3.1
func (r AlibabaspopenpaymentsyncAPIRequest) GetAppCode() string
GetAppCode AppCode Getter
func (AlibabaspopenpaymentsyncAPIRequest) GetData ¶ added in v1.3.1
func (r AlibabaspopenpaymentsyncAPIRequest) GetData() string
GetData Data Getter
func (AlibabaspopenpaymentsyncAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlibabaspopenpaymentsyncAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlibabaspopenpaymentsyncAPIRequest) SetAppCode ¶ added in v1.3.1
func (r *AlibabaspopenpaymentsyncAPIRequest) SetAppCode(_appCode string) error
SetAppCode is AppCode Setter 应用编码
func (*AlibabaspopenpaymentsyncAPIRequest) SetData ¶ added in v1.3.1
func (r *AlibabaspopenpaymentsyncAPIRequest) SetData(_data string) error
SetData is Data Setter 入参数据
type AlibabaspopenpaymentsyncAPIResponse ¶ added in v1.3.1
type AlibabaspopenpaymentsyncAPIResponse struct { model.CommonResponse AlibabaspopenpaymentsyncAPIResponseModel }
AlibabaspopenpaymentsyncAPIResponse 付款单同步 API返回值 alibaba.sp.open.payment.sync
新康众弹外同步付款数据
type AlibabaspopenpaymentsyncAPIResponseModel ¶ added in v1.3.1
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"` // 发票类型(支持全票种) DocumentType string `json:"document_type,omitempty" xml:"document_type,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"` // 票种类型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 结构体
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