Documentation ¶
Index ¶
- Constants
- type AccountList
- type AddCustomerRequest
- type AddCustomerResponse
- type Alice
- type BatchAssignRolesRequest
- type BatchAssignRolesResponse
- type Companions
- type Customer
- func (c *Customer) AddCustomer(req AddCustomerRequest) (result AddCustomerResponse, err error)
- func (c *Customer) BatchAssignRoles(req BatchAssignRolesRequest) (result BatchAssignRolesResponse, err error)
- func (c *Customer) QueryCustomers(req QueryCustomersRequest) (result QueryCustomersResponse, err error)
- func (c *Customer) UpdateCustomer(req UpdateCustomerRequest) (result UpdateCustomerResponse, err error)
- func (c *Customer) UpdateCustomerStatus(req UpdateCustomerStatusRequest) (result UpdateCustomerStatusResponse, err error)
- type CustomerLikeCriteria
- type CustomerList
- type Finance
- func (c *Finance) GetAllYearMonthCashFlowsStatementSheet(req GetAllYearMonthCashFlowsStatementSheetRequest) (result GetAllYearMonthCashFlowsStatementSheetResponse, err error)
- func (c *Finance) GetAllYearMonthFinancialPositionStatementSheet(req GetAllYearMonthFinancialPositionStatementSheetRequest) (result GetAllYearMonthFinancialPositionStatementSheetResponse, err error)
- func (c *Finance) GetAllYearMonthIncomeStatementSheet(req GetAllYearMonthIncomeStatementSheetRequest) (result GetAllYearMonthIncomeStatementSheetResponse, err error)
- func (c *Finance) GetMonthCashFlowsStatementSheet(req GetMonthCashFlowsStatementSheetRequest) (result GetMonthCashFlowsStatementSheetResponse, err error)
- func (c *Finance) QueryAccountBalanceSheet(req QueryAccountBalanceSheetRequest) (result QueryAccountBalanceSheetResponse, err error)
- func (c *Finance) SelectAssetsDebtSheet(req SelectAssetsDebtSheetRequest) (result SelectAssetsDebtSheetResponse, err error)
- func (c *Finance) SelectIncomeSheet(req SelectIncomeSheetRequest) (result SelectIncomeSheetResponse, err error)
- func (c *Finance) SelectQuarterIncomeSheet(req SelectQuarterIncomeSheetRequest) (result SelectQuarterIncomeSheetResponse, err error)
- type Fjss
- type GetAllYearMonthCashFlowsStatementSheetList
- type GetAllYearMonthCashFlowsStatementSheetRequest
- type GetAllYearMonthCashFlowsStatementSheetResponse
- type GetAllYearMonthFinancialPositionStatementSheetList
- type GetAllYearMonthFinancialPositionStatementSheetRequest
- type GetAllYearMonthFinancialPositionStatementSheetResponse
- type GetAllYearMonthIncomeStatementSheetList
- type GetAllYearMonthIncomeStatementSheetRequest
- type GetAllYearMonthIncomeStatementSheetResponse
- type GetCloseInfoList
- type GetCloseInfoRequest
- type GetCloseInfoResponse
- type GetMonthCashFlowsStatementSheetList
- type GetMonthCashFlowsStatementSheetRequest
- type GetMonthCashFlowsStatementSheetResponse
- type GetReport
- type GetReportRequest
- type GetReportResponse
- type GetTaxIdentificationRequest
- type GetTaxIdentificationResponse
- type GetTaxList
- type GetTaxListRequest
- type GetTaxListResponse
- type OT_ATTACH_SEASON
- type OasBodyList
- type OasHead
- type OtherParamMap
- type Pager
- type QueryAccountBalanceSheetList
- type QueryAccountBalanceSheetRequest
- type QueryAccountBalanceSheetResponse
- type QueryAccountBalanceSheetResponseBody
- type QueryCustomersRequest
- type QueryCustomersResponse
- type QueryCustomersResponseBody
- type ReportDTOMap
- type RoleAssignmentList
- type SelectAssetsDebtSheetList
- type SelectAssetsDebtSheetRequest
- type SelectAssetsDebtSheetResponse
- type SelectIncomeSheetList
- type SelectIncomeSheetRequest
- type SelectIncomeSheetResponse
- type SelectQuarterIncomeSheetList
- type SelectQuarterIncomeSheetRequest
- type SelectQuarterIncomeSheetResponse
- type Tax
- type TaxIdentification
- type TaxTypeConfig
- type TaxableCertificateConfig
- type UpdateCustomerRequest
- type UpdateCustomerResponse
- type UpdateCustomerStatusRequest
- type UpdateCustomerStatusResponse
Constants ¶
View Source
const ( // QueryCustomersUrl 查询客户信息接口 QueryCustomersUrl = "https://openapi.17win.com/gateway/openyqdz/manage/customer/queryCustomers" // AddCustomerUrl 新增客户接口 AddCustomerUrl = "https://openapi.17win.com/gateway/openyqdz/manage/customer/addCustomer" // BatchAssignRolesUrl 批量派工接口 BatchAssignRolesUrl = "https://openapi.17win.com/gateway/openyqdz/manage/customer/batchAssignRoles" // UpdateCustomerUrl 更新客户信息接口 UpdateCustomerUrl = "https://openapi.17win.com/gateway/openyqdz/manage/customer/updateCustomer" // UpdateCustomerStatusUrl 更新客户状态接口 UpdateCustomerStatusUrl = "https://openapi.17win.com/gateway/openyqdz/manage/customer/updateCustomerStatus" )
View Source
const ( // QueryAccountBalanceSheetUrl 科目余额表接口 QueryAccountBalanceSheetUrl = "https://openapi.17win.com/gateway/openyqdz/finance/sheetController/queryAccountBalanceSheet" // SelectAssetsDebtSheetUrl 资产负债表接口 SelectAssetsDebtSheetUrl = "https://openapi.17win.com/gateway/openyqdz/finance/sheetController/selectAssetsDebtSheet" // SelectIncomeSheetUrl 利润表接口 SelectIncomeSheetUrl = "https://openapi.17win.com/gateway/openyqdz/finance/sheetController/selectIncomeSheet" // GetMonthCashFlowsStatementSheetUrl 现金流量表接口 GetMonthCashFlowsStatementSheetUrl = "https://openapi.17win.com/gateway/openyqdz/finance/sheetController/getMonthCashFlowsStatement" // SelectQuarterIncomeSheetUrl 利润表季报接口 SelectQuarterIncomeSheetUrl = "https://openapi.17win.com/gateway/openyqdz/finance/sheetController/selectQuarterIncomeSheet" // GetAllYearMonthFinancialPositionStatementSheetUrl 资产负债表全年接口 GetAllYearMonthFinancialPositionStatementSheetUrl = "https://openapi.17win.com/gateway/openyqdz/finance/sheetController/getAllYearMonthFinancialPositionStatement" // GetAllYearMonthIncomeStatementSheetUrl 利润表全年接口 GetAllYearMonthIncomeStatementSheetUrl = "https://openapi.17win.com/gateway/openyqdz/finance/sheetController/getAllYearMonthIncomeStatement" // GetAllYearMonthCashFlowsStatementSheetUrl 现金流量表全年接口 GetAllYearMonthCashFlowsStatementSheetUrl = "https://openapi.17win.com/gateway/openyqdz/finance/sheetController/getAllYearMonthCashFlowsStatement" )
View Source
const ( // GetTaxListUrl 查询税种信息接口 GetTaxListUrl = "https://openapi.17win.com/gateway/openyqdz/tax/info/getTaxList" // GetReportUrl 查询税种报表数据接口 GetReportUrl = "https://openapi.17win.com/gateway/openyqdz/tax/info/getReport" // GetTaxIdentificationUrl 查询税费种认定信息 GetTaxIdentificationUrl = "https://openapi.17win.com/gateway/openyqdz/tax/info/getTaxIdentification" )
View Source
const (
// GetCloseInfoUrl 结账信息接口
GetCloseInfoUrl = "https://openapi.17win.com/gateway/openyqdz/alice/closeInfo/getCloseInfo"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountList ¶
type AddCustomerRequest ¶
type AddCustomerResponse ¶
type AddCustomerResponse struct { Head util.CommonError `json:"head"` Body string `json:"body"` }
type Alice ¶
func (*Alice) GetCloseInfo ¶
func (c *Alice) GetCloseInfo(req GetCloseInfoRequest) (result GetCloseInfoResponse, err error)
GetCloseInfo 结账信息接口
type BatchAssignRolesRequest ¶
type BatchAssignRolesRequest struct { CustomerIdList []string `json:"customerIdList"` OperatorLoginName string `json:"operatorLoginName"` RoleAssignmentList []RoleAssignmentList `json:"roleAssignmentList"` }
type BatchAssignRolesResponse ¶
type BatchAssignRolesResponse struct { Head util.CommonError `json:"head"` Body string `json:"body"` }
type Companions ¶ added in v0.1.13
type Companions struct { }
type Customer ¶
func NewCustomer ¶
func (*Customer) AddCustomer ¶ added in v0.1.2
func (c *Customer) AddCustomer(req AddCustomerRequest) (result AddCustomerResponse, err error)
AddCustomer 新增客户
func (*Customer) BatchAssignRoles ¶ added in v0.1.2
func (c *Customer) BatchAssignRoles(req BatchAssignRolesRequest) (result BatchAssignRolesResponse, err error)
BatchAssignRoles 批量派工
func (*Customer) QueryCustomers ¶ added in v0.1.2
func (c *Customer) QueryCustomers(req QueryCustomersRequest) (result QueryCustomersResponse, err error)
QueryCustomers 查询客户信息
func (*Customer) UpdateCustomer ¶ added in v0.1.2
func (c *Customer) UpdateCustomer(req UpdateCustomerRequest) (result UpdateCustomerResponse, err error)
UpdateCustomer 更新客户信息
func (*Customer) UpdateCustomerStatus ¶ added in v0.1.13
func (c *Customer) UpdateCustomerStatus(req UpdateCustomerStatusRequest) (result UpdateCustomerStatusResponse, err error)
UpdateCustomerStatus 更新客户状态
type CustomerLikeCriteria ¶
type CustomerList ¶
type CustomerList struct { CustomerId string `json:"customerId"` IndustryCategory string `json:"industryCategory"` IndustryType string `json:"industryType"` Name string `json:"name"` FullName string `json:"fullName"` CustomerNo string `json:"customerNo"` TaxNo string `json:"taxNo"` LocationCode string `json:"locationCode"` TaxType string `json:"taxType"` Level int `json:"level"` Status int `json:"status"` CustomerType int `json:"customerType"` Address string `json:"address"` DepartmentId int `json:"departmentId"` AccountList []AccountList `json:"accountList"` }
type Finance ¶
func NewFinance ¶
func (*Finance) GetAllYearMonthCashFlowsStatementSheet ¶ added in v0.1.2
func (c *Finance) GetAllYearMonthCashFlowsStatementSheet(req GetAllYearMonthCashFlowsStatementSheetRequest) (result GetAllYearMonthCashFlowsStatementSheetResponse, err error)
GetAllYearMonthCashFlowsStatementSheet 现金流量表全年接口
func (*Finance) GetAllYearMonthFinancialPositionStatementSheet ¶ added in v0.1.2
func (c *Finance) GetAllYearMonthFinancialPositionStatementSheet(req GetAllYearMonthFinancialPositionStatementSheetRequest) (result GetAllYearMonthFinancialPositionStatementSheetResponse, err error)
GetAllYearMonthFinancialPositionStatementSheet 资产负债表全年接口
func (*Finance) GetAllYearMonthIncomeStatementSheet ¶ added in v0.1.2
func (c *Finance) GetAllYearMonthIncomeStatementSheet(req GetAllYearMonthIncomeStatementSheetRequest) (result GetAllYearMonthIncomeStatementSheetResponse, err error)
GetAllYearMonthIncomeStatementSheet 利润表全年接口
func (*Finance) GetMonthCashFlowsStatementSheet ¶ added in v0.1.2
func (c *Finance) GetMonthCashFlowsStatementSheet(req GetMonthCashFlowsStatementSheetRequest) (result GetMonthCashFlowsStatementSheetResponse, err error)
GetMonthCashFlowsStatementSheet 现金流量表接口
func (*Finance) QueryAccountBalanceSheet ¶ added in v0.1.2
func (c *Finance) QueryAccountBalanceSheet(req QueryAccountBalanceSheetRequest) (result QueryAccountBalanceSheetResponse, err error)
QueryAccountBalanceSheet 科目余额表接口
func (*Finance) SelectAssetsDebtSheet ¶ added in v0.1.2
func (c *Finance) SelectAssetsDebtSheet(req SelectAssetsDebtSheetRequest) (result SelectAssetsDebtSheetResponse, err error)
SelectAssetsDebtSheet 资产负债表接口
func (*Finance) SelectIncomeSheet ¶ added in v0.1.2
func (c *Finance) SelectIncomeSheet(req SelectIncomeSheetRequest) (result SelectIncomeSheetResponse, err error)
SelectIncomeSheet 利润表接口
func (*Finance) SelectQuarterIncomeSheet ¶ added in v0.1.2
func (c *Finance) SelectQuarterIncomeSheet(req SelectQuarterIncomeSheetRequest) (result SelectQuarterIncomeSheetResponse, err error)
SelectQuarterIncomeSheet 利润表季报接口
type Fjss ¶ added in v0.1.10
type Fjss struct { Zsxmdm string `json:"zsxmdm"` // 征收项目代码 Name string `json:"name"` // 附加税名称 Value float64 `json:"value"` // 附加税值 }
Fjss 附加税应补退税额
type GetAllYearMonthCashFlowsStatementSheetList ¶
type GetAllYearMonthCashFlowsStatementSheetList struct { Name string `json:"name"` // 项目名称 Line int `json:"line"` // 行次(用于界面显示) RowNum int `json:"rowNum"` // 行号(区别于行次,没有行次的行,也会有行号) PRowNum int `json:"PRowNum"` // 父级行号(可根据些参数构建层级结构) YearAccumulatedAmount float64 `json:"yearAccumulatedAmount"` // 本年累计金额(小企业会计准则) CurrentMonthAmount float64 `json:"currentMonthAmount"` // 本月金额(小企业会计准则) CurrentPeriodAmount float64 `json:"currentPeriodAmount"` // 本期金额(企业会计准则) PrevPeriodAmount float64 `json:"prevPeriodAmount"` // 上期金额(企业会计准则) PrevYearAmount float64 `json:"prevYearAmount"` // 上年累计发生额 }
type GetAllYearMonthCashFlowsStatementSheetResponse ¶
type GetAllYearMonthCashFlowsStatementSheetResponse struct { Head util.CommonError `json:"head"` Body []GetAllYearMonthCashFlowsStatementSheetList `json:"body"` }
type GetAllYearMonthFinancialPositionStatementSheetList ¶
type GetAllYearMonthFinancialPositionStatementSheetList struct { AccountTitleName string `json:"accountTitleName"` // 科目名称 Row int `json:"row"` // 行次 Number int `json:"number"` // 序号 Level int `json:"level"` // 级次 PRowNum int `json:"PRowNum"` // 父级序号 Warn bool `json:"warn"` // 是否是异常数据 ShowLine int `json:"showLine"` // 是否显示行号 BalanceEnd float64 `json:"balanceEnd"` // 期末余额 YearBeginBalance float64 `json:"yearBeginBalance"` // 年初余额 FomularDetail string `json:"fomularDetail"` // 公式注释说明 LimitFomularDetail string `json:"limitFomularDetail"` // 限定性注释说明 NonLimitFomularDetail string `json:"nonLimitFomularDetail"` // 非限定性注释说明 LimitOccurreAmount float64 `json:"limitOccurreAmount"` // 限定性本月发生额 NonLimitOccurreAmout float64 `json:"nonLimitOccurreAmout"` // 非限定性本月发生额 LimitYearAccumulated float64 `json:"limitYearAccumulated"` // 限定性本年累计发生额 NonLimitYearAccumulated float64 `json:"nonLimitYearAccumulated"` // 非限定性本年累计发生额 YearAccumulated float64 `json:"yearAccumulated"` // 本年累计发生额(小企业-利-月季年)(企业制度-利-月季年) QuarterOne float64 `json:"quarterOne"` // 第一季度 QuarterTwo float64 `json:"quarterTwo"` // 第二季度 QuarterThree float64 `json:"quarterThree"` // 第三季度 QuarterFour float64 `json:"quarterFour"` // 第四季度 OccurredAmount float64 `json:"occurredAmount"` // 本月发生额 (小企业-利-月) (企业制度-利-月) PreYearAccumulated float64 `json:"preYearAccumulated"` // 上一年累计发生额 AmountOfLocalPeriod float64 `json:"amountOfLocalPeriod"` // 本期发生额(企业准则-利-月季年) (小企业-利-季)(企业制度-利-季年) AmountOfPrePeriod float64 `json:"amountOfPrePeriod"` // 上期发生额 (小企业-利-年) }
type GetAllYearMonthFinancialPositionStatementSheetRequest ¶
type GetAllYearMonthFinancialPositionStatementSheetRequest struct { CustomerId string `json:"customerId" form:"customerId" url:"customerId"` AccountPeriod string `json:"accountPeriod" form:"accountPeriod" url:"accountPeriod"` ReclassifyFlag string `json:"reclassifyFlag" form:"reclassifyFlag" url:"reclassifyFlag"` }
type GetAllYearMonthFinancialPositionStatementSheetResponse ¶
type GetAllYearMonthFinancialPositionStatementSheetResponse struct { Head util.CommonError `json:"head"` Body []GetAllYearMonthFinancialPositionStatementSheetList `json:"body"` }
type GetAllYearMonthIncomeStatementSheetList ¶
type GetAllYearMonthIncomeStatementSheetList struct { AccountTitleName string `json:"accountTitleName"` // 科目名称 Row int `json:"row"` // 行次 Number int `json:"number"` // 序号 Level int `json:"level"` // 级次 PRowNum int `json:"PRowNum"` // 父级序号 Warn bool `json:"warn"` // 是否是异常数据 ShowLine int `json:"showLine"` // 是否显示行号 BalanceEnd float64 `json:"balanceEnd"` // 期末余额 YearBeginBalance float64 `json:"yearBeginBalance"` // 年初余额 FomularDetail string `json:"fomularDetail"` // 公式注释说明 LimitFomularDetail string `json:"limitFomularDetail"` // 限定性注释说明 NonLimitFomularDetail string `json:"nonLimitFomularDetail"` // 非限定性注释说明 LimitOccurreAmount float64 `json:"limitOccurreAmount"` // 限定性本月发生额 NonLimitOccurreAmout float64 `json:"nonLimitOccurreAmout"` // 非限定性本月发生额 LimitYearAccumulated float64 `json:"limitYearAccumulated"` // 限定性本年累计发生额 NonLimitYearAccumulated float64 `json:"nonLimitYearAccumulated"` // 非限定性本年累计发生额 YearAccumulated float64 `json:"yearAccumulated"` // 本年累计发生额(小企业-利-月季年)(企业制度-利-月季年) QuarterOne float64 `json:"quarterOne"` // 第一季度 QuarterTwo float64 `json:"quarterTwo"` // 第二季度 QuarterThree float64 `json:"quarterThree"` // 第三季度 QuarterFour float64 `json:"quarterFour"` // 第四季度 OccurredAmount float64 `json:"occurredAmount"` // 本月发生额 (小企业-利-月) (企业制度-利-月) PreYearAccumulated float64 `json:"preYearAccumulated"` // 上一年累计发生额 AmountOfLocalPeriod float64 `json:"amountOfLocalPeriod"` // 本期发生额(企业准则-利-月季年) (小企业-利-季)(企业制度-利-季年) AmountOfPrePeriod float64 `json:"amountOfPrePeriod"` // 上期发生额 (小企业-利-年) }
type GetAllYearMonthIncomeStatementSheetResponse ¶
type GetAllYearMonthIncomeStatementSheetResponse struct { Head util.CommonError `json:"head"` Body []GetAllYearMonthIncomeStatementSheetList `json:"body"` }
type GetCloseInfoList ¶
type GetCloseInfoRequest ¶
type GetCloseInfoRequest struct {
CustomerIds []int64 `json:"customerIds"` // 企业ID,最大支持500个
}
type GetCloseInfoResponse ¶
type GetCloseInfoResponse struct { Head util.CommonError `json:"head"` Body []GetCloseInfoList `json:"body"` }
type GetMonthCashFlowsStatementSheetList ¶
type GetMonthCashFlowsStatementSheetList struct { Name string `json:"name"` // 项目名称 Line int `json:"line"` // 行次(用于界面显示) RowNum int `json:"rowNum"` // 行号(区别于行次,没有行次的行,也会有行号) PRowNum int `json:"PRowNum"` // 父级行号(可根据些参数构建层级结构) YearAccumulatedAmount float64 `json:"yearAccumulatedAmount"` // 本年累计金额(小企业会计准则) CurrentMonthAmount float64 `json:"currentMonthAmount"` // 本月金额(小企业会计准则) CurrentPeriodAmount float64 `json:"currentPeriodAmount"` // 本期金额(企业会计准则) PrevPeriodAmount float64 `json:"prevPeriodAmount"` // 上期金额(企业会计准则) PrevYearAmount float64 `json:"prevYearAmount"` // 上年累计发生额 }
type GetMonthCashFlowsStatementSheetResponse ¶
type GetMonthCashFlowsStatementSheetResponse struct { Head util.CommonError `json:"head"` Body []GetMonthCashFlowsStatementSheetList `json:"body"` }
type GetReport ¶
type GetReport struct { PeriodBegin string `json:"periodBegin"` // PeriodEnd string `json:"periodEnd"` PostDate string `json:"postDate"` TaxTypeEnum string `json:"taxTypeEnum"` ReportDTOMap []ReportDTOMap `json:"reportDTOMap"` OtherParamMap OtherParamMap `json:"otherParamMap"` }
type GetReportRequest ¶
type GetReportResponse ¶
type GetReportResponse struct { Head util.CommonError `json:"head"` Body []GetReport `json:"body"` }
type GetTaxIdentificationRequest ¶ added in v0.1.13
type GetTaxIdentificationResponse ¶ added in v0.1.13
type GetTaxIdentificationResponse struct { Head util.CommonError `json:"head"` Body []TaxIdentification `json:"body"` }
type GetTaxList ¶
type GetTaxList struct { TaxName string `json:"taxName"` // 税种名称 TaxCode string `json:"taxCode"` // 税种code CurrentSales float64 `json:"currentSales"` // 本期销售额 InputTax float64 `json:"inputTax"` // 进项税额 FinalTaxCredit float64 `json:"finalTaxCredit"` // 期末留抵税额 CumulativeSales float64 `json:"cumulativeSales"` // 累计销售收入 PrepaymentAmount float64 `json:"prepaymentAmount"` // 本期预缴税额 TotalAmount float64 `json:"totalAmount"` // 资产总额 NetProfit float64 `json:"netProfit"` // 本期净利润 OutOfBusinessCumulativeSales float64 `json:"outOfBusinessCumulativeSales"` // 营业外本年累计销售收入: 小企业会计准则:取利润表“营业外收入”“ 本年累计金额 ”栏次金额; 企业会计准则:取利润表“ 营业外收入”“本期金额”栏次金额; 企业会计制度:取利润表“营业外收入”“本年累计数”栏次金额; PostDate string `json:"postDate"` // 申报时间 DeclarationState string `json:"declarationState"` // 申报状态 CreditTax float64 `json:"creditTax"` // 应补退税额 CurrentSalesRevenue float64 `json:"currentSalesRevenue"` // 本期销售收入 IncomeTotalAmount float64 `json:"incomeTotalAmount"` // 收入总额 ProfitTotalAmount float64 `json:"profitTotalAmount"` // 收入总额 IncomeReliefTax float64 `json:"incomeReliefTax"` // 减免所得税额 DeadLine string `json:"deadLine"` // 申报期限 Period string `json:"period"` // 所属期 TotalNetProfit float64 `json:"totalNetProfit"` // 累计净利润 PreNetProfit float64 `json:"preNetProfit"` // 累计净利润 PayStatus int `json:"payStatus"` // 缴款状态(1:申报成功、2:申报成功 未缴款、3:缴款成功、4:部分缴款、5:申报成功 已缓缴) PeriodBegin string `json:"periodBegin"` // 所属期起 格式:yyyy-MM-dd。 例子:2020-10-01 PeriodEnd string `json:"periodEnd"` // 所属期止 格式:yyyy-MM-dd。 例子:2020-10-01 PayAmt float64 `json:"payAmt"` // 缴税金额 CopyTaxState string `json:"copyTaxState"` // 抄税状态 ClearCardState string `json:"clearCardState"` // 清卡状态 Fjss []Fjss `json:"fjss"` // 附加税应补退税额 }
type GetTaxListRequest ¶
type GetTaxListResponse ¶
type GetTaxListResponse struct { Head util.CommonError `json:"head"` Body []GetTaxList `json:"body"` }
type OT_ATTACH_SEASON ¶
type OT_ATTACH_SEASON struct { Head OasHead `json:"head"` BodyList []OasBodyList `json:"bodyList"` }
type OasBodyList ¶
type OasBodyList struct { Id int `json:"id"` CustomerId string `json:"customerId"` DeclarationStateId int `json:"declarationStateId"` Period string `json:"period"` ReportSource int `json:"reportSource"` ItemCode string `json:"itemCode"` ItemIndex int `json:"itemIndex"` ItemLineShow int `json:"itemLineShow"` ItemLine int `json:"itemLine"` ItemLineChar int `json:"itemLineChar"` ReadOnly string `json:"readOnly"` DisplayStyle int `json:"displayStyle"` Indent int `json:"indent"` PeriodStartAmount float64 `json:"periodStartAmount"` PeriodAmount float64 `json:"periodAmount"` PeriodShouldMinusAmount float64 `json:"periodShouldMinusAmount"` PeriodActualMinusAmount float64 `json:"periodActualMinusAmount"` PeriodEndAmount float64 `json:"periodEndAmount"` PeriodReductionAmount float64 `json:"periodReductionAmount"` ItemLineShowForDeclare string `json:"itemLineShowForDeclare"` }
type OasHead ¶
type OasHead struct { CustomerId string `json:"customerId"` DeclarationStateId string `json:"declarationStateId"` Period string `json:"period"` ReportSource int `json:"reportSource"` ReadOnly int `json:"readOnly"` TaxpayerNo string `json:"taxpayerNo"` TaxpayerName string `json:"taxpayerName"` FillDateShow string `json:"fillDateShow"` AmountUnit string `json:"amountUnit"` DeclareDateShow int `json:"declareDateShow"` TaxPeriodShow string `json:"taxPeriodShow"` TaxCode string `json:"taxCode"` ReportId string `json:"reportId"` PeriodBegin string `json:"periodBegin"` PeriodEnd string `json:"periodEnd"` TemplateId string `json:"templateId"` }
type OtherParamMap ¶
type OtherParamMap struct { }
type QueryAccountBalanceSheetList ¶
type QueryAccountBalanceSheetList struct { TitleId int `json:"titleId"` TitleIsLast bool `json:"titleIsLast"` AssistantType string `json:"assistantType"` AssistantId int `json:"assistantId"` TitleCode string `json:"titleCode"` TitleName string `json:"titleName"` TitleFullName string `json:"titleFullName"` PTitleCode string `json:"PTitleCode"` Level int `json:"level"` Type string `json:"type"` Unit string `json:"unit"` FcurCode string `json:"fcurCode"` Specification string `json:"specification"` AssistantName string `json:"assistantName"` BeginDirection int `json:"beginDirection"` BeginAmount float64 `json:"beginAmount"` BeginQuantity float64 `json:"beginQuantity"` BeginUnitPrice float64 `json:"beginUnitPrice"` BeginDebit float64 `json:"beginDebit"` BeginCredit float64 `json:"beginCredit"` BeginDebitFcur float64 `json:"beginDebitFcur"` BeginCreditFcur float64 `json:"beginCreditFcur"` OccurredDebit float64 `json:"occurredDebit"` OccurredDebitQuantity float64 `json:"occurredDebitQuantity"` OccurredDebitFcur float64 `json:"occurredDebitFcur"` OccurredCredit float64 `json:"occurredCredit"` OccurredCreditQuantity float64 `json:"occurredCreditQuantity"` OccurredCreditFcur float64 `json:"occurredCreditFcur"` YearAccumulatedDebit float64 `json:"yearAccumulatedDebit"` YearAccumulatedCredit float64 `json:"yearAccumulatedCredit"` EndDebit float64 `json:"endDebit"` EndCredit float64 `json:"endCredit"` EndDebitFcur float64 `json:"endDebitFcur"` EndCreditFcur float64 `json:"endCreditFcur"` EndDirection int `json:"endDirection"` EndAmount float64 `json:"endAmount"` EndQuantity float64 `json:"endQuantity"` EndUnitPrice float64 `json:"endUnitPrice"` OccurredDebitUnitPrice float64 `json:"occurredDebitUnitPrice"` OccurredCreditUnitPrice float64 `json:"occurredCreditUnitPrice"` }
type QueryAccountBalanceSheetRequest ¶
type QueryAccountBalanceSheetRequest struct { CustomerId string `json:"customerId"` BeginPeriod string `json:"beginPeriod"` EndPeriod string `json:"endPeriod"` PageNo int `json:"pageNo"` PageSize int `json:"pageSize"` BeginTitleCode string `json:"beginTitleCode,omitempty"` EndTitleCode string `json:"endTitleCode,omitempty"` TitleLevel int `json:"titleLevel,omitempty"` // 从1到6 ShowTitle bool `json:"showTitle,omitempty"` ShowAssistant bool `json:"showAssistant,omitempty"` ShowYearAccumulated bool `json:"showYearAccumulated,omitempty"` ShowQuantity bool `json:"showQuantity,omitempty"` FcurCode string `json:"fcurCode,omitempty"` // 科目启用外币时的外币编码 AssistantType string `json:"assistantType,omitempty"` // "c", "客户";"s", "供应商";"i", "存货";"p", "项目";"d", "部门";"e", "员工" InventoryType string `json:"inventoryType,omitempty"` // 10:库存商品 20:原材料 30:委托加工物资 40:周转材料 50:劳务或服务 90:未分类 AssistantId int `json:"assistantId,omitempty"` ShowEndBalance0 bool `json:"showEndBalance0,omitempty"` FirstAccountTitle bool `json:"firstAccountTitle,omitempty"` }
type QueryAccountBalanceSheetResponse ¶
type QueryAccountBalanceSheetResponse struct { Head util.CommonError `json:"head"` QueryCustomersResponseBody QueryAccountBalanceSheetResponseBody `json:"body"` }
type QueryAccountBalanceSheetResponseBody ¶
type QueryAccountBalanceSheetResponseBody struct {
List []QueryAccountBalanceSheetList `json:"list"`
}
type QueryCustomersRequest ¶
type QueryCustomersRequest struct { CustomerIds []string `json:"customerIds,omitempty"` PageNo int `json:"pageNo" form:"pageNo"` PageSize int `json:"pageSize" form:"pageSize"` CustomerLikeCriteria CustomerLikeCriteria `json:"customerLikeCriteria,omitempty"` }
type QueryCustomersResponse ¶
type QueryCustomersResponse struct { Head util.CommonError `json:"head"` QueryCustomersResponseBody QueryCustomersResponseBody `json:"body"` }
type QueryCustomersResponseBody ¶
type QueryCustomersResponseBody struct { Pager Pager `json:"pager"` Total int `json:"total"` CustomerList []CustomerList `json:"customerList"` }
type ReportDTOMap ¶
type ReportDTOMap struct {
OT_ATTACH_SEASON OT_ATTACH_SEASON `json:"OT_ATTACH_SEASON"`
}
type RoleAssignmentList ¶
type SelectAssetsDebtSheetList ¶
type SelectAssetsDebtSheetList struct { AccountTitleName string `json:"accountTitleName"` // 科目名称 Row int `json:"row"` // 行次 Number int `json:"number"` // 序号 Level int `json:"level"` // 级次 PRowNum int `json:"PRowNum"` // 父级序号 Warn bool `json:"warn"` // 是否是异常数据 ShowLine int `json:"showLine"` // 是否显示行号 BalanceEnd float64 `json:"balanceEnd"` // 期末余额 YearBeginBalance float64 `json:"yearBeginBalance"` // 年初余额 FomularDetail string `json:"fomularDetail"` // 公式注释说明 LimitFomularDetail string `json:"limitFomularDetail"` // 限定性注释说明 NonLimitFomularDetail string `json:"nonLimitFomularDetail"` // 非限定性注释说明 LimitOccurreAmount float64 `json:"limitOccurreAmount"` // 限定性本月发生额 NonLimitOccurreAmout float64 `json:"nonLimitOccurreAmout"` // 非限定性本月发生额 LimitYearAccumulated float64 `json:"limitYearAccumulated"` // 限定性本年累计发生额 NonLimitYearAccumulated float64 `json:"nonLimitYearAccumulated"` // 非限定性本年累计发生额 YearAccumulated float64 `json:"yearAccumulated"` // 本年累计发生额(小企业-利-月季年)(企业制度-利-月季年) QuarterOne float64 `json:"quarterOne"` // 第一季度 QuarterTwo float64 `json:"quarterTwo"` // 第二季度 QuarterThree float64 `json:"quarterThree"` // 第三季度 QuarterFour float64 `json:"quarterFour"` // 第四季度 OccurredAmount float64 `json:"occurredAmount"` // 本月发生额 (小企业-利-月) (企业制度-利-月) PreYearAccumulated float64 `json:"preYearAccumulated"` // 上一年累计发生额 AmountOfLocalPeriod float64 `json:"amountOfLocalPeriod"` // 本期发生额(企业准则-利-月季年) (小企业-利-季)(企业制度-利-季年) AmountOfPrePeriod float64 `json:"amountOfPrePeriod"` // 上期发生额 (小企业-利-年) }
type SelectAssetsDebtSheetRequest ¶
type SelectAssetsDebtSheetRequest struct { CustomerId string `json:"customerId" form:"customerId" url:"customerId"` AccountPeriod string `json:"accountPeriod" form:"accountPeriod" url:"accountPeriod"` ReclassifyFlag string `json:"reclassifyFlag,omitempty" form:"reclassifyFlag" url:"reclassifyFlag"` }
type SelectAssetsDebtSheetResponse ¶
type SelectAssetsDebtSheetResponse struct { Head util.CommonError `json:"head"` Body []SelectAssetsDebtSheetList `json:"body"` }
type SelectIncomeSheetList ¶
type SelectIncomeSheetList struct { AccountTitleName string `json:"accountTitleName"` // 科目名称 Row int `json:"row"` // 行次 Number int `json:"number"` // 序号 Level int `json:"level"` // 级次 PRowNum int `json:"PRowNum"` // 父级序号 Warn bool `json:"warn"` // 是否是异常数据 ShowLine int `json:"showLine"` // 是否显示行号 BalanceEnd float64 `json:"balanceEnd"` // 期末余额 YearBeginBalance float64 `json:"yearBeginBalance"` // 年初余额 FomularDetail string `json:"fomularDetail"` // 公式注释说明 LimitFomularDetail string `json:"limitFomularDetail"` // 限定性注释说明 NonLimitFomularDetail string `json:"nonLimitFomularDetail"` // 非限定性注释说明 LimitOccurreAmount float64 `json:"limitOccurreAmount"` // 限定性本月发生额 NonLimitOccurreAmout float64 `json:"nonLimitOccurreAmout"` // 非限定性本月发生额 LimitYearAccumulated float64 `json:"limitYearAccumulated"` // 限定性本年累计发生额 NonLimitYearAccumulated float64 `json:"nonLimitYearAccumulated"` // 非限定性本年累计发生额 YearAccumulated float64 `json:"yearAccumulated"` // 本年累计发生额(小企业-利-月季年)(企业制度-利-月季年) QuarterOne float64 `json:"quarterOne"` // 第一季度 QuarterTwo float64 `json:"quarterTwo"` // 第二季度 QuarterThree float64 `json:"quarterThree"` // 第三季度 QuarterFour float64 `json:"quarterFour"` // 第四季度 OccurredAmount float64 `json:"occurredAmount"` // 本月发生额 (小企业-利-月) (企业制度-利-月) PreYearAccumulated float64 `json:"preYearAccumulated"` // 上一年累计发生额 AmountOfLocalPeriod float64 `json:"amountOfLocalPeriod"` // 本期发生额(企业准则-利-月季年) (小企业-利-季)(企业制度-利-季年) AmountOfPrePeriod float64 `json:"amountOfPrePeriod"` // 上期发生额 (小企业-利-年) }
type SelectIncomeSheetResponse ¶
type SelectIncomeSheetResponse struct { Head util.CommonError `json:"head"` Body []SelectIncomeSheetList `json:"body"` }
type SelectQuarterIncomeSheetList ¶
type SelectQuarterIncomeSheetList struct { AccountTitleName string `json:"accountTitleName"` // 科目名称 Row int `json:"row"` // 行次 Number int `json:"number"` // 序号 Level int `json:"level"` // 级次 PRowNum int `json:"PRowNum"` // 父级序号 Warn bool `json:"warn"` // 是否是异常数据 ShowLine int `json:"showLine"` // 是否显示行号 BalanceEnd float64 `json:"balanceEnd"` // 期末余额 YearBeginBalance float64 `json:"yearBeginBalance"` // 年初余额 FomularDetail string `json:"fomularDetail"` // 公式注释说明 LimitFomularDetail string `json:"limitFomularDetail"` // 限定性注释说明 NonLimitFomularDetail string `json:"nonLimitFomularDetail"` // 非限定性注释说明 LimitOccurreAmount float64 `json:"limitOccurreAmount"` // 限定性本月发生额 NonLimitOccurreAmout float64 `json:"nonLimitOccurreAmout"` // 非限定性本月发生额 LimitYearAccumulated float64 `json:"limitYearAccumulated"` // 限定性本年累计发生额 NonLimitYearAccumulated float64 `json:"nonLimitYearAccumulated"` // 非限定性本年累计发生额 YearAccumulated float64 `json:"yearAccumulated"` // 本年累计发生额(小企业-利-月季年)(企业制度-利-月季年) QuarterOne float64 `json:"quarterOne"` // 第一季度 QuarterTwo float64 `json:"quarterTwo"` // 第二季度 QuarterThree float64 `json:"quarterThree"` // 第三季度 QuarterFour float64 `json:"quarterFour"` // 第四季度 OccurredAmount float64 `json:"occurredAmount"` // 本月发生额 (小企业-利-月) (企业制度-利-月) PreYearAccumulated float64 `json:"preYearAccumulated"` // 上一年累计发生额 AmountOfLocalPeriod float64 `json:"amountOfLocalPeriod"` // 本期发生额(企业准则-利-月季年) (小企业-利-季)(企业制度-利-季年) AmountOfPrePeriod float64 `json:"amountOfPrePeriod"` // 上期发生额 (小企业-利-年) }
type SelectQuarterIncomeSheetResponse ¶
type SelectQuarterIncomeSheetResponse struct { Head util.CommonError `json:"head"` Body []SelectQuarterIncomeSheetList `json:"body"` }
type Tax ¶
func (*Tax) GetReport ¶
func (c *Tax) GetReport(req GetReportRequest) (result GetReportResponse, err error)
GetReport 查询税种报表数据接口
func (*Tax) GetTaxIdentification ¶ added in v0.1.13
func (c *Tax) GetTaxIdentification(req GetTaxIdentificationRequest) (result GetTaxIdentificationResponse, err error)
GetTaxIdentification 查询税费种认定信息
func (*Tax) GetTaxList ¶
func (c *Tax) GetTaxList(req GetTaxListRequest) (result GetTaxListResponse, err error)
GetTaxList 查询税种信息接口
type TaxIdentification ¶ added in v0.1.13
type TaxIdentification struct { Id string `json:"id"` CustomerId string `json:"customerId"` // 客户ID 备注: customerId TaxIdentificationCode string `json:"taxIdentificationCode"` // 税费种认定代码 备注: taxIdentificationCode TaxIdentificationName string `json:"taxIdentificationName"` // 税费种认定名称 TaxDeadlineType string `json:"taxDeadlineType"` // 纳税期限类型 备注: MONTH("06", "1", "月报"), SEASON("08", "2", "季报"), HALF_YEAR("09", "3", "半年报"), YEAR("10", "4", "年报"), TIMES("11", "9", "次报"), UNKONWN("", "0", "未知"); TaxDeadlineTypeSelectable bool `json:"taxDeadlineTypeSelectable"` // 纳税期限类型是否可选 TaxTypeConfig TaxTypeConfig // 税种代码 ValidityStartDate string `json:"validityStartDate"` // 认定有效期起 ValidityEndDate string `json:"validityEndDate"` // 认定有效期止 Executed bool `json:"executed"` // 是否已执行 Compulsory bool `json:"compulsory"` // 是否必报 Deletable bool `json:"deletable"` // 是否可删除 RateOrTax float64 `json:"rateOrTax"` // 税率或单位税额 LevyAgentMethod string `json:"levyAgentMethod"` // 征收代理方式代码 }
type TaxTypeConfig ¶ added in v0.1.13
type TaxTypeConfig struct { Code string `json:"code"` // 税种代码 Name string `json:"name"` // 税种名称 TaxDeadlineType string `json:"taxDeadlineType"` // 纳税期限类型 备注: MONTH("06", "1", "月报"), SEASON("08", "2", "季报"), HALF_YEAR("09", "3", "半年报"), YEAR("10", "4", "年报"), TIMES("11", "9", "次报"), UNKONWN("", "0", "未知"); Companions []Companions `json:"companions"` // 伴生税种 SupportExecutable bool `json:"supportExecutable"` // 是否支持已执行选项 AutoGenerate bool `json:"autoGenerate"` // 是否自动生成 AutoGenerateBasisType string `json:"autoGenerateBasisType"` // 自动生成依据类型 AutoGenerateBasis string `json:"autoGenerateBasis"` // 自动生成依据 TaxableCertificateConfig TaxableCertificateConfig `json:"taxableCertificateConfig"` // 应征凭证种类 Remark string `json:"remark"` // remark CreateDate int64 `json:"createDate"` // 创建时间 }
type TaxableCertificateConfig ¶ added in v0.1.13
type UpdateCustomerRequest ¶
type UpdateCustomerRequest struct { CustomerId string `json:"customerId"` OperatorLoginName string `json:"operatorLoginName"` CustomerNo string `json:"customerNo"` Name string `json:"name"` FullName string `json:"fullName"` TaxNo string `json:"taxNo"` IndustryCategory string `json:"industryCategory"` IndustryType string `json:"industryType"` LocationCode string `json:"locationCode"` }
type UpdateCustomerResponse ¶
type UpdateCustomerResponse struct { Head util.CommonError `json:"head"` Body string `json:"body"` }
type UpdateCustomerStatusRequest ¶ added in v0.1.13
type UpdateCustomerStatusResponse ¶ added in v0.1.13
type UpdateCustomerStatusResponse struct { Head util.CommonError `json:"head"` Body string `json:"body"` }
Click to show internal directories.
Click to hide internal directories.