Documentation ¶
Index ¶
- Variables
- func CheckResponse(r *http.Response) error
- type Address
- type Addresses
- type AuthenticateRequest
- func (r *AuthenticateRequest) Do() (AuthenticateRequestResponseBody, error)
- func (r *AuthenticateRequest) Method() string
- func (r AuthenticateRequest) NewPathParams() *AuthenticateRequestPathParams
- func (r AuthenticateRequest) NewQueryParams() *AuthenticateRequestQueryParams
- func (r AuthenticateRequest) NewRequestBody() AuthenticateRequestBody
- func (r *AuthenticateRequest) NewResponseBody() *AuthenticateRequestResponseBody
- func (r *AuthenticateRequest) PathParams() PathParams
- func (r *AuthenticateRequest) QueryParams() QueryParams
- func (r *AuthenticateRequest) RequestBody() *AuthenticateRequestBody
- func (r AuthenticateRequest) SOAPAction() string
- func (r *AuthenticateRequest) SOAPBodyInterface() interface{}
- func (r AuthenticateRequest) SOAPHeader() SOAPHeader
- func (r AuthenticateRequest) SOAPNS() []xml.Attr
- func (r *AuthenticateRequest) SetMethod(method string)
- func (r *AuthenticateRequest) SetRequestBody(body AuthenticateRequestBody)
- func (r *AuthenticateRequest) URL() (*url.URL, error)
- type AuthenticateRequestBody
- type AuthenticateRequestPathParams
- type AuthenticateRequestQueryParams
- type AuthenticateRequestResponseBody
- type BeforeRequestDoCallback
- type Body
- type Bool
- type Client
- func (c Client) BaseURL() (*url.URL, error)
- func (c Client) Charset() string
- func (c Client) CompanyCode() string
- func (c Client) Debug() bool
- func (c *Client) Do(req *http.Request, body interface{}) (*http.Response, error)
- func (c *Client) GetEndpointURL(p string, pathParams PathParams) (url.URL, error)
- func (c Client) Locale() string
- func (c Client) MediaType() string
- func (c *Client) NewAuthenticateRequest() AuthenticateRequest
- func (c *Client) NewDocumentMasterListRequest() DocumentMasterListRequest
- func (c *Client) NewElementMasterAddRequest() ElementMasterAddRequest
- func (c *Client) NewElementMasterGetRequest() ElementMasterGetRequest
- func (c *Client) NewElementMasterListRequest() ElementMasterListRequest
- func (c *Client) NewEnvironmentGetRequest() EnvironmentGetRequest
- func (c *Client) NewInputPostRequest() InputPostRequest
- func (c *Client) NewRequest(ctx context.Context, req Request) (*http.Request, error)
- func (c *Client) NewSession() (string, error)
- func (c *Client) NewTaxGetRequest() TaxGetRequest
- func (c *Client) NewTaxListRequest() TaxListRequest
- func (c Client) Password() string
- func (c *Client) Session() (string, error)
- func (c *Client) SetBaseURL(baseURL string)
- func (c *Client) SetBeforeRequestDo(fun BeforeRequestDoCallback)
- func (c *Client) SetCharset(charset string)
- func (c *Client) SetCompanyCode(companyCode string)
- func (c *Client) SetDebug(debug bool)
- func (c *Client) SetHTTPClient(client *http.Client)
- func (c *Client) SetLocale(locale string)
- func (c *Client) SetMediaType(mediaType string)
- func (c *Client) SetPassword(password string)
- func (c *Client) SetUser(user string)
- func (c *Client) SetUserAgent(userAgent string)
- func (c *Client) Unmarshal(r io.Reader, vv ...interface{}) error
- func (c Client) User() string
- func (c Client) UserAgent() string
- type Date
- type DateTime
- type Decimal
- type DocSeletKey
- type DocumentMasterListRequest
- func (r *DocumentMasterListRequest) Do() (DocumentMasterListRequestResponseBody, error)
- func (r *DocumentMasterListRequest) Method() string
- func (r DocumentMasterListRequest) NewPathParams() *DocumentMasterListRequestPathParams
- func (r DocumentMasterListRequest) NewQueryParams() *DocumentMasterListRequestQueryParams
- func (r DocumentMasterListRequest) NewRequestBody() DocumentMasterListRequestBody
- func (r *DocumentMasterListRequest) NewResponseBody() *DocumentMasterListRequestResponseBody
- func (r *DocumentMasterListRequest) PathParams() PathParams
- func (r *DocumentMasterListRequest) QueryParams() QueryParams
- func (r *DocumentMasterListRequest) RequestBody() *DocumentMasterListRequestBody
- func (r DocumentMasterListRequest) SOAPAction() string
- func (r *DocumentMasterListRequest) SOAPBodyInterface() interface{}
- func (r DocumentMasterListRequest) SOAPHeader() SOAPHeader
- func (r DocumentMasterListRequest) SOAPNS() []xml.Attr
- func (r *DocumentMasterListRequest) SetMethod(method string)
- func (r *DocumentMasterListRequest) SetRequestBody(body DocumentMasterListRequestBody)
- func (r *DocumentMasterListRequest) URL() (*url.URL, error)
- type DocumentMasterListRequestBody
- type DocumentMasterListRequestPathParams
- type DocumentMasterListRequestQueryParams
- type DocumentMasterListRequestResponseBody
- type Element
- type ElementFilterListFilter
- type ElementMasterAddRequest
- func (r *ElementMasterAddRequest) Do() (ElementMasterAddRequestResponseBody, error)
- func (r *ElementMasterAddRequest) Method() string
- func (r ElementMasterAddRequest) NewPathParams() *ElementMasterAddRequestPathParams
- func (r ElementMasterAddRequest) NewQueryParams() *ElementMasterAddRequestQueryParams
- func (r ElementMasterAddRequest) NewRequestBody() ElementMasterAddRequestBody
- func (r *ElementMasterAddRequest) NewResponseBody() *ElementMasterAddRequestResponseBody
- func (r *ElementMasterAddRequest) PathParams() PathParams
- func (r *ElementMasterAddRequest) QueryParams() QueryParams
- func (r *ElementMasterAddRequest) RequestBody() *ElementMasterAddRequestBody
- func (r ElementMasterAddRequest) SOAPAction() string
- func (r *ElementMasterAddRequest) SOAPBodyInterface() interface{}
- func (r ElementMasterAddRequest) SOAPHeader() SOAPHeader
- func (r ElementMasterAddRequest) SOAPNS() []xml.Attr
- func (r *ElementMasterAddRequest) SetMethod(method string)
- func (r *ElementMasterAddRequest) SetRequestBody(body ElementMasterAddRequestBody)
- func (r *ElementMasterAddRequest) URL() (*url.URL, error)
- type ElementMasterAddRequestBody
- type ElementMasterAddRequestPathParams
- type ElementMasterAddRequestQueryParams
- type ElementMasterAddRequestResponseBody
- type ElementMasterGetRequest
- func (r *ElementMasterGetRequest) Do() (ElementMasterGetRequestResponseBody, error)
- func (r *ElementMasterGetRequest) Method() string
- func (r ElementMasterGetRequest) NewPathParams() *ElementMasterGetRequestPathParams
- func (r ElementMasterGetRequest) NewQueryParams() *ElementMasterGetRequestQueryParams
- func (r ElementMasterGetRequest) NewRequestBody() ElementMasterGetRequestBody
- func (r *ElementMasterGetRequest) NewResponseBody() *ElementMasterGetRequestResponseBody
- func (r *ElementMasterGetRequest) PathParams() PathParams
- func (r *ElementMasterGetRequest) QueryParams() QueryParams
- func (r *ElementMasterGetRequest) RequestBody() *ElementMasterGetRequestBody
- func (r ElementMasterGetRequest) SOAPAction() string
- func (r *ElementMasterGetRequest) SOAPBodyInterface() interface{}
- func (r ElementMasterGetRequest) SOAPHeader() SOAPHeader
- func (r ElementMasterGetRequest) SOAPNS() []xml.Attr
- func (r *ElementMasterGetRequest) SetMethod(method string)
- func (r *ElementMasterGetRequest) SetRequestBody(body ElementMasterGetRequestBody)
- func (r *ElementMasterGetRequest) URL() (*url.URL, error)
- type ElementMasterGetRequestBody
- type ElementMasterGetRequestPathParams
- type ElementMasterGetRequestQueryParams
- type ElementMasterGetRequestResponseBody
- type ElementMasterListRequest
- func (r *ElementMasterListRequest) Do() (ElementMasterListRequestResponseBody, error)
- func (r *ElementMasterListRequest) Method() string
- func (r ElementMasterListRequest) NewPathParams() *ElementMasterListRequestPathParams
- func (r ElementMasterListRequest) NewQueryParams() *ElementMasterListRequestQueryParams
- func (r ElementMasterListRequest) NewRequestBody() ElementMasterListRequestBody
- func (r *ElementMasterListRequest) NewResponseBody() *ElementMasterListRequestResponseBody
- func (r *ElementMasterListRequest) PathParams() PathParams
- func (r *ElementMasterListRequest) QueryParams() QueryParams
- func (r *ElementMasterListRequest) RequestBody() *ElementMasterListRequestBody
- func (r ElementMasterListRequest) SOAPAction() string
- func (r *ElementMasterListRequest) SOAPBodyInterface() interface{}
- func (r ElementMasterListRequest) SOAPHeader() SOAPHeader
- func (r ElementMasterListRequest) SOAPNS() []xml.Attr
- func (r *ElementMasterListRequest) SetMethod(method string)
- func (r *ElementMasterListRequest) SetRequestBody(body ElementMasterListRequestBody)
- func (r *ElementMasterListRequest) URL() (*url.URL, error)
- type ElementMasterListRequestBody
- type ElementMasterListRequestPathParams
- type ElementMasterListRequestQueryParams
- type ElementMasterListRequestResponseBody
- type ElmReqFullKeys
- type EnvironmentGetRequest
- func (r *EnvironmentGetRequest) Do() (EnvironmentGetRequestResponseBody, error)
- func (r *EnvironmentGetRequest) Method() string
- func (r EnvironmentGetRequest) NewPathParams() *EnvironmentGetRequestPathParams
- func (r EnvironmentGetRequest) NewQueryParams() *EnvironmentGetRequestQueryParams
- func (r EnvironmentGetRequest) NewRequestBody() EnvironmentGetRequestBody
- func (r *EnvironmentGetRequest) NewResponseBody() *EnvironmentGetRequestResponseBody
- func (r *EnvironmentGetRequest) PathParams() PathParams
- func (r *EnvironmentGetRequest) QueryParams() QueryParams
- func (r *EnvironmentGetRequest) RequestBody() *EnvironmentGetRequestBody
- func (r EnvironmentGetRequest) SOAPAction() string
- func (r *EnvironmentGetRequest) SOAPBodyInterface() interface{}
- func (r EnvironmentGetRequest) SOAPHeader() SOAPHeader
- func (r EnvironmentGetRequest) SOAPNS() []xml.Attr
- func (r *EnvironmentGetRequest) SetMethod(method string)
- func (r *EnvironmentGetRequest) SetRequestBody(body EnvironmentGetRequestBody)
- func (r *EnvironmentGetRequest) URL() (*url.URL, error)
- type EnvironmentGetRequestBody
- type EnvironmentGetRequestPathParams
- type EnvironmentGetRequestQueryParams
- type EnvironmentGetRequestResponseBody
- type ErrorResponse
- type Header
- type InputPostRequest
- func (r *InputPostRequest) Do() (InputPostRequestResponseBody, error)
- func (r *InputPostRequest) Method() string
- func (r InputPostRequest) NewPathParams() *InputPostRequestPathParams
- func (r InputPostRequest) NewQueryParams() *InputPostRequestQueryParams
- func (r InputPostRequest) NewRequestBody() InputPostRequestBody
- func (r *InputPostRequest) NewResponseBody() *InputPostRequestResponseBody
- func (r *InputPostRequest) PathParams() PathParams
- func (r *InputPostRequest) QueryParams() QueryParams
- func (r *InputPostRequest) RequestBody() *InputPostRequestBody
- func (r InputPostRequest) SOAPAction() string
- func (r *InputPostRequest) SOAPBodyInterface() interface{}
- func (r InputPostRequest) SOAPHeader() SOAPHeader
- func (r InputPostRequest) SOAPNS() []xml.Attr
- func (r *InputPostRequest) SetMethod(method string)
- func (r *InputPostRequest) SetRequestBody(body InputPostRequestBody)
- func (r *InputPostRequest) URL() (*url.URL, error)
- type InputPostRequestBody
- type InputPostRequestPathParams
- type InputPostRequestQueryParams
- type InputPostRequestResponseBody
- type Line
- type Lines
- type Options
- type PathParams
- type QueryParams
- type ReqKeys
- type Request
- type RequestCompletionCallback
- type RequestEnvelope
- type ResponseEnvelope
- type SOAPError
- type SOAPFault
- type SOAPHeader
- type StatusResponseBody
- type Tax
- type TaxGetRequest
- func (r *TaxGetRequest) Do() (TaxGetRequestResponseBody, error)
- func (r *TaxGetRequest) Method() string
- func (r TaxGetRequest) NewPathParams() *TaxGetRequestPathParams
- func (r TaxGetRequest) NewQueryParams() *TaxGetRequestQueryParams
- func (r TaxGetRequest) NewRequestBody() TaxGetRequestBody
- func (r *TaxGetRequest) NewResponseBody() *TaxGetRequestResponseBody
- func (r *TaxGetRequest) PathParams() PathParams
- func (r *TaxGetRequest) QueryParams() QueryParams
- func (r *TaxGetRequest) RequestBody() *TaxGetRequestBody
- func (r TaxGetRequest) SOAPAction() string
- func (r *TaxGetRequest) SOAPBodyInterface() interface{}
- func (r TaxGetRequest) SOAPHeader() SOAPHeader
- func (r TaxGetRequest) SOAPNS() []xml.Attr
- func (r *TaxGetRequest) SetMethod(method string)
- func (r *TaxGetRequest) SetRequestBody(body TaxGetRequestBody)
- func (r *TaxGetRequest) URL() (*url.URL, error)
- type TaxGetRequestBody
- type TaxGetRequestPathParams
- type TaxGetRequestQueryParams
- type TaxGetRequestResponseBody
- type TaxListRequest
- func (r *TaxListRequest) Do() (TaxListRequestResponseBody, error)
- func (r *TaxListRequest) Method() string
- func (r TaxListRequest) NewPathParams() *TaxListRequestPathParams
- func (r TaxListRequest) NewQueryParams() *TaxListRequestQueryParams
- func (r TaxListRequest) NewRequestBody() TaxListRequestBody
- func (r *TaxListRequest) NewResponseBody() *TaxListRequestResponseBody
- func (r *TaxListRequest) PathParams() PathParams
- func (r *TaxListRequest) QueryParams() QueryParams
- func (r *TaxListRequest) RequestBody() *TaxListRequestBody
- func (r TaxListRequest) SOAPAction() string
- func (r *TaxListRequest) SOAPBodyInterface() interface{}
- func (r TaxListRequest) SOAPHeader() SOAPHeader
- func (r TaxListRequest) SOAPNS() []xml.Attr
- func (r *TaxListRequest) SetMethod(method string)
- func (r *TaxListRequest) SetRequestBody(body TaxListRequestBody)
- func (r *TaxListRequest) URL() (*url.URL, error)
- type TaxListRequestBody
- type TaxListRequestPathParams
- type TaxListRequestQueryParams
- type TaxListRequestResponseBody
- type TaxMaster
- type Taxes
- type Transaction
Constants ¶
This section is empty.
Variables ¶
var (
BaseURL string = "https://webservices.financials.com/services/NetSuitePort_2022_2"
)
Functions ¶
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 xml response body that maps to ErrorResponse. Any other response body will be silently ignored.
Types ¶
type Address ¶
type Address struct { DefaultAddress bool `xml:"DefaultAddress"` Name string `xml:"Name"` Address1 string `xml:"Address1,omitempty"` Address2 string `xml:"Address2,omitempty"` Address3 string `xml:"Address3,omitempty"` Address4 string `xml:"Address4,omitempty"` Address5 string `xml:"Address5,omitempty"` Address6 string `xml:"Address6,omitempty"` PostCode string `xml:"PostCode"` Category string `xml:"Category"` Country string `xml:"Country"` }
type AuthenticateRequest ¶
type AuthenticateRequest struct {
// contains filtered or unexported fields
}
func (*AuthenticateRequest) Do ¶
func (r *AuthenticateRequest) Do() (AuthenticateRequestResponseBody, error)
func (*AuthenticateRequest) Method ¶
func (r *AuthenticateRequest) Method() string
func (AuthenticateRequest) NewPathParams ¶
func (r AuthenticateRequest) NewPathParams() *AuthenticateRequestPathParams
func (AuthenticateRequest) NewQueryParams ¶
func (r AuthenticateRequest) NewQueryParams() *AuthenticateRequestQueryParams
func (AuthenticateRequest) NewRequestBody ¶
func (r AuthenticateRequest) NewRequestBody() AuthenticateRequestBody
func (*AuthenticateRequest) NewResponseBody ¶
func (r *AuthenticateRequest) NewResponseBody() *AuthenticateRequestResponseBody
func (*AuthenticateRequest) PathParams ¶
func (r *AuthenticateRequest) PathParams() PathParams
func (*AuthenticateRequest) QueryParams ¶
func (r *AuthenticateRequest) QueryParams() QueryParams
func (*AuthenticateRequest) RequestBody ¶
func (r *AuthenticateRequest) RequestBody() *AuthenticateRequestBody
func (AuthenticateRequest) SOAPAction ¶
func (r AuthenticateRequest) SOAPAction() string
func (*AuthenticateRequest) SOAPBodyInterface ¶
func (r *AuthenticateRequest) SOAPBodyInterface() interface{}
func (AuthenticateRequest) SOAPHeader ¶
func (r AuthenticateRequest) SOAPHeader() SOAPHeader
func (AuthenticateRequest) SOAPNS ¶
func (r AuthenticateRequest) SOAPNS() []xml.Attr
func (*AuthenticateRequest) SetMethod ¶
func (r *AuthenticateRequest) SetMethod(method string)
func (*AuthenticateRequest) SetRequestBody ¶
func (r *AuthenticateRequest) SetRequestBody(body AuthenticateRequestBody)
type AuthenticateRequestBody ¶
type AuthenticateRequestPathParams ¶
type AuthenticateRequestPathParams struct { }
func (*AuthenticateRequestPathParams) Params ¶
func (p *AuthenticateRequestPathParams) Params() map[string]string
type AuthenticateRequestQueryParams ¶
type AuthenticateRequestQueryParams struct { }
func (AuthenticateRequestQueryParams) ToURLValues ¶
func (p AuthenticateRequestQueryParams) ToURLValues() (url.Values, error)
type AuthenticateRequestResponseBody ¶
type AuthenticateRequestResponseBody struct { XMLName xml.Name `xml:"AuthenticateResponse"` User string `xml:"User"` UserTimestamp string `xml:"UserTimestamp"` Company string `xml:"Company"` Capability string `xml:"Capability"` CapabilityTimestamp string `xml:"CapabilityTimestamp"` PasswordExpiryWarning string `xml:"PasswordExpiryWarning"` RecordLogoff string `xml:"RecordLogoff"` FunctionalSecurityHash string `xml:"FunctionalSecurityHash"` Session string `xml:"Session"` }
type BeforeRequestDoCallback ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client manages communication with Exact Globe Client
func (Client) CompanyCode ¶
func (*Client) Do ¶
Do sends an Client request and returns the Client response. The Client response is xml 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) GetEndpointURL ¶
func (*Client) NewAuthenticateRequest ¶
func (c *Client) NewAuthenticateRequest() AuthenticateRequest
func (*Client) NewDocumentMasterListRequest ¶
func (c *Client) NewDocumentMasterListRequest() DocumentMasterListRequest
func (*Client) NewElementMasterAddRequest ¶
func (c *Client) NewElementMasterAddRequest() ElementMasterAddRequest
func (*Client) NewElementMasterGetRequest ¶
func (c *Client) NewElementMasterGetRequest() ElementMasterGetRequest
func (*Client) NewElementMasterListRequest ¶
func (c *Client) NewElementMasterListRequest() ElementMasterListRequest
func (*Client) NewEnvironmentGetRequest ¶
func (c *Client) NewEnvironmentGetRequest() EnvironmentGetRequest
func (*Client) NewInputPostRequest ¶
func (c *Client) NewInputPostRequest() InputPostRequest
func (*Client) NewRequest ¶
func (*Client) NewSession ¶
func (*Client) NewTaxGetRequest ¶
func (c *Client) NewTaxGetRequest() TaxGetRequest
func (*Client) NewTaxListRequest ¶
func (c *Client) NewTaxListRequest() TaxListRequest
func (*Client) SetBaseURL ¶
func (*Client) SetBeforeRequestDo ¶
func (c *Client) SetBeforeRequestDo(fun BeforeRequestDoCallback)
func (*Client) SetCharset ¶
func (*Client) SetCompanyCode ¶
func (*Client) SetHTTPClient ¶
func (*Client) SetMediaType ¶
func (*Client) SetPassword ¶
func (*Client) SetUserAgent ¶
type DateTime ¶
func (*DateTime) MarshalJSON ¶
func (DateTime) MarshalSchema ¶
func (*DateTime) UnmarshalJSON ¶
type Decimal ¶
func (Decimal) MarshalXML ¶
type DocSeletKey ¶
type DocumentMasterListRequest ¶
type DocumentMasterListRequest struct {
// contains filtered or unexported fields
}
func (*DocumentMasterListRequest) Do ¶
func (r *DocumentMasterListRequest) Do() (DocumentMasterListRequestResponseBody, error)
func (*DocumentMasterListRequest) Method ¶
func (r *DocumentMasterListRequest) Method() string
func (DocumentMasterListRequest) NewPathParams ¶
func (r DocumentMasterListRequest) NewPathParams() *DocumentMasterListRequestPathParams
func (DocumentMasterListRequest) NewQueryParams ¶
func (r DocumentMasterListRequest) NewQueryParams() *DocumentMasterListRequestQueryParams
func (DocumentMasterListRequest) NewRequestBody ¶
func (r DocumentMasterListRequest) NewRequestBody() DocumentMasterListRequestBody
func (*DocumentMasterListRequest) NewResponseBody ¶
func (r *DocumentMasterListRequest) NewResponseBody() *DocumentMasterListRequestResponseBody
func (*DocumentMasterListRequest) PathParams ¶
func (r *DocumentMasterListRequest) PathParams() PathParams
func (*DocumentMasterListRequest) QueryParams ¶
func (r *DocumentMasterListRequest) QueryParams() QueryParams
func (*DocumentMasterListRequest) RequestBody ¶
func (r *DocumentMasterListRequest) RequestBody() *DocumentMasterListRequestBody
func (DocumentMasterListRequest) SOAPAction ¶
func (r DocumentMasterListRequest) SOAPAction() string
func (*DocumentMasterListRequest) SOAPBodyInterface ¶
func (r *DocumentMasterListRequest) SOAPBodyInterface() interface{}
func (DocumentMasterListRequest) SOAPHeader ¶
func (r DocumentMasterListRequest) SOAPHeader() SOAPHeader
func (DocumentMasterListRequest) SOAPNS ¶
func (r DocumentMasterListRequest) SOAPNS() []xml.Attr
func (*DocumentMasterListRequest) SetMethod ¶
func (r *DocumentMasterListRequest) SetMethod(method string)
func (*DocumentMasterListRequest) SetRequestBody ¶
func (r *DocumentMasterListRequest) SetRequestBody(body DocumentMasterListRequestBody)
type DocumentMasterListRequestBody ¶
type DocumentMasterListRequestBody struct { XMLName xml.Name `xml:"web:ListRequest"` Filter DocSeletKey `xml:"web:Filter"` }
type DocumentMasterListRequestPathParams ¶
type DocumentMasterListRequestPathParams struct { }
func (*DocumentMasterListRequestPathParams) Params ¶
func (p *DocumentMasterListRequestPathParams) Params() map[string]string
type DocumentMasterListRequestQueryParams ¶
type DocumentMasterListRequestQueryParams struct { }
func (DocumentMasterListRequestQueryParams) ToURLValues ¶
func (p DocumentMasterListRequestQueryParams) ToURLValues() (url.Values, error)
type Element ¶
type Element struct { XMLName xml.Name `xml:"Element"` CmpCode string `xml:"CmpCode"` Level int `xml:"Level"` Code string `xml:"Code"` Name string `xml:"Name"` ShortName string `xml:"ShortName,omitempty"` Matchable bool `xml:"Matchable"` AccountType string `xml:"AccountType"` CustomerSupplier bool `xml:"CustomerSupplier"` IsCustomer bool `xml:"IsCustomer"` IsSupplier bool `xml:"IsSupplier"` Terms string `xml:"Terms"` PayStatus string `xml:"PayStatus"` Addresses Addresses `xml:"Addresses>Address"` }
type ElementFilterListFilter ¶
type ElementFilterListFilter struct { MaxKeys int `xml:"com:MaxKeys"` // The maximum number of items to be returned. The value zero has the special meaning of 'no limit'. CmpCode string `xml:"com:CmpCode"` // The company code. ShortName string `xml:"com:ShortName"` // The short name. Level int `xml:"elem:Level"` // The element level to which the element filter master applies. }
type ElementMasterAddRequest ¶
type ElementMasterAddRequest struct {
// contains filtered or unexported fields
}
func (*ElementMasterAddRequest) Do ¶
func (r *ElementMasterAddRequest) Do() (ElementMasterAddRequestResponseBody, error)
func (*ElementMasterAddRequest) Method ¶
func (r *ElementMasterAddRequest) Method() string
func (ElementMasterAddRequest) NewPathParams ¶
func (r ElementMasterAddRequest) NewPathParams() *ElementMasterAddRequestPathParams
func (ElementMasterAddRequest) NewQueryParams ¶
func (r ElementMasterAddRequest) NewQueryParams() *ElementMasterAddRequestQueryParams
func (ElementMasterAddRequest) NewRequestBody ¶
func (r ElementMasterAddRequest) NewRequestBody() ElementMasterAddRequestBody
func (*ElementMasterAddRequest) NewResponseBody ¶
func (r *ElementMasterAddRequest) NewResponseBody() *ElementMasterAddRequestResponseBody
func (*ElementMasterAddRequest) PathParams ¶
func (r *ElementMasterAddRequest) PathParams() PathParams
func (*ElementMasterAddRequest) QueryParams ¶
func (r *ElementMasterAddRequest) QueryParams() QueryParams
func (*ElementMasterAddRequest) RequestBody ¶
func (r *ElementMasterAddRequest) RequestBody() *ElementMasterAddRequestBody
func (ElementMasterAddRequest) SOAPAction ¶
func (r ElementMasterAddRequest) SOAPAction() string
func (*ElementMasterAddRequest) SOAPBodyInterface ¶
func (r *ElementMasterAddRequest) SOAPBodyInterface() interface{}
func (ElementMasterAddRequest) SOAPHeader ¶
func (r ElementMasterAddRequest) SOAPHeader() SOAPHeader
func (ElementMasterAddRequest) SOAPNS ¶
func (r ElementMasterAddRequest) SOAPNS() []xml.Attr
func (*ElementMasterAddRequest) SetMethod ¶
func (r *ElementMasterAddRequest) SetMethod(method string)
func (*ElementMasterAddRequest) SetRequestBody ¶
func (r *ElementMasterAddRequest) SetRequestBody(body ElementMasterAddRequestBody)
type ElementMasterAddRequestPathParams ¶
type ElementMasterAddRequestPathParams struct { }
func (*ElementMasterAddRequestPathParams) Params ¶
func (p *ElementMasterAddRequestPathParams) Params() map[string]string
type ElementMasterAddRequestQueryParams ¶
type ElementMasterAddRequestQueryParams struct { }
func (ElementMasterAddRequestQueryParams) ToURLValues ¶
func (p ElementMasterAddRequestQueryParams) ToURLValues() (url.Values, error)
type ElementMasterGetRequest ¶
type ElementMasterGetRequest struct {
// contains filtered or unexported fields
}
func (*ElementMasterGetRequest) Do ¶
func (r *ElementMasterGetRequest) Do() (ElementMasterGetRequestResponseBody, error)
func (*ElementMasterGetRequest) Method ¶
func (r *ElementMasterGetRequest) Method() string
func (ElementMasterGetRequest) NewPathParams ¶
func (r ElementMasterGetRequest) NewPathParams() *ElementMasterGetRequestPathParams
func (ElementMasterGetRequest) NewQueryParams ¶
func (r ElementMasterGetRequest) NewQueryParams() *ElementMasterGetRequestQueryParams
func (ElementMasterGetRequest) NewRequestBody ¶
func (r ElementMasterGetRequest) NewRequestBody() ElementMasterGetRequestBody
func (*ElementMasterGetRequest) NewResponseBody ¶
func (r *ElementMasterGetRequest) NewResponseBody() *ElementMasterGetRequestResponseBody
func (*ElementMasterGetRequest) PathParams ¶
func (r *ElementMasterGetRequest) PathParams() PathParams
func (*ElementMasterGetRequest) QueryParams ¶
func (r *ElementMasterGetRequest) QueryParams() QueryParams
func (*ElementMasterGetRequest) RequestBody ¶
func (r *ElementMasterGetRequest) RequestBody() *ElementMasterGetRequestBody
func (ElementMasterGetRequest) SOAPAction ¶
func (r ElementMasterGetRequest) SOAPAction() string
func (*ElementMasterGetRequest) SOAPBodyInterface ¶
func (r *ElementMasterGetRequest) SOAPBodyInterface() interface{}
func (ElementMasterGetRequest) SOAPHeader ¶
func (r ElementMasterGetRequest) SOAPHeader() SOAPHeader
func (ElementMasterGetRequest) SOAPNS ¶
func (r ElementMasterGetRequest) SOAPNS() []xml.Attr
func (*ElementMasterGetRequest) SetMethod ¶
func (r *ElementMasterGetRequest) SetMethod(method string)
func (*ElementMasterGetRequest) SetRequestBody ¶
func (r *ElementMasterGetRequest) SetRequestBody(body ElementMasterGetRequestBody)
type ElementMasterGetRequestPathParams ¶
type ElementMasterGetRequestPathParams struct { }
func (*ElementMasterGetRequestPathParams) Params ¶
func (p *ElementMasterGetRequestPathParams) Params() map[string]string
type ElementMasterGetRequestQueryParams ¶
type ElementMasterGetRequestQueryParams struct { }
func (ElementMasterGetRequestQueryParams) ToURLValues ¶
func (p ElementMasterGetRequestQueryParams) ToURLValues() (url.Values, error)
type ElementMasterListRequest ¶
type ElementMasterListRequest struct {
// contains filtered or unexported fields
}
func (*ElementMasterListRequest) Do ¶
func (r *ElementMasterListRequest) Do() (ElementMasterListRequestResponseBody, error)
func (*ElementMasterListRequest) Method ¶
func (r *ElementMasterListRequest) Method() string
func (ElementMasterListRequest) NewPathParams ¶
func (r ElementMasterListRequest) NewPathParams() *ElementMasterListRequestPathParams
func (ElementMasterListRequest) NewQueryParams ¶
func (r ElementMasterListRequest) NewQueryParams() *ElementMasterListRequestQueryParams
func (ElementMasterListRequest) NewRequestBody ¶
func (r ElementMasterListRequest) NewRequestBody() ElementMasterListRequestBody
func (*ElementMasterListRequest) NewResponseBody ¶
func (r *ElementMasterListRequest) NewResponseBody() *ElementMasterListRequestResponseBody
func (*ElementMasterListRequest) PathParams ¶
func (r *ElementMasterListRequest) PathParams() PathParams
func (*ElementMasterListRequest) QueryParams ¶
func (r *ElementMasterListRequest) QueryParams() QueryParams
func (*ElementMasterListRequest) RequestBody ¶
func (r *ElementMasterListRequest) RequestBody() *ElementMasterListRequestBody
func (ElementMasterListRequest) SOAPAction ¶
func (r ElementMasterListRequest) SOAPAction() string
func (*ElementMasterListRequest) SOAPBodyInterface ¶
func (r *ElementMasterListRequest) SOAPBodyInterface() interface{}
func (ElementMasterListRequest) SOAPHeader ¶
func (r ElementMasterListRequest) SOAPHeader() SOAPHeader
func (ElementMasterListRequest) SOAPNS ¶
func (r ElementMasterListRequest) SOAPNS() []xml.Attr
func (*ElementMasterListRequest) SetMethod ¶
func (r *ElementMasterListRequest) SetMethod(method string)
func (*ElementMasterListRequest) SetRequestBody ¶
func (r *ElementMasterListRequest) SetRequestBody(body ElementMasterListRequestBody)
type ElementMasterListRequestBody ¶
type ElementMasterListRequestBody struct { XMLName xml.Name `xml:"web:ListRequest"` Filter ElmReqFullKeys `xml:"web:Filter"` }
type ElementMasterListRequestPathParams ¶
type ElementMasterListRequestPathParams struct { }
func (*ElementMasterListRequestPathParams) Params ¶
func (p *ElementMasterListRequestPathParams) Params() map[string]string
type ElementMasterListRequestQueryParams ¶
type ElementMasterListRequestQueryParams struct { }
func (ElementMasterListRequestQueryParams) ToURLValues ¶
func (p ElementMasterListRequestQueryParams) ToURLValues() (url.Values, error)
type ElmReqFullKeys ¶
type EnvironmentGetRequest ¶
type EnvironmentGetRequest struct {
// contains filtered or unexported fields
}
func (*EnvironmentGetRequest) Do ¶
func (r *EnvironmentGetRequest) Do() (EnvironmentGetRequestResponseBody, error)
func (*EnvironmentGetRequest) Method ¶
func (r *EnvironmentGetRequest) Method() string
func (EnvironmentGetRequest) NewPathParams ¶
func (r EnvironmentGetRequest) NewPathParams() *EnvironmentGetRequestPathParams
func (EnvironmentGetRequest) NewQueryParams ¶
func (r EnvironmentGetRequest) NewQueryParams() *EnvironmentGetRequestQueryParams
func (EnvironmentGetRequest) NewRequestBody ¶
func (r EnvironmentGetRequest) NewRequestBody() EnvironmentGetRequestBody
func (*EnvironmentGetRequest) NewResponseBody ¶
func (r *EnvironmentGetRequest) NewResponseBody() *EnvironmentGetRequestResponseBody
func (*EnvironmentGetRequest) PathParams ¶
func (r *EnvironmentGetRequest) PathParams() PathParams
func (*EnvironmentGetRequest) QueryParams ¶
func (r *EnvironmentGetRequest) QueryParams() QueryParams
func (*EnvironmentGetRequest) RequestBody ¶
func (r *EnvironmentGetRequest) RequestBody() *EnvironmentGetRequestBody
func (EnvironmentGetRequest) SOAPAction ¶
func (r EnvironmentGetRequest) SOAPAction() string
func (*EnvironmentGetRequest) SOAPBodyInterface ¶
func (r *EnvironmentGetRequest) SOAPBodyInterface() interface{}
func (EnvironmentGetRequest) SOAPHeader ¶
func (r EnvironmentGetRequest) SOAPHeader() SOAPHeader
func (EnvironmentGetRequest) SOAPNS ¶
func (r EnvironmentGetRequest) SOAPNS() []xml.Attr
func (*EnvironmentGetRequest) SetMethod ¶
func (r *EnvironmentGetRequest) SetMethod(method string)
func (*EnvironmentGetRequest) SetRequestBody ¶
func (r *EnvironmentGetRequest) SetRequestBody(body EnvironmentGetRequestBody)
type EnvironmentGetRequestPathParams ¶
type EnvironmentGetRequestPathParams struct { }
func (*EnvironmentGetRequestPathParams) Params ¶
func (p *EnvironmentGetRequestPathParams) Params() map[string]string
type EnvironmentGetRequestQueryParams ¶
type EnvironmentGetRequestQueryParams struct { }
func (EnvironmentGetRequestQueryParams) ToURLValues ¶
func (p EnvironmentGetRequestQueryParams) ToURLValues() (url.Values, error)
type EnvironmentGetRequestResponseBody ¶
type EnvironmentGetRequestResponseBody struct { XMLName xml.Name `xml:"GetEnvironmentResponse"` Text string `xml:",chardata"` Webservice string `xml:"webservice,attr"` Xmlns string `xml:"xmlns,attr"` Com string `xml:"com,attr"` Environment struct { CmpCode string `xml:"CmpCode"` CapCode string `xml:"CapCode"` HomeCurr string `xml:"HomeCurr"` DateOrder string `xml:"DateOrder"` DateDisplay string `xml:"DateDisplay"` DateSep string `xml:"DateSep"` HomeCurrDps string `xml:"HomeCurrDps"` HomeCurrSymbol string `xml:"HomeCurrSymbol"` HomeCurrSymbolPos string `xml:"HomeCurrSymbolPos"` HomeCurrLinkType string `xml:"HomeCurrLinkType"` HomeCurrParent string `xml:"HomeCurrParent"` CurrentPeriod string `xml:"CurrentPeriod"` CmpTimeStamp string `xml:"CmpTimeStamp"` CapTimeStamp string `xml:"CapTimeStamp"` UsrTimeStamp string `xml:"UsrTimeStamp"` ServerVersion string `xml:"ServerVersion"` SubsChar string `xml:"SubsChar"` } `xml:"Environment"` }
type ErrorResponse ¶
type ErrorResponse struct { // HTTP response that caused this error Response *http.Response Err string }
func (*ErrorResponse) Error ¶
func (r *ErrorResponse) Error() string
type Header ¶
type Header struct { Key struct { CmpCode string `xml:"CmpCode"` Code string `xml:"Code"` } `xml:"Key"` Period string `xml:"Period"` CurCode string `xml:"CurCode"` Date DateTime `xml:"Date"` Description string `xml:"Description"` OriginalCompany string `xml:"OriginalCompany"` }
func (Header) MarshalXML ¶
type InputPostRequest ¶
type InputPostRequest struct {
// contains filtered or unexported fields
}
func (*InputPostRequest) Do ¶
func (r *InputPostRequest) Do() (InputPostRequestResponseBody, error)
func (*InputPostRequest) Method ¶
func (r *InputPostRequest) Method() string
func (InputPostRequest) NewPathParams ¶
func (r InputPostRequest) NewPathParams() *InputPostRequestPathParams
func (InputPostRequest) NewQueryParams ¶
func (r InputPostRequest) NewQueryParams() *InputPostRequestQueryParams
func (InputPostRequest) NewRequestBody ¶
func (r InputPostRequest) NewRequestBody() InputPostRequestBody
func (*InputPostRequest) NewResponseBody ¶
func (r *InputPostRequest) NewResponseBody() *InputPostRequestResponseBody
func (*InputPostRequest) PathParams ¶
func (r *InputPostRequest) PathParams() PathParams
func (*InputPostRequest) QueryParams ¶
func (r *InputPostRequest) QueryParams() QueryParams
func (*InputPostRequest) RequestBody ¶
func (r *InputPostRequest) RequestBody() *InputPostRequestBody
func (InputPostRequest) SOAPAction ¶
func (r InputPostRequest) SOAPAction() string
func (*InputPostRequest) SOAPBodyInterface ¶
func (r *InputPostRequest) SOAPBodyInterface() interface{}
func (InputPostRequest) SOAPHeader ¶
func (r InputPostRequest) SOAPHeader() SOAPHeader
func (InputPostRequest) SOAPNS ¶
func (r InputPostRequest) SOAPNS() []xml.Attr
func (*InputPostRequest) SetMethod ¶
func (r *InputPostRequest) SetMethod(method string)
func (*InputPostRequest) SetRequestBody ¶
func (r *InputPostRequest) SetRequestBody(body InputPostRequestBody)
type InputPostRequestBody ¶
type InputPostRequestBody struct { XMLName xml.Name `xml:"web:PostRequest"` PostOptions struct { Postto string `xml:"postto,attr"` } `xml:"web:PostOptions"` Transaction Transaction `xml:"web:Transaction"` }
type InputPostRequestPathParams ¶
type InputPostRequestPathParams struct { }
func (*InputPostRequestPathParams) Params ¶
func (p *InputPostRequestPathParams) Params() map[string]string
type InputPostRequestQueryParams ¶
type InputPostRequestQueryParams struct { }
func (InputPostRequestQueryParams) ToURLValues ¶
func (p InputPostRequestQueryParams) ToURLValues() (url.Values, error)
type Line ¶
type Line struct { Number int `xml:"Number,omitempty"` AccountCode string `xml:"AccountCode"` BalancingAccount string `xml:"BalancingAccount,omitempty"` DocValue Decimal `xml:"DocValue"` LineType string `xml:"LineType"` LineSense string `xml:"LineSense"` Description string `xml:"Description"` DueDate DateTime `xml:"DueDate,omitempty"` ExtRef1 string `xml:"ExtRef1,omitempty"` ExtRef2 string `xml:"ExtRef2,omitempty"` ExtRef3 string `xml:"ExtRef3,omitempty"` ExtRef4 string `xml:"ExtRef4,omitempty"` ExtRef5 string `xml:"ExtRef5,omitempty"` ExtRef6 string `xml:"ExtRef6,omitempty"` Taxes Taxes `xml:"Taxes>Tax,omitempty"` TaxLineCode string `xml:"TaxLineCode,omitempty"` DocTaxTurnover Decimal `xml:"DocTaxTurnover,omitempty"` DocSumTax Decimal `xml:"DocSumTax,omitempty"` }
func (Line) MarshalXML ¶
type PathParams ¶
type QueryParams ¶
type Request ¶
type Request interface { Method() string // QueryParams() QueryParams PathParams() PathParams SOAPBodyInterface() interface{} SOAPHeader() SOAPHeader URL() (*url.URL, error) SOAPAction() string }
type RequestCompletionCallback ¶
RequestCompletionCallback defines the type of the request callback function
type RequestEnvelope ¶
type RequestEnvelope struct { XMLName xml.Name NS []xml.Attr `xml:"-"` Header SOAPHeader `xml:"env:Header,omitempty"` Body Body `xml:"env:Body"` }
func NewRequestEnvelope ¶
func NewRequestEnvelope() RequestEnvelope
func (RequestEnvelope) MarshalXML ¶
func (env RequestEnvelope) MarshalXML(e *xml.Encoder, start xml.StartElement) error
type ResponseEnvelope ¶
type ResponseEnvelope struct { XMLName xml.Name Header SOAPHeader `xml:"Header,omitempty"` Body Body `xml:"Body"` }
type SOAPFault ¶
type SOAPFault struct { // HTTP response that caused this error Response *http.Response XMLName xml.Name `xml:"Fault"` Faultcode string `xml:"faultcode"` Faultstring string `xml:"faultstring"` Detail struct { Reason struct { Text struct { Code int `xml:"Code,attr"` Text string `xml:",chardata"` } `xml:"Text"` Path string `xml:"Path"` } `xml:"Reason"` } `xml:"detail"` }
type SOAPHeader ¶
type SOAPHeader struct {
Options Options `xml:"Options"`
}
func NewSOAPHeader ¶
func NewSOAPHeader() SOAPHeader
func (SOAPHeader) IsEmpty ¶
func (h SOAPHeader) IsEmpty() bool
func (SOAPHeader) MarshalXML ¶
func (h SOAPHeader) MarshalXML(e *xml.Encoder, start xml.StartElement) error
type StatusResponseBody ¶
type Tax ¶
func (Tax) MarshalXML ¶
type TaxGetRequest ¶
type TaxGetRequest struct {
// contains filtered or unexported fields
}
func (*TaxGetRequest) Do ¶
func (r *TaxGetRequest) Do() (TaxGetRequestResponseBody, error)
func (*TaxGetRequest) Method ¶
func (r *TaxGetRequest) Method() string
func (TaxGetRequest) NewPathParams ¶
func (r TaxGetRequest) NewPathParams() *TaxGetRequestPathParams
func (TaxGetRequest) NewQueryParams ¶
func (r TaxGetRequest) NewQueryParams() *TaxGetRequestQueryParams
func (TaxGetRequest) NewRequestBody ¶
func (r TaxGetRequest) NewRequestBody() TaxGetRequestBody
func (*TaxGetRequest) NewResponseBody ¶
func (r *TaxGetRequest) NewResponseBody() *TaxGetRequestResponseBody
func (*TaxGetRequest) PathParams ¶
func (r *TaxGetRequest) PathParams() PathParams
func (*TaxGetRequest) QueryParams ¶
func (r *TaxGetRequest) QueryParams() QueryParams
func (*TaxGetRequest) RequestBody ¶
func (r *TaxGetRequest) RequestBody() *TaxGetRequestBody
func (TaxGetRequest) SOAPAction ¶
func (r TaxGetRequest) SOAPAction() string
func (*TaxGetRequest) SOAPBodyInterface ¶
func (r *TaxGetRequest) SOAPBodyInterface() interface{}
func (TaxGetRequest) SOAPHeader ¶
func (r TaxGetRequest) SOAPHeader() SOAPHeader
func (TaxGetRequest) SOAPNS ¶
func (r TaxGetRequest) SOAPNS() []xml.Attr
func (*TaxGetRequest) SetMethod ¶
func (r *TaxGetRequest) SetMethod(method string)
func (*TaxGetRequest) SetRequestBody ¶
func (r *TaxGetRequest) SetRequestBody(body TaxGetRequestBody)
type TaxGetRequestBody ¶
type TaxGetRequestPathParams ¶
type TaxGetRequestPathParams struct { }
func (*TaxGetRequestPathParams) Params ¶
func (p *TaxGetRequestPathParams) Params() map[string]string
type TaxGetRequestQueryParams ¶
type TaxGetRequestQueryParams struct { }
func (TaxGetRequestQueryParams) ToURLValues ¶
func (p TaxGetRequestQueryParams) ToURLValues() (url.Values, error)
type TaxListRequest ¶
type TaxListRequest struct {
// contains filtered or unexported fields
}
func (*TaxListRequest) Do ¶
func (r *TaxListRequest) Do() (TaxListRequestResponseBody, error)
func (*TaxListRequest) Method ¶
func (r *TaxListRequest) Method() string
func (TaxListRequest) NewPathParams ¶
func (r TaxListRequest) NewPathParams() *TaxListRequestPathParams
func (TaxListRequest) NewQueryParams ¶
func (r TaxListRequest) NewQueryParams() *TaxListRequestQueryParams
func (TaxListRequest) NewRequestBody ¶
func (r TaxListRequest) NewRequestBody() TaxListRequestBody
func (*TaxListRequest) NewResponseBody ¶
func (r *TaxListRequest) NewResponseBody() *TaxListRequestResponseBody
func (*TaxListRequest) PathParams ¶
func (r *TaxListRequest) PathParams() PathParams
func (*TaxListRequest) QueryParams ¶
func (r *TaxListRequest) QueryParams() QueryParams
func (*TaxListRequest) RequestBody ¶
func (r *TaxListRequest) RequestBody() *TaxListRequestBody
func (TaxListRequest) SOAPAction ¶
func (r TaxListRequest) SOAPAction() string
func (*TaxListRequest) SOAPBodyInterface ¶
func (r *TaxListRequest) SOAPBodyInterface() interface{}
func (TaxListRequest) SOAPHeader ¶
func (r TaxListRequest) SOAPHeader() SOAPHeader
func (TaxListRequest) SOAPNS ¶
func (r TaxListRequest) SOAPNS() []xml.Attr
func (*TaxListRequest) SetMethod ¶
func (r *TaxListRequest) SetMethod(method string)
func (*TaxListRequest) SetRequestBody ¶
func (r *TaxListRequest) SetRequestBody(body TaxListRequestBody)
type TaxListRequestBody ¶
type TaxListRequestPathParams ¶
type TaxListRequestPathParams struct { }
func (*TaxListRequestPathParams) Params ¶
func (p *TaxListRequestPathParams) Params() map[string]string
type TaxListRequestQueryParams ¶
type TaxListRequestQueryParams struct { }
func (TaxListRequestQueryParams) ToURLValues ¶
func (p TaxListRequestQueryParams) ToURLValues() (url.Values, error)
type TaxListRequestResponseBody ¶
type TaxListRequestResponseBody struct { XMLName xml.Name `xml:"ListResponse"` Webservice string `xml:"webservice,attr"` Com string `xml:"com,attr"` Filter struct { MaxKeys string `xml:"MaxKeys"` Key struct { CmpCode string `xml:"CmpCode"` Code string `xml:"Code"` } `xml:"Key"` } `xml:"Filter"` Keys []struct { Code string `xml:"Code"` ShortName string `xml:"ShortName"` } `xml:"Keys>Key"` }
type TaxMaster ¶
type TaxMaster struct { TimeStamp string `xml:"TimeStamp"` CmpCode string `xml:"CmpCode"` Code string `xml:"Code"` Name string `xml:"Name"` ShortName string `xml:"ShortName"` RecoveryScope string `xml:"RecoveryScope"` Rev string `xml:"Rev"` RecoverAcc string `xml:"RecoverAcc"` RecoverRevAcc string `xml:"RecoverRevAcc"` IrrecoverToGoods string `xml:"IrrecoverToGoods"` IrrecoverAcc string `xml:"IrrecoverAcc"` IrrecoverRevToGoods string `xml:"IrrecoverRevToGoods"` IrrecoverRevAcc string `xml:"IrrecoverRevAcc"` DestCode string `xml:"DestCode"` Intercompany string `xml:"Intercompany"` IsDeferredVAT string `xml:"IsDeferredVAT"` DeferredAccount string `xml:"DeferredAccount"` CollectionAccount string `xml:"CollectionAccount"` RateInfoList struct { RateInfo struct { EffectiveDate string `xml:"EffectiveDate"` Rate string `xml:"Rate"` RecoveryPercentage string `xml:"RecoveryPercentage"` } `xml:"RateInfo"` } `xml:"RateInfoList"` }