Documentation
¶
Index ¶
- Variables
- func AddQueryParamsToRequest(requestParams interface{}, req *http.Request, skipEmpty bool) error
- func AddURLValuesToRequest(params url.Values, req *http.Request, skipEmpty bool) error
- func CheckResponse(r *http.Response) error
- func CreateFormFile(w *multipart.Writer, data io.Reader, fieldname, filename string) (io.Writer, error)
- func GetFileContentType(file io.Reader) (string, error)
- func NewSchemaEncoder() *schema.Encoder
- func WithAuth(username, password, companyDB string) client.Option
- type Account
- type AddressExtension
- type BeforeRequestDoCallback
- type BusinessPartner
- type BusinessPartners
- type BusinessPartnersGetRequest
- func (r *BusinessPartnersGetRequest) All(ctx context.Context) (BusinessPartnersGetResponseBody, error)
- func (r *BusinessPartnersGetRequest) Do(ctx context.Context) (BusinessPartnersGetResponseBody, error)
- func (r *BusinessPartnersGetRequest) Method() string
- func (r BusinessPartnersGetRequest) NewPathParams() *BusinessPartnersGetRequestPathParams
- func (r BusinessPartnersGetRequest) NewQueryParams() *BusinessPartnersGetRequestQueryParams
- func (r BusinessPartnersGetRequest) NewRequestBody() BusinessPartnersGetRequestBody
- func (r *BusinessPartnersGetRequest) NewResponseBody() *BusinessPartnersGetResponseBody
- func (r *BusinessPartnersGetRequest) Path() *string
- func (r *BusinessPartnersGetRequest) PathParams() *BusinessPartnersGetRequestPathParams
- func (r *BusinessPartnersGetRequest) PathParamsInterface() PathParams
- func (r *BusinessPartnersGetRequest) QueryParams() *BusinessPartnersGetRequestQueryParams
- func (r *BusinessPartnersGetRequest) RequestBody() *BusinessPartnersGetRequestBody
- func (r *BusinessPartnersGetRequest) RequestBodyInterface() interface{}
- func (r *BusinessPartnersGetRequest) SetMethod(method string)
- func (r *BusinessPartnersGetRequest) SetRequestBody(body BusinessPartnersGetRequestBody)
- func (r *BusinessPartnersGetRequest) URL() *url.URL
- type BusinessPartnersGetRequestBody
- type BusinessPartnersGetRequestPathParams
- type BusinessPartnersGetRequestQueryParams
- type BusinessPartnersGetResponseBody
- type BusinessPartnersPostRequest
- func (r *BusinessPartnersPostRequest) Do(ctx context.Context) (BusinessPartnersPostResponseBody, error)
- func (r *BusinessPartnersPostRequest) Method() string
- func (r BusinessPartnersPostRequest) NewPathParams() *BusinessPartnersPostRequestPathParams
- func (r BusinessPartnersPostRequest) NewQueryParams() *BusinessPartnersPostRequestQueryParams
- func (r BusinessPartnersPostRequest) NewRequestBody() BusinessPartnersPostRequestBody
- func (r *BusinessPartnersPostRequest) NewResponseBody() *BusinessPartnersPostResponseBody
- func (r *BusinessPartnersPostRequest) Path() *string
- func (r *BusinessPartnersPostRequest) PathParams() *BusinessPartnersPostRequestPathParams
- func (r *BusinessPartnersPostRequest) PathParamsInterface() PathParams
- func (r *BusinessPartnersPostRequest) QueryParams() *BusinessPartnersPostRequestQueryParams
- func (r *BusinessPartnersPostRequest) RequestBody() *BusinessPartnersPostRequestBody
- func (r *BusinessPartnersPostRequest) RequestBodyInterface() interface{}
- func (r *BusinessPartnersPostRequest) SetMethod(method string)
- func (r *BusinessPartnersPostRequest) SetRequestBody(body BusinessPartnersPostRequestBody)
- func (r *BusinessPartnersPostRequest) URL() *url.URL
- type BusinessPartnersPostRequestBody
- type BusinessPartnersPostRequestPathParams
- type BusinessPartnersPostRequestQueryParams
- type BusinessPartnersPostResponseBody
- type ChartOfAccounts
- type ChartOfAccountsGetRequest
- func (r *ChartOfAccountsGetRequest) All(ctx context.Context) (ChartOfAccountsGetResponseBody, error)
- func (r *ChartOfAccountsGetRequest) Do(ctx context.Context) (ChartOfAccountsGetResponseBody, error)
- func (r *ChartOfAccountsGetRequest) Method() string
- func (r ChartOfAccountsGetRequest) NewPathParams() *ChartOfAccountsGetRequestPathParams
- func (r ChartOfAccountsGetRequest) NewQueryParams() *ChartOfAccountsGetRequestQueryParams
- func (r ChartOfAccountsGetRequest) NewRequestBody() ChartOfAccountsGetRequestBody
- func (r *ChartOfAccountsGetRequest) NewResponseBody() *ChartOfAccountsGetResponseBody
- func (r *ChartOfAccountsGetRequest) Path() *string
- func (r *ChartOfAccountsGetRequest) PathParams() *ChartOfAccountsGetRequestPathParams
- func (r *ChartOfAccountsGetRequest) PathParamsInterface() PathParams
- func (r *ChartOfAccountsGetRequest) QueryParams() *ChartOfAccountsGetRequestQueryParams
- func (r *ChartOfAccountsGetRequest) RequestBody() *ChartOfAccountsGetRequestBody
- func (r *ChartOfAccountsGetRequest) RequestBodyInterface() interface{}
- func (r *ChartOfAccountsGetRequest) SetMethod(method string)
- func (r *ChartOfAccountsGetRequest) SetRequestBody(body ChartOfAccountsGetRequestBody)
- func (r *ChartOfAccountsGetRequest) URL() *url.URL
- type ChartOfAccountsGetRequestBody
- type ChartOfAccountsGetRequestPathParams
- type ChartOfAccountsGetRequestQueryParams
- type ChartOfAccountsGetResponseBody
- type Client
- func (c Client) BaseURL() url.URL
- func (c Client) Charset() string
- func (c Client) CompanyDB() string
- func (c Client) Debug() bool
- func (c *Client) Do(req *http.Request, body interface{}) (*http.Response, error)
- func (c *Client) FetchLoginCookies(ctx context.Context) (cookiejar.Jar, error)
- func (c *Client) GetEndpointURL(p string, pathParams PathParams) url.URL
- func (c *Client) HasCookie() (bool, error)
- func (c *Client) InitSession(ctx context.Context, req *http.Request) error
- func (c Client) MediaType() string
- func (c *Client) NewBusinessPartnersGetRequest() BusinessPartnersGetRequest
- func (c *Client) NewBusinessPartnersPostRequest() BusinessPartnersPostRequest
- func (c *Client) NewChartOfAccountsGetRequest() ChartOfAccountsGetRequest
- func (c *Client) NewFormRequest(ctx context.Context, method string, URL url.URL, form Form) (*http.Request, error)
- func (c *Client) NewInvoicesPostRequest() InvoicesPostRequest
- func (c *Client) NewItemsGetRequest() ItemsGetRequest
- func (c *Client) NewJournalEntriesGetRequest() JournalEntriesGetRequest
- func (c *Client) NewJournalEntriesPostRequest() JournalEntriesPostRequest
- func (c *Client) NewLoginPostRequest() LoginPostRequest
- func (c *Client) NewMetadataGetRequest() MetadataGetRequest
- func (c *Client) NewRequest(ctx context.Context, req Request) (*http.Request, error)
- func (c *Client) NewWarehouseStockPostRequest() WarehouseStockPostRequest
- func (c Client) Password() string
- func (c Client) SessionLoginEnabled() bool
- func (c *Client) SetBaseURL(baseURL url.URL)
- func (c *Client) SetBeforeRequestDo(fun BeforeRequestDoCallback)
- func (c *Client) SetCharset(charset string)
- func (c *Client) SetCompanyDB(companyDB string)
- func (c *Client) SetDebug(debug bool)
- func (c *Client) SetDisallowUnknownFields(disallowUnknownFields bool)
- func (c *Client) SetHTTPClient(client *http.Client)
- func (c *Client) SetMediaType(mediaType string)
- func (c *Client) SetPassword(password string)
- func (c *Client) SetSessionLoginEnabled(enabled bool)
- func (c *Client) SetUserAgent(userAgent string)
- func (c *Client) SetUsername(username string)
- func (c *Client) Unmarshal(r io.Reader, vv ...interface{}) error
- func (c Client) UserAgent() string
- func (c Client) Username() string
- type Date
- type DateTime
- type DeliveryNote
- type DeliveryNoteCreateOption
- type DeliveryNoteCreateRequest
- type DeliveryNoteCreateResponse
- type DeliveryNoteDocumentLine
- type DeliveryNoteGetAllOption
- type DeliveryNoteGetAllRequest
- type DeliveryNoteGetAllResponse
- type DeliveryNotes
- type DocumentLine
- type DocumentLines
- type ErrorResponse
- type Form
- type FormFile
- type Invoice
- type InvoicesPostRequest
- func (r *InvoicesPostRequest) Do(ctx context.Context) (InvoicesPostResponseBody, error)
- func (r *InvoicesPostRequest) Method() string
- func (r InvoicesPostRequest) NewPathParams() *InvoicesPostRequestPathParams
- func (r InvoicesPostRequest) NewQueryParams() *InvoicesPostRequestQueryParams
- func (r InvoicesPostRequest) NewRequestBody() InvoicesPostRequestBody
- func (r *InvoicesPostRequest) NewResponseBody() *InvoicesPostResponseBody
- func (r *InvoicesPostRequest) Path() *string
- func (r *InvoicesPostRequest) PathParams() *InvoicesPostRequestPathParams
- func (r *InvoicesPostRequest) PathParamsInterface() PathParams
- func (r *InvoicesPostRequest) QueryParams() *InvoicesPostRequestQueryParams
- func (r *InvoicesPostRequest) RequestBody() *InvoicesPostRequestBody
- func (r *InvoicesPostRequest) RequestBodyInterface() interface{}
- func (r *InvoicesPostRequest) SetMethod(method string)
- func (r *InvoicesPostRequest) SetRequestBody(body InvoicesPostRequestBody)
- func (r *InvoicesPostRequest) URL() *url.URL
- type InvoicesPostRequestBody
- type InvoicesPostRequestPathParams
- type InvoicesPostRequestQueryParams
- type InvoicesPostResponseBody
- type Item
- type ItemGetAllOption
- type ItemGetAllRequest
- type ItemGetAllResponse
- type Items
- type ItemsGetRequest
- func (r *ItemsGetRequest) All(ctx context.Context) (ItemsGetResponseBody, error)
- func (r *ItemsGetRequest) Do(ctx context.Context) (ItemsGetResponseBody, error)
- func (r *ItemsGetRequest) Method() string
- func (r ItemsGetRequest) NewPathParams() *ItemsGetRequestPathParams
- func (r ItemsGetRequest) NewQueryParams() *ItemsGetRequestQueryParams
- func (r ItemsGetRequest) NewRequestBody() ItemsGetRequestBody
- func (r *ItemsGetRequest) NewResponseBody() *ItemsGetResponseBody
- func (r *ItemsGetRequest) Path() *string
- func (r *ItemsGetRequest) PathParams() *ItemsGetRequestPathParams
- func (r *ItemsGetRequest) PathParamsInterface() PathParams
- func (r *ItemsGetRequest) QueryParams() *ItemsGetRequestQueryParams
- func (r *ItemsGetRequest) RequestBody() *ItemsGetRequestBody
- func (r *ItemsGetRequest) RequestBodyInterface() interface{}
- func (r *ItemsGetRequest) SetMethod(method string)
- func (r *ItemsGetRequest) SetRequestBody(body ItemsGetRequestBody)
- func (r *ItemsGetRequest) URL() *url.URL
- type ItemsGetRequestBody
- type ItemsGetRequestPathParams
- type ItemsGetRequestQueryParams
- type ItemsGetResponseBody
- type JournalEntries
- type JournalEntriesGetRequest
- func (r *JournalEntriesGetRequest) All(ctx context.Context) (JournalEntriesGetResponseBody, error)
- func (r *JournalEntriesGetRequest) Do(ctx context.Context) (JournalEntriesGetResponseBody, error)
- func (r *JournalEntriesGetRequest) Method() string
- func (r JournalEntriesGetRequest) NewPathParams() *JournalEntriesGetRequestPathParams
- func (r JournalEntriesGetRequest) NewQueryParams() *JournalEntriesGetRequestQueryParams
- func (r JournalEntriesGetRequest) NewRequestBody() JournalEntriesGetRequestBody
- func (r *JournalEntriesGetRequest) NewResponseBody() *JournalEntriesGetResponseBody
- func (r *JournalEntriesGetRequest) Path() *string
- func (r *JournalEntriesGetRequest) PathParams() *JournalEntriesGetRequestPathParams
- func (r *JournalEntriesGetRequest) PathParamsInterface() PathParams
- func (r *JournalEntriesGetRequest) QueryParams() *JournalEntriesGetRequestQueryParams
- func (r *JournalEntriesGetRequest) RequestBody() *JournalEntriesGetRequestBody
- func (r *JournalEntriesGetRequest) RequestBodyInterface() interface{}
- func (r *JournalEntriesGetRequest) SetMethod(method string)
- func (r *JournalEntriesGetRequest) SetRequestBody(body JournalEntriesGetRequestBody)
- func (r *JournalEntriesGetRequest) URL() *url.URL
- type JournalEntriesGetRequestBody
- type JournalEntriesGetRequestPathParams
- type JournalEntriesGetRequestQueryParams
- type JournalEntriesGetResponseBody
- type JournalEntriesPostRequest
- func (r *JournalEntriesPostRequest) Do(ctx context.Context) (JournalEntriesPostResponseBody, error)
- func (r *JournalEntriesPostRequest) Method() string
- func (r JournalEntriesPostRequest) NewPathParams() *JournalEntriesPostRequestPathParams
- func (r JournalEntriesPostRequest) NewQueryParams() *JournalEntriesPostRequestQueryParams
- func (r JournalEntriesPostRequest) NewRequestBody() JournalEntriesPostRequestBody
- func (r *JournalEntriesPostRequest) NewResponseBody() *JournalEntriesPostResponseBody
- func (r *JournalEntriesPostRequest) Path() *string
- func (r *JournalEntriesPostRequest) PathParams() *JournalEntriesPostRequestPathParams
- func (r *JournalEntriesPostRequest) PathParamsInterface() PathParams
- func (r *JournalEntriesPostRequest) QueryParams() *JournalEntriesPostRequestQueryParams
- func (r *JournalEntriesPostRequest) RequestBody() *JournalEntriesPostRequestBody
- func (r *JournalEntriesPostRequest) RequestBodyInterface() interface{}
- func (r *JournalEntriesPostRequest) SetMethod(method string)
- func (r *JournalEntriesPostRequest) SetRequestBody(body JournalEntriesPostRequestBody)
- func (r *JournalEntriesPostRequest) URL() *url.URL
- type JournalEntriesPostRequestBody
- type JournalEntriesPostRequestPathParams
- type JournalEntriesPostRequestQueryParams
- type JournalEntriesPostResponseBody
- type JournalEntry
- type JournalEntryLine
- type JournalEntryLines
- type LoginPostRequest
- func (r *LoginPostRequest) Do(ctx context.Context) (LoginPostResponseBody, error)
- func (r *LoginPostRequest) Method() string
- func (r LoginPostRequest) NewPathParams() *LoginPostRequestPathParams
- func (r LoginPostRequest) NewQueryParams() *LoginPostRequestQueryParams
- func (r LoginPostRequest) NewRequestBody() LoginPostRequestBody
- func (r *LoginPostRequest) NewResponseBody() *LoginPostResponseBody
- func (r *LoginPostRequest) Path() *string
- func (r *LoginPostRequest) PathParams() *LoginPostRequestPathParams
- func (r *LoginPostRequest) PathParamsInterface() PathParams
- func (r *LoginPostRequest) QueryParams() *LoginPostRequestQueryParams
- func (r *LoginPostRequest) RequestBody() *LoginPostRequestBody
- func (r *LoginPostRequest) RequestBodyInterface() interface{}
- func (r *LoginPostRequest) SetMethod(method string)
- func (r *LoginPostRequest) SetRequestBody(body LoginPostRequestBody)
- func (r *LoginPostRequest) URL() *url.URL
- type LoginPostRequestBody
- type LoginPostRequestPathParams
- type LoginPostRequestQueryParams
- type LoginPostResponseBody
- type LoginRequest
- type LoginRequestBody
- type LoginRequestOpts
- type MetadataGetRequest
- func (r *MetadataGetRequest) Do(ctx context.Context) (MetadataGetResponseBody, error)
- func (r *MetadataGetRequest) Method() string
- func (r MetadataGetRequest) NewPathParams() *MetadataGetRequestPathParams
- func (r MetadataGetRequest) NewQueryParams() *MetadataGetRequestQueryParams
- func (r MetadataGetRequest) NewRequestBody() MetadataGetRequestBody
- func (r *MetadataGetRequest) NewResponseBody() *MetadataGetResponseBody
- func (r *MetadataGetRequest) Path() *string
- func (r *MetadataGetRequest) PathParams() *MetadataGetRequestPathParams
- func (r *MetadataGetRequest) PathParamsInterface() PathParams
- func (r *MetadataGetRequest) QueryParams() *MetadataGetRequestQueryParams
- func (r *MetadataGetRequest) RequestBody() *MetadataGetRequestBody
- func (r *MetadataGetRequest) RequestBodyInterface() interface{}
- func (r *MetadataGetRequest) SetMethod(method string)
- func (r *MetadataGetRequest) SetRequestBody(body MetadataGetRequestBody)
- func (r *MetadataGetRequest) URL() *url.URL
- type MetadataGetRequestBody
- type MetadataGetRequestPathParams
- type MetadataGetRequestQueryParams
- type MetadataGetResponseBody
- type Number
- type PathParams
- type PaymentInvoice
- type PaymentInvoices
- type QueryParams
- type Request
- type RequestCompletionCallback
- type SapB1Client
- func (s *SapB1Client) NewDeliveryNoteCreateRequest(opts ...DeliveryNoteCreateOption) *DeliveryNoteCreateRequest
- func (s *SapB1Client) NewDeliveryNoteGetAllRequest(opts ...DeliveryNoteGetAllOption) *DeliveryNoteGetAllRequest
- func (s *SapB1Client) NewItemGetAllRequest(opts ...ItemGetAllOption) *ItemGetAllRequest
- func (s *SapB1Client) NewLoginRequest(opts ...LoginRequestOpts) *LoginRequest
- type SchemaMarshaler
- type SimplifiedDeliveryNote
- type SimplifiedDocumentLine
- type TaxExtension
- type ToURLValues
- type WarehouseStock
- type WarehouseStockPostRequest
- func (r *WarehouseStockPostRequest) Do(ctx context.Context) (WarehouseStockPostResponseBody, error)
- func (r *WarehouseStockPostRequest) Method() string
- func (r WarehouseStockPostRequest) NewPathParams() *WarehouseStockPostRequestPathParams
- func (r WarehouseStockPostRequest) NewQueryParams() *WarehouseStockPostRequestQueryParams
- func (r WarehouseStockPostRequest) NewRequestBody() WarehouseStockPostRequestBody
- func (r *WarehouseStockPostRequest) NewResponseBody() *WarehouseStockPostResponseBody
- func (r *WarehouseStockPostRequest) Path() *string
- func (r *WarehouseStockPostRequest) PathParams() *WarehouseStockPostRequestPathParams
- func (r *WarehouseStockPostRequest) PathParamsInterface() PathParams
- func (r *WarehouseStockPostRequest) QueryParams() *WarehouseStockPostRequestQueryParams
- func (r *WarehouseStockPostRequest) RequestBody() *WarehouseStockPostRequestBody
- func (r *WarehouseStockPostRequest) RequestBodyInterface() interface{}
- func (r *WarehouseStockPostRequest) SetMethod(method string)
- func (r *WarehouseStockPostRequest) SetRequestBody(body WarehouseStockPostRequestBody)
- func (r *WarehouseStockPostRequest) URL() *url.URL
- type WarehouseStockPostRequestBody
- type WarehouseStockPostRequestPathParams
- type WarehouseStockPostRequestQueryParams
- type WarehouseStockPostResponseBody
Constants ¶
This section is empty.
Variables ¶
var (
BaseURL = url.URL{
Scheme: "https",
Host: "localhost:50000",
Path: "",
}
)
var ( // register custom encoders EncodeSchemaMarshaler = func(v reflect.Value) string { marshaler, ok := v.Interface().(SchemaMarshaler) if ok == true { return marshaler.MarshalSchema() } stringer, ok := v.Interface().(fmt.Stringer) if ok == true { return stringer.String() } return "" } )
Functions ¶
func AddQueryParamsToRequest ¶
func AddURLValuesToRequest ¶
func CheckResponse ¶
CheckResponse checks the Client response for errors, and returns them if present. A response is considered an error if it has a status code outside the 200 range. Client error responses are expected to have either no response body, or a json response body that maps to ErrorResponse. Any other response body will be silently ignored.
func CreateFormFile ¶
func NewSchemaEncoder ¶
Types ¶
type Account ¶
type Account struct {
Code string `json:"Code"`
Name string `json:"Name"`
Balance float64 `json:"Balance"`
CashAccount string `json:"CashAccount"`
BudgetAccount string `json:"BudgetAccount"`
ActiveAccount string `json:"ActiveAccount"`
PrimaryAccount string `json:"PrimaryAccount"`
AccountLevel int `json:"AccountLevel"`
DataExportCode interface{} `json:"DataExportCode"`
FatherAccountKey string `json:"FatherAccountKey"`
ExternalCode interface{} `json:"ExternalCode"`
RateConversion string `json:"RateConversion"`
TaxLiableAccount string `json:"TaxLiableAccount"`
TaxExemptAccount string `json:"TaxExemptAccount"`
ExternalReconNo interface{} `json:"ExternalReconNo"`
InternalReconNo interface{} `json:"InternalReconNo"`
AccountType string `json:"AccountType"`
AcctCurrency string `json:"AcctCurrency"`
BalanceSyscurr float64 `json:"Balance_syscurr"`
BalanceFrgnCurr float64 `json:"Balance_FrgnCurr"`
Protected string `json:"Protected"`
ReconciledAccount string `json:"ReconciledAccount"`
LiableForAdvances string `json:"LiableForAdvances"`
ForeignName interface{} `json:"ForeignName"`
Details interface{} `json:"Details"`
ProjectCode interface{} `json:"ProjectCode"`
RevaluationCoordinated string `json:"RevaluationCoordinated"`
LockManualTransaction string `json:"LockManualTransaction"`
FormatCode string `json:"FormatCode"`
AllowChangeVatGroup string `json:"AllowChangeVatGroup"`
DefaultVatGroup interface{} `json:"DefaultVatGroup"`
Category interface{} `json:"Category"`
TransactionCode interface{} `json:"TransactionCode"`
LoadingType string `json:"LoadingType"`
LoadingFactorCode interface{} `json:"LoadingFactorCode"`
LoadingFactorCode2 interface{} `json:"LoadingFactorCode2"`
LoadingFactorCode3 interface{} `json:"LoadingFactorCode3"`
LoadingFactorCode4 interface{} `json:"LoadingFactorCode4"`
LoadingFactorCode5 interface{} `json:"LoadingFactorCode5"`
PlanningLevel interface{} `json:"PlanningLevel"`
DatevAccount interface{} `json:"DatevAccount"`
DatevAutoAccount string `json:"DatevAutoAccount"`
DatevFirstDataEntry string `json:"DatevFirstDataEntry"`
AllowMultipleLinking string `json:"AllowMultipleLinking"`
ProjectRelevant string `json:"ProjectRelevant"`
DistributionRuleRelevant string `json:"DistributionRuleRelevant"`
DistributionRule2Relevant string `json:"DistributionRule2Relevant"`
DistributionRule3Relevant string `json:"DistributionRule3Relevant"`
DistributionRule4Relevant string `json:"DistributionRule4Relevant"`
DistributionRule5Relevant string `json:"DistributionRule5Relevant"`
BPLID interface{} `json:"BPLID"`
BPLName interface{} `json:"BPLName"`
VATRegNum interface{} `json:"VATRegNum"`
AccountPurposeCode interface{} `json:"AccountPurposeCode"`
ReferentialAccountCode interface{} `json:"ReferentialAccountCode"`
ValidFor string `json:"ValidFor"`
ValidFrom interface{} `json:"ValidFrom"`
ValidTo interface{} `json:"ValidTo"`
ValidRemarks interface{} `json:"ValidRemarks"`
FrozenFor string `json:"FrozenFor"`
FrozenFrom interface{} `json:"FrozenFrom"`
FrozenTo interface{} `json:"FrozenTo"`
FrozenRemarks interface{} `json:"FrozenRemarks"`
BlockManualPosting string `json:"BlockManualPosting"`
CashFlowRelevant string `json:"CashFlowRelevant"`
PCN874ReportRelevant string `json:"PCN874ReportRelevant"`
PrimaryClosingAccount interface{} `json:"PrimaryClosingAccount"`
CostAccountingOnly string `json:"CostAccountingOnly"`
CostElementRelevant string `json:"CostElementRelevant"`
CostElementCode interface{} `json:"CostElementCode"`
StandardAccountCode interface{} `json:"StandardAccountCode"`
TaxonomyCode interface{} `json:"TaxonomyCode"`
IncomeClassificationCategory interface{} `json:"IncomeClassificationCategory"`
IncomeClassificationType interface{} `json:"IncomeClassificationType"`
ExpenseClassificationCategory interface{} `json:"ExpenseClassificationCategory"`
ExpenseClassificationType interface{} `json:"ExpenseClassificationType"`
UGMPDCTUR string `json:"U_GM_PDCTUR"`
UGMPDCEDI string `json:"U_GM_PDCEDI"`
UGMPDCRIN string `json:"U_GM_PDCRIN"`
UGMPDCSER string `json:"U_GM_PDCSER"`
UGMPRIVATEACCT interface{} `json:"U_GM_PRIVATEACCT"`
UINFOBITRAGGRUPPA interface{} `json:"U_INFOBIT_RAGGRUPPA"`
UBPTypCb interface{} `json:"U_BP_TypCb"`
UBPNeSta interface{} `json:"U_BP_NeSta"`
UBPGLinT interface{} `json:"U_BP_GLinT"`
UBPTyImp interface{} `json:"U_BP_TyImp"`
UGMCodCeeDare interface{} `json:"U_GM_CodCeeDare"`
UGMCodCeeAvere interface{} `json:"U_GM_CodCeeAvere"`
UZ3RISCCOGEA interface{} `json:"U_Z3_RISC_COGE_A"`
UZ3RISCCOGEP interface{} `json:"U_Z3_RISC_COGE_P"`
UZ3RATEICOGEA interface{} `json:"U_Z3_RATEI_COGE_A"`
UZ3RATEICOGEP interface{} `json:"U_Z3_RATEI_COGE_P"`
UGMQueryCheckIntercompany interface{} `json:"U_GM_Query_Check_Intercompany"`
URINGRRRichIns interface{} `json:"U_RING_RR_RichIns"`
UExpToDcf interface{} `json:"U_expToDcf"`
}
type AddressExtension ¶
type AddressExtension struct {
ShipToStreet string `json:"ShipToStreet"`
ShipToStreetNo string `json:"ShipToStreetNo"`
ShipToBlock string `json:"ShipToBlock"`
ShipToBuilding string `json:"ShipToBuilding"`
ShipToCity string `json:"ShipToCity"`
ShipToZipCode string `json:"ShipToZipCode"`
ShipToCounty string `json:"ShipToCounty"`
ShipToState string `json:"ShipToState"`
ShipToCountry string `json:"ShipToCountry"`
ShipToAddressType string `json:"ShipToAddressType"`
BillToStreet string `json:"BillToStreet"`
BillToStreetNo string `json:"BillToStreetNo"`
BillToBlock string `json:"BillToBlock"`
BillToBuilding string `json:"BillToBuilding"`
BillToCity string `json:"BillToCity"`
BillToZipCode string `json:"BillToZipCode"`
BillToCounty string `json:"BillToCounty"`
BillToState string `json:"BillToState"`
BillToCountry string `json:"BillToCountry"`
BillToAddressType string `json:"BillToAddressType"`
ShipToGlobalLocationNumber string `json:"ShipToGlobalLocationNumber"`
BillToGlobalLocationNumber interface{} `json:"BillToGlobalLocationNumber"`
ShipToAddress2 string `json:"ShipToAddress2"`
ShipToAddress3 string `json:"ShipToAddress3"`
BillToAddress2 string `json:"BillToAddress2"`
BillToAddress3 string `json:"BillToAddress3"`
PlaceOfSupply interface{} `json:"PlaceOfSupply"`
PurchasePlaceOfSupply interface{} `json:"PurchasePlaceOfSupply"`
DocEntry int `json:"DocEntry"`
GoodsIssuePlaceBP interface{} `json:"GoodsIssuePlaceBP"`
GoodsIssuePlaceCNPJ interface{} `json:"GoodsIssuePlaceCNPJ"`
GoodsIssuePlaceCPF interface{} `json:"GoodsIssuePlaceCPF"`
GoodsIssuePlaceStreet interface{} `json:"GoodsIssuePlaceStreet"`
GoodsIssuePlaceStreetNo interface{} `json:"GoodsIssuePlaceStreetNo"`
GoodsIssuePlaceBuilding interface{} `json:"GoodsIssuePlaceBuilding"`
GoodsIssuePlaceZip interface{} `json:"GoodsIssuePlaceZip"`
GoodsIssuePlaceBlock interface{} `json:"GoodsIssuePlaceBlock"`
GoodsIssuePlaceCity interface{} `json:"GoodsIssuePlaceCity"`
GoodsIssuePlaceCounty interface{} `json:"GoodsIssuePlaceCounty"`
GoodsIssuePlaceState interface{} `json:"GoodsIssuePlaceState"`
GoodsIssuePlaceCountry interface{} `json:"GoodsIssuePlaceCountry"`
GoodsIssuePlacePhone interface{} `json:"GoodsIssuePlacePhone"`
GoodsIssuePlaceEMail interface{} `json:"GoodsIssuePlaceEMail"`
GoodsIssuePlaceDepartureDate interface{} `json:"GoodsIssuePlaceDepartureDate"`
DeliveryPlaceBP interface{} `json:"DeliveryPlaceBP"`
DeliveryPlaceCNPJ interface{} `json:"DeliveryPlaceCNPJ"`
DeliveryPlaceCPF interface{} `json:"DeliveryPlaceCPF"`
DeliveryPlaceStreet interface{} `json:"DeliveryPlaceStreet"`
DeliveryPlaceStreetNo interface{} `json:"DeliveryPlaceStreetNo"`
DeliveryPlaceBuilding interface{} `json:"DeliveryPlaceBuilding"`
DeliveryPlaceZip interface{} `json:"DeliveryPlaceZip"`
DeliveryPlaceBlock interface{} `json:"DeliveryPlaceBlock"`
DeliveryPlaceCity interface{} `json:"DeliveryPlaceCity"`
DeliveryPlaceCounty interface{} `json:"DeliveryPlaceCounty"`
DeliveryPlaceState interface{} `json:"DeliveryPlaceState"`
DeliveryPlaceCountry interface{} `json:"DeliveryPlaceCountry"`
DeliveryPlacePhone interface{} `json:"DeliveryPlacePhone"`
DeliveryPlaceEMail interface{} `json:"DeliveryPlaceEMail"`
DeliveryPlaceDepartureDate interface{} `json:"DeliveryPlaceDepartureDate"`
U_SAPFE_IPACodePAS string `json:"U_SAPFE_IPACodePAS"`
U_SAPFE_IPACodePAB interface{} `json:"U_SAPFE_IPACodePAB"`
U_SAPFE_PECAddrS string `json:"U_SAPFE_PECAddrS"`
U_SAPFE_PECAddrB interface{} `json:"U_SAPFE_PECAddrB"`
U_GM_CodStrutturaS string `json:"U_GM_CodStrutturaS"`
U_GM_CodStrutturaB interface{} `json:"U_GM_CodStrutturaB"`
}
type BeforeRequestDoCallback ¶
type BusinessPartner ¶
type BusinessPartner struct {
OdataContext string `json:"@odata.context,omitempty"`
CardCode string
CardName string
FederalTaxID string
AdditionalID string
Phone1 string
Phone2 string
EmailAddress string
Address string
ZipCode string
City string
Country string
CardType string `json:"CardType,omitempty"`
}
type BusinessPartners ¶
type BusinessPartners []BusinessPartner
type BusinessPartnersGetRequest ¶
type BusinessPartnersGetRequest struct {
// contains filtered or unexported fields
}
func (*BusinessPartnersGetRequest) All ¶
func (r *BusinessPartnersGetRequest) All(ctx context.Context) (BusinessPartnersGetResponseBody, error)
func (*BusinessPartnersGetRequest) Do ¶
func (r *BusinessPartnersGetRequest) Do(ctx context.Context) (BusinessPartnersGetResponseBody, error)
func (*BusinessPartnersGetRequest) Method ¶
func (r *BusinessPartnersGetRequest) Method() string
func (BusinessPartnersGetRequest) NewPathParams ¶
func (r BusinessPartnersGetRequest) NewPathParams() *BusinessPartnersGetRequestPathParams
func (BusinessPartnersGetRequest) NewQueryParams ¶
func (r BusinessPartnersGetRequest) NewQueryParams() *BusinessPartnersGetRequestQueryParams
func (BusinessPartnersGetRequest) NewRequestBody ¶
func (r BusinessPartnersGetRequest) NewRequestBody() BusinessPartnersGetRequestBody
func (*BusinessPartnersGetRequest) NewResponseBody ¶
func (r *BusinessPartnersGetRequest) NewResponseBody() *BusinessPartnersGetResponseBody
func (*BusinessPartnersGetRequest) Path ¶
func (r *BusinessPartnersGetRequest) Path() *string
func (*BusinessPartnersGetRequest) PathParams ¶
func (r *BusinessPartnersGetRequest) PathParams() *BusinessPartnersGetRequestPathParams
func (*BusinessPartnersGetRequest) PathParamsInterface ¶
func (r *BusinessPartnersGetRequest) PathParamsInterface() PathParams
func (*BusinessPartnersGetRequest) QueryParams ¶
func (r *BusinessPartnersGetRequest) QueryParams() *BusinessPartnersGetRequestQueryParams
func (*BusinessPartnersGetRequest) RequestBody ¶
func (r *BusinessPartnersGetRequest) RequestBody() *BusinessPartnersGetRequestBody
func (*BusinessPartnersGetRequest) RequestBodyInterface ¶
func (r *BusinessPartnersGetRequest) RequestBodyInterface() interface{}
func (*BusinessPartnersGetRequest) SetMethod ¶
func (r *BusinessPartnersGetRequest) SetMethod(method string)
func (*BusinessPartnersGetRequest) SetRequestBody ¶
func (r *BusinessPartnersGetRequest) SetRequestBody(body BusinessPartnersGetRequestBody)
func (*BusinessPartnersGetRequest) URL ¶
func (r *BusinessPartnersGetRequest) URL() *url.URL
type BusinessPartnersGetRequestBody ¶
type BusinessPartnersGetRequestBody struct{}
type BusinessPartnersGetRequestPathParams ¶
type BusinessPartnersGetRequestPathParams struct {
}
func (*BusinessPartnersGetRequestPathParams) Params ¶
func (p *BusinessPartnersGetRequestPathParams) Params() map[string]string
type BusinessPartnersGetRequestQueryParams ¶
type BusinessPartnersGetRequestQueryParams struct {
Filter *odata.Filter `schema:"$filter,omitempty"`
Top *odata.Top `schema:"$top,omitempty"`
Skip *odata.Skip `schema:"$skip,omitempty"`
Count *odata.Count `schema:"$count,omitempty"`
}
func (BusinessPartnersGetRequestQueryParams) ToURLValues ¶
func (p BusinessPartnersGetRequestQueryParams) ToURLValues() (url.Values, error)
type BusinessPartnersGetResponseBody ¶
type BusinessPartnersGetResponseBody struct {
OdataMetadata string `json:"odata.metadata"`
Values BusinessPartners `json:"value"`
OdataNextLink string `json:"odata.nextLink"`
}
type BusinessPartnersPostRequest ¶
type BusinessPartnersPostRequest struct {
// contains filtered or unexported fields
}
func (*BusinessPartnersPostRequest) Do ¶
func (r *BusinessPartnersPostRequest) Do(ctx context.Context) (BusinessPartnersPostResponseBody, error)
func (*BusinessPartnersPostRequest) Method ¶
func (r *BusinessPartnersPostRequest) Method() string
func (BusinessPartnersPostRequest) NewPathParams ¶
func (r BusinessPartnersPostRequest) NewPathParams() *BusinessPartnersPostRequestPathParams
func (BusinessPartnersPostRequest) NewQueryParams ¶
func (r BusinessPartnersPostRequest) NewQueryParams() *BusinessPartnersPostRequestQueryParams
func (BusinessPartnersPostRequest) NewRequestBody ¶
func (r BusinessPartnersPostRequest) NewRequestBody() BusinessPartnersPostRequestBody
func (*BusinessPartnersPostRequest) NewResponseBody ¶
func (r *BusinessPartnersPostRequest) NewResponseBody() *BusinessPartnersPostResponseBody
func (*BusinessPartnersPostRequest) Path ¶
func (r *BusinessPartnersPostRequest) Path() *string
func (*BusinessPartnersPostRequest) PathParams ¶
func (r *BusinessPartnersPostRequest) PathParams() *BusinessPartnersPostRequestPathParams
func (*BusinessPartnersPostRequest) PathParamsInterface ¶
func (r *BusinessPartnersPostRequest) PathParamsInterface() PathParams
func (*BusinessPartnersPostRequest) QueryParams ¶
func (r *BusinessPartnersPostRequest) QueryParams() *BusinessPartnersPostRequestQueryParams
func (*BusinessPartnersPostRequest) RequestBody ¶
func (r *BusinessPartnersPostRequest) RequestBody() *BusinessPartnersPostRequestBody
func (*BusinessPartnersPostRequest) RequestBodyInterface ¶
func (r *BusinessPartnersPostRequest) RequestBodyInterface() interface{}
func (*BusinessPartnersPostRequest) SetMethod ¶
func (r *BusinessPartnersPostRequest) SetMethod(method string)
func (*BusinessPartnersPostRequest) SetRequestBody ¶
func (r *BusinessPartnersPostRequest) SetRequestBody(body BusinessPartnersPostRequestBody)
func (*BusinessPartnersPostRequest) URL ¶
func (r *BusinessPartnersPostRequest) URL() *url.URL
type BusinessPartnersPostRequestBody ¶
type BusinessPartnersPostRequestBody BusinessPartner
type BusinessPartnersPostRequestPathParams ¶
type BusinessPartnersPostRequestPathParams struct {
}
func (*BusinessPartnersPostRequestPathParams) Params ¶
func (p *BusinessPartnersPostRequestPathParams) Params() map[string]string
type BusinessPartnersPostRequestQueryParams ¶
type BusinessPartnersPostRequestQueryParams struct {
}
func (BusinessPartnersPostRequestQueryParams) ToURLValues ¶
func (p BusinessPartnersPostRequestQueryParams) ToURLValues() (url.Values, error)
type BusinessPartnersPostResponseBody ¶
type BusinessPartnersPostResponseBody BusinessPartner
type ChartOfAccounts ¶
type ChartOfAccounts []Account
type ChartOfAccountsGetRequest ¶
type ChartOfAccountsGetRequest struct {
// contains filtered or unexported fields
}
func (*ChartOfAccountsGetRequest) All ¶
func (r *ChartOfAccountsGetRequest) All(ctx context.Context) (ChartOfAccountsGetResponseBody, error)
func (*ChartOfAccountsGetRequest) Do ¶
func (r *ChartOfAccountsGetRequest) Do(ctx context.Context) (ChartOfAccountsGetResponseBody, error)
func (*ChartOfAccountsGetRequest) Method ¶
func (r *ChartOfAccountsGetRequest) Method() string
func (ChartOfAccountsGetRequest) NewPathParams ¶
func (r ChartOfAccountsGetRequest) NewPathParams() *ChartOfAccountsGetRequestPathParams
func (ChartOfAccountsGetRequest) NewQueryParams ¶
func (r ChartOfAccountsGetRequest) NewQueryParams() *ChartOfAccountsGetRequestQueryParams
func (ChartOfAccountsGetRequest) NewRequestBody ¶
func (r ChartOfAccountsGetRequest) NewRequestBody() ChartOfAccountsGetRequestBody
func (*ChartOfAccountsGetRequest) NewResponseBody ¶
func (r *ChartOfAccountsGetRequest) NewResponseBody() *ChartOfAccountsGetResponseBody
func (*ChartOfAccountsGetRequest) Path ¶
func (r *ChartOfAccountsGetRequest) Path() *string
func (*ChartOfAccountsGetRequest) PathParams ¶
func (r *ChartOfAccountsGetRequest) PathParams() *ChartOfAccountsGetRequestPathParams
func (*ChartOfAccountsGetRequest) PathParamsInterface ¶
func (r *ChartOfAccountsGetRequest) PathParamsInterface() PathParams
func (*ChartOfAccountsGetRequest) QueryParams ¶
func (r *ChartOfAccountsGetRequest) QueryParams() *ChartOfAccountsGetRequestQueryParams
func (*ChartOfAccountsGetRequest) RequestBody ¶
func (r *ChartOfAccountsGetRequest) RequestBody() *ChartOfAccountsGetRequestBody
func (*ChartOfAccountsGetRequest) RequestBodyInterface ¶
func (r *ChartOfAccountsGetRequest) RequestBodyInterface() interface{}
func (*ChartOfAccountsGetRequest) SetMethod ¶
func (r *ChartOfAccountsGetRequest) SetMethod(method string)
func (*ChartOfAccountsGetRequest) SetRequestBody ¶
func (r *ChartOfAccountsGetRequest) SetRequestBody(body ChartOfAccountsGetRequestBody)
func (*ChartOfAccountsGetRequest) URL ¶
func (r *ChartOfAccountsGetRequest) URL() *url.URL
type ChartOfAccountsGetRequestBody ¶
type ChartOfAccountsGetRequestBody struct{}
type ChartOfAccountsGetRequestPathParams ¶
type ChartOfAccountsGetRequestPathParams struct {
}
func (*ChartOfAccountsGetRequestPathParams) Params ¶
func (p *ChartOfAccountsGetRequestPathParams) Params() map[string]string
type ChartOfAccountsGetRequestQueryParams ¶
type ChartOfAccountsGetRequestQueryParams struct {
Select *odata.Select `schema:"$select,omitempty"`
Filter *odata.Filter `schema:"$filter,omitempty"`
Top *odata.Top `schema:"$top,omitempty"`
Skip *odata.Skip `schema:"$skip,omitempty"`
}
func (ChartOfAccountsGetRequestQueryParams) ToURLValues ¶
func (p ChartOfAccountsGetRequestQueryParams) ToURLValues() (url.Values, error)
type ChartOfAccountsGetResponseBody ¶
type ChartOfAccountsGetResponseBody struct {
Context string `json:"odata.context"`
Value ChartOfAccounts `json:"value"`
NextLink string `json:"odata.nextLink"`
}
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client manages communication with Exact Globe Client
func (*Client) Do ¶
Do sends an Client request and returns the Client response. The Client response is json decoded and stored in the value pointed to by v, or returned as an error if an Client error has occurred. If v implements the io.Writer interface, the raw response will be written to v, without attempting to decode it.
func (*Client) FetchLoginCookies ¶
func (*Client) GetEndpointURL ¶
func (c *Client) GetEndpointURL(p string, pathParams PathParams) url.URL
func (*Client) InitSession ¶
func (*Client) NewBusinessPartnersGetRequest ¶
func (c *Client) NewBusinessPartnersGetRequest() BusinessPartnersGetRequest
func (*Client) NewBusinessPartnersPostRequest ¶
func (c *Client) NewBusinessPartnersPostRequest() BusinessPartnersPostRequest
func (*Client) NewChartOfAccountsGetRequest ¶
func (c *Client) NewChartOfAccountsGetRequest() ChartOfAccountsGetRequest
func (*Client) NewFormRequest ¶
func (*Client) NewInvoicesPostRequest ¶
func (c *Client) NewInvoicesPostRequest() InvoicesPostRequest
func (*Client) NewItemsGetRequest ¶
func (c *Client) NewItemsGetRequest() ItemsGetRequest
func (*Client) NewJournalEntriesGetRequest ¶
func (c *Client) NewJournalEntriesGetRequest() JournalEntriesGetRequest
func (*Client) NewJournalEntriesPostRequest ¶
func (c *Client) NewJournalEntriesPostRequest() JournalEntriesPostRequest
func (*Client) NewLoginPostRequest ¶
func (c *Client) NewLoginPostRequest() LoginPostRequest
func (*Client) NewMetadataGetRequest ¶
func (c *Client) NewMetadataGetRequest() MetadataGetRequest
func (*Client) NewRequest ¶
func (*Client) NewWarehouseStockPostRequest ¶
func (c *Client) NewWarehouseStockPostRequest() WarehouseStockPostRequest
func (Client) SessionLoginEnabled ¶
func (*Client) SetBaseURL ¶
func (*Client) SetBeforeRequestDo ¶
func (c *Client) SetBeforeRequestDo(fun BeforeRequestDoCallback)
func (*Client) SetCharset ¶
func (*Client) SetCompanyDB ¶
func (*Client) SetDisallowUnknownFields ¶
func (*Client) SetHTTPClient ¶
func (*Client) SetMediaType ¶
func (*Client) SetPassword ¶
func (*Client) SetSessionLoginEnabled ¶
func (*Client) SetUserAgent ¶
func (*Client) SetUsername ¶
type DateTime ¶
func (*DateTime) MarshalJSON ¶
func (DateTime) MarshalSchema ¶
func (*DateTime) UnmarshalJSON ¶
type DeliveryNote ¶
type DeliveryNote struct {
ETag string `json:"@odata.etag,omitempty"`
DocEntry int `json:"DocEntry"`
DocNum int `json:"DocNum"`
DocType string `json:"DocType"`
HandWritten string `json:"HandWritten"`
Printed string `json:"Printed"`
DocDate time.Time `json:"DocDate"`
DocDueDate time.Time `json:"DocDueDate"`
CardCode string `json:"CardCode"`
CardName string `json:"CardName"`
Address string `json:"Address"`
NumAtCard interface{} `json:"NumAtCard"`
DocTotal float64 `json:"DocTotal"`
AttachmentEntry interface{} `json:"AttachmentEntry"`
DocCurrency string `json:"DocCurrency"`
DocRate float64 `json:"DocRate"`
Reference1 string `json:"Reference1"`
Reference2 interface{} `json:"Reference2"`
Comments string `json:"Comments"`
JournalMemo string `json:"JournalMemo"`
PaymentGroupCode int `json:"PaymentGroupCode"`
DocTime string `json:"DocTime"`
SalesPersonCode int `json:"SalesPersonCode"`
TransportationCode int `json:"TransportationCode"`
Confirmed string `json:"Confirmed"`
ImportFileNum interface{} `json:"ImportFileNum"`
SummeryType string `json:"SummeryType"`
ContactPersonCode int `json:"ContactPersonCode"`
ShowSCN string `json:"ShowSCN"`
Series int `json:"Series"`
TaxDate time.Time `json:"TaxDate"`
PartialSupply string `json:"PartialSupply"`
DocObjectCode string `json:"DocObjectCode"`
ShipToCode string `json:"ShipToCode"`
Indicator interface{} `json:"Indicator"`
FederalTaxID string `json:"FederalTaxID"`
DiscountPercent float64 `json:"DiscountPercent"`
PaymentReference interface{} `json:"PaymentReference"`
CreationDate time.Time `json:"CreationDate"`
UpdateDate time.Time `json:"UpdateDate"`
FinancialPeriod int `json:"FinancialPeriod"`
UserSign int `json:"UserSign"`
TransNum interface{} `json:"TransNum"`
VatSum float64 `json:"VatSum"`
VatSumSys float64 `json:"VatSumSys"`
VatSumFc float64 `json:"VatSumFc"`
NetProcedure string `json:"NetProcedure"`
DocTotalFc float64 `json:"DocTotalFc"`
DocTotalSys float64 `json:"DocTotalSys"`
Form1099 interface{} `json:"Form1099"`
Box1099 interface{} `json:"Box1099"`
RevisionPo string `json:"RevisionPo"`
RequriedDate interface{} `json:"RequriedDate"`
CancelDate interface{} `json:"CancelDate"`
BlockDunning string `json:"BlockDunning"`
Submitted string `json:"Submitted"`
Segment int `json:"Segment"`
PickStatus string `json:"PickStatus"`
Pick string `json:"Pick"`
PaymentMethod string `json:"PaymentMethod"`
PaymentBlock string `json:"PaymentBlock"`
PaymentBlockEntry interface{} `json:"PaymentBlockEntry"`
CentralBankIndicator interface{} `json:"CentralBankIndicator"`
MaximumCashDiscount string `json:"MaximumCashDiscount"`
Reserve string `json:"Reserve"`
Project string `json:"Project"`
ExemptionValidityDateFrom interface{} `json:"ExemptionValidityDateFrom"`
ExemptionValidityDateTo interface{} `json:"ExemptionValidityDateTo"`
WareHouseUpdateType string `json:"WareHouseUpdateType"`
Rounding string `json:"Rounding"`
ExternalCorrectedDocNum interface{} `json:"ExternalCorrectedDocNum"`
InternalCorrectedDocNum interface{} `json:"InternalCorrectedDocNum"`
NextCorrectingDocument interface{} `json:"NextCorrectingDocument"`
DeferredTax string `json:"DeferredTax"`
TaxExemptionLetterNum interface{} `json:"TaxExemptionLetterNum"`
WTApplied float64 `json:"WTApplied"`
WTAppliedFC float64 `json:"WTAppliedFC"`
BillOfExchangeReserved string `json:"BillOfExchangeReserved"`
AgentCode interface{} `json:"AgentCode"`
WTAppliedSC float64 `json:"WTAppliedSC"`
TotalEqualizationTax float64 `json:"TotalEqualizationTax"`
TotalEqualizationTaxFC float64 `json:"TotalEqualizationTaxFC"`
TotalEqualizationTaxSC float64 `json:"TotalEqualizationTaxSC"`
NumberOfInstallments int `json:"NumberOfInstallments"`
ApplyTaxOnFirstInstallment string `json:"ApplyTaxOnFirstInstallment"`
WTNonSubjectAmount float64 `json:"WTNonSubjectAmount"`
WTNonSubjectAmountSC float64 `json:"WTNonSubjectAmountSC"`
WTNonSubjectAmountFC float64 `json:"WTNonSubjectAmountFC"`
WTExemptedAmount float64 `json:"WTExemptedAmount"`
WTExemptedAmountSC float64 `json:"WTExemptedAmountSC"`
WTExemptedAmountFC float64 `json:"WTExemptedAmountFC"`
BaseAmount float64 `json:"BaseAmount"`
BaseAmountSC float64 `json:"BaseAmountSC"`
BaseAmountFC float64 `json:"BaseAmountFC"`
WTAmount float64 `json:"WTAmount"`
WTAmountSC float64 `json:"WTAmountSC"`
WTAmountFC float64 `json:"WTAmountFC"`
VatDate time.Time `json:"VatDate"`
DocumentsOwner int `json:"DocumentsOwner"`
FolioPrefixString interface{} `json:"FolioPrefixString"`
FolioNumber interface{} `json:"FolioNumber"`
DocumentSubType string `json:"DocumentSubType"`
BPChannelCode interface{} `json:"BPChannelCode"`
BPChannelContact interface{} `json:"BPChannelContact"`
Address2 string `json:"Address2"`
DocumentStatus string `json:"DocumentStatus"`
PeriodIndicator string `json:"PeriodIndicator"`
PayToCode string `json:"PayToCode"`
ManualNumber interface{} `json:"ManualNumber"`
UseShpdGoodsAct string `json:"UseShpdGoodsAct"`
IsPayToBank string `json:"IsPayToBank"`
PayToBankCountry interface{} `json:"PayToBankCountry"`
PayToBankCode interface{} `json:"PayToBankCode"`
PayToBankAccountNo interface{} `json:"PayToBankAccountNo"`
PayToBankBranch interface{} `json:"PayToBankBranch"`
BPLIDAssignedToInvoice interface{} `json:"BPL_IDAssignedToInvoice"`
DownPayment float64 `json:"DownPayment"`
ReserveInvoice string `json:"ReserveInvoice"`
LanguageCode int `json:"LanguageCode"`
TrackingNumber interface{} `json:"TrackingNumber"`
PickRemark interface{} `json:"PickRemark"`
ClosingDate interface{} `json:"ClosingDate"`
SequenceCode interface{} `json:"SequenceCode"`
SequenceSerial interface{} `json:"SequenceSerial"`
SeriesString interface{} `json:"SeriesString"`
SubSeriesString interface{} `json:"SubSeriesString"`
SequenceModel string `json:"SequenceModel"`
UseCorrectionVATGroup string `json:"UseCorrectionVATGroup"`
TotalDiscount float64 `json:"TotalDiscount"`
DownPaymentAmount float64 `json:"DownPaymentAmount"`
DownPaymentPercentage float64 `json:"DownPaymentPercentage"`
DownPaymentType string `json:"DownPaymentType"`
DownPaymentAmountSC float64 `json:"DownPaymentAmountSC"`
DownPaymentAmountFC float64 `json:"DownPaymentAmountFC"`
VatPercent float64 `json:"VatPercent"`
ServiceGrossProfitPercent interface{} `json:"ServiceGrossProfitPercent"`
OpeningRemarks interface{} `json:"OpeningRemarks"`
ClosingRemarks interface{} `json:"ClosingRemarks"`
RoundingDiffAmount float64 `json:"RoundingDiffAmount"`
RoundingDiffAmountFC float64 `json:"RoundingDiffAmountFC"`
RoundingDiffAmountSC float64 `json:"RoundingDiffAmountSC"`
Cancelled string `json:"Cancelled"`
SignatureInputMessage interface{} `json:"SignatureInputMessage"`
SignatureDigest interface{} `json:"SignatureDigest"`
CertificationNumber interface{} `json:"CertificationNumber"`
PrivateKeyVersion interface{} `json:"PrivateKeyVersion"`
ControlAccount string `json:"ControlAccount"`
InsuranceOperation347 string `json:"InsuranceOperation347"`
ArchiveNonremovableSalesQuotation string `json:"ArchiveNonremovableSalesQuotation"`
GTSChecker interface{} `json:"GTSChecker"`
GTSPayee interface{} `json:"GTSPayee"`
ExtraMonth int `json:"ExtraMonth"`
ExtraDays int `json:"ExtraDays"`
CashDiscountDateOffset int `json:"CashDiscountDateOffset"`
StartFrom string `json:"StartFrom"`
NTSApproved string `json:"NTSApproved"`
ETaxWebSite interface{} `json:"ETaxWebSite"`
ETaxNumber interface{} `json:"ETaxNumber"`
NTSApprovedNumber interface{} `json:"NTSApprovedNumber"`
EDocGenerationType string `json:"EDocGenerationType"`
EDocSeries interface{} `json:"EDocSeries"`
EDocNum interface{} `json:"EDocNum"`
EDocExportFormat interface{} `json:"EDocExportFormat"`
EDocStatus string `json:"EDocStatus"`
EDocErrorCode interface{} `json:"EDocErrorCode"`
EDocErrorMessage interface{} `json:"EDocErrorMessage"`
DownPaymentStatus string `json:"DownPaymentStatus"`
GroupSeries interface{} `json:"GroupSeries"`
GroupNumber interface{} `json:"GroupNumber"`
GroupHandWritten string `json:"GroupHandWritten"`
ReopenOriginalDocument interface{} `json:"ReopenOriginalDocument"`
ReopenManuallyClosedOrCanceledDocument interface{} `json:"ReopenManuallyClosedOrCanceledDocument"`
CreateOnlineQuotation string `json:"CreateOnlineQuotation"`
POSEquipmentNumber interface{} `json:"POSEquipmentNumber"`
POSManufacturerSerialNumber interface{} `json:"POSManufacturerSerialNumber"`
POSCashierNumber interface{} `json:"POSCashierNumber"`
ApplyCurrentVATRatesForDownPaymentsToDraw string `json:"ApplyCurrentVATRatesForDownPaymentsToDraw"`
ClosingOption string `json:"ClosingOption"`
SpecifiedClosingDate interface{} `json:"SpecifiedClosingDate"`
OpenForLandedCosts string `json:"OpenForLandedCosts"`
AuthorizationStatus string `json:"AuthorizationStatus"`
TotalDiscountFC float64 `json:"TotalDiscountFC"`
TotalDiscountSC float64 `json:"TotalDiscountSC"`
RelevantToGTS string `json:"RelevantToGTS"`
BPLName interface{} `json:"BPLName"`
VATRegNum interface{} `json:"VATRegNum"`
AnnualInvoiceDeclarationReference interface{} `json:"AnnualInvoiceDeclarationReference"`
Supplier interface{} `json:"Supplier"`
Releaser interface{} `json:"Releaser"`
Receiver interface{} `json:"Receiver"`
BlanketAgreementNumber interface{} `json:"BlanketAgreementNumber"`
IsAlteration string `json:"IsAlteration"`
CancelStatus string `json:"CancelStatus"`
AssetValueDate interface{} `json:"AssetValueDate"`
DocumentDelivery string `json:"DocumentDelivery"`
AuthorizationCode interface{} `json:"AuthorizationCode"`
StartDeliveryDate interface{} `json:"StartDeliveryDate"`
StartDeliveryTime interface{} `json:"StartDeliveryTime"`
EndDeliveryDate interface{} `json:"EndDeliveryDate"`
EndDeliveryTime interface{} `json:"EndDeliveryTime"`
VehiclePlate interface{} `json:"VehiclePlate"`
ATDocumentType interface{} `json:"ATDocumentType"`
ElecCommStatus interface{} `json:"ElecCommStatus"`
ElecCommMessage interface{} `json:"ElecCommMessage"`
ReuseDocumentNum string `json:"ReuseDocumentNum"`
ReuseNotaFiscalNum string `json:"ReuseNotaFiscalNum"`
PrintSEPADirect string `json:"PrintSEPADirect"`
FiscalDocNum interface{} `json:"FiscalDocNum"`
POSDailySummaryNo interface{} `json:"POSDailySummaryNo"`
POSReceiptNo interface{} `json:"POSReceiptNo"`
PointOfIssueCode interface{} `json:"PointOfIssueCode"`
Letter interface{} `json:"Letter"`
FolioNumberFrom interface{} `json:"FolioNumberFrom"`
FolioNumberTo interface{} `json:"FolioNumberTo"`
InterimType string `json:"InterimType"`
RelatedType int `json:"RelatedType"`
RelatedEntry interface{} `json:"RelatedEntry"`
SAPPassport interface{} `json:"SAPPassport"`
DocumentTaxID interface{} `json:"DocumentTaxID"`
DateOfReportingControlStatementVAT interface{} `json:"DateOfReportingControlStatementVAT"`
ReportingSectionControlStatementVAT interface{} `json:"ReportingSectionControlStatementVAT"`
ExcludeFromTaxReportControlStatementVAT string `json:"ExcludeFromTaxReportControlStatementVAT"`
POSCashRegister interface{} `json:"POS_CashRegister"`
UpdateTime string `json:"UpdateTime"`
CreateQRCodeFrom interface{} `json:"CreateQRCodeFrom"`
PriceMode interface{} `json:"PriceMode"`
ShipFrom string `json:"ShipFrom"`
CommissionTrade string `json:"CommissionTrade"`
CommissionTradeReturn string `json:"CommissionTradeReturn"`
UseBillToAddrToDetermineTax string `json:"UseBillToAddrToDetermineTax"`
Cig interface{} `json:"Cig"`
Cup interface{} `json:"Cup"`
FatherCard string `json:"FatherCard"`
FatherType string `json:"FatherType"`
ShipState interface{} `json:"ShipState"`
ShipPlace interface{} `json:"ShipPlace"`
CustOffice interface{} `json:"CustOffice"`
FCI interface{} `json:"FCI"`
AddLegIn interface{} `json:"AddLegIn"`
LegTextF interface{} `json:"LegTextF"`
DANFELgTxt interface{} `json:"DANFELgTxt"`
IndFinal string `json:"IndFinal"`
DataVersion int `json:"DataVersion"`
LastPageFolioNumber interface{} `json:"LastPageFolioNumber"`
InventoryStatus string `json:"InventoryStatus"`
PlasticPackagingTaxRelevant string `json:"PlasticPackagingTaxRelevant"`
U_SAPFE_XMLGEN string `json:"U_SAPFE_XMLGEN"`
U_SAPFE_INVID interface{} `json:"U_SAPFE_INVID"`
U_SAPFE_SDIID interface{} `json:"U_SAPFE_SDIID"`
U_SAPFE_XMLFILE interface{} `json:"U_SAPFE_XMLFILE"`
U_SAPFE_DOCSTATUS interface{} `json:"U_SAPFE_DOCSTATUS"`
U_SAPFE_CREATEDATE interface{} `json:"U_SAPFE_CREATEDATE"`
U_SAPFE_FORMAT interface{} `json:"U_SAPFE_FORMAT"`
U_SAPFE_PROGNOTIFICA interface{} `json:"U_SAPFE_PROGNOTIFICA"`
U_SAPFE_REFPURDOC interface{} `json:"U_SAPFE_REFPURDOC"`
U_INFOBIT_TIPOBOZZA string `json:"U_INFOBIT_TIPOBOZZA"`
U_INFOBIT_COLLEGABIL string `json:"U_INFOBIT_COLLEGABIL"`
U_INFOBIT_ESCLSPESOM interface{} `json:"U_INFOBIT_ESCLSPESOM"`
U_GM_Dati_INTRA interface{} `json:"U_GM_Dati_INTRA"`
U_GM_Iban interface{} `json:"U_GM_Iban"`
U_Z3_Sito interface{} `json:"U_Z3_Sito"`
U_Z3_Azienda interface{} `json:"U_Z3_Azienda"`
U_Z3_Repository interface{} `json:"U_Z3_Repository"`
U_Z3_Operazione interface{} `json:"U_Z3_Operazione"`
U_SAPFE_DESSTATUS interface{} `json:"U_SAPFE_DESSTATUS"`
U_SAPFE_TOTINVOICEREAD float64 `json:"U_SAPFE_TOTINVOICEREAD"`
U_SAPFE_IPACodePA interface{} `json:"U_SAPFE_IPACodePA"`
U_SAPFE_PECAddr interface{} `json:"U_SAPFE_PECAddr"`
U_SAPFE_TOTINVREAD float64 `json:"U_SAPFE_TOTINVREAD"`
U_GM_SPDataTermine interface{} `json:"U_GM_SPDataTermine"`
U_GM_SPDataDecorrenza interface{} `json:"U_GM_SPDataDecorrenza"`
U_GM_SPDataDisdetta interface{} `json:"U_GM_SPDataDisdetta"`
U_GM_SPTipoRinnovo string `json:"U_GM_SPTipoRinnovo"`
U_GM_SPRepartoAcq string `json:"U_GM_SPRepartoAcq"`
U_GM_SPAdempimentiObbl interface{} `json:"U_GM_SPAdempimentiObbl"`
U_GM_SPFrequenza interface{} `json:"U_GM_SPFrequenza"`
U_GM_SPNaturaContratto interface{} `json:"U_GM_SPNaturaContratto"`
U_GM_SPTipoAcquisto interface{} `json:"U_GM_SPTipoAcquisto"`
U_GM_SPProtocollo interface{} `json:"U_GM_SPProtocollo"`
U_GM_SPId interface{} `json:"U_GM_SPId"`
U_GM_SPLink interface{} `json:"U_GM_SPLink"`
U_GM_SPNome interface{} `json:"U_GM_SPNome"`
U_GM_SPSede interface{} `json:"U_GM_SPSede"`
U_Z3DOC_CAUSALE string `json:"U_Z3DOC_CAUSALE"`
U_Z3Doc_FattAppr string `json:"U_Z3Doc_FattAppr"`
U_Z3DOC_Vettore string `json:"U_Z3DOC_Vettore"`
U_Z3DOC_Porto interface{} `json:"U_Z3DOC_Porto"`
U_Z3DOC_AspBeni string `json:"U_Z3DOC_AspBeni"`
U_Z3DOC_DataTrasp string `json:"U_Z3DOC_DataTrasp"`
U_Z3DOC_OraTrasp string `json:"U_Z3DOC_OraTrasp"`
U_Z3DOC_Peso int `json:"U_Z3DOC_Peso"`
U_Z3DOC_NumColli int `json:"U_Z3DOC_NumColli"`
U_Z3DOC_Conf interface{} `json:"U_Z3DOC_Conf"`
U_Z3DOC_NoteOdA interface{} `json:"U_Z3DOC_NoteOdA"`
U_GM_AdeObb interface{} `json:"U_GM_AdeObb"`
U_GM_ApprovalDoc string `json:"U_GM_ApprovalDoc"`
U_GM_CommAuto interface{} `json:"U_GM_CommAuto"`
U_Data_Stipula_Leasing interface{} `json:"U_Data_Stipula_Leasing"`
U_Data_Inizio_Leasing interface{} `json:"U_Data_Inizio_Leasing"`
U_Data_Fine_Leasing interface{} `json:"U_Data_Fine_Leasing"`
U_LEAS_IMPORTO_ACQUISTO float64 `json:"U_LEAS_IMPORTO_ACQUISTO"`
U_LEAS_TOTCAP float64 `json:"U_LEAS_TOTCAP"`
U_LEAS_TOTINT float64 `json:"U_LEAS_TOTINT"`
U_LEAS_COGERIS interface{} `json:"U_LEAS_COGERIS"`
U_LEAS_SUPERAMM float64 `json:"U_LEAS_SUPERAMM"`
U_LEAS_TOTORD float64 `json:"U_LEAS_TOTORD"`
U_LEAS_MAXICAN float64 `json:"U_LEAS_MAXICAN"`
U_LEAS_RISCATTO float64 `json:"U_LEAS_RISCATTO"`
U_GM_ImportoPagato float64 `json:"U_GM_ImportoPagato"`
U_GM_DataPag interface{} `json:"U_GM_DataPag"`
U_Z3_GM_ECO_BaseType interface{} `json:"U_Z3_GM_ECO_BaseType"`
U_Z3_GM_ECO_DocTotal float64 `json:"U_Z3_GM_ECO_DocTotal"`
U_Z3_GM_ECO_VatTotal float64 `json:"U_Z3_GM_ECO_VatTotal"`
U_Z3_GM_ECO_Payable interface{} `json:"U_Z3_GM_ECO_Payable"`
U_Z3_GM_ECO_MissingBaseDocs interface{} `json:"U_Z3_GM_ECO_MissingBaseDocs"`
U_GM_MerceConsegnata string `json:"U_GM_MerceConsegnata"`
U_GM_OpenDocument interface{} `json:"U_GM_OpenDocument"`
U_Z3B1_SAPFE_DocType string `json:"U_Z3B1_SAPFE_DocType"`
U_GM_CdC_List interface{} `json:"U_GM_CdC_List"`
U_GM_Prj_List interface{} `json:"U_GM_Prj_List"`
U_Z3B1_SAPFE_DocTypeAFat string `json:"U_Z3B1_SAPFE_DocTypeAFat"`
U_SAPFE_XMLFILEAFatt interface{} `json:"U_SAPFE_XMLFILEAFatt"`
U_B1SYS_INV_TYPE interface{} `json:"U_B1SYS_INV_TYPE"`
U_Z3B1_SAPFE_Ecobonus string `json:"U_Z3B1_SAPFE_Ecobonus"`
U_DF_MercRef interface{} `json:"U_DF_MercRef"`
U_DF_MercData interface{} `json:"U_DF_MercData"`
U_DF_PspRef interface{} `json:"U_DF_PspRef"`
U_expToDcfT string `json:"U_expToDcfT"`
U_RatingT string `json:"U_RatingT"`
U_VoceFinT string `json:"U_VoceFinT"`
U_GGRitardoT interface{} `json:"U_GGRitardoT"`
U_Z3_ID_ZOHO interface{} `json:"U_Z3_ID_ZOHO"`
U_Z3_IMPORT_ZOHO string `json:"U_Z3_IMPORT_ZOHO"`
U_Z3_STRUTTURA string `json:"U_Z3_STRUTTURA"`
Document_ApprovalRequests []interface{} `json:"Document_ApprovalRequests"`
DocumentLines []DeliveryNoteDocumentLine `json:"DocumentLines"`
EWayBillDetails interface{} `json:"EWayBillDetails"`
ElectronicProtocols []interface{} `json:"ElectronicProtocols"`
DocumentAdditionalExpenses []interface{} `json:"DocumentAdditionalExpenses"`
WithholdingTaxDataWTXCollection []interface{} `json:"WithholdingTaxDataWTXCollection"`
WithholdingTaxDataCollection []interface{} `json:"WithholdingTaxDataCollection"`
DocumentPackages []interface{} `json:"DocumentPackages"`
DocumentSpecialLines []interface{} `json:"DocumentSpecialLines"`
TaxExtension TaxExtension `json:"TaxExtension"`
AddressExtension AddressExtension `json:"AddressExtension"`
DocumentReferences []interface{} `json:"DocumentReferences"`
}
type DeliveryNoteCreateOption ¶
type DeliveryNoteCreateOption func(*DeliveryNoteCreateRequest)
func DeliveryNoteCreateWithFullDeliveryNote ¶
func DeliveryNoteCreateWithFullDeliveryNote(deliveryNote *DeliveryNote) DeliveryNoteCreateOption
func DeliveryNoteCreateWithSimplifiedDeliveryNote ¶
func DeliveryNoteCreateWithSimplifiedDeliveryNote(deliveryNote *SimplifiedDeliveryNote) DeliveryNoteCreateOption
type DeliveryNoteCreateRequest ¶
type DeliveryNoteCreateRequest struct {
Note any
// contains filtered or unexported fields
}
func (*DeliveryNoteCreateRequest) Body ¶
func (r *DeliveryNoteCreateRequest) Body() any
func (*DeliveryNoteCreateRequest) Do ¶
func (r *DeliveryNoteCreateRequest) Do(ctx context.Context) (*DeliveryNote, error)
func (*DeliveryNoteCreateRequest) Method ¶
func (r *DeliveryNoteCreateRequest) Method() string
func (*DeliveryNoteCreateRequest) PathTemplate ¶
func (r *DeliveryNoteCreateRequest) PathTemplate() string
type DeliveryNoteCreateResponse ¶
type DeliveryNoteCreateResponse struct {
Context string `json:"@odata.context"`
Value DeliveryNotes `json:"value"`
NextLink string `json:"@odata.nextLink"`
}
type DeliveryNoteDocumentLine ¶
type DeliveryNoteDocumentLine struct {
LineNum int `json:"LineNum"`
ItemCode string `json:"ItemCode"`
ItemDescription string `json:"ItemDescription"`
Quantity float64 `json:"Quantity"`
ShipDate interface{} `json:"ShipDate"`
Price float64 `json:"Price"`
PriceAfterVAT float64 `json:"PriceAfterVAT"`
Currency string `json:"Currency"`
Rate float64 `json:"Rate"`
DiscountPercent float64 `json:"DiscountPercent"`
VendorNum string `json:"VendorNum"`
SerialNum interface{} `json:"SerialNum"`
WarehouseCode string `json:"WarehouseCode"`
SalesPersonCode int `json:"SalesPersonCode"`
CommisionPercent float64 `json:"CommisionPercent"`
TreeType string `json:"TreeType"`
AccountCode string `json:"AccountCode"`
UseBaseUnits string `json:"UseBaseUnits"`
SupplierCatNum string `json:"SupplierCatNum"`
CostingCode string `json:"CostingCode"`
ProjectCode string `json:"ProjectCode"`
BarCode interface{} `json:"BarCode"`
VatGroup string `json:"VatGroup"`
Height1 float64 `json:"Height1"`
Hight1Unit interface{} `json:"Hight1Unit"`
Height2 float64 `json:"Height2"`
Height2Unit interface{} `json:"Height2Unit"`
Lengh1 float64 `json:"Lengh1"`
Lengh1Unit interface{} `json:"Lengh1Unit"`
Lengh2 float64 `json:"Lengh2"`
Lengh2Unit interface{} `json:"Lengh2Unit"`
Weight1 float64 `json:"Weight1"`
Weight1Unit interface{} `json:"Weight1Unit"`
Weight2 float64 `json:"Weight2"`
Weight2Unit interface{} `json:"Weight2Unit"`
Factor1 float64 `json:"Factor1"`
Factor2 float64 `json:"Factor2"`
Factor3 float64 `json:"Factor3"`
Factor4 float64 `json:"Factor4"`
BaseType int `json:"BaseType"`
BaseEntry interface{} `json:"BaseEntry"`
BaseLine interface{} `json:"BaseLine"`
Volume float64 `json:"Volume"`
VolumeUnit int `json:"VolumeUnit"`
Width1 float64 `json:"Width1"`
Width1Unit interface{} `json:"Width1Unit"`
Width2 float64 `json:"Width2"`
Width2Unit interface{} `json:"Width2Unit"`
Address string `json:"Address"`
TaxCode interface{} `json:"TaxCode"`
TaxType string `json:"TaxType"`
TaxLiable string `json:"TaxLiable"`
PickStatus string `json:"PickStatus"`
PickQuantity float64 `json:"PickQuantity"`
PickListIdNumber interface{} `json:"PickListIdNumber"`
OriginalItem interface{} `json:"OriginalItem"`
BackOrder string `json:"BackOrder"`
FreeText string `json:"FreeText"`
ShippingMethod int `json:"ShippingMethod"`
POTargetNum interface{} `json:"POTargetNum"`
POTargetEntry string `json:"POTargetEntry"`
POTargetRowNum interface{} `json:"POTargetRowNum"`
CorrectionInvoiceItem string `json:"CorrectionInvoiceItem"`
CorrInvAmountToStock float64 `json:"CorrInvAmountToStock"`
CorrInvAmountToDiffAcct float64 `json:"CorrInvAmountToDiffAcct"`
AppliedTax float64 `json:"AppliedTax"`
AppliedTaxFC float64 `json:"AppliedTaxFC"`
AppliedTaxSC float64 `json:"AppliedTaxSC"`
WTLiable string `json:"WTLiable"`
DeferredTax string `json:"DeferredTax"`
EqualizationTaxPercent float64 `json:"EqualizationTaxPercent"`
TotalEqualizationTax float64 `json:"TotalEqualizationTax"`
TotalEqualizationTaxFC float64 `json:"TotalEqualizationTaxFC"`
TotalEqualizationTaxSC float64 `json:"TotalEqualizationTaxSC"`
NetTaxAmount float64 `json:"NetTaxAmount"`
NetTaxAmountFC float64 `json:"NetTaxAmountFC"`
NetTaxAmountSC float64 `json:"NetTaxAmountSC"`
MeasureUnit string `json:"MeasureUnit"`
UnitsOfMeasurment float64 `json:"UnitsOfMeasurment"`
LineTotal float64 `json:"LineTotal"`
TaxPercentagePerRow float64 `json:"TaxPercentagePerRow"`
TaxTotal float64 `json:"TaxTotal"`
ConsumerSalesForecast string `json:"ConsumerSalesForecast"`
ExciseAmount float64 `json:"ExciseAmount"`
TaxPerUnit float64 `json:"TaxPerUnit"`
TotalInclTax float64 `json:"TotalInclTax"`
CountryOrg interface{} `json:"CountryOrg"`
SWW string `json:"SWW"`
TransactionType interface{} `json:"TransactionType"`
DistributeExpense string `json:"DistributeExpense"`
RowTotalFC float64 `json:"RowTotalFC"`
RowTotalSC float64 `json:"RowTotalSC"`
LastBuyInmPrice float64 `json:"LastBuyInmPrice"`
LastBuyDistributeSumFc float64 `json:"LastBuyDistributeSumFc"`
LastBuyDistributeSumSc float64 `json:"LastBuyDistributeSumSc"`
LastBuyDistributeSum float64 `json:"LastBuyDistributeSum"`
StockDistributesumForeign float64 `json:"StockDistributesumForeign"`
StockDistributesumSystem float64 `json:"StockDistributesumSystem"`
StockDistributesum float64 `json:"StockDistributesum"`
StockInmPrice float64 `json:"StockInmPrice"`
PickStatusEx string `json:"PickStatusEx"`
TaxBeforeDPM float64 `json:"TaxBeforeDPM"`
TaxBeforeDPMFC float64 `json:"TaxBeforeDPMFC"`
TaxBeforeDPMSC float64 `json:"TaxBeforeDPMSC"`
CFOPCode interface{} `json:"CFOPCode"`
CSTCode interface{} `json:"CSTCode"`
Usage interface{} `json:"Usage"`
TaxOnly string `json:"TaxOnly"`
VisualOrder int `json:"VisualOrder"`
BaseOpenQuantity float64 `json:"BaseOpenQuantity"`
UnitPrice float64 `json:"UnitPrice"`
LineStatus string `json:"LineStatus"`
PackageQuantity float64 `json:"PackageQuantity"`
Text string `json:"Text"`
LineType string `json:"LineType"`
COGSCostingCode string `json:"COGSCostingCode"`
COGSAccountCode string `json:"COGSAccountCode"`
ChangeAssemlyBoMWarehouse string `json:"ChangeAssemlyBoMWarehouse"`
GrossBuyPrice float64 `json:"GrossBuyPrice"`
GrossBase int `json:"GrossBase"`
GrossProfitTotalBasePrice float64 `json:"GrossProfitTotalBasePrice"`
CostingCode2 string `json:"CostingCode2"`
CostingCode3 interface{} `json:"CostingCode3"`
CostingCode4 interface{} `json:"CostingCode4"`
CostingCode5 interface{} `json:"CostingCode5"`
ItemDetails interface{} `json:"ItemDetails"`
LocationCode interface{} `json:"LocationCode"`
ActualDeliveryDate string `json:"ActualDeliveryDate"`
RemainingOpenQuantity float64 `json:"RemainingOpenQuantity"`
OpenAmount float64 `json:"OpenAmount"`
OpenAmountFC float64 `json:"OpenAmountFC"`
OpenAmountSC float64 `json:"OpenAmountSC"`
ExLineNo interface{} `json:"ExLineNo"`
RequiredDate interface{} `json:"RequiredDate"`
RequiredQuantity float64 `json:"RequiredQuantity"`
COGSCostingCode2 string `json:"COGSCostingCode2"`
COGSCostingCode3 interface{} `json:"COGSCostingCode3"`
COGSCostingCode4 interface{} `json:"COGSCostingCode4"`
COGSCostingCode5 interface{} `json:"COGSCostingCode5"`
CSTforIPI interface{} `json:"CSTforIPI"`
CSTforPIS interface{} `json:"CSTforPIS"`
CSTforCOFINS interface{} `json:"CSTforCOFINS"`
CreditOriginCode interface{} `json:"CreditOriginCode"`
WithoutInventoryMovement string `json:"WithoutInventoryMovement"`
AgreementNo interface{} `json:"AgreementNo"`
AgreementRowNumber interface{} `json:"AgreementRowNumber"`
ActualBaseEntry interface{} `json:"ActualBaseEntry"`
ActualBaseLine interface{} `json:"ActualBaseLine"`
DocEntry int `json:"DocEntry"`
Surpluses float64 `json:"Surpluses"`
DefectAndBreakup float64 `json:"DefectAndBreakup"`
Shortages float64 `json:"Shortages"`
ConsiderQuantity string `json:"ConsiderQuantity"`
PartialRetirement string `json:"PartialRetirement"`
RetirementQuantity float64 `json:"RetirementQuantity"`
RetirementAPC float64 `json:"RetirementAPC"`
ThirdParty string `json:"ThirdParty"`
PoNum interface{} `json:"PoNum"`
PoItmNum interface{} `json:"PoItmNum"`
ExpenseType interface{} `json:"ExpenseType"`
ReceiptNumber interface{} `json:"ReceiptNumber"`
ExpenseOperationType interface{} `json:"ExpenseOperationType"`
FederalTaxID interface{} `json:"FederalTaxID"`
GrossProfit float64 `json:"GrossProfit"`
GrossProfitFC float64 `json:"GrossProfitFC"`
GrossProfitSC float64 `json:"GrossProfitSC"`
PriceSource string `json:"PriceSource"`
StgSeqNum interface{} `json:"StgSeqNum"`
StgEntry interface{} `json:"StgEntry"`
StgDesc interface{} `json:"StgDesc"`
UoMEntry int `json:"UoMEntry"`
UoMCode string `json:"UoMCode"`
InventoryQuantity float64 `json:"InventoryQuantity"`
RemainingOpenInventoryQuantity float64 `json:"RemainingOpenInventoryQuantity"`
ParentLineNum interface{} `json:"ParentLineNum"`
Incoterms int `json:"Incoterms"`
TransportMode int `json:"TransportMode"`
NatureOfTransaction int `json:"NatureOfTransaction"`
DestinationCountryForImport interface{} `json:"DestinationCountryForImport"`
DestinationRegionForImport int `json:"DestinationRegionForImport"`
OriginCountryForExport string `json:"OriginCountryForExport"`
OriginRegionForExport int `json:"OriginRegionForExport"`
ItemType string `json:"ItemType"`
ChangeInventoryQuantityIndependently string `json:"ChangeInventoryQuantityIndependently"`
FreeOfChargeBP string `json:"FreeOfChargeBP"`
SACEntry interface{} `json:"SACEntry"`
HSNEntry interface{} `json:"HSNEntry"`
GrossPrice float64 `json:"GrossPrice"`
GrossTotal float64 `json:"GrossTotal"`
GrossTotalFC float64 `json:"GrossTotalFC"`
GrossTotalSC float64 `json:"GrossTotalSC"`
NCMCode int `json:"NCMCode"`
NVECode interface{} `json:"NVECode"`
IndEscala string `json:"IndEscala"`
CtrSealQty float64 `json:"CtrSealQty"`
CNJPMan interface{} `json:"CNJPMan"`
CESTCode int `json:"CESTCode"`
UFFiscalBenefitCode interface{} `json:"UFFiscalBenefitCode"`
ReverseCharge string `json:"ReverseCharge"`
ShipToCode string `json:"ShipToCode"`
ShipToDescription string `json:"ShipToDescription"`
ExternalCalcTaxRate float64 `json:"ExternalCalcTaxRate"`
ExternalCalcTaxAmount float64 `json:"ExternalCalcTaxAmount"`
ExternalCalcTaxAmountFC float64 `json:"ExternalCalcTaxAmountFC"`
ExternalCalcTaxAmountSC float64 `json:"ExternalCalcTaxAmountSC"`
StandardItemIdentification int `json:"StandardItemIdentification"`
CommodityClassification int `json:"CommodityClassification"`
UnencumberedReason interface{} `json:"UnencumberedReason"`
CUSplit string `json:"CUSplit"`
ListNum int `json:"ListNum"`
U_GM_Rif4 interface{} `json:"U_GM_Rif4"`
U_GM_IntraCode interface{} `json:"U_GM_IntraCode"`
U_Z3_DCompDa interface{} `json:"U_Z3_DCompDa"`
U_Z3_DCompA interface{} `json:"U_Z3_DCompA"`
U_INFOBIT_DESCIVA interface{} `json:"U_INFOBIT_DESCIVA"`
U_INFOBIT_RateoRisc string `json:"U_INFOBIT_RateoRisc"`
U_INFOBIT_RatDataIni interface{} `json:"U_INFOBIT_RatDataIni"`
U_INFOBIT_RatDataFin interface{} `json:"U_INFOBIT_RatDataFin"`
U_INFOBIT_ConLeasing interface{} `json:"U_INFOBIT_ConLeasing"`
U_INFOBIT_IncLeasing string `json:"U_INFOBIT_IncLeasing"`
U_GM_DataFatt interface{} `json:"U_GM_DataFatt"`
U_GM_FotoPrint interface{} `json:"U_GM_FotoPrint"`
U_GM_DataScPg interface{} `json:"U_GM_DataScPg"`
U_GM_DescCatalog interface{} `json:"U_GM_DescCatalog"`
U_Z3_DESCCOGE interface{} `json:"U_Z3_DESCCOGE"`
U_LEAS_QUOTA_CAPITALE interface{} `json:"U_LEAS_QUOTA_CAPITALE"`
U_LEAS_QUOTA_INTERESSI interface{} `json:"U_LEAS_QUOTA_INTERESSI"`
U_LEAS_RESIDUO interface{} `json:"U_LEAS_RESIDUO"`
U_LEAS_RESIDUO_INT interface{} `json:"U_LEAS_RESIDUO_INT"`
U_LEAS_IMPAMM interface{} `json:"U_LEAS_IMPAMM"`
U_GM_DescrCTR interface{} `json:"U_GM_DescrCTR"`
U_Z3_GME_COListPrice interface{} `json:"U_Z3_GM_ECO_ListPrice"`
U_Z3_GME_CORefPrice interface{} `json:"U_Z3_GM_ECO_RefPrice"`
U_Z3_GME_CORefTotal interface{} `json:"U_Z3_GM_ECO_RefTotal"`
U_Z3_GME_COOmagType interface{} `json:"U_Z3_GM_ECO_OmagType"`
U_Z3_GME_CContabType interface{} `json:"U_Z3_GM_ECO_ContabType"`
U_Z3_GME_CONotes interface{} `json:"U_Z3_GM_ECO_Notes"`
U_Z3_GME_COOnHandQty interface{} `json:"U_Z3_GM_ECO_OnHandQty"`
U_Z3_RATEI_COGE interface{} `json:"U_Z3_RATEI_COGE"`
U_Z3_GM_ECO_BaseEntryTS interface{} `json:"U_Z3_GM_ECO_BaseEntryTS"`
U_Z3_GM_ECO_BaseLineTS interface{} `json:"U_Z3_GM_ECO_BaseLineTS"`
U_B1SYS_Discount float64 `json:"U_B1SYS_Discount"`
U_B1SYS_DiscountFC float64 `json:"U_B1SYS_Discount_FC"`
U_B1SYS_DiscountSC float64 `json:"U_B1SYS_Discount_SC"`
U_B1SYS_DiscountVat float64 `json:"U_B1SYS_DiscountVat"`
U_B1SYS_DiscountVtFC float64 `json:"U_B1SYS_DiscountVtFC"`
U_B1SYS_DiscountVtSC float64 `json:"U_B1SYS_DiscountVtSC"`
LineTaxJurisdictions []interface{} `json:"LineTaxJurisdictions"`
ExportProcesses []interface{} `json:"ExportProcesses"`
DocumentLineAdditionalExpenses []interface{} `json:"DocumentLineAdditionalExpenses"`
WithholdingTaxLines []interface{} `json:"WithholdingTaxLines"`
SerialNumbers []interface{} `json:"SerialNumbers"`
BatchNumbers []interface{} `json:"BatchNumbers"`
CCDNumbers []interface{} `json:"CCDNumbers"`
DocumentLinesBinAllocations []interface{} `json:"DocumentLinesBinAllocations"`
}
type DeliveryNoteGetAllOption ¶
type DeliveryNoteGetAllOption func(*DeliveryNoteGetAllRequest)
func DeliveryNoteGetAllWithFilter ¶
func DeliveryNoteGetAllWithFilter(filter string) DeliveryNoteGetAllOption
func DeliveryNoteGetAllWithSelect ¶
func DeliveryNoteGetAllWithSelect(selectFields ...string) DeliveryNoteGetAllOption
type DeliveryNoteGetAllRequest ¶
type DeliveryNoteGetAllRequest struct {
Select *odata.Select `query:"$select,omitempty"`
Filter *odata.Filter `query:"$filter,omitempty"`
Top odata.Top `query:"$top,omitempty"`
Skip odata.Skip `query:"$skip,omitempty"`
// contains filtered or unexported fields
}
func (*DeliveryNoteGetAllRequest) Do ¶
func (r *DeliveryNoteGetAllRequest) Do(ctx context.Context) (DeliveryNotes, error)
func (*DeliveryNoteGetAllRequest) Method ¶
func (r *DeliveryNoteGetAllRequest) Method() string
func (*DeliveryNoteGetAllRequest) PathTemplate ¶
func (r *DeliveryNoteGetAllRequest) PathTemplate() string
type DeliveryNoteGetAllResponse ¶
type DeliveryNoteGetAllResponse struct {
Context string `json:"@odata.context"`
Value DeliveryNotes `json:"value"`
NextLink string `json:"@odata.nextLink"`
}
type DeliveryNotes ¶
type DeliveryNotes []DeliveryNote
type DocumentLine ¶
type DocumentLine struct {
AccountCode string `json:"AccountCode,omitempty"`
ItemCode string `json:"ItemCode,omitempty"`
ItemDescription string `json:"ItemDescription,omitempty"`
UnitPrice float64 `json:"UnitPrice,omitempty"`
Quantity string `json:"Quantity,omitempty"`
DiscountPercent string `json:"DiscountPercent,omitempty"`
VATRate string `json:"VatRate,omitempty"`
FreeText string `json:"FreeText,omitempty"`
PriceAfterVAT float64 `json:"PriceAfterVAT,omitempty"`
ItemsGroupCode string `json:"ItemsGroupCode,omitempty"`
Ccoste string `json:"Ccoste,omitempty"`
Currency string `json:"Currency,omitempty"`
TaxCode string `json:"TaxCode,omitempty"`
}
type DocumentLines ¶
type DocumentLines []DocumentLine
type ErrorResponse ¶
type ErrorResponse struct {
// HTTP response that caused this error
Response *http.Response
Err struct {
Code interface{} `json:"code"`
Message struct {
Lang string `json:"lang"`
Value string `json:"value"`
} `json:"message"`
} `json:"error"`
}
func (ErrorResponse) Error ¶
func (r ErrorResponse) Error() string
type Invoice ¶
type Invoice struct {
DocDate Date `json:"DocDate,omitempty"`
DocDueDate Date `json:"DocDueDate,omitempty"`
DueDate Date `json:"DueDate,omitempty"`
CardCode string `json:"CardCode,omitempty"`
TaxDate Date `json:"TaxDate,omitempty"`
Comments string `json:"Comments,omitempty"`
DocObjectCode string `json:"DocObjectCode,omitempty"`
DocType string `json:"DocType,omitempty"`
CashSum float64 `json:"CashSum,omitempty"`
DocumentLines DocumentLines `json:"DocumentLines,omitempty"`
PaymentInvoices PaymentInvoices `json:"PaymentInvoices,omitempty"`
}
type InvoicesPostRequest ¶
type InvoicesPostRequest struct {
// contains filtered or unexported fields
}
func (*InvoicesPostRequest) Do ¶
func (r *InvoicesPostRequest) Do(ctx context.Context) (InvoicesPostResponseBody, error)
func (*InvoicesPostRequest) Method ¶
func (r *InvoicesPostRequest) Method() string
func (InvoicesPostRequest) NewPathParams ¶
func (r InvoicesPostRequest) NewPathParams() *InvoicesPostRequestPathParams
func (InvoicesPostRequest) NewQueryParams ¶
func (r InvoicesPostRequest) NewQueryParams() *InvoicesPostRequestQueryParams
func (InvoicesPostRequest) NewRequestBody ¶
func (r InvoicesPostRequest) NewRequestBody() InvoicesPostRequestBody
func (*InvoicesPostRequest) NewResponseBody ¶
func (r *InvoicesPostRequest) NewResponseBody() *InvoicesPostResponseBody
func (*InvoicesPostRequest) Path ¶
func (r *InvoicesPostRequest) Path() *string
func (*InvoicesPostRequest) PathParams ¶
func (r *InvoicesPostRequest) PathParams() *InvoicesPostRequestPathParams
func (*InvoicesPostRequest) PathParamsInterface ¶
func (r *InvoicesPostRequest) PathParamsInterface() PathParams
func (*InvoicesPostRequest) QueryParams ¶
func (r *InvoicesPostRequest) QueryParams() *InvoicesPostRequestQueryParams
func (*InvoicesPostRequest) RequestBody ¶
func (r *InvoicesPostRequest) RequestBody() *InvoicesPostRequestBody
func (*InvoicesPostRequest) RequestBodyInterface ¶
func (r *InvoicesPostRequest) RequestBodyInterface() interface{}
func (*InvoicesPostRequest) SetMethod ¶
func (r *InvoicesPostRequest) SetMethod(method string)
func (*InvoicesPostRequest) SetRequestBody ¶
func (r *InvoicesPostRequest) SetRequestBody(body InvoicesPostRequestBody)
func (*InvoicesPostRequest) URL ¶
func (r *InvoicesPostRequest) URL() *url.URL
type InvoicesPostRequestBody ¶
type InvoicesPostRequestBody Invoice
type InvoicesPostRequestPathParams ¶
type InvoicesPostRequestPathParams struct {
}
func (*InvoicesPostRequestPathParams) Params ¶
func (p *InvoicesPostRequestPathParams) Params() map[string]string
type InvoicesPostRequestQueryParams ¶
type InvoicesPostRequestQueryParams struct {
}
func (InvoicesPostRequestQueryParams) ToURLValues ¶
func (p InvoicesPostRequestQueryParams) ToURLValues() (url.Values, error)
type InvoicesPostResponseBody ¶
type InvoicesPostResponseBody Invoice
type Item ¶
type Item struct {
ETag string `json:"@odata.etag,omitempty"`
ItemCode string `json:"ItemCode"`
ItemName string `json:"ItemName"`
ForeignName interface{} `json:"ForeignName"`
ItemsGroupCode int `json:"ItemsGroupCode"`
CustomsGroupCode int `json:"CustomsGroupCode"`
SalesVATGroup interface{} `json:"SalesVATGroup"`
BarCode interface{} `json:"BarCode"`
VATLiable string `json:"VatLiable"`
PurchaseItem string `json:"PurchaseItem"`
SalesItem string `json:"SalesItem"`
InventoryItem string `json:"InventoryItem"`
IncomeAccount interface{} `json:"IncomeAccount"`
ExemptIncomeAccount interface{} `json:"ExemptIncomeAccount"`
ExpanseAccount interface{} `json:"ExpanseAccount"`
Mainsupplier interface{} `json:"Mainsupplier"`
SupplierCatalogNo interface{} `json:"SupplierCatalogNo"`
DesiredInventory float64 `json:"DesiredInventory"`
MinInventory float64 `json:"MinInventory"`
Picture interface{} `json:"Picture"`
UserText interface{} `json:"User_Text"`
SerialNum interface{} `json:"SerialNum"`
CommissionPercent float64 `json:"CommissionPercent"`
CommissionSum float64 `json:"CommissionSum"`
CommissionGroup int `json:"CommissionGroup"`
TreeType string `json:"TreeType"`
AssetItem string `json:"AssetItem"`
DataExportCode interface{} `json:"DataExportCode"`
Manufacturer int `json:"Manufacturer"`
QuantityOnStock float64 `json:"QuantityOnStock"`
QuantityOrderedFromVendors float64 `json:"QuantityOrderedFromVendors"`
QuantityOrderedByCustomers float64 `json:"QuantityOrderedByCustomers"`
ManageSerialNumbers string `json:"ManageSerialNumbers"`
ManageBatchNumbers string `json:"ManageBatchNumbers"`
Valid string `json:"Valid"`
ValidFrom interface{} `json:"ValidFrom"`
ValidTo interface{} `json:"ValidTo"`
ValidRemarks interface{} `json:"ValidRemarks"`
Frozen string `json:"Frozen"`
FrozenFrom interface{} `json:"FrozenFrom"`
FrozenTo interface{} `json:"FrozenTo"`
FrozenRemarks interface{} `json:"FrozenRemarks"`
SalesUnit string `json:"SalesUnit"`
SalesItemsPerUnit float64 `json:"SalesItemsPerUnit"`
SalesPackagingUnit string `json:"SalesPackagingUnit"`
SalesQtyPerPackUnit float64 `json:"SalesQtyPerPackUnit"`
SalesUnitLength float64 `json:"SalesUnitLength"`
SalesLengthUnit interface{} `json:"SalesLengthUnit"`
SalesUnitWidth float64 `json:"SalesUnitWidth"`
SalesWidthUnit interface{} `json:"SalesWidthUnit"`
SalesUnitHeight float64 `json:"SalesUnitHeight"`
SalesHeightUnit interface{} `json:"SalesHeightUnit"`
SalesUnitVolume float64 `json:"SalesUnitVolume"`
SalesVolumeUnit int `json:"SalesVolumeUnit"`
SalesUnitWeight float64 `json:"SalesUnitWeight"`
SalesWeightUnit interface{} `json:"SalesWeightUnit"`
PurchaseUnit string `json:"PurchaseUnit"`
PurchaseItemsPerUnit float64 `json:"PurchaseItemsPerUnit"`
PurchasePackagingUnit string `json:"PurchasePackagingUnit"`
PurchaseQtyPerPackUnit float64 `json:"PurchaseQtyPerPackUnit"`
PurchaseUnitLength float64 `json:"PurchaseUnitLength"`
PurchaseLengthUnit interface{} `json:"PurchaseLengthUnit"`
PurchaseUnitWidth float64 `json:"PurchaseUnitWidth"`
PurchaseWidthUnit interface{} `json:"PurchaseWidthUnit"`
PurchaseUnitHeight float64 `json:"PurchaseUnitHeight"`
PurchaseHeightUnit interface{} `json:"PurchaseHeightUnit"`
PurchaseUnitVolume float64 `json:"PurchaseUnitVolume"`
PurchaseVolumeUnit int `json:"PurchaseVolumeUnit"`
PurchaseUnitWeight float64 `json:"PurchaseUnitWeight"`
PurchaseWeightUnit interface{} `json:"PurchaseWeightUnit"`
PurchaseVATGroup interface{} `json:"PurchaseVATGroup"`
SalesFactor1 float64 `json:"SalesFactor1"`
SalesFactor2 float64 `json:"SalesFactor2"`
SalesFactor3 float64 `json:"SalesFactor3"`
SalesFactor4 float64 `json:"SalesFactor4"`
PurchaseFactor1 float64 `json:"PurchaseFactor1"`
PurchaseFactor2 float64 `json:"PurchaseFactor2"`
PurchaseFactor3 float64 `json:"PurchaseFactor3"`
PurchaseFactor4 float64 `json:"PurchaseFactor4"`
MovingAveragePrice float64 `json:"MovingAveragePrice"`
ForeignRevenuesAccount interface{} `json:"ForeignRevenuesAccount"`
ECRevenuesAccount interface{} `json:"ECRevenuesAccount"`
ForeignExpensesAccount interface{} `json:"ForeignExpensesAccount"`
ECExpensesAccount interface{} `json:"ECExpensesAccount"`
AvgStdPrice float64 `json:"AvgStdPrice"`
DefaultWarehouse interface{} `json:"DefaultWarehouse"`
ShipType interface{} `json:"ShipType"`
GLMethod string `json:"GLMethod"`
TaxType string `json:"TaxType"`
MaxInventory float64 `json:"MaxInventory"`
ManageStockByWarehouse string `json:"ManageStockByWarehouse"`
PurchaseHeightUnit1 interface{} `json:"PurchaseHeightUnit1"`
PurchaseUnitHeight1 float64 `json:"PurchaseUnitHeight1"`
PurchaseLengthUnit1 interface{} `json:"PurchaseLengthUnit1"`
PurchaseUnitLength1 float64 `json:"PurchaseUnitLength1"`
PurchaseWeightUnit1 interface{} `json:"PurchaseWeightUnit1"`
PurchaseUnitWeight1 float64 `json:"PurchaseUnitWeight1"`
PurchaseWidthUnit1 interface{} `json:"PurchaseWidthUnit1"`
PurchaseUnitWidth1 float64 `json:"PurchaseUnitWidth1"`
SalesHeightUnit1 interface{} `json:"SalesHeightUnit1"`
SalesUnitHeight1 float64 `json:"SalesUnitHeight1"`
SalesLengthUnit1 interface{} `json:"SalesLengthUnit1"`
SalesUnitLength1 float64 `json:"SalesUnitLength1"`
SalesWeightUnit1 interface{} `json:"SalesWeightUnit1"`
SalesUnitWeight1 float64 `json:"SalesUnitWeight1"`
SalesWidthUnit1 interface{} `json:"SalesWidthUnit1"`
SalesUnitWidth1 float64 `json:"SalesUnitWidth1"`
ForceSelectionOfSerialNumber string `json:"ForceSelectionOfSerialNumber"`
ManageSerialNumbersOnReleaseOnly string `json:"ManageSerialNumbersOnReleaseOnly"`
WTLiable string `json:"WTLiable"`
CostAccountingMethod string `json:"CostAccountingMethod"`
Sww interface{} `json:"SWW"`
WarrantyTemplate interface{} `json:"WarrantyTemplate"`
IndirectTax string `json:"IndirectTax"`
ArTaxCode interface{} `json:"ArTaxCode"`
ApTaxCode interface{} `json:"ApTaxCode"`
BaseUnitName interface{} `json:"BaseUnitName"`
ItemCountryOrg interface{} `json:"ItemCountryOrg"`
IssueMethod string `json:"IssueMethod"`
SRIAndBatchManageMethod string `json:"SRIAndBatchManageMethod"`
IsPhantom string `json:"IsPhantom"`
InventoryUOM string `json:"InventoryUOM"`
PlanningSystem string `json:"PlanningSystem"`
ProcurementMethod string `json:"ProcurementMethod"`
ComponentWarehouse string `json:"ComponentWarehouse"`
OrderIntervals interface{} `json:"OrderIntervals"`
OrderMultiple float64 `json:"OrderMultiple"`
LeadTime interface{} `json:"LeadTime"`
MinOrderQuantity float64 `json:"MinOrderQuantity"`
ItemType string `json:"ItemType"`
ItemClass string `json:"ItemClass"`
OutgoingServiceCode int `json:"OutgoingServiceCode"`
IncomingServiceCode int `json:"IncomingServiceCode"`
ServiceGroup int `json:"ServiceGroup"`
NCMCode int `json:"NCMCode"`
MaterialType string `json:"MaterialType"`
MaterialGroup int `json:"MaterialGroup"`
ProductSource string `json:"ProductSource"`
Properties1 string `json:"Properties1"`
Properties2 string `json:"Properties2"`
Properties3 string `json:"Properties3"`
Properties4 string `json:"Properties4"`
Properties5 string `json:"Properties5"`
Properties6 string `json:"Properties6"`
Properties7 string `json:"Properties7"`
Properties8 string `json:"Properties8"`
Properties9 string `json:"Properties9"`
Properties10 string `json:"Properties10"`
Properties11 string `json:"Properties11"`
Properties12 string `json:"Properties12"`
Properties13 string `json:"Properties13"`
Properties14 string `json:"Properties14"`
Properties15 string `json:"Properties15"`
Properties16 string `json:"Properties16"`
Properties17 string `json:"Properties17"`
Properties18 string `json:"Properties18"`
Properties19 string `json:"Properties19"`
Properties20 string `json:"Properties20"`
Properties21 string `json:"Properties21"`
Properties22 string `json:"Properties22"`
Properties23 string `json:"Properties23"`
Properties24 string `json:"Properties24"`
Properties25 string `json:"Properties25"`
Properties26 string `json:"Properties26"`
Properties27 string `json:"Properties27"`
Properties28 string `json:"Properties28"`
Properties29 string `json:"Properties29"`
Properties30 string `json:"Properties30"`
Properties31 string `json:"Properties31"`
Properties32 string `json:"Properties32"`
Properties33 string `json:"Properties33"`
Properties34 string `json:"Properties34"`
Properties35 string `json:"Properties35"`
Properties36 string `json:"Properties36"`
Properties37 string `json:"Properties37"`
Properties38 string `json:"Properties38"`
Properties39 string `json:"Properties39"`
Properties40 string `json:"Properties40"`
Properties41 string `json:"Properties41"`
Properties42 string `json:"Properties42"`
Properties43 string `json:"Properties43"`
Properties44 string `json:"Properties44"`
Properties45 string `json:"Properties45"`
Properties46 string `json:"Properties46"`
Properties47 string `json:"Properties47"`
Properties48 string `json:"Properties48"`
Properties49 string `json:"Properties49"`
Properties50 string `json:"Properties50"`
Properties51 string `json:"Properties51"`
Properties52 string `json:"Properties52"`
Properties53 string `json:"Properties53"`
Properties54 string `json:"Properties54"`
Properties55 string `json:"Properties55"`
Properties56 string `json:"Properties56"`
Properties57 string `json:"Properties57"`
Properties58 string `json:"Properties58"`
Properties59 string `json:"Properties59"`
Properties60 string `json:"Properties60"`
Properties61 string `json:"Properties61"`
Properties62 string `json:"Properties62"`
Properties63 string `json:"Properties63"`
Properties64 string `json:"Properties64"`
AutoCreateSerialNumbersOnRelease string `json:"AutoCreateSerialNumbersOnRelease"`
DNFEntry int `json:"DNFEntry"`
GTSItemSpec interface{} `json:"GTSItemSpec"`
GTSItemTaxCategory interface{} `json:"GTSItemTaxCategory"`
FuelID int `json:"FuelID"`
BeverageTableCode interface{} `json:"BeverageTableCode"`
BeverageGroupCode interface{} `json:"BeverageGroupCode"`
BeverageCommercialBrandCode int `json:"BeverageCommercialBrandCode"`
Series int `json:"Series"`
ToleranceDays interface{} `json:"ToleranceDays"`
TypeOfAdvancedRules string `json:"TypeOfAdvancedRules"`
IssuePrimarilyBy string `json:"IssuePrimarilyBy"`
NoDiscounts string `json:"NoDiscounts"`
AssetClass string `json:"AssetClass"`
AssetGroup string `json:"AssetGroup"`
InventoryNumber string `json:"InventoryNumber"`
Technician interface{} `json:"Technician"`
Employee interface{} `json:"Employee"`
Location interface{} `json:"Location"`
AssetStatus string `json:"AssetStatus"`
CapitalizationDate Date `json:"CapitalizationDate"`
StatisticalAsset string `json:"StatisticalAsset"`
Cession string `json:"Cession"`
DeactivateAfterUsefulLife string `json:"DeactivateAfterUsefulLife"`
ManageByQuantity string `json:"ManageByQuantity"`
UoMGroupEntry int `json:"UoMGroupEntry"`
InventoryUoMEntry int `json:"InventoryUoMEntry"`
DefaultSalesUoMEntry interface{} `json:"DefaultSalesUoMEntry"`
DefaultPurchasingUoMEntry interface{} `json:"DefaultPurchasingUoMEntry"`
DepreciationGroup interface{} `json:"DepreciationGroup"`
AssetSerialNumber string `json:"AssetSerialNumber"`
InventoryWeight float64 `json:"InventoryWeight"`
InventoryWeightUnit interface{} `json:"InventoryWeightUnit"`
InventoryWeight1 float64 `json:"InventoryWeight1"`
InventoryWeightUnit1 interface{} `json:"InventoryWeightUnit1"`
DefaultCountingUnit interface{} `json:"DefaultCountingUnit"`
CountingItemsPerUnit float64 `json:"CountingItemsPerUnit"`
DefaultCountingUoMEntry interface{} `json:"DefaultCountingUoMEntry"`
Excisable string `json:"Excisable"`
ChapterID int `json:"ChapterID"`
ScsCode interface{} `json:"ScsCode"`
SpProdType interface{} `json:"SpProdType"`
ProdStdCost float64 `json:"ProdStdCost"`
InCostRollup string `json:"InCostRollup"`
VirtualAssetItem string `json:"VirtualAssetItem"`
EnforceAssetSerialNumbers string `json:"EnforceAssetSerialNumbers"`
AttachmentEntry interface{} `json:"AttachmentEntry"`
LinkedResource interface{} `json:"LinkedResource"`
UpdateDate Date `json:"UpdateDate"`
UpdateTime string `json:"UpdateTime"`
GSTRelevnt string `json:"GSTRelevnt"`
SACEntry int `json:"SACEntry"`
GSTTaxCategory string `json:"GSTTaxCategory"`
ServiceCategoryEntry int `json:"ServiceCategoryEntry"`
CapitalGoodsOnHoldPercent interface{} `json:"CapitalGoodsOnHoldPercent"`
CapitalGoodsOnHoldLimit interface{} `json:"CapitalGoodsOnHoldLimit"`
AssessableValue float64 `json:"AssessableValue"`
AssVal4WTR float64 `json:"AssVal4WTR"`
SOIExcisable string `json:"SOIExcisable"`
Tnved interface{} `json:"TNVED"`
ImportedItem string `json:"ImportedItem"`
PricingUnit int `json:"PricingUnit"`
CreateDate Date `json:"CreateDate"`
CreateTime string `json:"CreateTime"`
NVECode interface{} `json:"NVECode"`
CtrSealQty float64 `json:"CtrSealQty"`
CESTCode int `json:"CESTCode"`
LegalText interface{} `json:"LegalText"`
ItemPrices []struct {
PriceList int `json:"PriceList"`
Price float64 `json:"Price"`
Currency interface{} `json:"Currency"`
AdditionalPrice1 float64 `json:"AdditionalPrice1"`
AdditionalCurrency1 interface{} `json:"AdditionalCurrency1"`
AdditionalPrice2 float64 `json:"AdditionalPrice2"`
AdditionalCurrency2 interface{} `json:"AdditionalCurrency2"`
BasePriceList int `json:"BasePriceList"`
Factor float64 `json:"Factor"`
UoMPrices []interface{} `json:"UoMPrices"`
} `json:"ItemPrices"`
ItemWarehouseInfoCollection []struct {
MinimalStock float64 `json:"MinimalStock"`
MaximalStock float64 `json:"MaximalStock"`
MinimalOrder float64 `json:"MinimalOrder"`
StandardAveragePrice float64 `json:"StandardAveragePrice"`
Locked string `json:"Locked"`
InventoryAccount interface{} `json:"InventoryAccount"`
CostAccount interface{} `json:"CostAccount"`
TransferAccount interface{} `json:"TransferAccount"`
RevenuesAccount interface{} `json:"RevenuesAccount"`
VarienceAccount interface{} `json:"VarienceAccount"`
DecreasingAccount interface{} `json:"DecreasingAccount"`
IncreasingAccount interface{} `json:"IncreasingAccount"`
ReturningAccount interface{} `json:"ReturningAccount"`
ExpensesAccount interface{} `json:"ExpensesAccount"`
EURevenuesAccount interface{} `json:"EURevenuesAccount"`
EUExpensesAccount interface{} `json:"EUExpensesAccount"`
ForeignRevenueAcc interface{} `json:"ForeignRevenueAcc"`
ForeignExpensAcc interface{} `json:"ForeignExpensAcc"`
ExemptIncomeAcc interface{} `json:"ExemptIncomeAcc"`
PriceDifferenceAcc interface{} `json:"PriceDifferenceAcc"`
WarehouseCode string `json:"WarehouseCode"`
InStock float64 `json:"InStock"`
Committed float64 `json:"Committed"`
Ordered float64 `json:"Ordered"`
CountedQuantity float64 `json:"CountedQuantity"`
WasCounted string `json:"WasCounted"`
UserSignature int `json:"UserSignature"`
Counted float64 `json:"Counted"`
ExpenseClearingAct interface{} `json:"ExpenseClearingAct"`
PurchaseCreditAcc interface{} `json:"PurchaseCreditAcc"`
EUPurchaseCreditAcc interface{} `json:"EUPurchaseCreditAcc"`
ForeignPurchaseCreditAcc interface{} `json:"ForeignPurchaseCreditAcc"`
SalesCreditAcc interface{} `json:"SalesCreditAcc"`
SalesCreditEUAcc interface{} `json:"SalesCreditEUAcc"`
ExemptedCredits interface{} `json:"ExemptedCredits"`
SalesCreditForeignAcc interface{} `json:"SalesCreditForeignAcc"`
ExpenseOffsettingAccount interface{} `json:"ExpenseOffsettingAccount"`
WipAccount interface{} `json:"WipAccount"`
ExchangeRateDifferencesAcct interface{} `json:"ExchangeRateDifferencesAcct"`
GoodsClearingAcct interface{} `json:"GoodsClearingAcct"`
NegativeInventoryAdjustmentAccount interface{} `json:"NegativeInventoryAdjustmentAccount"`
CostInflationOffsetAccount interface{} `json:"CostInflationOffsetAccount"`
GLDecreaseAcct interface{} `json:"GLDecreaseAcct"`
GLIncreaseAcct interface{} `json:"GLIncreaseAcct"`
PAReturnAcct interface{} `json:"PAReturnAcct"`
PurchaseAcct interface{} `json:"PurchaseAcct"`
PurchaseOffsetAcct interface{} `json:"PurchaseOffsetAcct"`
ShippedGoodsAccount interface{} `json:"ShippedGoodsAccount"`
StockInflationOffsetAccount interface{} `json:"StockInflationOffsetAccount"`
StockInflationAdjustAccount interface{} `json:"StockInflationAdjustAccount"`
VATInRevenueAccount interface{} `json:"VATInRevenueAccount"`
WipVarianceAccount interface{} `json:"WipVarianceAccount"`
CostInflationAccount interface{} `json:"CostInflationAccount"`
WHIncomingCenvatAccount interface{} `json:"WHIncomingCenvatAccount"`
WHOutgoingCenvatAccount interface{} `json:"WHOutgoingCenvatAccount"`
StockInTransitAccount interface{} `json:"StockInTransitAccount"`
WipOffsetProfitAndLossAccount interface{} `json:"WipOffsetProfitAndLossAccount"`
InventoryOffsetProfitAndLossAccount interface{} `json:"InventoryOffsetProfitAndLossAccount"`
DefaultBin interface{} `json:"DefaultBin"`
DefaultBinEnforced string `json:"DefaultBinEnforced"`
PurchaseBalanceAccount interface{} `json:"PurchaseBalanceAccount"`
ItemCode string `json:"ItemCode"`
IndEscala string `json:"IndEscala"`
CNJPMan interface{} `json:"CNJPMan"`
ItemCycleCounts []interface{} `json:"ItemCycleCounts"`
} `json:"ItemWarehouseInfoCollection"`
ItemPreferredVendors []interface{} `json:"ItemPreferredVendors"`
ItemLocalizationInfos []interface{} `json:"ItemLocalizationInfos"`
ItemProjects []interface{} `json:"ItemProjects"`
ItemDistributionRules []interface{} `json:"ItemDistributionRules"`
ItemAttributeGroups []interface{} `json:"ItemAttributeGroups"`
ItemDepreciationParameters []interface{} `json:"ItemDepreciationParameters"`
ItemPeriodControls []interface{} `json:"ItemPeriodControls"`
ItemUnitOfMeasurementCollection []interface{} `json:"ItemUnitOfMeasurementCollection"`
ItemBarCodeCollection []interface{} `json:"ItemBarCodeCollection"`
ItemIntrastatExtension struct {
ItemCode string `json:"ItemCode"`
CommodityCode interface{} `json:"CommodityCode"`
SupplementaryUnit interface{} `json:"SupplementaryUnit"`
FactorOfSupplementaryUnit float64 `json:"FactorOfSupplementaryUnit"`
ImportRegionState interface{} `json:"ImportRegionState"`
ExportRegionState interface{} `json:"ExportRegionState"`
ImportNatureOfTransaction interface{} `json:"ImportNatureOfTransaction"`
ExportNatureOfTransaction interface{} `json:"ExportNatureOfTransaction"`
ImportStatisticalProcedure interface{} `json:"ImportStatisticalProcedure"`
ExportStatisticalProcedure interface{} `json:"ExportStatisticalProcedure"`
CountryOfOrigin interface{} `json:"CountryOfOrigin"`
ServiceCode interface{} `json:"ServiceCode"`
Type string `json:"Type"`
ServiceSupplyMethod string `json:"ServiceSupplyMethod"`
ServicePaymentMethod string `json:"ServicePaymentMethod"`
ImportRegionCountry string `json:"ImportRegionCountry"`
ExportRegionCountry string `json:"ExportRegionCountry"`
UseWeightInCalculation string `json:"UseWeightInCalculation"`
IntrastatRelevant string `json:"IntrastatRelevant"`
StatisticalCode interface{} `json:"StatisticalCode"`
} `json:"ItemIntrastatExtension"`
}
type ItemGetAllOption ¶
type ItemGetAllOption func(*ItemGetAllRequest)
func ItemGetAllWithSelect ¶
func ItemGetAllWithSelect(selectFields ...string) ItemGetAllOption
type ItemGetAllRequest ¶
type ItemGetAllRequest struct {
Select *odata.Select `query:"$select,omitempty"`
Filter *odata.Filter `query:"$filter,omitempty"`
Skip odata.Skip `query:"$skip,omitempty"`
Top odata.Top `query:"$top,omitempty"`
// contains filtered or unexported fields
}
func (*ItemGetAllRequest) Method ¶
func (i *ItemGetAllRequest) Method() string
func (*ItemGetAllRequest) PathTemplate ¶
func (i *ItemGetAllRequest) PathTemplate() string
type ItemGetAllResponse ¶
type ItemsGetRequest ¶
type ItemsGetRequest struct {
// contains filtered or unexported fields
}
func (*ItemsGetRequest) All ¶
func (r *ItemsGetRequest) All(ctx context.Context) (ItemsGetResponseBody, error)
func (*ItemsGetRequest) Do ¶
func (r *ItemsGetRequest) Do(ctx context.Context) (ItemsGetResponseBody, error)
func (*ItemsGetRequest) Method ¶
func (r *ItemsGetRequest) Method() string
func (ItemsGetRequest) NewPathParams ¶
func (r ItemsGetRequest) NewPathParams() *ItemsGetRequestPathParams
func (ItemsGetRequest) NewQueryParams ¶
func (r ItemsGetRequest) NewQueryParams() *ItemsGetRequestQueryParams
func (ItemsGetRequest) NewRequestBody ¶
func (r ItemsGetRequest) NewRequestBody() ItemsGetRequestBody
func (*ItemsGetRequest) NewResponseBody ¶
func (r *ItemsGetRequest) NewResponseBody() *ItemsGetResponseBody
func (*ItemsGetRequest) Path ¶
func (r *ItemsGetRequest) Path() *string
func (*ItemsGetRequest) PathParams ¶
func (r *ItemsGetRequest) PathParams() *ItemsGetRequestPathParams
func (*ItemsGetRequest) PathParamsInterface ¶
func (r *ItemsGetRequest) PathParamsInterface() PathParams
func (*ItemsGetRequest) QueryParams ¶
func (r *ItemsGetRequest) QueryParams() *ItemsGetRequestQueryParams
func (*ItemsGetRequest) RequestBody ¶
func (r *ItemsGetRequest) RequestBody() *ItemsGetRequestBody
func (*ItemsGetRequest) RequestBodyInterface ¶
func (r *ItemsGetRequest) RequestBodyInterface() interface{}
func (*ItemsGetRequest) SetMethod ¶
func (r *ItemsGetRequest) SetMethod(method string)
func (*ItemsGetRequest) SetRequestBody ¶
func (r *ItemsGetRequest) SetRequestBody(body ItemsGetRequestBody)
func (*ItemsGetRequest) URL ¶
func (r *ItemsGetRequest) URL() *url.URL
type ItemsGetRequestBody ¶
type ItemsGetRequestBody struct{}
type ItemsGetRequestPathParams ¶
type ItemsGetRequestPathParams struct {
}
func (*ItemsGetRequestPathParams) Params ¶
func (p *ItemsGetRequestPathParams) Params() map[string]string
type ItemsGetRequestQueryParams ¶
type ItemsGetRequestQueryParams struct {
Select *odata.Select `schema:"$select,omitempty"`
// Expand *odata.Expand `schema:"$expand,omitempty"`
Filter *odata.Filter `schema:"$filter,omitempty"`
Top *odata.Top `schema:"$top,omitempty"`
Skip *odata.Skip `schema:"$skip,omitempty"`
Count *odata.Count `schema:"$count,omitempty"`
}
func (ItemsGetRequestQueryParams) ToURLValues ¶
func (p ItemsGetRequestQueryParams) ToURLValues() (url.Values, error)
type ItemsGetResponseBody ¶
type JournalEntries ¶
type JournalEntries []JournalEntry
type JournalEntriesGetRequest ¶
type JournalEntriesGetRequest struct {
// contains filtered or unexported fields
}
func (*JournalEntriesGetRequest) All ¶
func (r *JournalEntriesGetRequest) All(ctx context.Context) (JournalEntriesGetResponseBody, error)
func (*JournalEntriesGetRequest) Do ¶
func (r *JournalEntriesGetRequest) Do(ctx context.Context) (JournalEntriesGetResponseBody, error)
func (*JournalEntriesGetRequest) Method ¶
func (r *JournalEntriesGetRequest) Method() string
func (JournalEntriesGetRequest) NewPathParams ¶
func (r JournalEntriesGetRequest) NewPathParams() *JournalEntriesGetRequestPathParams
func (JournalEntriesGetRequest) NewQueryParams ¶
func (r JournalEntriesGetRequest) NewQueryParams() *JournalEntriesGetRequestQueryParams
func (JournalEntriesGetRequest) NewRequestBody ¶
func (r JournalEntriesGetRequest) NewRequestBody() JournalEntriesGetRequestBody
func (*JournalEntriesGetRequest) NewResponseBody ¶
func (r *JournalEntriesGetRequest) NewResponseBody() *JournalEntriesGetResponseBody
func (*JournalEntriesGetRequest) Path ¶
func (r *JournalEntriesGetRequest) Path() *string
func (*JournalEntriesGetRequest) PathParams ¶
func (r *JournalEntriesGetRequest) PathParams() *JournalEntriesGetRequestPathParams
func (*JournalEntriesGetRequest) PathParamsInterface ¶
func (r *JournalEntriesGetRequest) PathParamsInterface() PathParams
func (*JournalEntriesGetRequest) QueryParams ¶
func (r *JournalEntriesGetRequest) QueryParams() *JournalEntriesGetRequestQueryParams
func (*JournalEntriesGetRequest) RequestBody ¶
func (r *JournalEntriesGetRequest) RequestBody() *JournalEntriesGetRequestBody
func (*JournalEntriesGetRequest) RequestBodyInterface ¶
func (r *JournalEntriesGetRequest) RequestBodyInterface() interface{}
func (*JournalEntriesGetRequest) SetMethod ¶
func (r *JournalEntriesGetRequest) SetMethod(method string)
func (*JournalEntriesGetRequest) SetRequestBody ¶
func (r *JournalEntriesGetRequest) SetRequestBody(body JournalEntriesGetRequestBody)
func (*JournalEntriesGetRequest) URL ¶
func (r *JournalEntriesGetRequest) URL() *url.URL
type JournalEntriesGetRequestBody ¶
type JournalEntriesGetRequestBody struct{}
type JournalEntriesGetRequestPathParams ¶
type JournalEntriesGetRequestPathParams struct {
}
func (*JournalEntriesGetRequestPathParams) Params ¶
func (p *JournalEntriesGetRequestPathParams) Params() map[string]string
type JournalEntriesGetRequestQueryParams ¶
type JournalEntriesGetRequestQueryParams struct {
Select *odata.Select `schema:"$select,omitempty"`
// Expand *odata.Expand `schema:"$expand,omitempty"`
Filter *odata.Filter `schema:"$filter,omitempty"`
Top *odata.Top `schema:"$top,omitempty"`
Skip *odata.Skip `schema:"$skip,omitempty"`
Count *odata.Count `schema:"$count,omitempty"`
}
func (JournalEntriesGetRequestQueryParams) ToURLValues ¶
func (p JournalEntriesGetRequestQueryParams) ToURLValues() (url.Values, error)
type JournalEntriesGetResponseBody ¶
type JournalEntriesGetResponseBody struct {
OdataMetadata string `json:"odata.metadata"`
Values JournalEntries `json:"value"`
OdataNextLink string `json:"odata.nextLink"`
}
type JournalEntriesPostRequest ¶
type JournalEntriesPostRequest struct {
// contains filtered or unexported fields
}
func (*JournalEntriesPostRequest) Do ¶
func (r *JournalEntriesPostRequest) Do(ctx context.Context) (JournalEntriesPostResponseBody, error)
func (*JournalEntriesPostRequest) Method ¶
func (r *JournalEntriesPostRequest) Method() string
func (JournalEntriesPostRequest) NewPathParams ¶
func (r JournalEntriesPostRequest) NewPathParams() *JournalEntriesPostRequestPathParams
func (JournalEntriesPostRequest) NewQueryParams ¶
func (r JournalEntriesPostRequest) NewQueryParams() *JournalEntriesPostRequestQueryParams
func (JournalEntriesPostRequest) NewRequestBody ¶
func (r JournalEntriesPostRequest) NewRequestBody() JournalEntriesPostRequestBody
func (*JournalEntriesPostRequest) NewResponseBody ¶
func (r *JournalEntriesPostRequest) NewResponseBody() *JournalEntriesPostResponseBody
func (*JournalEntriesPostRequest) Path ¶
func (r *JournalEntriesPostRequest) Path() *string
func (*JournalEntriesPostRequest) PathParams ¶
func (r *JournalEntriesPostRequest) PathParams() *JournalEntriesPostRequestPathParams
func (*JournalEntriesPostRequest) PathParamsInterface ¶
func (r *JournalEntriesPostRequest) PathParamsInterface() PathParams
func (*JournalEntriesPostRequest) QueryParams ¶
func (r *JournalEntriesPostRequest) QueryParams() *JournalEntriesPostRequestQueryParams
func (*JournalEntriesPostRequest) RequestBody ¶
func (r *JournalEntriesPostRequest) RequestBody() *JournalEntriesPostRequestBody
func (*JournalEntriesPostRequest) RequestBodyInterface ¶
func (r *JournalEntriesPostRequest) RequestBodyInterface() interface{}
func (*JournalEntriesPostRequest) SetMethod ¶
func (r *JournalEntriesPostRequest) SetMethod(method string)
func (*JournalEntriesPostRequest) SetRequestBody ¶
func (r *JournalEntriesPostRequest) SetRequestBody(body JournalEntriesPostRequestBody)
func (*JournalEntriesPostRequest) URL ¶
func (r *JournalEntriesPostRequest) URL() *url.URL
type JournalEntriesPostRequestBody ¶
type JournalEntriesPostRequestBody JournalEntry
type JournalEntriesPostRequestPathParams ¶
type JournalEntriesPostRequestPathParams struct {
}
func (*JournalEntriesPostRequestPathParams) Params ¶
func (p *JournalEntriesPostRequestPathParams) Params() map[string]string
type JournalEntriesPostRequestQueryParams ¶
type JournalEntriesPostRequestQueryParams struct {
}
func (JournalEntriesPostRequestQueryParams) ToURLValues ¶
func (p JournalEntriesPostRequestQueryParams) ToURLValues() (url.Values, error)
type JournalEntriesPostResponseBody ¶
type JournalEntriesPostResponseBody JournalEntry
type JournalEntry ¶
type JournalEntry struct {
ReferenceDate Date `json:"ReferenceDate,omitempty"`
Memo string `json:"Memo,omitempty"`
Reference string `json:"Reference,omitempty"`
Reference2 string `json:"Reference2,omitempty"`
Reference3 string `json:"Reference3,omitempty"`
TransactionCode interface{} `json:"TransactionCode,omitempty"`
ProjectCode interface{} `json:"ProjectCode,omitempty"`
TaxDate Date `json:"TaxDate,omitempty"`
JdtNum int `json:"JdtNum,omitempty"`
Indicator interface{} `json:"Indicator,omitempty"`
UseAutoStorno string `json:"UseAutoStorno,omitempty"`
StornoDate Date `json:"StornoDate,omitempty"`
VATDate Date `json:"VatDate,omitempty"`
Series int `json:"Series,omitempty"`
StampTax string `json:"StampTax,omitempty"`
DueDate Date `json:"DueDate,omitempty"`
AutoVAT string `json:"AutoVAT,omitempty"`
Number int `json:"Number,omitempty"`
FolioNumber interface{} `json:"FolioNumber,omitempty"`
FolioPrefixString interface{} `json:"FolioPrefixString,omitempty"`
ReportEU string `json:"ReportEU,omitempty"`
Report347 string `json:"Report347,omitempty"`
Printed string `json:"Printed,omitempty"`
LocationCode interface{} `json:"LocationCode,omitempty"`
OriginalJournal string `json:"OriginalJournal,omitempty"`
Original int `json:"Original,omitempty"`
BaseReference string `json:"BaseReference,omitempty"`
BlockDunningLetter string `json:"BlockDunningLetter,omitempty"`
AutomaticWT string `json:"AutomaticWT,omitempty"`
WTSum float64 `json:"WTSum,omitempty"`
WTSumSC float64 `json:"WTSumSC,omitempty"`
WTSumFC float64 `json:"WTSumFC,omitempty"`
SignatureInputMessage interface{} `json:"SignatureInputMessage,omitempty"`
SignatureDigest interface{} `json:"SignatureDigest,omitempty"`
CertificationNumber interface{} `json:"CertificationNumber,omitempty"`
PrivateKeyVersion interface{} `json:"PrivateKeyVersion,omitempty"`
Corisptivi string `json:"Corisptivi,omitempty"`
DocumentType interface{} `json:"DocumentType,omitempty"`
DeferredTax string `json:"DeferredTax,omitempty"`
BlanketAgreementNumber interface{} `json:"BlanketAgreementNumber,omitempty"`
OperationCode interface{} `json:"OperationCode,omitempty"`
ResidenceNumberType string `json:"ResidenceNumberType,omitempty"`
ECDPostingType string `json:"ECDPostingType,omitempty"`
ExposedTransNumber interface{} `json:"ExposedTransNumber,omitempty"`
PointOfIssueCode interface{} `json:"PointOfIssueCode,omitempty"`
Letter interface{} `json:"Letter,omitempty"`
FolioNumberFrom interface{} `json:"FolioNumberFrom,omitempty"`
FolioNumberTo interface{} `json:"FolioNumberTo,omitempty"`
IsCostCenterTransfer string `json:"IsCostCenterTransfer,omitempty"`
ReportingSectionControlStatementVAT interface{} `json:"ReportingSectionControlStatementVAT,omitempty"`
ExcludeFromTaxReportControlStatementVAT string `json:"ExcludeFromTaxReportControlStatementVAT,omitempty"`
SAPPassport interface{} `json:"SAPPassport,omitempty"`
Cig interface{} `json:"Cig,omitempty"`
Cup interface{} `json:"Cup,omitempty"`
AdjustTransaction string `json:"AdjustTransaction,omitempty"`
AttachmentEntry interface{} `json:"AttachmentEntry,omitempty"`
JournalEntryLines JournalEntryLines `json:"JournalEntryLines,omitempty"`
WithholdingTaxDataCollection []interface{} `json:"WithholdingTaxDataCollection,omitempty"`
ElectronicProtocols []interface{} `json:"ElectronicProtocols,omitempty"`
}
type JournalEntryLine ¶
type JournalEntryLine struct {
LineID int `json:"Line_ID,omitempty"`
AccountCode string `json:"AccountCode,omitempty"`
Debit *float64 `json:"Debit,omitempty"`
Credit *float64 `json:"Credit,omitempty"`
FCDebit float64 `json:"FCDebit,omitempty"`
FCCredit float64 `json:"FCCredit,omitempty"`
FCCurrency interface{} `json:"FCCurrency,omitempty"`
DueDate Date `json:"DueDate,omitempty"`
ShortName string `json:"ShortName,omitempty"`
ContraAccount string `json:"ContraAccount,omitempty"`
LineMemo string `json:"LineMemo,omitempty"`
ReferenceDate1 Date `json:"ReferenceDate1,omitempty"`
ReferenceDate2 Date `json:"ReferenceDate2,omitempty"`
Reference1 string `json:"Reference1,omitempty"`
Reference2 string `json:"Reference2,omitempty"`
ProjectCode string `json:"ProjectCode,omitempty"`
CostingCode string `json:"CostingCode,omitempty"`
TaxDate Date `json:"TaxDate,omitempty"`
BaseSum float64 `json:"BaseSum,omitempty"`
TaxGroup string `json:"TaxGroup,omitempty"`
DebitSys float64 `json:"DebitSys,omitempty"`
CreditSys float64 `json:"CreditSys,omitempty"`
VATDate Date `json:"VatDate,omitempty"`
VATLine string `json:"VatLine,omitempty"`
SystemBaseAmount float64 `json:"SystemBaseAmount,omitempty"`
VATAmount float64 `json:"VatAmount,omitempty"`
SystemVATAmount float64 `json:"SystemVatAmount,omitempty"`
GrossValue float64 `json:"GrossValue,omitempty"`
AdditionalReference string `json:"AdditionalReference,omitempty"`
CheckAbs interface{} `json:"CheckAbs,omitempty"`
CostingCode2 string `json:"CostingCode2,omitempty"`
CostingCode3 string `json:"CostingCode3,omitempty"`
CostingCode4 string `json:"CostingCode4,omitempty"`
TaxCode interface{} `json:"TaxCode,omitempty"`
TaxPostAccount string `json:"TaxPostAccount,omitempty"`
CostingCode5 string `json:"CostingCode5,omitempty"`
LocationCode interface{} `json:"LocationCode,omitempty"`
ControlAccount string `json:"ControlAccount,omitempty"`
EqualizationTaxAmount float64 `json:"EqualizationTaxAmount,omitempty"`
SystemEqualizationTaxAmount float64 `json:"SystemEqualizationTaxAmount,omitempty"`
TotalTax float64 `json:"TotalTax,omitempty"`
SystemTotalTax float64 `json:"SystemTotalTax,omitempty"`
WTLiable string `json:"WTLiable,omitempty"`
WTRow string `json:"WTRow,omitempty"`
PaymentBlock string `json:"PaymentBlock,omitempty"`
BlockReason interface{} `json:"BlockReason,omitempty"`
FederalTaxID string `json:"FederalTaxID,omitempty"`
Bplid interface{} `json:"BPLID,omitempty"`
BPLName interface{} `json:"BPLName,omitempty"`
VATRegNum interface{} `json:"VATRegNum,omitempty"`
PaymentOrdered string `json:"PaymentOrdered,omitempty"`
ExposedTransNumber interface{} `json:"ExposedTransNumber,omitempty"`
DocumentArray interface{} `json:"DocumentArray,omitempty"`
DocumentLine interface{} `json:"DocumentLine,omitempty"`
CostElementCode interface{} `json:"CostElementCode,omitempty"`
Cig interface{} `json:"Cig,omitempty"`
Cup interface{} `json:"Cup,omitempty"`
IncomeClassificationCategory interface{} `json:"IncomeClassificationCategory,omitempty"`
IncomeClassificationType interface{} `json:"IncomeClassificationType,omitempty"`
ExpensesClassificationCategory interface{} `json:"ExpensesClassificationCategory,omitempty"`
ExpensesClassificationType interface{} `json:"ExpensesClassificationType,omitempty"`
VATClassificationCategory interface{} `json:"VATClassificationCategory,omitempty"`
VATClassificationType interface{} `json:"VATClassificationType,omitempty"`
VATExemptionCause interface{} `json:"VATExemptionCause,omitempty"`
CashFlowAssignments []interface{} `json:"CashFlowAssignments,omitempty"`
}
type JournalEntryLines ¶
type JournalEntryLines []JournalEntryLine
type LoginPostRequest ¶
type LoginPostRequest struct {
// contains filtered or unexported fields
}
func (*LoginPostRequest) Do ¶
func (r *LoginPostRequest) Do(ctx context.Context) (LoginPostResponseBody, error)
func (*LoginPostRequest) Method ¶
func (r *LoginPostRequest) Method() string
func (LoginPostRequest) NewPathParams ¶
func (r LoginPostRequest) NewPathParams() *LoginPostRequestPathParams
func (LoginPostRequest) NewQueryParams ¶
func (r LoginPostRequest) NewQueryParams() *LoginPostRequestQueryParams
func (LoginPostRequest) NewRequestBody ¶
func (r LoginPostRequest) NewRequestBody() LoginPostRequestBody
func (*LoginPostRequest) NewResponseBody ¶
func (r *LoginPostRequest) NewResponseBody() *LoginPostResponseBody
func (*LoginPostRequest) Path ¶
func (r *LoginPostRequest) Path() *string
func (*LoginPostRequest) PathParams ¶
func (r *LoginPostRequest) PathParams() *LoginPostRequestPathParams
func (*LoginPostRequest) PathParamsInterface ¶
func (r *LoginPostRequest) PathParamsInterface() PathParams
func (*LoginPostRequest) QueryParams ¶
func (r *LoginPostRequest) QueryParams() *LoginPostRequestQueryParams
func (*LoginPostRequest) RequestBody ¶
func (r *LoginPostRequest) RequestBody() *LoginPostRequestBody
func (*LoginPostRequest) RequestBodyInterface ¶
func (r *LoginPostRequest) RequestBodyInterface() interface{}
func (*LoginPostRequest) SetMethod ¶
func (r *LoginPostRequest) SetMethod(method string)
func (*LoginPostRequest) SetRequestBody ¶
func (r *LoginPostRequest) SetRequestBody(body LoginPostRequestBody)
func (*LoginPostRequest) URL ¶
func (r *LoginPostRequest) URL() *url.URL
type LoginPostRequestBody ¶
type LoginPostRequestPathParams ¶
type LoginPostRequestPathParams struct {
}
func (*LoginPostRequestPathParams) Params ¶
func (p *LoginPostRequestPathParams) Params() map[string]string
type LoginPostRequestQueryParams ¶
type LoginPostRequestQueryParams struct {
}
func (LoginPostRequestQueryParams) ToURLValues ¶
func (p LoginPostRequestQueryParams) ToURLValues() (url.Values, error)
type LoginPostResponseBody ¶
type LoginRequest ¶
type LoginRequest struct {
// contains filtered or unexported fields
}
func (*LoginRequest) Body ¶
func (r *LoginRequest) Body() any
func (*LoginRequest) Method ¶
func (r *LoginRequest) Method() string
func (*LoginRequest) PathTemplate ¶
func (r *LoginRequest) PathTemplate() string
func (*LoginRequest) SkipAuth ¶
func (r *LoginRequest) SkipAuth() bool
type LoginRequestBody ¶
type LoginRequestOpts ¶
type LoginRequestOpts func(r *LoginRequest)
func LoginWithCredentials ¶
func LoginWithCredentials(username, password, companyDB string) LoginRequestOpts
type MetadataGetRequest ¶
type MetadataGetRequest struct {
// contains filtered or unexported fields
}
func (*MetadataGetRequest) Do ¶
func (r *MetadataGetRequest) Do(ctx context.Context) (MetadataGetResponseBody, error)
func (*MetadataGetRequest) Method ¶
func (r *MetadataGetRequest) Method() string
func (MetadataGetRequest) NewPathParams ¶
func (r MetadataGetRequest) NewPathParams() *MetadataGetRequestPathParams
func (MetadataGetRequest) NewQueryParams ¶
func (r MetadataGetRequest) NewQueryParams() *MetadataGetRequestQueryParams
func (MetadataGetRequest) NewRequestBody ¶
func (r MetadataGetRequest) NewRequestBody() MetadataGetRequestBody
func (*MetadataGetRequest) NewResponseBody ¶
func (r *MetadataGetRequest) NewResponseBody() *MetadataGetResponseBody
func (*MetadataGetRequest) Path ¶
func (r *MetadataGetRequest) Path() *string
func (*MetadataGetRequest) PathParams ¶
func (r *MetadataGetRequest) PathParams() *MetadataGetRequestPathParams
func (*MetadataGetRequest) PathParamsInterface ¶
func (r *MetadataGetRequest) PathParamsInterface() PathParams
func (*MetadataGetRequest) QueryParams ¶
func (r *MetadataGetRequest) QueryParams() *MetadataGetRequestQueryParams
func (*MetadataGetRequest) RequestBody ¶
func (r *MetadataGetRequest) RequestBody() *MetadataGetRequestBody
func (*MetadataGetRequest) RequestBodyInterface ¶
func (r *MetadataGetRequest) RequestBodyInterface() interface{}
func (*MetadataGetRequest) SetMethod ¶
func (r *MetadataGetRequest) SetMethod(method string)
func (*MetadataGetRequest) SetRequestBody ¶
func (r *MetadataGetRequest) SetRequestBody(body MetadataGetRequestBody)
func (*MetadataGetRequest) URL ¶
func (r *MetadataGetRequest) URL() *url.URL
type MetadataGetRequestBody ¶
type MetadataGetRequestBody struct{}
type MetadataGetRequestPathParams ¶
type MetadataGetRequestPathParams struct {
}
func (*MetadataGetRequestPathParams) Params ¶
func (p *MetadataGetRequestPathParams) Params() map[string]string
type MetadataGetRequestQueryParams ¶
type MetadataGetRequestQueryParams struct {
}
func (MetadataGetRequestQueryParams) ToURLValues ¶
func (p MetadataGetRequestQueryParams) ToURLValues() (url.Values, error)
type MetadataGetResponseBody ¶
type MetadataGetResponseBody struct{}
type PathParams ¶
type PaymentInvoice ¶
type PaymentInvoices ¶
type PaymentInvoices []PaymentInvoice
type QueryParams ¶
type Request ¶
type Request interface {
Method() string
// QueryParams() QueryParams
Path() *string
PathParamsInterface() PathParams
RequestBodyInterface() interface{}
URL() *url.URL
}
type RequestCompletionCallback ¶
RequestCompletionCallback defines the type of the request callback function
type SapB1Client ¶
func NewSapB1Client ¶
func NewSapB1Client(opts ...client.Option) *SapB1Client
func (*SapB1Client) NewDeliveryNoteCreateRequest ¶
func (s *SapB1Client) NewDeliveryNoteCreateRequest(opts ...DeliveryNoteCreateOption) *DeliveryNoteCreateRequest
func (*SapB1Client) NewDeliveryNoteGetAllRequest ¶
func (s *SapB1Client) NewDeliveryNoteGetAllRequest(opts ...DeliveryNoteGetAllOption) *DeliveryNoteGetAllRequest
func (*SapB1Client) NewItemGetAllRequest ¶
func (s *SapB1Client) NewItemGetAllRequest(opts ...ItemGetAllOption) *ItemGetAllRequest
func (*SapB1Client) NewLoginRequest ¶
func (s *SapB1Client) NewLoginRequest(opts ...LoginRequestOpts) *LoginRequest
type SchemaMarshaler ¶
type SchemaMarshaler interface {
MarshalSchema() string
}
type SimplifiedDeliveryNote ¶
type SimplifiedDocumentLine ¶
type TaxExtension ¶
type TaxExtension struct {
TaxId0 interface{} `json:"TaxId0"`
TaxId1 interface{} `json:"TaxId1"`
TaxId2 interface{} `json:"TaxId2"`
TaxId3 interface{} `json:"TaxId3"`
TaxId4 interface{} `json:"TaxId4"`
TaxId5 interface{} `json:"TaxId5"`
TaxId6 interface{} `json:"TaxId6"`
TaxId7 interface{} `json:"TaxId7"`
TaxId8 interface{} `json:"TaxId8"`
TaxId9 interface{} `json:"TaxId9"`
State interface{} `json:"State"`
County interface{} `json:"County"`
Incoterms interface{} `json:"Incoterms"`
Vehicle interface{} `json:"Vehicle"`
VehicleState interface{} `json:"VehicleState"`
NFRef interface{} `json:"NFRef"`
Carrier interface{} `json:"Carrier"`
PackQuantity interface{} `json:"PackQuantity"`
PackDescription interface{} `json:"PackDescription"`
Brand interface{} `json:"Brand"`
ShipUnitNo interface{} `json:"ShipUnitNo"`
NetWeight float64 `json:"NetWeight"`
GrossWeight float64 `json:"GrossWeight"`
StreetS string `json:"StreetS"`
BlockS string `json:"BlockS"`
BuildingS string `json:"BuildingS"`
CityS string `json:"CityS"`
ZipCodeS string `json:"ZipCodeS"`
CountyS string `json:"CountyS"`
StateS string `json:"StateS"`
CountryS string `json:"CountryS"`
StreetB string `json:"StreetB"`
BlockB string `json:"BlockB"`
BuildingB string `json:"BuildingB"`
CityB string `json:"CityB"`
ZipCodeB string `json:"ZipCodeB"`
CountyB string `json:"CountyB"`
StateB string `json:"StateB"`
CountryB string `json:"CountryB"`
ImportOrExport interface{} `json:"ImportOrExport"`
MainUsage interface{} `json:"MainUsage"`
GlobalLocationNumberS string `json:"GlobalLocationNumberS"`
GlobalLocationNumberB interface{} `json:"GlobalLocationNumberB"`
TaxId12 interface{} `json:"TaxId12"`
TaxId13 interface{} `json:"TaxId13"`
BillOfEntryNo interface{} `json:"BillOfEntryNo"`
BillOfEntryDate interface{} `json:"BillOfEntryDate"`
OriginalBillOfEntryNo interface{} `json:"OriginalBillOfEntryNo"`
OriginalBillOfEntryDate interface{} `json:"OriginalBillOfEntryDate"`
ImportOrExportType string `json:"ImportOrExportType"`
PortCode interface{} `json:"PortCode"`
DocEntry int `json:"DocEntry"`
BoEValue float64 `json:"BoEValue"`
ClaimRefund interface{} `json:"ClaimRefund"`
DifferentialOfTaxRate interface{} `json:"DifferentialOfTaxRate"`
IsIGSTAccount interface{} `json:"IsIGSTAccount"`
TaxId14 interface{} `json:"TaxId14"`
}
type ToURLValues ¶
type WarehouseStock ¶
type WarehouseStockPostRequest ¶
type WarehouseStockPostRequest struct {
// contains filtered or unexported fields
}
func (*WarehouseStockPostRequest) Do ¶
func (r *WarehouseStockPostRequest) Do(ctx context.Context) (WarehouseStockPostResponseBody, error)
func (*WarehouseStockPostRequest) Method ¶
func (r *WarehouseStockPostRequest) Method() string
func (WarehouseStockPostRequest) NewPathParams ¶
func (r WarehouseStockPostRequest) NewPathParams() *WarehouseStockPostRequestPathParams
func (WarehouseStockPostRequest) NewQueryParams ¶
func (r WarehouseStockPostRequest) NewQueryParams() *WarehouseStockPostRequestQueryParams
func (WarehouseStockPostRequest) NewRequestBody ¶
func (r WarehouseStockPostRequest) NewRequestBody() WarehouseStockPostRequestBody
func (*WarehouseStockPostRequest) NewResponseBody ¶
func (r *WarehouseStockPostRequest) NewResponseBody() *WarehouseStockPostResponseBody
func (*WarehouseStockPostRequest) Path ¶
func (r *WarehouseStockPostRequest) Path() *string
func (*WarehouseStockPostRequest) PathParams ¶
func (r *WarehouseStockPostRequest) PathParams() *WarehouseStockPostRequestPathParams
func (*WarehouseStockPostRequest) PathParamsInterface ¶
func (r *WarehouseStockPostRequest) PathParamsInterface() PathParams
func (*WarehouseStockPostRequest) QueryParams ¶
func (r *WarehouseStockPostRequest) QueryParams() *WarehouseStockPostRequestQueryParams
func (*WarehouseStockPostRequest) RequestBody ¶
func (r *WarehouseStockPostRequest) RequestBody() *WarehouseStockPostRequestBody
func (*WarehouseStockPostRequest) RequestBodyInterface ¶
func (r *WarehouseStockPostRequest) RequestBodyInterface() interface{}
func (*WarehouseStockPostRequest) SetMethod ¶
func (r *WarehouseStockPostRequest) SetMethod(method string)
func (*WarehouseStockPostRequest) SetRequestBody ¶
func (r *WarehouseStockPostRequest) SetRequestBody(body WarehouseStockPostRequestBody)
func (*WarehouseStockPostRequest) URL ¶
func (r *WarehouseStockPostRequest) URL() *url.URL
type WarehouseStockPostRequestBody ¶
type WarehouseStockPostRequestBody WarehouseStock
type WarehouseStockPostRequestPathParams ¶
type WarehouseStockPostRequestPathParams struct {
}
func (*WarehouseStockPostRequestPathParams) Params ¶
func (p *WarehouseStockPostRequestPathParams) Params() map[string]string
type WarehouseStockPostRequestQueryParams ¶
type WarehouseStockPostRequestQueryParams struct {
}
func (WarehouseStockPostRequestQueryParams) ToURLValues ¶
func (p WarehouseStockPostRequestQueryParams) ToURLValues() (url.Values, error)
type WarehouseStockPostResponseBody ¶
type WarehouseStockPostResponseBody WarehouseStock
Source Files
¶
- business_partners_get.go
- business_partners_post.go
- chart_of_accounts_get.go
- client.go
- delivery_note.go
- delivery_note_create.go
- form.go
- invoices_post.go
- item.go
- items_get.go
- journal_entries.go
- journal_entries_post.go
- json_types.go
- login.go
- login_post.go
- metadata_get.go
- new_client.go
- request.go
- types.go
- utils.go
- warehouse_stock.go