api

package
v2.0.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 6, 2024 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`)
	XmlCheck  = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`)
)
View Source
var (
	// ContextOAuth2 takes an oauth2.TokenSource as authentication for the request.
	ContextOAuth2 = contextKey("token")

	// ContextAccessToken takes a string oauth2 access token as authentication for the request.
	ContextAccessToken = contextKey("accesstoken")

	// ContextServerIndex uses a server configuration from the index.
	ContextServerIndex = contextKey("serverIndex")

	// ContextOperationServerIndices uses a server configuration from the index mapping.
	ContextOperationServerIndices = contextKey("serverOperationIndices")

	// ContextServerVariables overrides a server configuration variables.
	ContextServerVariables = contextKey("serverVariables")

	// ContextOperationServerVariables overrides a server configuration variables using operation specific values.
	ContextOperationServerVariables = contextKey("serverOperationVariables")
)

Functions

func CacheExpires

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

Types

type APIClient

type APIClient struct {
	ArchiveAPI *ArchiveAPIService

	CashbookAPI *CashbookAPIService

	ClientsAPI *ClientsAPIService

	CompaniesAPI *CompaniesAPIService

	EmailsAPI *EmailsAPIService

	InfoAPI *InfoAPIService

	IssuedDocumentsAPI *IssuedDocumentsAPIService

	IssuedEInvoicesAPI *IssuedEInvoicesAPIService

	ProductsAPI *ProductsAPIService

	ReceiptsAPI *ReceiptsAPIService

	ReceivedDocumentsAPI *ReceivedDocumentsAPIService

	SettingsAPI *SettingsAPIService

	SuppliersAPI *SuppliersAPIService

	TaxesAPI *TaxesAPIService

	UserAPI *UserAPIService

	WebhooksAPI *WebhooksAPIService
	// contains filtered or unexported fields
}

APIClient manages communication with the Fatture in Cloud API v2 - API Reference API v2.0.32 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *Configuration) *APIClient

NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.

func (*APIClient) GetConfig

func (c *APIClient) GetConfig() *Configuration

Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior

type APIKey

type APIKey struct {
	Key    string
	Prefix string
}

APIKey provides API key based authentication to a request passed via context using ContextAPIKey

type ApiCreateArchiveDocumentRequest

type ApiCreateArchiveDocumentRequest struct {
	ApiService *ArchiveAPIService
	// contains filtered or unexported fields
}

func (ApiCreateArchiveDocumentRequest) CreateArchiveDocumentRequest

func (r ApiCreateArchiveDocumentRequest) CreateArchiveDocumentRequest(createArchiveDocumentRequest CreateArchiveDocumentRequest) ApiCreateArchiveDocumentRequest

The Archive Document.

func (ApiCreateArchiveDocumentRequest) Execute

func (r ApiCreateArchiveDocumentRequest) Execute() (*CreateArchiveDocumentResponse, *http.Response, error)

type ApiCreateCashbookEntryRequest

type ApiCreateCashbookEntryRequest struct {
	ApiService *CashbookAPIService
	// contains filtered or unexported fields
}

func (ApiCreateCashbookEntryRequest) CreateCashbookEntryRequest

func (r ApiCreateCashbookEntryRequest) CreateCashbookEntryRequest(createCashbookEntryRequest CreateCashbookEntryRequest) ApiCreateCashbookEntryRequest

Cashbook entry.

func (ApiCreateCashbookEntryRequest) Execute

func (r ApiCreateCashbookEntryRequest) Execute() (*CreateCashbookEntryResponse, *http.Response, error)

type ApiCreateClientRequest

type ApiCreateClientRequest struct {
	ApiService *ClientsAPIService
	// contains filtered or unexported fields
}

func (ApiCreateClientRequest) CreateClientRequest

func (r ApiCreateClientRequest) CreateClientRequest(createClientRequest CreateClientRequest) ApiCreateClientRequest

The client to create

func (ApiCreateClientRequest) Execute

func (r ApiCreateClientRequest) Execute() (*CreateClientResponse, *http.Response, error)

type ApiCreateF24Request

type ApiCreateF24Request struct {
	ApiService *TaxesAPIService
	// contains filtered or unexported fields
}

func (ApiCreateF24Request) CreateF24Request

func (r ApiCreateF24Request) CreateF24Request(createF24Request CreateF24Request) ApiCreateF24Request

The F24 to create

func (ApiCreateF24Request) Execute

func (r ApiCreateF24Request) Execute() (*CreateF24Response, *http.Response, error)

type ApiCreateIssuedDocumentRequest

type ApiCreateIssuedDocumentRequest struct {
	ApiService *IssuedDocumentsAPIService
	// contains filtered or unexported fields
}

func (ApiCreateIssuedDocumentRequest) CreateIssuedDocumentRequest

func (r ApiCreateIssuedDocumentRequest) CreateIssuedDocumentRequest(createIssuedDocumentRequest CreateIssuedDocumentRequest) ApiCreateIssuedDocumentRequest

The Issued Document

func (ApiCreateIssuedDocumentRequest) Execute

func (r ApiCreateIssuedDocumentRequest) Execute() (*CreateIssuedDocumentResponse, *http.Response, error)

type ApiCreatePaymentAccountRequest

type ApiCreatePaymentAccountRequest struct {
	ApiService *SettingsAPIService
	// contains filtered or unexported fields
}

func (ApiCreatePaymentAccountRequest) CreatePaymentAccountRequest

func (r ApiCreatePaymentAccountRequest) CreatePaymentAccountRequest(createPaymentAccountRequest CreatePaymentAccountRequest) ApiCreatePaymentAccountRequest

func (ApiCreatePaymentAccountRequest) Execute

func (r ApiCreatePaymentAccountRequest) Execute() (*CreatePaymentAccountResponse, *http.Response, error)

type ApiCreatePaymentMethodRequest

type ApiCreatePaymentMethodRequest struct {
	ApiService *SettingsAPIService
	// contains filtered or unexported fields
}

func (ApiCreatePaymentMethodRequest) CreatePaymentMethodRequest

func (r ApiCreatePaymentMethodRequest) CreatePaymentMethodRequest(createPaymentMethodRequest CreatePaymentMethodRequest) ApiCreatePaymentMethodRequest

func (ApiCreatePaymentMethodRequest) Execute

func (r ApiCreatePaymentMethodRequest) Execute() (*CreatePaymentMethodResponse, *http.Response, error)

type ApiCreateProductRequest

type ApiCreateProductRequest struct {
	ApiService *ProductsAPIService
	// contains filtered or unexported fields
}

func (ApiCreateProductRequest) CreateProductRequest

func (r ApiCreateProductRequest) CreateProductRequest(createProductRequest CreateProductRequest) ApiCreateProductRequest

func (ApiCreateProductRequest) Execute

func (r ApiCreateProductRequest) Execute() (*CreateProductResponse, *http.Response, error)

type ApiCreateReceiptRequest

type ApiCreateReceiptRequest struct {
	ApiService *ReceiptsAPIService
	// contains filtered or unexported fields
}

func (ApiCreateReceiptRequest) CreateReceiptRequest

func (r ApiCreateReceiptRequest) CreateReceiptRequest(createReceiptRequest CreateReceiptRequest) ApiCreateReceiptRequest

The Receipt to create.

func (ApiCreateReceiptRequest) Execute

func (r ApiCreateReceiptRequest) Execute() (*CreateReceiptResponse, *http.Response, error)

type ApiCreateReceivedDocumentRequest

type ApiCreateReceivedDocumentRequest struct {
	ApiService *ReceivedDocumentsAPIService
	// contains filtered or unexported fields
}

func (ApiCreateReceivedDocumentRequest) CreateReceivedDocumentRequest

func (r ApiCreateReceivedDocumentRequest) CreateReceivedDocumentRequest(createReceivedDocumentRequest CreateReceivedDocumentRequest) ApiCreateReceivedDocumentRequest

Document to create

func (ApiCreateReceivedDocumentRequest) Execute

func (r ApiCreateReceivedDocumentRequest) Execute() (*CreateReceivedDocumentResponse, *http.Response, error)

type ApiCreateSupplierRequest

type ApiCreateSupplierRequest struct {
	ApiService *SuppliersAPIService
	// contains filtered or unexported fields
}

func (ApiCreateSupplierRequest) CreateSupplierRequest

func (r ApiCreateSupplierRequest) CreateSupplierRequest(createSupplierRequest CreateSupplierRequest) ApiCreateSupplierRequest

The supplier to create

func (ApiCreateSupplierRequest) Execute

func (r ApiCreateSupplierRequest) Execute() (*CreateSupplierResponse, *http.Response, error)

type ApiCreateVatTypeRequest

type ApiCreateVatTypeRequest struct {
	ApiService *SettingsAPIService
	// contains filtered or unexported fields
}

func (ApiCreateVatTypeRequest) CreateVatTypeRequest

func (r ApiCreateVatTypeRequest) CreateVatTypeRequest(createVatTypeRequest CreateVatTypeRequest) ApiCreateVatTypeRequest

func (ApiCreateVatTypeRequest) Execute

func (r ApiCreateVatTypeRequest) Execute() (*CreateVatTypeResponse, *http.Response, error)

type ApiCreateWebhooksSubscriptionRequest added in v2.0.6

type ApiCreateWebhooksSubscriptionRequest struct {
	ApiService *WebhooksAPIService
	// contains filtered or unexported fields
}

func (ApiCreateWebhooksSubscriptionRequest) CreateWebhooksSubscriptionRequest added in v2.0.6

func (r ApiCreateWebhooksSubscriptionRequest) CreateWebhooksSubscriptionRequest(createWebhooksSubscriptionRequest CreateWebhooksSubscriptionRequest) ApiCreateWebhooksSubscriptionRequest

func (ApiCreateWebhooksSubscriptionRequest) Execute added in v2.0.6

func (r ApiCreateWebhooksSubscriptionRequest) Execute() (*CreateWebhooksSubscriptionResponse, *http.Response, error)

type ApiDeleteArchiveDocumentRequest

type ApiDeleteArchiveDocumentRequest struct {
	ApiService *ArchiveAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteArchiveDocumentRequest) Execute

type ApiDeleteCashbookEntryRequest

type ApiDeleteCashbookEntryRequest struct {
	ApiService *CashbookAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteCashbookEntryRequest) Execute

type ApiDeleteClientRequest

type ApiDeleteClientRequest struct {
	ApiService *ClientsAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteClientRequest) Execute

func (r ApiDeleteClientRequest) Execute() (*http.Response, error)

type ApiDeleteF24AttachmentRequest

type ApiDeleteF24AttachmentRequest struct {
	ApiService *TaxesAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteF24AttachmentRequest) Execute

type ApiDeleteF24Request

type ApiDeleteF24Request struct {
	ApiService *TaxesAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteF24Request) Execute

func (r ApiDeleteF24Request) Execute() (*http.Response, error)

type ApiDeleteIssuedDocumentAttachmentRequest

type ApiDeleteIssuedDocumentAttachmentRequest struct {
	ApiService *IssuedDocumentsAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteIssuedDocumentAttachmentRequest) Execute

type ApiDeleteIssuedDocumentRequest

type ApiDeleteIssuedDocumentRequest struct {
	ApiService *IssuedDocumentsAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteIssuedDocumentRequest) Execute

type ApiDeletePaymentAccountRequest

type ApiDeletePaymentAccountRequest struct {
	ApiService *SettingsAPIService
	// contains filtered or unexported fields
}

func (ApiDeletePaymentAccountRequest) Execute

type ApiDeletePaymentMethodRequest

type ApiDeletePaymentMethodRequest struct {
	ApiService *SettingsAPIService
	// contains filtered or unexported fields
}

func (ApiDeletePaymentMethodRequest) Execute

type ApiDeleteProductRequest

type ApiDeleteProductRequest struct {
	ApiService *ProductsAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteProductRequest) Execute

func (r ApiDeleteProductRequest) Execute() (*http.Response, error)

type ApiDeleteReceiptRequest

type ApiDeleteReceiptRequest struct {
	ApiService *ReceiptsAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteReceiptRequest) Execute

func (r ApiDeleteReceiptRequest) Execute() (*http.Response, error)

type ApiDeleteReceivedDocumentAttachmentRequest

type ApiDeleteReceivedDocumentAttachmentRequest struct {
	ApiService *ReceivedDocumentsAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteReceivedDocumentAttachmentRequest) Execute

type ApiDeleteReceivedDocumentRequest

type ApiDeleteReceivedDocumentRequest struct {
	ApiService *ReceivedDocumentsAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteReceivedDocumentRequest) Execute

type ApiDeleteSupplierRequest

type ApiDeleteSupplierRequest struct {
	ApiService *SuppliersAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteSupplierRequest) Execute

func (r ApiDeleteSupplierRequest) Execute() (*http.Response, error)

type ApiDeleteVatTypeRequest

type ApiDeleteVatTypeRequest struct {
	ApiService *SettingsAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteVatTypeRequest) Execute

func (r ApiDeleteVatTypeRequest) Execute() (*http.Response, error)

type ApiDeleteWebhooksSubscriptionRequest added in v2.0.6

type ApiDeleteWebhooksSubscriptionRequest struct {
	ApiService *WebhooksAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteWebhooksSubscriptionRequest) Execute added in v2.0.6

type ApiGetArchiveDocumentRequest

type ApiGetArchiveDocumentRequest struct {
	ApiService *ArchiveAPIService
	// contains filtered or unexported fields
}

func (ApiGetArchiveDocumentRequest) Execute

func (r ApiGetArchiveDocumentRequest) Execute() (*GetArchiveDocumentResponse, *http.Response, error)

func (ApiGetArchiveDocumentRequest) Fields

List of comma-separated fields.

func (ApiGetArchiveDocumentRequest) Fieldset

Name of the fieldset.

type ApiGetCashbookEntryRequest

type ApiGetCashbookEntryRequest struct {
	ApiService *CashbookAPIService
	// contains filtered or unexported fields
}

func (ApiGetCashbookEntryRequest) Execute

func (r ApiGetCashbookEntryRequest) Execute() (*GetCashbookEntryResponse, *http.Response, error)

func (ApiGetCashbookEntryRequest) Fields

List of comma-separated fields.

func (ApiGetCashbookEntryRequest) Fieldset

Name of the fieldset.

type ApiGetClientRequest

type ApiGetClientRequest struct {
	ApiService *ClientsAPIService
	// contains filtered or unexported fields
}

func (ApiGetClientRequest) Execute

func (r ApiGetClientRequest) Execute() (*GetClientResponse, *http.Response, error)

func (ApiGetClientRequest) Fields

List of comma-separated fields.

func (ApiGetClientRequest) Fieldset

func (r ApiGetClientRequest) Fieldset(fieldset string) ApiGetClientRequest

Name of the fieldset.

type ApiGetCompanyInfoRequest

type ApiGetCompanyInfoRequest struct {
	ApiService *CompaniesAPIService
	// contains filtered or unexported fields
}

func (ApiGetCompanyInfoRequest) Execute

func (r ApiGetCompanyInfoRequest) Execute() (*GetCompanyInfoResponse, *http.Response, error)

type ApiGetCompanyPlanUsageRequest added in v2.0.10

type ApiGetCompanyPlanUsageRequest struct {
	ApiService *CompaniesAPIService
	// contains filtered or unexported fields
}

func (ApiGetCompanyPlanUsageRequest) Category added in v2.0.10

Category

func (ApiGetCompanyPlanUsageRequest) Execute added in v2.0.10

func (r ApiGetCompanyPlanUsageRequest) Execute() (*GetCompanyPlanUsageResponse, *http.Response, error)

type ApiGetEInvoiceRejectionReasonRequest

type ApiGetEInvoiceRejectionReasonRequest struct {
	ApiService *IssuedEInvoicesAPIService
	// contains filtered or unexported fields
}

func (ApiGetEInvoiceRejectionReasonRequest) Execute

func (r ApiGetEInvoiceRejectionReasonRequest) Execute() (*GetEInvoiceRejectionReasonResponse, *http.Response, error)

type ApiGetEInvoiceXmlRequest

type ApiGetEInvoiceXmlRequest struct {
	ApiService *IssuedEInvoicesAPIService
	// contains filtered or unexported fields
}

func (ApiGetEInvoiceXmlRequest) Execute

func (ApiGetEInvoiceXmlRequest) IncludeAttachment

func (r ApiGetEInvoiceXmlRequest) IncludeAttachment(includeAttachment bool) ApiGetEInvoiceXmlRequest

Include the attachment to the XML e-invoice.

type ApiGetEmailDataRequest

type ApiGetEmailDataRequest struct {
	ApiService *IssuedDocumentsAPIService
	// contains filtered or unexported fields
}

func (ApiGetEmailDataRequest) Execute

func (r ApiGetEmailDataRequest) Execute() (*GetEmailDataResponse, *http.Response, error)

type ApiGetExistingIssuedDocumentTotalsRequest

type ApiGetExistingIssuedDocumentTotalsRequest struct {
	ApiService *IssuedDocumentsAPIService
	// contains filtered or unexported fields
}

func (ApiGetExistingIssuedDocumentTotalsRequest) Execute

func (r ApiGetExistingIssuedDocumentTotalsRequest) Execute() (*GetExistingIssuedDocumentTotalsResponse, *http.Response, error)

func (ApiGetExistingIssuedDocumentTotalsRequest) GetExistingIssuedDocumentTotalsRequest

func (r ApiGetExistingIssuedDocumentTotalsRequest) GetExistingIssuedDocumentTotalsRequest(getExistingIssuedDocumentTotalsRequest GetExistingIssuedDocumentTotalsRequest) ApiGetExistingIssuedDocumentTotalsRequest

type ApiGetExistingReceivedDocumentTotalsRequest

type ApiGetExistingReceivedDocumentTotalsRequest struct {
	ApiService *ReceivedDocumentsAPIService
	// contains filtered or unexported fields
}

func (ApiGetExistingReceivedDocumentTotalsRequest) Execute

func (r ApiGetExistingReceivedDocumentTotalsRequest) Execute() (*GetExistingReceivedDocumentTotalsResponse, *http.Response, error)

func (ApiGetExistingReceivedDocumentTotalsRequest) GetExistingReceivedDocumentTotalsRequest

func (r ApiGetExistingReceivedDocumentTotalsRequest) GetExistingReceivedDocumentTotalsRequest(getExistingReceivedDocumentTotalsRequest GetExistingReceivedDocumentTotalsRequest) ApiGetExistingReceivedDocumentTotalsRequest

Received document.

type ApiGetF24Request

type ApiGetF24Request struct {
	ApiService *TaxesAPIService
	// contains filtered or unexported fields
}

func (ApiGetF24Request) Execute

func (r ApiGetF24Request) Execute() (*GetF24Response, *http.Response, error)

func (ApiGetF24Request) Fields

func (r ApiGetF24Request) Fields(fields string) ApiGetF24Request

List of comma-separated fields.

func (ApiGetF24Request) Fieldset

func (r ApiGetF24Request) Fieldset(fieldset string) ApiGetF24Request

Name of the fieldset.

type ApiGetIssuedDocumentPreCreateInfoRequest

type ApiGetIssuedDocumentPreCreateInfoRequest struct {
	ApiService *IssuedDocumentsAPIService
	// contains filtered or unexported fields
}

func (ApiGetIssuedDocumentPreCreateInfoRequest) Execute

func (r ApiGetIssuedDocumentPreCreateInfoRequest) Execute() (*GetIssuedDocumentPreCreateInfoResponse, *http.Response, error)

func (ApiGetIssuedDocumentPreCreateInfoRequest) Type_

The type of the issued document.

type ApiGetIssuedDocumentRequest

type ApiGetIssuedDocumentRequest struct {
	ApiService *IssuedDocumentsAPIService
	// contains filtered or unexported fields
}

func (ApiGetIssuedDocumentRequest) Execute

func (r ApiGetIssuedDocumentRequest) Execute() (*GetIssuedDocumentResponse, *http.Response, error)

func (ApiGetIssuedDocumentRequest) Fields

List of comma-separated fields.

func (ApiGetIssuedDocumentRequest) Fieldset

Name of the fieldset.

type ApiGetNewIssuedDocumentTotalsRequest

type ApiGetNewIssuedDocumentTotalsRequest struct {
	ApiService *IssuedDocumentsAPIService
	// contains filtered or unexported fields
}

func (ApiGetNewIssuedDocumentTotalsRequest) Execute

func (r ApiGetNewIssuedDocumentTotalsRequest) Execute() (*GetNewIssuedDocumentTotalsResponse, *http.Response, error)

func (ApiGetNewIssuedDocumentTotalsRequest) GetNewIssuedDocumentTotalsRequest

func (r ApiGetNewIssuedDocumentTotalsRequest) GetNewIssuedDocumentTotalsRequest(getNewIssuedDocumentTotalsRequest GetNewIssuedDocumentTotalsRequest) ApiGetNewIssuedDocumentTotalsRequest

type ApiGetNewReceivedDocumentTotalsRequest

type ApiGetNewReceivedDocumentTotalsRequest struct {
	ApiService *ReceivedDocumentsAPIService
	// contains filtered or unexported fields
}

func (ApiGetNewReceivedDocumentTotalsRequest) Execute

func (r ApiGetNewReceivedDocumentTotalsRequest) Execute() (*GetNewReceivedDocumentTotalsResponse, *http.Response, error)

func (ApiGetNewReceivedDocumentTotalsRequest) GetNewReceivedDocumentTotalsRequest

func (r ApiGetNewReceivedDocumentTotalsRequest) GetNewReceivedDocumentTotalsRequest(getNewReceivedDocumentTotalsRequest GetNewReceivedDocumentTotalsRequest) ApiGetNewReceivedDocumentTotalsRequest

Received document.

type ApiGetPaymentAccountRequest

type ApiGetPaymentAccountRequest struct {
	ApiService *SettingsAPIService
	// contains filtered or unexported fields
}

func (ApiGetPaymentAccountRequest) Execute

func (r ApiGetPaymentAccountRequest) Execute() (*GetPaymentAccountResponse, *http.Response, error)

func (ApiGetPaymentAccountRequest) Fields

List of comma-separated fields.

func (ApiGetPaymentAccountRequest) Fieldset

Name of the fieldset.

type ApiGetPaymentMethodRequest

type ApiGetPaymentMethodRequest struct {
	ApiService *SettingsAPIService
	// contains filtered or unexported fields
}

func (ApiGetPaymentMethodRequest) Execute

func (r ApiGetPaymentMethodRequest) Execute() (*GetPaymentMethodResponse, *http.Response, error)

func (ApiGetPaymentMethodRequest) Fields

List of comma-separated fields.

func (ApiGetPaymentMethodRequest) Fieldset

Name of the fieldset.

type ApiGetProductRequest

type ApiGetProductRequest struct {
	ApiService *ProductsAPIService
	// contains filtered or unexported fields
}

func (ApiGetProductRequest) Execute

func (r ApiGetProductRequest) Execute() (*GetProductResponse, *http.Response, error)

func (ApiGetProductRequest) Fields

List of comma-separated fields.

func (ApiGetProductRequest) Fieldset

func (r ApiGetProductRequest) Fieldset(fieldset string) ApiGetProductRequest

Name of the fieldset.

type ApiGetReceiptPreCreateInfoRequest

type ApiGetReceiptPreCreateInfoRequest struct {
	ApiService *ReceiptsAPIService
	// contains filtered or unexported fields
}

func (ApiGetReceiptPreCreateInfoRequest) Execute

func (r ApiGetReceiptPreCreateInfoRequest) Execute() (*GetReceiptPreCreateInfoResponse, *http.Response, error)

type ApiGetReceiptRequest

type ApiGetReceiptRequest struct {
	ApiService *ReceiptsAPIService
	// contains filtered or unexported fields
}

func (ApiGetReceiptRequest) Execute

func (r ApiGetReceiptRequest) Execute() (*GetReceiptResponse, *http.Response, error)

func (ApiGetReceiptRequest) Fields

List of comma-separated fields.

func (ApiGetReceiptRequest) Fieldset

func (r ApiGetReceiptRequest) Fieldset(fieldset string) ApiGetReceiptRequest

Name of the fieldset.

type ApiGetReceiptsMonthlyTotalsRequest

type ApiGetReceiptsMonthlyTotalsRequest struct {
	ApiService *ReceiptsAPIService
	// contains filtered or unexported fields
}

func (ApiGetReceiptsMonthlyTotalsRequest) Execute

func (r ApiGetReceiptsMonthlyTotalsRequest) Execute() (*GetReceiptsMonthlyTotalsResponse, *http.Response, error)

func (ApiGetReceiptsMonthlyTotalsRequest) Type_

Receipt Type

func (ApiGetReceiptsMonthlyTotalsRequest) Year

Year for which you want monthly totals

type ApiGetReceivedDocumentPreCreateInfoRequest

type ApiGetReceivedDocumentPreCreateInfoRequest struct {
	ApiService *ReceivedDocumentsAPIService
	// contains filtered or unexported fields
}

func (ApiGetReceivedDocumentPreCreateInfoRequest) Execute

func (r ApiGetReceivedDocumentPreCreateInfoRequest) Execute() (*GetReceivedDocumentPreCreateInfoResponse, *http.Response, error)

func (ApiGetReceivedDocumentPreCreateInfoRequest) Type_

The type of the received document.

type ApiGetReceivedDocumentRequest

type ApiGetReceivedDocumentRequest struct {
	ApiService *ReceivedDocumentsAPIService
	// contains filtered or unexported fields
}

func (ApiGetReceivedDocumentRequest) Execute

func (r ApiGetReceivedDocumentRequest) Execute() (*GetReceivedDocumentResponse, *http.Response, error)

func (ApiGetReceivedDocumentRequest) Fields

List of comma-separated fields.

func (ApiGetReceivedDocumentRequest) Fieldset

Name of the fieldset.

type ApiGetSupplierRequest

type ApiGetSupplierRequest struct {
	ApiService *SuppliersAPIService
	// contains filtered or unexported fields
}

func (ApiGetSupplierRequest) Execute

func (r ApiGetSupplierRequest) Execute() (*GetSupplierResponse, *http.Response, error)

func (ApiGetSupplierRequest) Fields

List of comma-separated fields.

func (ApiGetSupplierRequest) Fieldset

func (r ApiGetSupplierRequest) Fieldset(fieldset string) ApiGetSupplierRequest

Name of the fieldset.

type ApiGetUserInfoRequest

type ApiGetUserInfoRequest struct {
	ApiService *UserAPIService
	// contains filtered or unexported fields
}

func (ApiGetUserInfoRequest) Execute

func (r ApiGetUserInfoRequest) Execute() (*GetUserInfoResponse, *http.Response, error)

type ApiGetVatTypeRequest

type ApiGetVatTypeRequest struct {
	ApiService *SettingsAPIService
	// contains filtered or unexported fields
}

func (ApiGetVatTypeRequest) Execute

func (r ApiGetVatTypeRequest) Execute() (*GetVatTypeResponse, *http.Response, error)

type ApiGetWebhooksSubscriptionRequest added in v2.0.6

type ApiGetWebhooksSubscriptionRequest struct {
	ApiService *WebhooksAPIService
	// contains filtered or unexported fields
}

func (ApiGetWebhooksSubscriptionRequest) Execute added in v2.0.6

func (r ApiGetWebhooksSubscriptionRequest) Execute() (*GetWebhooksSubscriptionResponse, *http.Response, error)

type ApiJoinIssuedDocumentsRequest added in v2.0.2

type ApiJoinIssuedDocumentsRequest struct {
	ApiService *IssuedDocumentsAPIService
	// contains filtered or unexported fields
}

func (ApiJoinIssuedDocumentsRequest) EInvoice added in v2.0.2

New document e_invoice.

func (ApiJoinIssuedDocumentsRequest) Execute added in v2.0.2

func (r ApiJoinIssuedDocumentsRequest) Execute() (*JoinIssuedDocumentsResponse, *http.Response, error)

func (ApiJoinIssuedDocumentsRequest) Group added in v2.0.2

Group items.

func (ApiJoinIssuedDocumentsRequest) Ids added in v2.0.2

Ids of the documents.

type ApiListArchiveCategoriesRequest

type ApiListArchiveCategoriesRequest struct {
	ApiService *InfoAPIService
	// contains filtered or unexported fields
}

func (ApiListArchiveCategoriesRequest) Execute

func (r ApiListArchiveCategoriesRequest) Execute() (*ListArchiveCategoriesResponse, *http.Response, error)

type ApiListArchiveDocumentsRequest

type ApiListArchiveDocumentsRequest struct {
	ApiService *ArchiveAPIService
	// contains filtered or unexported fields
}

func (ApiListArchiveDocumentsRequest) Execute

func (r ApiListArchiveDocumentsRequest) Execute() (*ListArchiveDocumentsResponse, *http.Response, error)

func (ApiListArchiveDocumentsRequest) Fields

List of comma-separated fields.

func (ApiListArchiveDocumentsRequest) Fieldset

Name of the fieldset.

func (ApiListArchiveDocumentsRequest) Page

The page to retrieve.

func (ApiListArchiveDocumentsRequest) PerPage

The size of the page.

func (ApiListArchiveDocumentsRequest) Q

Query for filtering the results.

func (ApiListArchiveDocumentsRequest) Sort

List of comma-separated fields for result sorting (minus for desc sorting).

type ApiListCashbookEntriesRequest

type ApiListCashbookEntriesRequest struct {
	ApiService *CashbookAPIService
	// contains filtered or unexported fields
}

func (ApiListCashbookEntriesRequest) DateFrom

Start date.

func (ApiListCashbookEntriesRequest) DateTo

End date.

func (ApiListCashbookEntriesRequest) Execute

func (r ApiListCashbookEntriesRequest) Execute() (*ListCashbookEntriesResponse, *http.Response, error)

func (ApiListCashbookEntriesRequest) PaymentAccountId

func (r ApiListCashbookEntriesRequest) PaymentAccountId(paymentAccountId int32) ApiListCashbookEntriesRequest

Filter by payment account.

func (ApiListCashbookEntriesRequest) Type_

Filter cashbook by type.

func (ApiListCashbookEntriesRequest) Year

Filter cashbook by year.

type ApiListCitiesRequest

type ApiListCitiesRequest struct {
	ApiService *InfoAPIService
	// contains filtered or unexported fields
}

func (ApiListCitiesRequest) City

City for filtering (ignored if postal_code is passed).

func (ApiListCitiesRequest) Execute

func (r ApiListCitiesRequest) Execute() (*ListCitiesResponse, *http.Response, error)

func (ApiListCitiesRequest) PostalCode

func (r ApiListCitiesRequest) PostalCode(postalCode string) ApiListCitiesRequest

Postal code for filtering.

type ApiListClientsRequest

type ApiListClientsRequest struct {
	ApiService *ClientsAPIService
	// contains filtered or unexported fields
}

func (ApiListClientsRequest) Execute

func (r ApiListClientsRequest) Execute() (*ListClientsResponse, *http.Response, error)

func (ApiListClientsRequest) Fields

List of comma-separated fields.

func (ApiListClientsRequest) Fieldset

func (r ApiListClientsRequest) Fieldset(fieldset string) ApiListClientsRequest

Name of the fieldset.

func (ApiListClientsRequest) Page

The page to retrieve.

func (ApiListClientsRequest) PerPage

The size of the page.

func (ApiListClientsRequest) Q

Query for filtering the results.

func (ApiListClientsRequest) Sort

List of comma-separated fields for result sorting (minus for desc sorting).

type ApiListCostCentersRequest

type ApiListCostCentersRequest struct {
	ApiService *InfoAPIService
	// contains filtered or unexported fields
}

func (ApiListCostCentersRequest) Execute

func (r ApiListCostCentersRequest) Execute() (*ListCostCentersResponse, *http.Response, error)

type ApiListCountriesRequest

type ApiListCountriesRequest struct {
	ApiService *InfoAPIService
	// contains filtered or unexported fields
}

func (ApiListCountriesRequest) Execute

func (r ApiListCountriesRequest) Execute() (*ListCountriesResponse, *http.Response, error)

type ApiListCurrenciesRequest

type ApiListCurrenciesRequest struct {
	ApiService *InfoAPIService
	// contains filtered or unexported fields
}

func (ApiListCurrenciesRequest) Execute

func (r ApiListCurrenciesRequest) Execute() (*ListCurrenciesResponse, *http.Response, error)

type ApiListDeliveryNotesDefaultCausalsRequest

type ApiListDeliveryNotesDefaultCausalsRequest struct {
	ApiService *InfoAPIService
	// contains filtered or unexported fields
}

func (ApiListDeliveryNotesDefaultCausalsRequest) Execute

func (r ApiListDeliveryNotesDefaultCausalsRequest) Execute() (*ListDeliveryNotesDefaultCausalsResponse, *http.Response, error)

type ApiListDetailedCountriesRequest

type ApiListDetailedCountriesRequest struct {
	ApiService *InfoAPIService
	// contains filtered or unexported fields
}

func (ApiListDetailedCountriesRequest) Execute

func (r ApiListDetailedCountriesRequest) Execute() (*ListDetailedCountriesResponse, *http.Response, error)

type ApiListEmailsRequest added in v2.0.2

type ApiListEmailsRequest struct {
	ApiService *EmailsAPIService
	// contains filtered or unexported fields
}

func (ApiListEmailsRequest) Execute added in v2.0.2

func (r ApiListEmailsRequest) Execute() (*ListEmailsResponse, *http.Response, error)

type ApiListF24Request

type ApiListF24Request struct {
	ApiService *TaxesAPIService
	// contains filtered or unexported fields
}

func (ApiListF24Request) Execute

func (r ApiListF24Request) Execute() (*ListF24Response, *http.Response, error)

func (ApiListF24Request) Fields

func (r ApiListF24Request) Fields(fields string) ApiListF24Request

List of comma-separated fields.

func (ApiListF24Request) Fieldset

func (r ApiListF24Request) Fieldset(fieldset string) ApiListF24Request

Name of the fieldset.

func (ApiListF24Request) Page

The page to retrieve.

func (ApiListF24Request) PerPage

func (r ApiListF24Request) PerPage(perPage int32) ApiListF24Request

The size of the page.

func (ApiListF24Request) Q

Query for filtering the results.

func (ApiListF24Request) Sort

List of comma-separated fields for result sorting (minus for desc sorting).

type ApiListIssuedDocumentsRequest

type ApiListIssuedDocumentsRequest struct {
	ApiService *IssuedDocumentsAPIService
	// contains filtered or unexported fields
}

func (ApiListIssuedDocumentsRequest) Execute

func (r ApiListIssuedDocumentsRequest) Execute() (*ListIssuedDocumentsResponse, *http.Response, error)

func (ApiListIssuedDocumentsRequest) Fields

List of comma-separated fields.

func (ApiListIssuedDocumentsRequest) Fieldset

Name of the fieldset.

func (ApiListIssuedDocumentsRequest) Inclusive added in v2.0.4

(Only for type = delivery_notes) Include invoices delivery notes.

func (ApiListIssuedDocumentsRequest) Page

The page to retrieve.

func (ApiListIssuedDocumentsRequest) PerPage

The size of the page.

func (ApiListIssuedDocumentsRequest) Q

Query for filtering the results.

func (ApiListIssuedDocumentsRequest) Sort

List of comma-separated fields for result sorting (minus for desc sorting).

func (ApiListIssuedDocumentsRequest) Type_

The type of the issued document.

type ApiListLanguagesRequest

type ApiListLanguagesRequest struct {
	ApiService *InfoAPIService
	// contains filtered or unexported fields
}

func (ApiListLanguagesRequest) Execute

func (r ApiListLanguagesRequest) Execute() (*ListLanguagesResponse, *http.Response, error)

type ApiListPaymentAccountsRequest

type ApiListPaymentAccountsRequest struct {
	ApiService *InfoAPIService
	// contains filtered or unexported fields
}

func (ApiListPaymentAccountsRequest) Execute

func (r ApiListPaymentAccountsRequest) Execute() (*ListPaymentAccountsResponse, *http.Response, error)

func (ApiListPaymentAccountsRequest) Fields

List of comma-separated fields.

func (ApiListPaymentAccountsRequest) Fieldset

Name of the fieldset.

func (ApiListPaymentAccountsRequest) Sort

List of comma-separated fields for result sorting (minus for desc sorting).

type ApiListPaymentMethodsRequest

type ApiListPaymentMethodsRequest struct {
	ApiService *InfoAPIService
	// contains filtered or unexported fields
}

func (ApiListPaymentMethodsRequest) Execute

func (r ApiListPaymentMethodsRequest) Execute() (*ListPaymentMethodsResponse, *http.Response, error)

func (ApiListPaymentMethodsRequest) Fields

List of comma-separated fields.

func (ApiListPaymentMethodsRequest) Fieldset

Name of the fieldset.

func (ApiListPaymentMethodsRequest) Sort

List of comma-separated fields for result sorting (minus for desc sorting).

type ApiListProductCategoriesRequest

type ApiListProductCategoriesRequest struct {
	ApiService *InfoAPIService
	// contains filtered or unexported fields
}

func (ApiListProductCategoriesRequest) Context

Categories resource type.

func (ApiListProductCategoriesRequest) Execute

func (r ApiListProductCategoriesRequest) Execute() (*ListProductCategoriesResponse, *http.Response, error)

type ApiListProductsRequest

type ApiListProductsRequest struct {
	ApiService *ProductsAPIService
	// contains filtered or unexported fields
}

func (ApiListProductsRequest) Execute

func (r ApiListProductsRequest) Execute() (*ListProductsResponse, *http.Response, error)

func (ApiListProductsRequest) Fields

List of comma-separated fields.

func (ApiListProductsRequest) Fieldset

Name of the fieldset.

func (ApiListProductsRequest) Page

The page to retrieve.

func (ApiListProductsRequest) PerPage

The size of the page.

func (ApiListProductsRequest) Q

Query for filtering the results.

func (ApiListProductsRequest) Sort

List of comma-separated fields for result sorting (minus for desc sorting).

type ApiListReceiptsRequest

type ApiListReceiptsRequest struct {
	ApiService *ReceiptsAPIService
	// contains filtered or unexported fields
}

func (ApiListReceiptsRequest) Execute

func (r ApiListReceiptsRequest) Execute() (*ListReceiptsResponse, *http.Response, error)

func (ApiListReceiptsRequest) Fields

List of comma-separated fields.

func (ApiListReceiptsRequest) Fieldset

Name of the fieldset.

func (ApiListReceiptsRequest) Page

The page to retrieve.

func (ApiListReceiptsRequest) PerPage

The size of the page.

func (ApiListReceiptsRequest) Q

Query for filtering the results.

func (ApiListReceiptsRequest) Sort

List of comma-separated fields for result sorting (minus for desc sorting).

type ApiListReceivedDocumentCategoriesRequest

type ApiListReceivedDocumentCategoriesRequest struct {
	ApiService *InfoAPIService
	// contains filtered or unexported fields
}

func (ApiListReceivedDocumentCategoriesRequest) Execute

func (r ApiListReceivedDocumentCategoriesRequest) Execute() (*ListReceivedDocumentCategoriesResponse, *http.Response, error)

type ApiListReceivedDocumentsRequest

type ApiListReceivedDocumentsRequest struct {
	ApiService *ReceivedDocumentsAPIService
	// contains filtered or unexported fields
}

func (ApiListReceivedDocumentsRequest) Execute

func (r ApiListReceivedDocumentsRequest) Execute() (*ListReceivedDocumentsResponse, *http.Response, error)

func (ApiListReceivedDocumentsRequest) Fields

List of comma-separated fields.

func (ApiListReceivedDocumentsRequest) Fieldset

Name of the fieldset.

func (ApiListReceivedDocumentsRequest) Page

The page to retrieve.

func (ApiListReceivedDocumentsRequest) PerPage

The size of the page.

func (ApiListReceivedDocumentsRequest) Q

Query for filtering the results.

func (ApiListReceivedDocumentsRequest) Sort

List of comma-separated fields for result sorting (minus for desc sorting).

func (ApiListReceivedDocumentsRequest) Type_

The type of the received document.

type ApiListRevenueCentersRequest

type ApiListRevenueCentersRequest struct {
	ApiService *InfoAPIService
	// contains filtered or unexported fields
}

func (ApiListRevenueCentersRequest) Execute

func (r ApiListRevenueCentersRequest) Execute() (*ListRevenueCentersResponse, *http.Response, error)

type ApiListSuppliersRequest

type ApiListSuppliersRequest struct {
	ApiService *SuppliersAPIService
	// contains filtered or unexported fields
}

func (ApiListSuppliersRequest) Execute

func (r ApiListSuppliersRequest) Execute() (*ListSuppliersResponse, *http.Response, error)

func (ApiListSuppliersRequest) Fields

List of comma-separated fields.

func (ApiListSuppliersRequest) Fieldset

Name of the fieldset.

func (ApiListSuppliersRequest) Page

The page to retrieve.

func (ApiListSuppliersRequest) PerPage

The size of the page.

func (ApiListSuppliersRequest) Q

Query for filtering the results.

func (ApiListSuppliersRequest) Sort

List of comma-separated fields for result sorting (minus for desc sorting).

type ApiListTemplatesRequest

type ApiListTemplatesRequest struct {
	ApiService *InfoAPIService
	// contains filtered or unexported fields
}

func (ApiListTemplatesRequest) ByType

[Only if type=all] If true, splits the list in objects, grouping templates by type.

func (ApiListTemplatesRequest) Execute

func (r ApiListTemplatesRequest) Execute() (*ListTemplatesResponse, *http.Response, error)

func (ApiListTemplatesRequest) Type_

Type of the templates.

type ApiListUnitsOfMeasureRequest

type ApiListUnitsOfMeasureRequest struct {
	ApiService *InfoAPIService
	// contains filtered or unexported fields
}

func (ApiListUnitsOfMeasureRequest) Execute

func (r ApiListUnitsOfMeasureRequest) Execute() (*ListUnitsOfMeasureResponse, *http.Response, error)

type ApiListUserCompaniesRequest

type ApiListUserCompaniesRequest struct {
	ApiService *UserAPIService
	// contains filtered or unexported fields
}

func (ApiListUserCompaniesRequest) Execute

func (r ApiListUserCompaniesRequest) Execute() (*ListUserCompaniesResponse, *http.Response, error)

type ApiListVatTypesRequest

type ApiListVatTypesRequest struct {
	ApiService *InfoAPIService
	// contains filtered or unexported fields
}

func (ApiListVatTypesRequest) Execute

func (r ApiListVatTypesRequest) Execute() (*ListVatTypesResponse, *http.Response, error)

func (ApiListVatTypesRequest) Fieldset

Name of the fieldset.

type ApiListWebhooksSubscriptionsRequest added in v2.0.6

type ApiListWebhooksSubscriptionsRequest struct {
	ApiService *WebhooksAPIService
	// contains filtered or unexported fields
}

func (ApiListWebhooksSubscriptionsRequest) Execute added in v2.0.6

func (r ApiListWebhooksSubscriptionsRequest) Execute() (*ListWebhooksSubscriptionsResponse, *http.Response, error)

type ApiModifyArchiveDocumentRequest

type ApiModifyArchiveDocumentRequest struct {
	ApiService *ArchiveAPIService
	// contains filtered or unexported fields
}

func (ApiModifyArchiveDocumentRequest) Execute

func (r ApiModifyArchiveDocumentRequest) Execute() (*ModifyArchiveDocumentResponse, *http.Response, error)

func (ApiModifyArchiveDocumentRequest) ModifyArchiveDocumentRequest

func (r ApiModifyArchiveDocumentRequest) ModifyArchiveDocumentRequest(modifyArchiveDocumentRequest ModifyArchiveDocumentRequest) ApiModifyArchiveDocumentRequest

Modified Archive Document

type ApiModifyCashbookEntryRequest

type ApiModifyCashbookEntryRequest struct {
	ApiService *CashbookAPIService
	// contains filtered or unexported fields
}

func (ApiModifyCashbookEntryRequest) Execute

func (r ApiModifyCashbookEntryRequest) Execute() (*ModifyCashbookEntryResponse, *http.Response, error)

func (ApiModifyCashbookEntryRequest) ModifyCashbookEntryRequest

func (r ApiModifyCashbookEntryRequest) ModifyCashbookEntryRequest(modifyCashbookEntryRequest ModifyCashbookEntryRequest) ApiModifyCashbookEntryRequest

Cashbook Entry

type ApiModifyClientRequest

type ApiModifyClientRequest struct {
	ApiService *ClientsAPIService
	// contains filtered or unexported fields
}

func (ApiModifyClientRequest) Execute

func (r ApiModifyClientRequest) Execute() (*ModifyClientResponse, *http.Response, error)

func (ApiModifyClientRequest) ModifyClientRequest

func (r ApiModifyClientRequest) ModifyClientRequest(modifyClientRequest ModifyClientRequest) ApiModifyClientRequest

The modified Client. First level parameters are managed in delta mode.

type ApiModifyF24Request

type ApiModifyF24Request struct {
	ApiService *TaxesAPIService
	// contains filtered or unexported fields
}

func (ApiModifyF24Request) Execute

func (r ApiModifyF24Request) Execute() (*ModifyF24Response, *http.Response, error)

func (ApiModifyF24Request) ModifyF24Request

func (r ApiModifyF24Request) ModifyF24Request(modifyF24Request ModifyF24Request) ApiModifyF24Request

The F24

type ApiModifyIssuedDocumentRequest

type ApiModifyIssuedDocumentRequest struct {
	ApiService *IssuedDocumentsAPIService
	// contains filtered or unexported fields
}

func (ApiModifyIssuedDocumentRequest) Execute

func (r ApiModifyIssuedDocumentRequest) Execute() (*ModifyIssuedDocumentResponse, *http.Response, error)

func (ApiModifyIssuedDocumentRequest) ModifyIssuedDocumentRequest

func (r ApiModifyIssuedDocumentRequest) ModifyIssuedDocumentRequest(modifyIssuedDocumentRequest ModifyIssuedDocumentRequest) ApiModifyIssuedDocumentRequest

The modified document

type ApiModifyPaymentAccountRequest

type ApiModifyPaymentAccountRequest struct {
	ApiService *SettingsAPIService
	// contains filtered or unexported fields
}

func (ApiModifyPaymentAccountRequest) Execute

func (r ApiModifyPaymentAccountRequest) Execute() (*ModifyPaymentAccountResponse, *http.Response, error)

func (ApiModifyPaymentAccountRequest) ModifyPaymentAccountRequest

func (r ApiModifyPaymentAccountRequest) ModifyPaymentAccountRequest(modifyPaymentAccountRequest ModifyPaymentAccountRequest) ApiModifyPaymentAccountRequest

type ApiModifyPaymentMethodRequest

type ApiModifyPaymentMethodRequest struct {
	ApiService *SettingsAPIService
	// contains filtered or unexported fields
}

func (ApiModifyPaymentMethodRequest) Execute

func (r ApiModifyPaymentMethodRequest) Execute() (*ModifyPaymentMethodResponse, *http.Response, error)

func (ApiModifyPaymentMethodRequest) ModifyPaymentMethodRequest

func (r ApiModifyPaymentMethodRequest) ModifyPaymentMethodRequest(modifyPaymentMethodRequest ModifyPaymentMethodRequest) ApiModifyPaymentMethodRequest

type ApiModifyProductRequest

type ApiModifyProductRequest struct {
	ApiService *ProductsAPIService
	// contains filtered or unexported fields
}

func (ApiModifyProductRequest) Execute

func (r ApiModifyProductRequest) Execute() (*ModifyProductResponse, *http.Response, error)

func (ApiModifyProductRequest) ModifyProductRequest

func (r ApiModifyProductRequest) ModifyProductRequest(modifyProductRequest ModifyProductRequest) ApiModifyProductRequest

Modified product details.

type ApiModifyReceiptRequest

type ApiModifyReceiptRequest struct {
	ApiService *ReceiptsAPIService
	// contains filtered or unexported fields
}

func (ApiModifyReceiptRequest) Execute

func (r ApiModifyReceiptRequest) Execute() (*ModifyReceiptResponse, *http.Response, error)

func (ApiModifyReceiptRequest) ModifyReceiptRequest

func (r ApiModifyReceiptRequest) ModifyReceiptRequest(modifyReceiptRequest ModifyReceiptRequest) ApiModifyReceiptRequest

Modified receipt.

type ApiModifyReceivedDocumentRequest

type ApiModifyReceivedDocumentRequest struct {
	ApiService *ReceivedDocumentsAPIService
	// contains filtered or unexported fields
}

func (ApiModifyReceivedDocumentRequest) Execute

func (r ApiModifyReceivedDocumentRequest) Execute() (*ModifyReceivedDocumentResponse, *http.Response, error)

func (ApiModifyReceivedDocumentRequest) ModifyReceivedDocumentRequest

func (r ApiModifyReceivedDocumentRequest) ModifyReceivedDocumentRequest(modifyReceivedDocumentRequest ModifyReceivedDocumentRequest) ApiModifyReceivedDocumentRequest

Modified document.

type ApiModifySupplierRequest

type ApiModifySupplierRequest struct {
	ApiService *SuppliersAPIService
	// contains filtered or unexported fields
}

func (ApiModifySupplierRequest) Execute

func (r ApiModifySupplierRequest) Execute() (*ModifySupplierResponse, *http.Response, error)

func (ApiModifySupplierRequest) ModifySupplierRequest

func (r ApiModifySupplierRequest) ModifySupplierRequest(modifySupplierRequest ModifySupplierRequest) ApiModifySupplierRequest

The modified Supplier. First level parameters are managed in delta mode.

type ApiModifyVatTypeRequest

type ApiModifyVatTypeRequest struct {
	ApiService *SettingsAPIService
	// contains filtered or unexported fields
}

func (ApiModifyVatTypeRequest) Execute

func (r ApiModifyVatTypeRequest) Execute() (*ModifyVatTypeResponse, *http.Response, error)

func (ApiModifyVatTypeRequest) ModifyVatTypeRequest

func (r ApiModifyVatTypeRequest) ModifyVatTypeRequest(modifyVatTypeRequest ModifyVatTypeRequest) ApiModifyVatTypeRequest

type ApiModifyWebhooksSubscriptionRequest added in v2.0.6

type ApiModifyWebhooksSubscriptionRequest struct {
	ApiService *WebhooksAPIService
	// contains filtered or unexported fields
}

func (ApiModifyWebhooksSubscriptionRequest) Execute added in v2.0.6

func (r ApiModifyWebhooksSubscriptionRequest) Execute() (*ModifyWebhooksSubscriptionResponse, *http.Response, error)

func (ApiModifyWebhooksSubscriptionRequest) ModifyWebhooksSubscriptionRequest added in v2.0.6

func (r ApiModifyWebhooksSubscriptionRequest) ModifyWebhooksSubscriptionRequest(modifyWebhooksSubscriptionRequest ModifyWebhooksSubscriptionRequest) ApiModifyWebhooksSubscriptionRequest

type ApiScheduleEmailRequest

type ApiScheduleEmailRequest struct {
	ApiService *IssuedDocumentsAPIService
	// contains filtered or unexported fields
}

func (ApiScheduleEmailRequest) Execute

func (r ApiScheduleEmailRequest) Execute() (*http.Response, error)

func (ApiScheduleEmailRequest) ScheduleEmailRequest

func (r ApiScheduleEmailRequest) ScheduleEmailRequest(scheduleEmailRequest ScheduleEmailRequest) ApiScheduleEmailRequest

Email Schedule

type ApiSendEInvoiceRequest

type ApiSendEInvoiceRequest struct {
	ApiService *IssuedEInvoicesAPIService
	// contains filtered or unexported fields
}

func (ApiSendEInvoiceRequest) Execute

func (r ApiSendEInvoiceRequest) Execute() (*SendEInvoiceResponse, *http.Response, error)

func (ApiSendEInvoiceRequest) SendEInvoiceRequest

func (r ApiSendEInvoiceRequest) SendEInvoiceRequest(sendEInvoiceRequest SendEInvoiceRequest) ApiSendEInvoiceRequest

type ApiTransformIssuedDocumentRequest added in v2.0.2

type ApiTransformIssuedDocumentRequest struct {
	ApiService *IssuedDocumentsAPIService
	// contains filtered or unexported fields
}

func (ApiTransformIssuedDocumentRequest) EInvoice added in v2.0.2

New document e_invoice.

func (ApiTransformIssuedDocumentRequest) Execute added in v2.0.2

func (r ApiTransformIssuedDocumentRequest) Execute() (*TransformIssuedDocumentResponse, *http.Response, error)

func (ApiTransformIssuedDocumentRequest) NewType added in v2.0.2

New document type.

func (ApiTransformIssuedDocumentRequest) OriginalDocumentId added in v2.0.2

func (r ApiTransformIssuedDocumentRequest) OriginalDocumentId(originalDocumentId int32) ApiTransformIssuedDocumentRequest

Original document id.

func (ApiTransformIssuedDocumentRequest) TransformKeepCopy added in v2.0.2

func (r ApiTransformIssuedDocumentRequest) TransformKeepCopy(transformKeepCopy int32) ApiTransformIssuedDocumentRequest

Keep the old document.

type ApiUploadArchiveDocumentAttachmentRequest

type ApiUploadArchiveDocumentAttachmentRequest struct {
	ApiService *ArchiveAPIService
	// contains filtered or unexported fields
}

func (ApiUploadArchiveDocumentAttachmentRequest) Attachment

Attachment file [.png, .jpg, .gif, .pdf, .zip, .xls, .xlsx, .doc, .docx]

func (ApiUploadArchiveDocumentAttachmentRequest) Execute

func (r ApiUploadArchiveDocumentAttachmentRequest) Execute() (*UploadArchiveAttachmentResponse, *http.Response, error)

func (ApiUploadArchiveDocumentAttachmentRequest) Filename

Attachment file name

type ApiUploadF24AttachmentRequest

type ApiUploadF24AttachmentRequest struct {
	ApiService *TaxesAPIService
	// contains filtered or unexported fields
}

func (ApiUploadF24AttachmentRequest) Attachment

Attachment file [.png, .jpg, .gif, .pdf, .zip, .xls, .xlsx, .doc, .docx]

func (ApiUploadF24AttachmentRequest) Execute

func (r ApiUploadF24AttachmentRequest) Execute() (*UploadF24AttachmentResponse, *http.Response, error)

func (ApiUploadF24AttachmentRequest) Filename

Attachment file name

type ApiUploadIssuedDocumentAttachmentRequest

type ApiUploadIssuedDocumentAttachmentRequest struct {
	ApiService *IssuedDocumentsAPIService
	// contains filtered or unexported fields
}

func (ApiUploadIssuedDocumentAttachmentRequest) Attachment

Attachment file [.png, .jpg, .gif, .pdf, .zip, .xls, .xlsx, .doc, .docx]

func (ApiUploadIssuedDocumentAttachmentRequest) Execute

func (r ApiUploadIssuedDocumentAttachmentRequest) Execute() (*UploadIssuedDocumentAttachmentResponse, *http.Response, error)

func (ApiUploadIssuedDocumentAttachmentRequest) Filename

Attachment file name

type ApiUploadReceivedDocumentAttachmentRequest

type ApiUploadReceivedDocumentAttachmentRequest struct {
	ApiService *ReceivedDocumentsAPIService
	// contains filtered or unexported fields
}

func (ApiUploadReceivedDocumentAttachmentRequest) Attachment

Attachment file [.png, .jpg, .gif, .pdf, .zip, .xls, .xlsx, .doc, .docx]

func (ApiUploadReceivedDocumentAttachmentRequest) Execute

func (r ApiUploadReceivedDocumentAttachmentRequest) Execute() (*UploadReceivedDocumentAttachmentResponse, *http.Response, error)

func (ApiUploadReceivedDocumentAttachmentRequest) Filename

Attachment file name

type ApiVerifyEInvoiceXmlRequest

type ApiVerifyEInvoiceXmlRequest struct {
	ApiService *IssuedEInvoicesAPIService
	// contains filtered or unexported fields
}

func (ApiVerifyEInvoiceXmlRequest) Execute

func (r ApiVerifyEInvoiceXmlRequest) Execute() (*VerifyEInvoiceXmlResponse, *http.Response, error)

type ArchiveAPIService added in v2.0.8

type ArchiveAPIService service

ArchiveAPIService ArchiveAPI service

func (*ArchiveAPIService) CreateArchiveDocument added in v2.0.8

func (a *ArchiveAPIService) CreateArchiveDocument(ctx context.Context, companyId int32) ApiCreateArchiveDocumentRequest

CreateArchiveDocument Create Archive Document

Creates a new archive document.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@return ApiCreateArchiveDocumentRequest

func (*ArchiveAPIService) CreateArchiveDocumentExecute added in v2.0.8

func (a *ArchiveAPIService) CreateArchiveDocumentExecute(r ApiCreateArchiveDocumentRequest) (*CreateArchiveDocumentResponse, *http.Response, error)

Execute executes the request

@return CreateArchiveDocumentResponse

func (*ArchiveAPIService) DeleteArchiveDocument added in v2.0.8

func (a *ArchiveAPIService) DeleteArchiveDocument(ctx context.Context, companyId int32, documentId int32) ApiDeleteArchiveDocumentRequest

DeleteArchiveDocument Delete Archive Document

Deletes the specified archive document.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@param documentId The ID of the document.
@return ApiDeleteArchiveDocumentRequest

func (*ArchiveAPIService) DeleteArchiveDocumentExecute added in v2.0.8

func (a *ArchiveAPIService) DeleteArchiveDocumentExecute(r ApiDeleteArchiveDocumentRequest) (*http.Response, error)

Execute executes the request

func (*ArchiveAPIService) GetArchiveDocument added in v2.0.8

func (a *ArchiveAPIService) GetArchiveDocument(ctx context.Context, companyId int32, documentId int32) ApiGetArchiveDocumentRequest

GetArchiveDocument Get Archive Document

Gets the specified archive document.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@param documentId The ID of the document.
@return ApiGetArchiveDocumentRequest

func (*ArchiveAPIService) GetArchiveDocumentExecute added in v2.0.8

func (a *ArchiveAPIService) GetArchiveDocumentExecute(r ApiGetArchiveDocumentRequest) (*GetArchiveDocumentResponse, *http.Response, error)

Execute executes the request

@return GetArchiveDocumentResponse

func (*ArchiveAPIService) ListArchiveDocuments added in v2.0.8

func (a *ArchiveAPIService) ListArchiveDocuments(ctx context.Context, companyId int32) ApiListArchiveDocumentsRequest

ListArchiveDocuments List Archive Documents

Lists the archive documents.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@return ApiListArchiveDocumentsRequest

func (*ArchiveAPIService) ListArchiveDocumentsExecute added in v2.0.8

func (a *ArchiveAPIService) ListArchiveDocumentsExecute(r ApiListArchiveDocumentsRequest) (*ListArchiveDocumentsResponse, *http.Response, error)

Execute executes the request

@return ListArchiveDocumentsResponse

func (*ArchiveAPIService) ModifyArchiveDocument added in v2.0.8

func (a *ArchiveAPIService) ModifyArchiveDocument(ctx context.Context, companyId int32, documentId int32) ApiModifyArchiveDocumentRequest

ModifyArchiveDocument Modify Archive Document

Modifies the specified archive document.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@param documentId The ID of the document.
@return ApiModifyArchiveDocumentRequest

func (*ArchiveAPIService) ModifyArchiveDocumentExecute added in v2.0.8

func (a *ArchiveAPIService) ModifyArchiveDocumentExecute(r ApiModifyArchiveDocumentRequest) (*ModifyArchiveDocumentResponse, *http.Response, error)

Execute executes the request

@return ModifyArchiveDocumentResponse

func (*ArchiveAPIService) UploadArchiveDocumentAttachment added in v2.0.8

func (a *ArchiveAPIService) UploadArchiveDocumentAttachment(ctx context.Context, companyId int32) ApiUploadArchiveDocumentAttachmentRequest

UploadArchiveDocumentAttachment Upload Archive Document Attachment

Uploads an attachment destined to an archive document. The actual association between the document and the attachment must be implemented separately, using the returned token.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@return ApiUploadArchiveDocumentAttachmentRequest

func (*ArchiveAPIService) UploadArchiveDocumentAttachmentExecute added in v2.0.8

func (a *ArchiveAPIService) UploadArchiveDocumentAttachmentExecute(r ApiUploadArchiveDocumentAttachmentRequest) (*UploadArchiveAttachmentResponse, *http.Response, error)

Execute executes the request

@return UploadArchiveAttachmentResponse

type BasicAuth

type BasicAuth struct {
	UserName string `json:"userName,omitempty"`
	Password string `json:"password,omitempty"`
}

BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth

type CashbookAPIService added in v2.0.8

type CashbookAPIService service

CashbookAPIService CashbookAPI service

func (*CashbookAPIService) CreateCashbookEntry added in v2.0.8

func (a *CashbookAPIService) CreateCashbookEntry(ctx context.Context, companyId int32) ApiCreateCashbookEntryRequest

CreateCashbookEntry Create Cashbook Entry

Creates a new cashbook entry.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@return ApiCreateCashbookEntryRequest

func (*CashbookAPIService) CreateCashbookEntryExecute added in v2.0.8

func (a *CashbookAPIService) CreateCashbookEntryExecute(r ApiCreateCashbookEntryRequest) (*CreateCashbookEntryResponse, *http.Response, error)

Execute executes the request

@return CreateCashbookEntryResponse

func (*CashbookAPIService) DeleteCashbookEntry added in v2.0.8

func (a *CashbookAPIService) DeleteCashbookEntry(ctx context.Context, companyId int32, documentId string) ApiDeleteCashbookEntryRequest

DeleteCashbookEntry Delete Cashbook Entry

Deletes the specified cashbook entry.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@param documentId The ID of the document.
@return ApiDeleteCashbookEntryRequest

func (*CashbookAPIService) DeleteCashbookEntryExecute added in v2.0.8

func (a *CashbookAPIService) DeleteCashbookEntryExecute(r ApiDeleteCashbookEntryRequest) (*http.Response, error)

Execute executes the request

func (*CashbookAPIService) GetCashbookEntry added in v2.0.8

func (a *CashbookAPIService) GetCashbookEntry(ctx context.Context, companyId int32, documentId string) ApiGetCashbookEntryRequest

GetCashbookEntry Get Cashbook Entry

Gets the specified cashbook entry.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@param documentId The ID of the document.
@return ApiGetCashbookEntryRequest

func (*CashbookAPIService) GetCashbookEntryExecute added in v2.0.8

func (a *CashbookAPIService) GetCashbookEntryExecute(r ApiGetCashbookEntryRequest) (*GetCashbookEntryResponse, *http.Response, error)

Execute executes the request

@return GetCashbookEntryResponse

func (*CashbookAPIService) ListCashbookEntries added in v2.0.8

func (a *CashbookAPIService) ListCashbookEntries(ctx context.Context, companyId int32) ApiListCashbookEntriesRequest

ListCashbookEntries List Cashbook Entries

Lists the cashbook entries.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@return ApiListCashbookEntriesRequest

func (*CashbookAPIService) ListCashbookEntriesExecute added in v2.0.8

func (a *CashbookAPIService) ListCashbookEntriesExecute(r ApiListCashbookEntriesRequest) (*ListCashbookEntriesResponse, *http.Response, error)

Execute executes the request

@return ListCashbookEntriesResponse

func (*CashbookAPIService) ModifyCashbookEntry added in v2.0.8

func (a *CashbookAPIService) ModifyCashbookEntry(ctx context.Context, companyId int32, documentId string) ApiModifyCashbookEntryRequest

ModifyCashbookEntry Modify Cashbook Entry

Modifies the specified cashbook entry.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@param documentId The ID of the document.
@return ApiModifyCashbookEntryRequest

func (*CashbookAPIService) ModifyCashbookEntryExecute added in v2.0.8

func (a *CashbookAPIService) ModifyCashbookEntryExecute(r ApiModifyCashbookEntryRequest) (*ModifyCashbookEntryResponse, *http.Response, error)

Execute executes the request

@return ModifyCashbookEntryResponse

type ClientsAPIService added in v2.0.8

type ClientsAPIService service

ClientsAPIService ClientsAPI service

func (*ClientsAPIService) CreateClient added in v2.0.8

func (a *ClientsAPIService) CreateClient(ctx context.Context, companyId int32) ApiCreateClientRequest

CreateClient Create Client

Creates a new client.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@return ApiCreateClientRequest

func (*ClientsAPIService) CreateClientExecute added in v2.0.8

func (a *ClientsAPIService) CreateClientExecute(r ApiCreateClientRequest) (*CreateClientResponse, *http.Response, error)

Execute executes the request

@return CreateClientResponse

func (*ClientsAPIService) DeleteClient added in v2.0.8

func (a *ClientsAPIService) DeleteClient(ctx context.Context, companyId int32, clientId int32) ApiDeleteClientRequest

DeleteClient Delete Client

Deletes the specified client.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@param clientId The ID of the client.
@return ApiDeleteClientRequest

func (*ClientsAPIService) DeleteClientExecute added in v2.0.8

func (a *ClientsAPIService) DeleteClientExecute(r ApiDeleteClientRequest) (*http.Response, error)

Execute executes the request

func (*ClientsAPIService) GetClient added in v2.0.8

func (a *ClientsAPIService) GetClient(ctx context.Context, companyId int32, clientId int32) ApiGetClientRequest

GetClient Get Client

Gets the specified client.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@param clientId The ID of the client.
@return ApiGetClientRequest

func (*ClientsAPIService) GetClientExecute added in v2.0.8

func (a *ClientsAPIService) GetClientExecute(r ApiGetClientRequest) (*GetClientResponse, *http.Response, error)

Execute executes the request

@return GetClientResponse

func (*ClientsAPIService) ListClients added in v2.0.8

func (a *ClientsAPIService) ListClients(ctx context.Context, companyId int32) ApiListClientsRequest

ListClients List Clients

Lists the clients.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@return ApiListClientsRequest

func (*ClientsAPIService) ListClientsExecute added in v2.0.8

func (a *ClientsAPIService) ListClientsExecute(r ApiListClientsRequest) (*ListClientsResponse, *http.Response, error)

Execute executes the request

@return ListClientsResponse

func (*ClientsAPIService) ModifyClient added in v2.0.8

func (a *ClientsAPIService) ModifyClient(ctx context.Context, companyId int32, clientId int32) ApiModifyClientRequest

ModifyClient Modify Client

Modifies the specified client.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@param clientId The ID of the client.
@return ApiModifyClientRequest

func (*ClientsAPIService) ModifyClientExecute added in v2.0.8

func (a *ClientsAPIService) ModifyClientExecute(r ApiModifyClientRequest) (*ModifyClientResponse, *http.Response, error)

Execute executes the request

@return ModifyClientResponse

type CompaniesAPIService added in v2.0.8

type CompaniesAPIService service

CompaniesAPIService CompaniesAPI service

func (*CompaniesAPIService) GetCompanyInfo added in v2.0.8

func (a *CompaniesAPIService) GetCompanyInfo(ctx context.Context, companyId int32) ApiGetCompanyInfoRequest

GetCompanyInfo Get Company Info

Gets the company detailed info.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@return ApiGetCompanyInfoRequest

func (*CompaniesAPIService) GetCompanyInfoExecute added in v2.0.8

func (a *CompaniesAPIService) GetCompanyInfoExecute(r ApiGetCompanyInfoRequest) (*GetCompanyInfoResponse, *http.Response, error)

Execute executes the request

@return GetCompanyInfoResponse

func (*CompaniesAPIService) GetCompanyPlanUsage added in v2.0.10

func (a *CompaniesAPIService) GetCompanyPlanUsage(ctx context.Context, companyId int32) ApiGetCompanyPlanUsageRequest

GetCompanyPlanUsage Get Company Plan Usage

Gets the company limits usage.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@return ApiGetCompanyPlanUsageRequest

func (*CompaniesAPIService) GetCompanyPlanUsageExecute added in v2.0.10

func (a *CompaniesAPIService) GetCompanyPlanUsageExecute(r ApiGetCompanyPlanUsageRequest) (*GetCompanyPlanUsageResponse, *http.Response, error)

Execute executes the request

@return GetCompanyPlanUsageResponse

type Configuration

type Configuration struct {
	Host             string            `json:"host,omitempty"`
	Scheme           string            `json:"scheme,omitempty"`
	DefaultHeader    map[string]string `json:"defaultHeader,omitempty"`
	UserAgent        string            `json:"userAgent,omitempty"`
	Debug            bool              `json:"debug,omitempty"`
	Servers          ServerConfigurations
	OperationServers map[string]ServerConfigurations
	HTTPClient       *http.Client
}

Configuration stores the configuration of the API client

func NewConfiguration

func NewConfiguration() *Configuration

NewConfiguration returns a new Configuration object

func (*Configuration) AddDefaultHeader

func (c *Configuration) AddDefaultHeader(key string, value string)

AddDefaultHeader adds a new HTTP header to the default header in the request

func (*Configuration) ServerURL

func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)

ServerURLWithContext returns a new server URL given an endpoint

type EmailsAPIService added in v2.0.8

type EmailsAPIService service

EmailsAPIService EmailsAPI service

func (*EmailsAPIService) ListEmails added in v2.0.8

func (a *EmailsAPIService) ListEmails(ctx context.Context, companyId int32) ApiListEmailsRequest

ListEmails List Emails

List Emails.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@return ApiListEmailsRequest

func (*EmailsAPIService) ListEmailsExecute added in v2.0.8

func (a *EmailsAPIService) ListEmailsExecute(r ApiListEmailsRequest) (*ListEmailsResponse, *http.Response, error)

Execute executes the request

@return ListEmailsResponse

type GenericOpenAPIError

type GenericOpenAPIError struct {
	// contains filtered or unexported fields
}

GenericOpenAPIError Provides access to the body, error and model on returned errors.

func (GenericOpenAPIError) Body

func (e GenericOpenAPIError) Body() []byte

Body returns the raw bytes of the response

func (GenericOpenAPIError) Error

func (e GenericOpenAPIError) Error() string

Error returns non-empty string if there was an error.

func (GenericOpenAPIError) Model

func (e GenericOpenAPIError) Model() interface{}

Model returns the unpacked model of the error

type InfoAPIService added in v2.0.8

type InfoAPIService service

InfoAPIService InfoAPI service

func (*InfoAPIService) ListArchiveCategories added in v2.0.8

func (a *InfoAPIService) ListArchiveCategories(ctx context.Context, companyId int32) ApiListArchiveCategoriesRequest

ListArchiveCategories List Archive Categories

Lists the archive categories.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@return ApiListArchiveCategoriesRequest

func (*InfoAPIService) ListArchiveCategoriesExecute added in v2.0.8

func (a *InfoAPIService) ListArchiveCategoriesExecute(r ApiListArchiveCategoriesRequest) (*ListArchiveCategoriesResponse, *http.Response, error)

Execute executes the request

@return ListArchiveCategoriesResponse

func (*InfoAPIService) ListCities added in v2.0.8

ListCities List Cities

Lists the Italian cities.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListCitiesRequest

func (*InfoAPIService) ListCitiesExecute added in v2.0.8

func (a *InfoAPIService) ListCitiesExecute(r ApiListCitiesRequest) (*ListCitiesResponse, *http.Response, error)

Execute executes the request

@return ListCitiesResponse

func (*InfoAPIService) ListCostCenters added in v2.0.8

func (a *InfoAPIService) ListCostCenters(ctx context.Context, companyId int32) ApiListCostCentersRequest

ListCostCenters List Cost Centers

Lists the cost centers.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@return ApiListCostCentersRequest

func (*InfoAPIService) ListCostCentersExecute added in v2.0.8

func (a *InfoAPIService) ListCostCentersExecute(r ApiListCostCentersRequest) (*ListCostCentersResponse, *http.Response, error)

Execute executes the request

@return ListCostCentersResponse

func (*InfoAPIService) ListCountries added in v2.0.8

func (a *InfoAPIService) ListCountries(ctx context.Context) ApiListCountriesRequest

ListCountries List Countries

Lists the supported countries.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListCountriesRequest

func (*InfoAPIService) ListCountriesExecute added in v2.0.8

func (a *InfoAPIService) ListCountriesExecute(r ApiListCountriesRequest) (*ListCountriesResponse, *http.Response, error)

Execute executes the request

@return ListCountriesResponse

func (*InfoAPIService) ListCurrencies added in v2.0.8

func (a *InfoAPIService) ListCurrencies(ctx context.Context) ApiListCurrenciesRequest

ListCurrencies List Currencies

Lists the supported currencies.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListCurrenciesRequest

func (*InfoAPIService) ListCurrenciesExecute added in v2.0.8

func (a *InfoAPIService) ListCurrenciesExecute(r ApiListCurrenciesRequest) (*ListCurrenciesResponse, *http.Response, error)

Execute executes the request

@return ListCurrenciesResponse

func (*InfoAPIService) ListDeliveryNotesDefaultCausals added in v2.0.8

func (a *InfoAPIService) ListDeliveryNotesDefaultCausals(ctx context.Context) ApiListDeliveryNotesDefaultCausalsRequest

ListDeliveryNotesDefaultCausals List Delivery Notes Default Causals

Lists the delivery note default causals.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListDeliveryNotesDefaultCausalsRequest

func (*InfoAPIService) ListDeliveryNotesDefaultCausalsExecute added in v2.0.8

func (a *InfoAPIService) ListDeliveryNotesDefaultCausalsExecute(r ApiListDeliveryNotesDefaultCausalsRequest) (*ListDeliveryNotesDefaultCausalsResponse, *http.Response, error)

Execute executes the request

@return ListDeliveryNotesDefaultCausalsResponse

func (*InfoAPIService) ListDetailedCountries added in v2.0.8

func (a *InfoAPIService) ListDetailedCountries(ctx context.Context) ApiListDetailedCountriesRequest

ListDetailedCountries List Detailed Countries

Lists the supported countries.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListDetailedCountriesRequest

func (*InfoAPIService) ListDetailedCountriesExecute added in v2.0.8

func (a *InfoAPIService) ListDetailedCountriesExecute(r ApiListDetailedCountriesRequest) (*ListDetailedCountriesResponse, *http.Response, error)

Execute executes the request

@return ListDetailedCountriesResponse

func (*InfoAPIService) ListLanguages added in v2.0.8

func (a *InfoAPIService) ListLanguages(ctx context.Context) ApiListLanguagesRequest

ListLanguages List Languages

Lists the supported languages.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListLanguagesRequest

func (*InfoAPIService) ListLanguagesExecute added in v2.0.8

func (a *InfoAPIService) ListLanguagesExecute(r ApiListLanguagesRequest) (*ListLanguagesResponse, *http.Response, error)

Execute executes the request

@return ListLanguagesResponse

func (*InfoAPIService) ListPaymentAccounts added in v2.0.8

func (a *InfoAPIService) ListPaymentAccounts(ctx context.Context, companyId int32) ApiListPaymentAccountsRequest

ListPaymentAccounts List Payment Accounts

Lists the available payment accounts.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@return ApiListPaymentAccountsRequest

func (*InfoAPIService) ListPaymentAccountsExecute added in v2.0.8

func (a *InfoAPIService) ListPaymentAccountsExecute(r ApiListPaymentAccountsRequest) (*ListPaymentAccountsResponse, *http.Response, error)

Execute executes the request

@return ListPaymentAccountsResponse

func (*InfoAPIService) ListPaymentMethods added in v2.0.8

func (a *InfoAPIService) ListPaymentMethods(ctx context.Context, companyId int32) ApiListPaymentMethodsRequest

ListPaymentMethods List Payment Methods

Lists the available payment methods.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@return ApiListPaymentMethodsRequest

func (*InfoAPIService) ListPaymentMethodsExecute added in v2.0.8

func (a *InfoAPIService) ListPaymentMethodsExecute(r ApiListPaymentMethodsRequest) (*ListPaymentMethodsResponse, *http.Response, error)

Execute executes the request

@return ListPaymentMethodsResponse

func (*InfoAPIService) ListProductCategories added in v2.0.8

func (a *InfoAPIService) ListProductCategories(ctx context.Context, companyId int32) ApiListProductCategoriesRequest

ListProductCategories List Product Categories

Lists the product categories.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@return ApiListProductCategoriesRequest

func (*InfoAPIService) ListProductCategoriesExecute added in v2.0.8

func (a *InfoAPIService) ListProductCategoriesExecute(r ApiListProductCategoriesRequest) (*ListProductCategoriesResponse, *http.Response, error)

Execute executes the request

@return ListProductCategoriesResponse

func (*InfoAPIService) ListReceivedDocumentCategories added in v2.0.8

func (a *InfoAPIService) ListReceivedDocumentCategories(ctx context.Context, companyId int32) ApiListReceivedDocumentCategoriesRequest

ListReceivedDocumentCategories List Received Document Categories

Lists the received document categories.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@return ApiListReceivedDocumentCategoriesRequest

func (*InfoAPIService) ListReceivedDocumentCategoriesExecute added in v2.0.8

func (a *InfoAPIService) ListReceivedDocumentCategoriesExecute(r ApiListReceivedDocumentCategoriesRequest) (*ListReceivedDocumentCategoriesResponse, *http.Response, error)

Execute executes the request

@return ListReceivedDocumentCategoriesResponse

func (*InfoAPIService) ListRevenueCenters added in v2.0.8

func (a *InfoAPIService) ListRevenueCenters(ctx context.Context, companyId int32) ApiListRevenueCentersRequest

ListRevenueCenters List Revenue Centers

Lists the revenue centers.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@return ApiListRevenueCentersRequest

func (*InfoAPIService) ListRevenueCentersExecute added in v2.0.8

func (a *InfoAPIService) ListRevenueCentersExecute(r ApiListRevenueCentersRequest) (*ListRevenueCentersResponse, *http.Response, error)

Execute executes the request

@return ListRevenueCentersResponse

func (*InfoAPIService) ListTemplates added in v2.0.8

func (a *InfoAPIService) ListTemplates(ctx context.Context) ApiListTemplatesRequest

ListTemplates List Templates

Lists the available templates.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListTemplatesRequest

func (*InfoAPIService) ListTemplatesExecute added in v2.0.8

func (a *InfoAPIService) ListTemplatesExecute(r ApiListTemplatesRequest) (*ListTemplatesResponse, *http.Response, error)

Execute executes the request

@return ListTemplatesResponse

func (*InfoAPIService) ListUnitsOfMeasure added in v2.0.8

func (a *InfoAPIService) ListUnitsOfMeasure(ctx context.Context) ApiListUnitsOfMeasureRequest

ListUnitsOfMeasure List Units of Measure

Lists the units of measure.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListUnitsOfMeasureRequest

func (*InfoAPIService) ListUnitsOfMeasureExecute added in v2.0.8

func (a *InfoAPIService) ListUnitsOfMeasureExecute(r ApiListUnitsOfMeasureRequest) (*ListUnitsOfMeasureResponse, *http.Response, error)

Execute executes the request

@return ListUnitsOfMeasureResponse

func (*InfoAPIService) ListVatTypes added in v2.0.8

func (a *InfoAPIService) ListVatTypes(ctx context.Context, companyId int32) ApiListVatTypesRequest

ListVatTypes List Vat Types

Lists the available vat types.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@return ApiListVatTypesRequest

func (*InfoAPIService) ListVatTypesExecute added in v2.0.8

func (a *InfoAPIService) ListVatTypesExecute(r ApiListVatTypesRequest) (*ListVatTypesResponse, *http.Response, error)

Execute executes the request

@return ListVatTypesResponse

type IssuedDocumentsAPIService added in v2.0.8

type IssuedDocumentsAPIService service

IssuedDocumentsAPIService IssuedDocumentsAPI service

func (*IssuedDocumentsAPIService) CreateIssuedDocument added in v2.0.8

func (a *IssuedDocumentsAPIService) CreateIssuedDocument(ctx context.Context, companyId int32) ApiCreateIssuedDocumentRequest

CreateIssuedDocument Create Issued Document

Creates a new document.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@return ApiCreateIssuedDocumentRequest

func (*IssuedDocumentsAPIService) CreateIssuedDocumentExecute added in v2.0.8

func (a *IssuedDocumentsAPIService) CreateIssuedDocumentExecute(r ApiCreateIssuedDocumentRequest) (*CreateIssuedDocumentResponse, *http.Response, error)

Execute executes the request

@return CreateIssuedDocumentResponse

func (*IssuedDocumentsAPIService) DeleteIssuedDocument added in v2.0.8

func (a *IssuedDocumentsAPIService) DeleteIssuedDocument(ctx context.Context, companyId int32, documentId int32) ApiDeleteIssuedDocumentRequest

DeleteIssuedDocument Delete Issued Document

Deletes the specified document.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@param documentId The ID of the document.
@return ApiDeleteIssuedDocumentRequest

func (*IssuedDocumentsAPIService) DeleteIssuedDocumentAttachment added in v2.0.8

func (a *IssuedDocumentsAPIService) DeleteIssuedDocumentAttachment(ctx context.Context, companyId int32, documentId int32) ApiDeleteIssuedDocumentAttachmentRequest

DeleteIssuedDocumentAttachment Delete Issued Document Attachment

Removes the attachment of the specified document.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@param documentId The ID of the document.
@return ApiDeleteIssuedDocumentAttachmentRequest

func (*IssuedDocumentsAPIService) DeleteIssuedDocumentAttachmentExecute added in v2.0.8

func (a *IssuedDocumentsAPIService) DeleteIssuedDocumentAttachmentExecute(r ApiDeleteIssuedDocumentAttachmentRequest) (*http.Response, error)

Execute executes the request

func (*IssuedDocumentsAPIService) DeleteIssuedDocumentExecute added in v2.0.8

func (a *IssuedDocumentsAPIService) DeleteIssuedDocumentExecute(r ApiDeleteIssuedDocumentRequest) (*http.Response, error)

Execute executes the request

func (*IssuedDocumentsAPIService) GetEmailData added in v2.0.8

func (a *IssuedDocumentsAPIService) GetEmailData(ctx context.Context, companyId int32, documentId int32) ApiGetEmailDataRequest

GetEmailData Get Email Data

Gets the pre-compiled email details.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@param documentId The ID of the document.
@return ApiGetEmailDataRequest

func (*IssuedDocumentsAPIService) GetEmailDataExecute added in v2.0.8

func (a *IssuedDocumentsAPIService) GetEmailDataExecute(r ApiGetEmailDataRequest) (*GetEmailDataResponse, *http.Response, error)

Execute executes the request

@return GetEmailDataResponse

func (*IssuedDocumentsAPIService) GetExistingIssuedDocumentTotals added in v2.0.8

func (a *IssuedDocumentsAPIService) GetExistingIssuedDocumentTotals(ctx context.Context, companyId int32, documentId int32) ApiGetExistingIssuedDocumentTotalsRequest

GetExistingIssuedDocumentTotals Get Existing Issued Document Totals

Returns the totals for a specified document.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@param documentId The ID of the document.
@return ApiGetExistingIssuedDocumentTotalsRequest

func (*IssuedDocumentsAPIService) GetExistingIssuedDocumentTotalsExecute added in v2.0.8

func (a *IssuedDocumentsAPIService) GetExistingIssuedDocumentTotalsExecute(r ApiGetExistingIssuedDocumentTotalsRequest) (*GetExistingIssuedDocumentTotalsResponse, *http.Response, error)

Execute executes the request

@return GetExistingIssuedDocumentTotalsResponse

func (*IssuedDocumentsAPIService) GetIssuedDocument added in v2.0.8

func (a *IssuedDocumentsAPIService) GetIssuedDocument(ctx context.Context, companyId int32, documentId int32) ApiGetIssuedDocumentRequest

GetIssuedDocument Get Issued Document

Gets the specified document.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@param documentId The ID of the document.
@return ApiGetIssuedDocumentRequest

func (*IssuedDocumentsAPIService) GetIssuedDocumentExecute added in v2.0.8

func (a *IssuedDocumentsAPIService) GetIssuedDocumentExecute(r ApiGetIssuedDocumentRequest) (*GetIssuedDocumentResponse, *http.Response, error)

Execute executes the request

@return GetIssuedDocumentResponse

func (*IssuedDocumentsAPIService) GetIssuedDocumentPreCreateInfo added in v2.0.8

func (a *IssuedDocumentsAPIService) GetIssuedDocumentPreCreateInfo(ctx context.Context, companyId int32) ApiGetIssuedDocumentPreCreateInfoRequest

GetIssuedDocumentPreCreateInfo Get Issued Document Pre-Create Info

Retrieves the information useful while creating a new document.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@return ApiGetIssuedDocumentPreCreateInfoRequest

func (*IssuedDocumentsAPIService) GetIssuedDocumentPreCreateInfoExecute added in v2.0.8

func (a *IssuedDocumentsAPIService) GetIssuedDocumentPreCreateInfoExecute(r ApiGetIssuedDocumentPreCreateInfoRequest) (*GetIssuedDocumentPreCreateInfoResponse, *http.Response, error)

Execute executes the request

@return GetIssuedDocumentPreCreateInfoResponse

func (*IssuedDocumentsAPIService) GetNewIssuedDocumentTotals added in v2.0.8

func (a *IssuedDocumentsAPIService) GetNewIssuedDocumentTotals(ctx context.Context, companyId int32) ApiGetNewIssuedDocumentTotalsRequest

GetNewIssuedDocumentTotals Get New Issued Document Totals

Returns the totals for a new document.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@return ApiGetNewIssuedDocumentTotalsRequest

func (*IssuedDocumentsAPIService) GetNewIssuedDocumentTotalsExecute added in v2.0.8

func (a *IssuedDocumentsAPIService) GetNewIssuedDocumentTotalsExecute(r ApiGetNewIssuedDocumentTotalsRequest) (*GetNewIssuedDocumentTotalsResponse, *http.Response, error)

Execute executes the request

@return GetNewIssuedDocumentTotalsResponse

func (*IssuedDocumentsAPIService) JoinIssuedDocuments added in v2.0.8

func (a *IssuedDocumentsAPIService) JoinIssuedDocuments(ctx context.Context, companyId int32) ApiJoinIssuedDocumentsRequest

JoinIssuedDocuments Join Issued Documents

Joins issued documents.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@return ApiJoinIssuedDocumentsRequest

func (*IssuedDocumentsAPIService) JoinIssuedDocumentsExecute added in v2.0.8

func (a *IssuedDocumentsAPIService) JoinIssuedDocumentsExecute(r ApiJoinIssuedDocumentsRequest) (*JoinIssuedDocumentsResponse, *http.Response, error)

Execute executes the request

@return JoinIssuedDocumentsResponse

func (*IssuedDocumentsAPIService) ListIssuedDocuments added in v2.0.8

func (a *IssuedDocumentsAPIService) ListIssuedDocuments(ctx context.Context, companyId int32) ApiListIssuedDocumentsRequest

ListIssuedDocuments List Issued Documents

Lists the issued documents.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@return ApiListIssuedDocumentsRequest

func (*IssuedDocumentsAPIService) ListIssuedDocumentsExecute added in v2.0.8

func (a *IssuedDocumentsAPIService) ListIssuedDocumentsExecute(r ApiListIssuedDocumentsRequest) (*ListIssuedDocumentsResponse, *http.Response, error)

Execute executes the request

@return ListIssuedDocumentsResponse

func (*IssuedDocumentsAPIService) ModifyIssuedDocument added in v2.0.8

func (a *IssuedDocumentsAPIService) ModifyIssuedDocument(ctx context.Context, companyId int32, documentId int32) ApiModifyIssuedDocumentRequest

ModifyIssuedDocument Modify Issued Document

Modifies the specified document.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@param documentId The ID of the document.
@return ApiModifyIssuedDocumentRequest

func (*IssuedDocumentsAPIService) ModifyIssuedDocumentExecute added in v2.0.8

func (a *IssuedDocumentsAPIService) ModifyIssuedDocumentExecute(r ApiModifyIssuedDocumentRequest) (*ModifyIssuedDocumentResponse, *http.Response, error)

Execute executes the request

@return ModifyIssuedDocumentResponse

func (*IssuedDocumentsAPIService) ScheduleEmail added in v2.0.8

func (a *IssuedDocumentsAPIService) ScheduleEmail(ctx context.Context, companyId int32, documentId int32) ApiScheduleEmailRequest

ScheduleEmail Schedule Email

Schedules the sending of a document by email.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@param documentId The ID of the document.
@return ApiScheduleEmailRequest

func (*IssuedDocumentsAPIService) ScheduleEmailExecute added in v2.0.8

func (a *IssuedDocumentsAPIService) ScheduleEmailExecute(r ApiScheduleEmailRequest) (*http.Response, error)

Execute executes the request

func (*IssuedDocumentsAPIService) TransformIssuedDocument added in v2.0.8

func (a *IssuedDocumentsAPIService) TransformIssuedDocument(ctx context.Context, companyId int32) ApiTransformIssuedDocumentRequest

TransformIssuedDocument Transform Issued Document

Transforms the document.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@return ApiTransformIssuedDocumentRequest

func (*IssuedDocumentsAPIService) TransformIssuedDocumentExecute added in v2.0.8

func (a *IssuedDocumentsAPIService) TransformIssuedDocumentExecute(r ApiTransformIssuedDocumentRequest) (*TransformIssuedDocumentResponse, *http.Response, error)

Execute executes the request

@return TransformIssuedDocumentResponse

func (*IssuedDocumentsAPIService) UploadIssuedDocumentAttachment added in v2.0.8

func (a *IssuedDocumentsAPIService) UploadIssuedDocumentAttachment(ctx context.Context, companyId int32) ApiUploadIssuedDocumentAttachmentRequest

UploadIssuedDocumentAttachment Upload Issued Document Attachment

Uploads an attachment destined to an issued document. The actual association between the document and the attachment must be implemented separately, using the returned token.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@return ApiUploadIssuedDocumentAttachmentRequest

func (*IssuedDocumentsAPIService) UploadIssuedDocumentAttachmentExecute added in v2.0.8

func (a *IssuedDocumentsAPIService) UploadIssuedDocumentAttachmentExecute(r ApiUploadIssuedDocumentAttachmentRequest) (*UploadIssuedDocumentAttachmentResponse, *http.Response, error)

Execute executes the request

@return UploadIssuedDocumentAttachmentResponse

type IssuedEInvoicesAPIService added in v2.0.8

type IssuedEInvoicesAPIService service

IssuedEInvoicesAPIService IssuedEInvoicesAPI service

func (*IssuedEInvoicesAPIService) GetEInvoiceRejectionReason added in v2.0.8

func (a *IssuedEInvoicesAPIService) GetEInvoiceRejectionReason(ctx context.Context, companyId int32, documentId int32) ApiGetEInvoiceRejectionReasonRequest

GetEInvoiceRejectionReason Get E-Invoice Rejection Reason

Get e-invoice rejection reason

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@param documentId The ID of the document.
@return ApiGetEInvoiceRejectionReasonRequest

func (*IssuedEInvoicesAPIService) GetEInvoiceRejectionReasonExecute added in v2.0.8

func (a *IssuedEInvoicesAPIService) GetEInvoiceRejectionReasonExecute(r ApiGetEInvoiceRejectionReasonRequest) (*GetEInvoiceRejectionReasonResponse, *http.Response, error)

Execute executes the request

@return GetEInvoiceRejectionReasonResponse

func (*IssuedEInvoicesAPIService) GetEInvoiceXml added in v2.0.8

func (a *IssuedEInvoicesAPIService) GetEInvoiceXml(ctx context.Context, companyId int32, documentId int32) ApiGetEInvoiceXmlRequest

GetEInvoiceXml Get E-Invoice XML

Downloads the e-invoice in XML format.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@param documentId The ID of the document.
@return ApiGetEInvoiceXmlRequest

func (*IssuedEInvoicesAPIService) GetEInvoiceXmlExecute added in v2.0.8

Execute executes the request

@return string

func (*IssuedEInvoicesAPIService) SendEInvoice added in v2.0.8

func (a *IssuedEInvoicesAPIService) SendEInvoice(ctx context.Context, companyId int32, documentId int32) ApiSendEInvoiceRequest

SendEInvoice Send E-Invoice

Sends the e-invoice to SDI.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@param documentId The ID of the document.
@return ApiSendEInvoiceRequest

func (*IssuedEInvoicesAPIService) SendEInvoiceExecute added in v2.0.8

func (a *IssuedEInvoicesAPIService) SendEInvoiceExecute(r ApiSendEInvoiceRequest) (*SendEInvoiceResponse, *http.Response, error)

Execute executes the request

@return SendEInvoiceResponse

func (*IssuedEInvoicesAPIService) VerifyEInvoiceXml added in v2.0.8

func (a *IssuedEInvoicesAPIService) VerifyEInvoiceXml(ctx context.Context, companyId int32, documentId int32) ApiVerifyEInvoiceXmlRequest

VerifyEInvoiceXml Verify E-Invoice XML

Verifies the e-invoice XML format. Checks if all of the mandatory fields are filled and compliant to the right format.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@param documentId The ID of the document.
@return ApiVerifyEInvoiceXmlRequest

func (*IssuedEInvoicesAPIService) VerifyEInvoiceXmlExecute added in v2.0.8

func (a *IssuedEInvoicesAPIService) VerifyEInvoiceXmlExecute(r ApiVerifyEInvoiceXmlRequest) (*VerifyEInvoiceXmlResponse, *http.Response, error)

Execute executes the request

@return VerifyEInvoiceXmlResponse

type ProductsAPIService added in v2.0.8

type ProductsAPIService service

ProductsAPIService ProductsAPI service

func (*ProductsAPIService) CreateProduct added in v2.0.8

func (a *ProductsAPIService) CreateProduct(ctx context.Context, companyId int32) ApiCreateProductRequest

CreateProduct Create Product

Creates a new product.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@return ApiCreateProductRequest

func (*ProductsAPIService) CreateProductExecute added in v2.0.8

func (a *ProductsAPIService) CreateProductExecute(r ApiCreateProductRequest) (*CreateProductResponse, *http.Response, error)

Execute executes the request

@return CreateProductResponse

func (*ProductsAPIService) DeleteProduct added in v2.0.8

func (a *ProductsAPIService) DeleteProduct(ctx context.Context, companyId int32, productId int32) ApiDeleteProductRequest

DeleteProduct Delete Product

Deletes the specified product.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@param productId The ID of the product.
@return ApiDeleteProductRequest

func (*ProductsAPIService) DeleteProductExecute added in v2.0.8

func (a *ProductsAPIService) DeleteProductExecute(r ApiDeleteProductRequest) (*http.Response, error)

Execute executes the request

func (*ProductsAPIService) GetProduct added in v2.0.8

func (a *ProductsAPIService) GetProduct(ctx context.Context, companyId int32, productId int32) ApiGetProductRequest

GetProduct Get Product

Gets the specified product.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@param productId The ID of the product.
@return ApiGetProductRequest

func (*ProductsAPIService) GetProductExecute added in v2.0.8

func (a *ProductsAPIService) GetProductExecute(r ApiGetProductRequest) (*GetProductResponse, *http.Response, error)

Execute executes the request

@return GetProductResponse

func (*ProductsAPIService) ListProducts added in v2.0.8

func (a *ProductsAPIService) ListProducts(ctx context.Context, companyId int32) ApiListProductsRequest

ListProducts List Products

Lists the products.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@return ApiListProductsRequest

func (*ProductsAPIService) ListProductsExecute added in v2.0.8

func (a *ProductsAPIService) ListProductsExecute(r ApiListProductsRequest) (*ListProductsResponse, *http.Response, error)

Execute executes the request

@return ListProductsResponse

func (*ProductsAPIService) ModifyProduct added in v2.0.8

func (a *ProductsAPIService) ModifyProduct(ctx context.Context, companyId int32, productId int32) ApiModifyProductRequest

ModifyProduct Modify Product

Modifies the specified product.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@param productId The ID of the product.
@return ApiModifyProductRequest

func (*ProductsAPIService) ModifyProductExecute added in v2.0.8

func (a *ProductsAPIService) ModifyProductExecute(r ApiModifyProductRequest) (*ModifyProductResponse, *http.Response, error)

Execute executes the request

@return ModifyProductResponse

type ReceiptsAPIService added in v2.0.8

type ReceiptsAPIService service

ReceiptsAPIService ReceiptsAPI service

func (*ReceiptsAPIService) CreateReceipt added in v2.0.8

func (a *ReceiptsAPIService) CreateReceipt(ctx context.Context, companyId int32) ApiCreateReceiptRequest

CreateReceipt Create Receipt

Creates a new receipt.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@return ApiCreateReceiptRequest

func (*ReceiptsAPIService) CreateReceiptExecute added in v2.0.8

func (a *ReceiptsAPIService) CreateReceiptExecute(r ApiCreateReceiptRequest) (*CreateReceiptResponse, *http.Response, error)

Execute executes the request

@return CreateReceiptResponse

func (*ReceiptsAPIService) DeleteReceipt added in v2.0.8

func (a *ReceiptsAPIService) DeleteReceipt(ctx context.Context, companyId int32, documentId int32) ApiDeleteReceiptRequest

DeleteReceipt Delete Receipt

Deletes the specified receipt.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@param documentId The ID of the document.
@return ApiDeleteReceiptRequest

func (*ReceiptsAPIService) DeleteReceiptExecute added in v2.0.8

func (a *ReceiptsAPIService) DeleteReceiptExecute(r ApiDeleteReceiptRequest) (*http.Response, error)

Execute executes the request

func (*ReceiptsAPIService) GetReceipt added in v2.0.8

func (a *ReceiptsAPIService) GetReceipt(ctx context.Context, companyId int32, documentId int32) ApiGetReceiptRequest

GetReceipt Get Receipt

Gets the specified receipt.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@param documentId The ID of the document.
@return ApiGetReceiptRequest

func (*ReceiptsAPIService) GetReceiptExecute added in v2.0.8

func (a *ReceiptsAPIService) GetReceiptExecute(r ApiGetReceiptRequest) (*GetReceiptResponse, *http.Response, error)

Execute executes the request

@return GetReceiptResponse

func (*ReceiptsAPIService) GetReceiptPreCreateInfo added in v2.0.8

func (a *ReceiptsAPIService) GetReceiptPreCreateInfo(ctx context.Context, companyId int32) ApiGetReceiptPreCreateInfoRequest

GetReceiptPreCreateInfo Get Receipt Pre-Create Info

Retrieves the information useful while creating a new receipt.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@return ApiGetReceiptPreCreateInfoRequest

func (*ReceiptsAPIService) GetReceiptPreCreateInfoExecute added in v2.0.8

func (a *ReceiptsAPIService) GetReceiptPreCreateInfoExecute(r ApiGetReceiptPreCreateInfoRequest) (*GetReceiptPreCreateInfoResponse, *http.Response, error)

Execute executes the request

@return GetReceiptPreCreateInfoResponse

func (*ReceiptsAPIService) GetReceiptsMonthlyTotals added in v2.0.8

func (a *ReceiptsAPIService) GetReceiptsMonthlyTotals(ctx context.Context, companyId int32) ApiGetReceiptsMonthlyTotalsRequest

GetReceiptsMonthlyTotals Get Receipts Monthly Totals

Returns the monthly totals by year and receipt type.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@return ApiGetReceiptsMonthlyTotalsRequest

func (*ReceiptsAPIService) GetReceiptsMonthlyTotalsExecute added in v2.0.8

func (a *ReceiptsAPIService) GetReceiptsMonthlyTotalsExecute(r ApiGetReceiptsMonthlyTotalsRequest) (*GetReceiptsMonthlyTotalsResponse, *http.Response, error)

Execute executes the request

@return GetReceiptsMonthlyTotalsResponse

func (*ReceiptsAPIService) ListReceipts added in v2.0.8

func (a *ReceiptsAPIService) ListReceipts(ctx context.Context, companyId int32) ApiListReceiptsRequest

ListReceipts List Receipts

Lists the receipts.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@return ApiListReceiptsRequest

func (*ReceiptsAPIService) ListReceiptsExecute added in v2.0.8

func (a *ReceiptsAPIService) ListReceiptsExecute(r ApiListReceiptsRequest) (*ListReceiptsResponse, *http.Response, error)

Execute executes the request

@return ListReceiptsResponse

func (*ReceiptsAPIService) ModifyReceipt added in v2.0.8

func (a *ReceiptsAPIService) ModifyReceipt(ctx context.Context, companyId int32, documentId int32) ApiModifyReceiptRequest

ModifyReceipt Modify Receipt

Modifies the specified receipt.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@param documentId The ID of the document.
@return ApiModifyReceiptRequest

func (*ReceiptsAPIService) ModifyReceiptExecute added in v2.0.8

func (a *ReceiptsAPIService) ModifyReceiptExecute(r ApiModifyReceiptRequest) (*ModifyReceiptResponse, *http.Response, error)

Execute executes the request

@return ModifyReceiptResponse

type ReceivedDocumentsAPIService added in v2.0.8

type ReceivedDocumentsAPIService service

ReceivedDocumentsAPIService ReceivedDocumentsAPI service

func (*ReceivedDocumentsAPIService) CreateReceivedDocument added in v2.0.8

func (a *ReceivedDocumentsAPIService) CreateReceivedDocument(ctx context.Context, companyId int32) ApiCreateReceivedDocumentRequest

CreateReceivedDocument Create Received Document

Creates a new document.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@return ApiCreateReceivedDocumentRequest

func (*ReceivedDocumentsAPIService) CreateReceivedDocumentExecute added in v2.0.8

func (a *ReceivedDocumentsAPIService) CreateReceivedDocumentExecute(r ApiCreateReceivedDocumentRequest) (*CreateReceivedDocumentResponse, *http.Response, error)

Execute executes the request

@return CreateReceivedDocumentResponse

func (*ReceivedDocumentsAPIService) DeleteReceivedDocument added in v2.0.8

func (a *ReceivedDocumentsAPIService) DeleteReceivedDocument(ctx context.Context, companyId int32, documentId int32) ApiDeleteReceivedDocumentRequest

DeleteReceivedDocument Delete Received Document

Deletes the specified document.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@param documentId The ID of the document.
@return ApiDeleteReceivedDocumentRequest

func (*ReceivedDocumentsAPIService) DeleteReceivedDocumentAttachment added in v2.0.8

func (a *ReceivedDocumentsAPIService) DeleteReceivedDocumentAttachment(ctx context.Context, companyId int32, documentId int32) ApiDeleteReceivedDocumentAttachmentRequest

DeleteReceivedDocumentAttachment Delete Received Document Attachment

Removes the attachment of the specified document.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@param documentId The ID of the document.
@return ApiDeleteReceivedDocumentAttachmentRequest

func (*ReceivedDocumentsAPIService) DeleteReceivedDocumentAttachmentExecute added in v2.0.8

func (a *ReceivedDocumentsAPIService) DeleteReceivedDocumentAttachmentExecute(r ApiDeleteReceivedDocumentAttachmentRequest) (*http.Response, error)

Execute executes the request

func (*ReceivedDocumentsAPIService) DeleteReceivedDocumentExecute added in v2.0.8

func (a *ReceivedDocumentsAPIService) DeleteReceivedDocumentExecute(r ApiDeleteReceivedDocumentRequest) (*http.Response, error)

Execute executes the request

func (*ReceivedDocumentsAPIService) GetExistingReceivedDocumentTotals added in v2.0.8

func (a *ReceivedDocumentsAPIService) GetExistingReceivedDocumentTotals(ctx context.Context, companyId int32, documentId int32) ApiGetExistingReceivedDocumentTotalsRequest

GetExistingReceivedDocumentTotals Get Existing Received Document Totals

Returns the totals for the specified document.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@param documentId The ID of the document.
@return ApiGetExistingReceivedDocumentTotalsRequest

func (*ReceivedDocumentsAPIService) GetExistingReceivedDocumentTotalsExecute added in v2.0.8

func (a *ReceivedDocumentsAPIService) GetExistingReceivedDocumentTotalsExecute(r ApiGetExistingReceivedDocumentTotalsRequest) (*GetExistingReceivedDocumentTotalsResponse, *http.Response, error)

Execute executes the request

@return GetExistingReceivedDocumentTotalsResponse

func (*ReceivedDocumentsAPIService) GetNewReceivedDocumentTotals added in v2.0.8

func (a *ReceivedDocumentsAPIService) GetNewReceivedDocumentTotals(ctx context.Context, companyId int32) ApiGetNewReceivedDocumentTotalsRequest

GetNewReceivedDocumentTotals Get New Received Document Totals

Returns the totals for a new document.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@return ApiGetNewReceivedDocumentTotalsRequest

func (*ReceivedDocumentsAPIService) GetNewReceivedDocumentTotalsExecute added in v2.0.8

func (a *ReceivedDocumentsAPIService) GetNewReceivedDocumentTotalsExecute(r ApiGetNewReceivedDocumentTotalsRequest) (*GetNewReceivedDocumentTotalsResponse, *http.Response, error)

Execute executes the request

@return GetNewReceivedDocumentTotalsResponse

func (*ReceivedDocumentsAPIService) GetReceivedDocument added in v2.0.8

func (a *ReceivedDocumentsAPIService) GetReceivedDocument(ctx context.Context, companyId int32, documentId int32) ApiGetReceivedDocumentRequest

GetReceivedDocument Get Received Document

Gets the specified document.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@param documentId The ID of the document.
@return ApiGetReceivedDocumentRequest

func (*ReceivedDocumentsAPIService) GetReceivedDocumentExecute added in v2.0.8

func (a *ReceivedDocumentsAPIService) GetReceivedDocumentExecute(r ApiGetReceivedDocumentRequest) (*GetReceivedDocumentResponse, *http.Response, error)

Execute executes the request

@return GetReceivedDocumentResponse

func (*ReceivedDocumentsAPIService) GetReceivedDocumentPreCreateInfo added in v2.0.8

func (a *ReceivedDocumentsAPIService) GetReceivedDocumentPreCreateInfo(ctx context.Context, companyId int32) ApiGetReceivedDocumentPreCreateInfoRequest

GetReceivedDocumentPreCreateInfo Get Received Document Pre-Create Info

Retrieves the information useful while creating a new document.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@return ApiGetReceivedDocumentPreCreateInfoRequest

func (*ReceivedDocumentsAPIService) GetReceivedDocumentPreCreateInfoExecute added in v2.0.8

func (a *ReceivedDocumentsAPIService) GetReceivedDocumentPreCreateInfoExecute(r ApiGetReceivedDocumentPreCreateInfoRequest) (*GetReceivedDocumentPreCreateInfoResponse, *http.Response, error)

Execute executes the request

@return GetReceivedDocumentPreCreateInfoResponse

func (*ReceivedDocumentsAPIService) ListReceivedDocuments added in v2.0.8

func (a *ReceivedDocumentsAPIService) ListReceivedDocuments(ctx context.Context, companyId int32) ApiListReceivedDocumentsRequest

ListReceivedDocuments List Received Documents

Lists the received documents.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@return ApiListReceivedDocumentsRequest

func (*ReceivedDocumentsAPIService) ListReceivedDocumentsExecute added in v2.0.8

func (a *ReceivedDocumentsAPIService) ListReceivedDocumentsExecute(r ApiListReceivedDocumentsRequest) (*ListReceivedDocumentsResponse, *http.Response, error)

Execute executes the request

@return ListReceivedDocumentsResponse

func (*ReceivedDocumentsAPIService) ModifyReceivedDocument added in v2.0.8

func (a *ReceivedDocumentsAPIService) ModifyReceivedDocument(ctx context.Context, companyId int32, documentId int32) ApiModifyReceivedDocumentRequest

ModifyReceivedDocument Modify Received Document

Modifies the specified document.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@param documentId The ID of the document.
@return ApiModifyReceivedDocumentRequest

func (*ReceivedDocumentsAPIService) ModifyReceivedDocumentExecute added in v2.0.8

func (a *ReceivedDocumentsAPIService) ModifyReceivedDocumentExecute(r ApiModifyReceivedDocumentRequest) (*ModifyReceivedDocumentResponse, *http.Response, error)

Execute executes the request

@return ModifyReceivedDocumentResponse

func (*ReceivedDocumentsAPIService) UploadReceivedDocumentAttachment added in v2.0.8

func (a *ReceivedDocumentsAPIService) UploadReceivedDocumentAttachment(ctx context.Context, companyId int32) ApiUploadReceivedDocumentAttachmentRequest

UploadReceivedDocumentAttachment Upload Received Document Attachment

Uploads an attachment destined to a received document. The actual association between the document and the attachment must be implemented separately, using the returned token.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@return ApiUploadReceivedDocumentAttachmentRequest

func (*ReceivedDocumentsAPIService) UploadReceivedDocumentAttachmentExecute added in v2.0.8

func (a *ReceivedDocumentsAPIService) UploadReceivedDocumentAttachmentExecute(r ApiUploadReceivedDocumentAttachmentRequest) (*UploadReceivedDocumentAttachmentResponse, *http.Response, error)

Execute executes the request

@return UploadReceivedDocumentAttachmentResponse

type ServerConfiguration

type ServerConfiguration struct {
	URL         string
	Description string
	Variables   map[string]ServerVariable
}

ServerConfiguration stores the information about a server

type ServerConfigurations

type ServerConfigurations []ServerConfiguration

ServerConfigurations stores multiple ServerConfiguration items

func (ServerConfigurations) URL

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerVariable

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

ServerVariable stores the information about a server variable

type SettingsAPIService added in v2.0.8

type SettingsAPIService service

SettingsAPIService SettingsAPI service

func (*SettingsAPIService) CreatePaymentAccount added in v2.0.8

func (a *SettingsAPIService) CreatePaymentAccount(ctx context.Context, companyId int32) ApiCreatePaymentAccountRequest

CreatePaymentAccount Create Payment Account

Creates a new payment account.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@return ApiCreatePaymentAccountRequest

func (*SettingsAPIService) CreatePaymentAccountExecute added in v2.0.8

func (a *SettingsAPIService) CreatePaymentAccountExecute(r ApiCreatePaymentAccountRequest) (*CreatePaymentAccountResponse, *http.Response, error)

Execute executes the request

@return CreatePaymentAccountResponse

func (*SettingsAPIService) CreatePaymentMethod added in v2.0.8

func (a *SettingsAPIService) CreatePaymentMethod(ctx context.Context, companyId int32) ApiCreatePaymentMethodRequest

CreatePaymentMethod Create Payment Method

Creates a new payment method.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@return ApiCreatePaymentMethodRequest

func (*SettingsAPIService) CreatePaymentMethodExecute added in v2.0.8

func (a *SettingsAPIService) CreatePaymentMethodExecute(r ApiCreatePaymentMethodRequest) (*CreatePaymentMethodResponse, *http.Response, error)

Execute executes the request

@return CreatePaymentMethodResponse

func (*SettingsAPIService) CreateVatType added in v2.0.8

func (a *SettingsAPIService) CreateVatType(ctx context.Context, companyId int32) ApiCreateVatTypeRequest

CreateVatType Create Vat Type

Creates a vat type.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@return ApiCreateVatTypeRequest

func (*SettingsAPIService) CreateVatTypeExecute added in v2.0.8

func (a *SettingsAPIService) CreateVatTypeExecute(r ApiCreateVatTypeRequest) (*CreateVatTypeResponse, *http.Response, error)

Execute executes the request

@return CreateVatTypeResponse

func (*SettingsAPIService) DeletePaymentAccount added in v2.0.8

func (a *SettingsAPIService) DeletePaymentAccount(ctx context.Context, companyId int32, paymentAccountId int32) ApiDeletePaymentAccountRequest

DeletePaymentAccount Delete Payment Account

Deletes the specified payment account.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@param paymentAccountId The Referred Payment Account Id.
@return ApiDeletePaymentAccountRequest

func (*SettingsAPIService) DeletePaymentAccountExecute added in v2.0.8

func (a *SettingsAPIService) DeletePaymentAccountExecute(r ApiDeletePaymentAccountRequest) (*http.Response, error)

Execute executes the request

func (*SettingsAPIService) DeletePaymentMethod added in v2.0.8

func (a *SettingsAPIService) DeletePaymentMethod(ctx context.Context, companyId int32, paymentMethodId int32) ApiDeletePaymentMethodRequest

DeletePaymentMethod Delete Payment Method

Deletes the specified payment method.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@param paymentMethodId The Referred Payment Method Id.
@return ApiDeletePaymentMethodRequest

func (*SettingsAPIService) DeletePaymentMethodExecute added in v2.0.8

func (a *SettingsAPIService) DeletePaymentMethodExecute(r ApiDeletePaymentMethodRequest) (*http.Response, error)

Execute executes the request

func (*SettingsAPIService) DeleteVatType added in v2.0.8

func (a *SettingsAPIService) DeleteVatType(ctx context.Context, companyId int32, vatTypeId int32) ApiDeleteVatTypeRequest

DeleteVatType Delete Vat Type

Deletes the specified vat type.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@param vatTypeId The Referred Vat Type Id.
@return ApiDeleteVatTypeRequest

func (*SettingsAPIService) DeleteVatTypeExecute added in v2.0.8

func (a *SettingsAPIService) DeleteVatTypeExecute(r ApiDeleteVatTypeRequest) (*http.Response, error)

Execute executes the request

func (*SettingsAPIService) GetPaymentAccount added in v2.0.8

func (a *SettingsAPIService) GetPaymentAccount(ctx context.Context, companyId int32, paymentAccountId int32) ApiGetPaymentAccountRequest

GetPaymentAccount Get Payment Account

Gets the specified payment account.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@param paymentAccountId The Referred Payment Account Id.
@return ApiGetPaymentAccountRequest

func (*SettingsAPIService) GetPaymentAccountExecute added in v2.0.8

func (a *SettingsAPIService) GetPaymentAccountExecute(r ApiGetPaymentAccountRequest) (*GetPaymentAccountResponse, *http.Response, error)

Execute executes the request

@return GetPaymentAccountResponse

func (*SettingsAPIService) GetPaymentMethod added in v2.0.8

func (a *SettingsAPIService) GetPaymentMethod(ctx context.Context, companyId int32, paymentMethodId int32) ApiGetPaymentMethodRequest

GetPaymentMethod Get Payment Method

Gets the specified payment method.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@param paymentMethodId The Referred Payment Method Id.
@return ApiGetPaymentMethodRequest

func (*SettingsAPIService) GetPaymentMethodExecute added in v2.0.8

func (a *SettingsAPIService) GetPaymentMethodExecute(r ApiGetPaymentMethodRequest) (*GetPaymentMethodResponse, *http.Response, error)

Execute executes the request

@return GetPaymentMethodResponse

func (*SettingsAPIService) GetVatType added in v2.0.8

func (a *SettingsAPIService) GetVatType(ctx context.Context, companyId int32, vatTypeId int32) ApiGetVatTypeRequest

GetVatType Get Vat Type

Gets the specified vat type.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@param vatTypeId The Referred Vat Type Id.
@return ApiGetVatTypeRequest

func (*SettingsAPIService) GetVatTypeExecute added in v2.0.8

func (a *SettingsAPIService) GetVatTypeExecute(r ApiGetVatTypeRequest) (*GetVatTypeResponse, *http.Response, error)

Execute executes the request

@return GetVatTypeResponse

func (*SettingsAPIService) ModifyPaymentAccount added in v2.0.8

func (a *SettingsAPIService) ModifyPaymentAccount(ctx context.Context, companyId int32, paymentAccountId int32) ApiModifyPaymentAccountRequest

ModifyPaymentAccount Modify Payment Account

Modifies the specified payment account.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@param paymentAccountId The Referred Payment Account Id.
@return ApiModifyPaymentAccountRequest

func (*SettingsAPIService) ModifyPaymentAccountExecute added in v2.0.8

func (a *SettingsAPIService) ModifyPaymentAccountExecute(r ApiModifyPaymentAccountRequest) (*ModifyPaymentAccountResponse, *http.Response, error)

Execute executes the request

@return ModifyPaymentAccountResponse

func (*SettingsAPIService) ModifyPaymentMethod added in v2.0.8

func (a *SettingsAPIService) ModifyPaymentMethod(ctx context.Context, companyId int32, paymentMethodId int32) ApiModifyPaymentMethodRequest

ModifyPaymentMethod Modify Payment Method

Modifies the specified payment method.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@param paymentMethodId The Referred Payment Method Id.
@return ApiModifyPaymentMethodRequest

func (*SettingsAPIService) ModifyPaymentMethodExecute added in v2.0.8

func (a *SettingsAPIService) ModifyPaymentMethodExecute(r ApiModifyPaymentMethodRequest) (*ModifyPaymentMethodResponse, *http.Response, error)

Execute executes the request

@return ModifyPaymentMethodResponse

func (*SettingsAPIService) ModifyVatType added in v2.0.8

func (a *SettingsAPIService) ModifyVatType(ctx context.Context, companyId int32, vatTypeId int32) ApiModifyVatTypeRequest

ModifyVatType Modify Vat Type

Modifies the specified vat type.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@param vatTypeId The Referred Vat Type Id.
@return ApiModifyVatTypeRequest

func (*SettingsAPIService) ModifyVatTypeExecute added in v2.0.8

func (a *SettingsAPIService) ModifyVatTypeExecute(r ApiModifyVatTypeRequest) (*ModifyVatTypeResponse, *http.Response, error)

Execute executes the request

@return ModifyVatTypeResponse

type SuppliersAPIService added in v2.0.8

type SuppliersAPIService service

SuppliersAPIService SuppliersAPI service

func (*SuppliersAPIService) CreateSupplier added in v2.0.8

func (a *SuppliersAPIService) CreateSupplier(ctx context.Context, companyId int32) ApiCreateSupplierRequest

CreateSupplier Create Supplier

Creates a new supplier.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@return ApiCreateSupplierRequest

func (*SuppliersAPIService) CreateSupplierExecute added in v2.0.8

func (a *SuppliersAPIService) CreateSupplierExecute(r ApiCreateSupplierRequest) (*CreateSupplierResponse, *http.Response, error)

Execute executes the request

@return CreateSupplierResponse

func (*SuppliersAPIService) DeleteSupplier added in v2.0.8

func (a *SuppliersAPIService) DeleteSupplier(ctx context.Context, companyId int32, supplierId int32) ApiDeleteSupplierRequest

DeleteSupplier Delete Supplier

Deletes the specified supplier.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@param supplierId The ID of the supplier.
@return ApiDeleteSupplierRequest

func (*SuppliersAPIService) DeleteSupplierExecute added in v2.0.8

func (a *SuppliersAPIService) DeleteSupplierExecute(r ApiDeleteSupplierRequest) (*http.Response, error)

Execute executes the request

func (*SuppliersAPIService) GetSupplier added in v2.0.8

func (a *SuppliersAPIService) GetSupplier(ctx context.Context, companyId int32, supplierId int32) ApiGetSupplierRequest

GetSupplier Get Supplier

Gets the specified supplier.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@param supplierId The ID of the supplier.
@return ApiGetSupplierRequest

func (*SuppliersAPIService) GetSupplierExecute added in v2.0.8

func (a *SuppliersAPIService) GetSupplierExecute(r ApiGetSupplierRequest) (*GetSupplierResponse, *http.Response, error)

Execute executes the request

@return GetSupplierResponse

func (*SuppliersAPIService) ListSuppliers added in v2.0.8

func (a *SuppliersAPIService) ListSuppliers(ctx context.Context, companyId int32) ApiListSuppliersRequest

ListSuppliers List Suppliers

Lists the suppliers.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@return ApiListSuppliersRequest

func (*SuppliersAPIService) ListSuppliersExecute added in v2.0.8

func (a *SuppliersAPIService) ListSuppliersExecute(r ApiListSuppliersRequest) (*ListSuppliersResponse, *http.Response, error)

Execute executes the request

@return ListSuppliersResponse

func (*SuppliersAPIService) ModifySupplier added in v2.0.8

func (a *SuppliersAPIService) ModifySupplier(ctx context.Context, companyId int32, supplierId int32) ApiModifySupplierRequest

ModifySupplier Modify Supplier

Modifies the specified supplier.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@param supplierId The ID of the supplier.
@return ApiModifySupplierRequest

func (*SuppliersAPIService) ModifySupplierExecute added in v2.0.8

func (a *SuppliersAPIService) ModifySupplierExecute(r ApiModifySupplierRequest) (*ModifySupplierResponse, *http.Response, error)

Execute executes the request

@return ModifySupplierResponse

type TaxesAPIService added in v2.0.8

type TaxesAPIService service

TaxesAPIService TaxesAPI service

func (*TaxesAPIService) CreateF24 added in v2.0.8

func (a *TaxesAPIService) CreateF24(ctx context.Context, companyId int32) ApiCreateF24Request

CreateF24 Create F24

Creates a new F24.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@return ApiCreateF24Request

func (*TaxesAPIService) CreateF24Execute added in v2.0.8

func (a *TaxesAPIService) CreateF24Execute(r ApiCreateF24Request) (*CreateF24Response, *http.Response, error)

Execute executes the request

@return CreateF24Response

func (*TaxesAPIService) DeleteF24 added in v2.0.8

func (a *TaxesAPIService) DeleteF24(ctx context.Context, companyId int32, documentId int32) ApiDeleteF24Request

DeleteF24 Delete F24

Removes the specified F24.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@param documentId The ID of the document.
@return ApiDeleteF24Request

func (*TaxesAPIService) DeleteF24Attachment added in v2.0.8

func (a *TaxesAPIService) DeleteF24Attachment(ctx context.Context, companyId int32, documentId int32) ApiDeleteF24AttachmentRequest

DeleteF24Attachment Delete F24 Attachment

Removes the attachment of the specified F24.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@param documentId The ID of the document.
@return ApiDeleteF24AttachmentRequest

func (*TaxesAPIService) DeleteF24AttachmentExecute added in v2.0.8

func (a *TaxesAPIService) DeleteF24AttachmentExecute(r ApiDeleteF24AttachmentRequest) (*http.Response, error)

Execute executes the request

func (*TaxesAPIService) DeleteF24Execute added in v2.0.8

func (a *TaxesAPIService) DeleteF24Execute(r ApiDeleteF24Request) (*http.Response, error)

Execute executes the request

func (*TaxesAPIService) GetF24 added in v2.0.8

func (a *TaxesAPIService) GetF24(ctx context.Context, companyId int32, documentId int32) ApiGetF24Request

GetF24 Get F24

Gets the specified F24.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@param documentId The ID of the document.
@return ApiGetF24Request

func (*TaxesAPIService) GetF24Execute added in v2.0.8

func (a *TaxesAPIService) GetF24Execute(r ApiGetF24Request) (*GetF24Response, *http.Response, error)

Execute executes the request

@return GetF24Response

func (*TaxesAPIService) ListF24 added in v2.0.8

func (a *TaxesAPIService) ListF24(ctx context.Context, companyId int32) ApiListF24Request

ListF24 List F24

Lists the F24s.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@return ApiListF24Request

func (*TaxesAPIService) ListF24Execute added in v2.0.8

func (a *TaxesAPIService) ListF24Execute(r ApiListF24Request) (*ListF24Response, *http.Response, error)

Execute executes the request

@return ListF24Response

func (*TaxesAPIService) ModifyF24 added in v2.0.8

func (a *TaxesAPIService) ModifyF24(ctx context.Context, companyId int32, documentId int32) ApiModifyF24Request

ModifyF24 Modify F24

Modifies the specified F24.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@param documentId The ID of the document.
@return ApiModifyF24Request

func (*TaxesAPIService) ModifyF24Execute added in v2.0.8

func (a *TaxesAPIService) ModifyF24Execute(r ApiModifyF24Request) (*ModifyF24Response, *http.Response, error)

Execute executes the request

@return ModifyF24Response

func (*TaxesAPIService) UploadF24Attachment added in v2.0.8

func (a *TaxesAPIService) UploadF24Attachment(ctx context.Context, companyId int32) ApiUploadF24AttachmentRequest

UploadF24Attachment Upload F24 Attachment

Uploads an attachment destined to a F24. The actual association between the document and the attachment must be implemented separately, using the returned token.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@return ApiUploadF24AttachmentRequest

func (*TaxesAPIService) UploadF24AttachmentExecute added in v2.0.8

func (a *TaxesAPIService) UploadF24AttachmentExecute(r ApiUploadF24AttachmentRequest) (*UploadF24AttachmentResponse, *http.Response, error)

Execute executes the request

@return UploadF24AttachmentResponse

type UserAPIService added in v2.0.8

type UserAPIService service

UserAPIService UserAPI service

func (*UserAPIService) GetUserInfo added in v2.0.8

GetUserInfo Get User Info

Gets the current user's info.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetUserInfoRequest

func (*UserAPIService) GetUserInfoExecute added in v2.0.8

func (a *UserAPIService) GetUserInfoExecute(r ApiGetUserInfoRequest) (*GetUserInfoResponse, *http.Response, error)

Execute executes the request

@return GetUserInfoResponse

func (*UserAPIService) ListUserCompanies added in v2.0.8

func (a *UserAPIService) ListUserCompanies(ctx context.Context) ApiListUserCompaniesRequest

ListUserCompanies List User Companies

Lists the companies controlled by the current user.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListUserCompaniesRequest

func (*UserAPIService) ListUserCompaniesExecute added in v2.0.8

func (a *UserAPIService) ListUserCompaniesExecute(r ApiListUserCompaniesRequest) (*ListUserCompaniesResponse, *http.Response, error)

Execute executes the request

@return ListUserCompaniesResponse

type WebhooksAPIService added in v2.0.8

type WebhooksAPIService service

WebhooksAPIService WebhooksAPI service

func (*WebhooksAPIService) CreateWebhooksSubscription added in v2.0.8

func (a *WebhooksAPIService) CreateWebhooksSubscription(ctx context.Context, companyId int32) ApiCreateWebhooksSubscriptionRequest

CreateWebhooksSubscription Create a Webhook Subscription

Register some webhooks Subscriptions.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@return ApiCreateWebhooksSubscriptionRequest

func (*WebhooksAPIService) CreateWebhooksSubscriptionExecute added in v2.0.8

func (a *WebhooksAPIService) CreateWebhooksSubscriptionExecute(r ApiCreateWebhooksSubscriptionRequest) (*CreateWebhooksSubscriptionResponse, *http.Response, error)

Execute executes the request

@return CreateWebhooksSubscriptionResponse

func (*WebhooksAPIService) DeleteWebhooksSubscription added in v2.0.8

func (a *WebhooksAPIService) DeleteWebhooksSubscription(ctx context.Context, companyId int32, subscriptionId string) ApiDeleteWebhooksSubscriptionRequest

DeleteWebhooksSubscription Delete Webhooks Subscription

Delete a webhooks subscription.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@param subscriptionId The ID of the subscription.
@return ApiDeleteWebhooksSubscriptionRequest

func (*WebhooksAPIService) DeleteWebhooksSubscriptionExecute added in v2.0.8

func (a *WebhooksAPIService) DeleteWebhooksSubscriptionExecute(r ApiDeleteWebhooksSubscriptionRequest) (*http.Response, error)

Execute executes the request

func (*WebhooksAPIService) GetWebhooksSubscription added in v2.0.8

func (a *WebhooksAPIService) GetWebhooksSubscription(ctx context.Context, companyId int32, subscriptionId string) ApiGetWebhooksSubscriptionRequest

GetWebhooksSubscription Get Webhooks Subscription

Get a webhooks subscription.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@param subscriptionId The ID of the subscription.
@return ApiGetWebhooksSubscriptionRequest

func (*WebhooksAPIService) GetWebhooksSubscriptionExecute added in v2.0.8

func (a *WebhooksAPIService) GetWebhooksSubscriptionExecute(r ApiGetWebhooksSubscriptionRequest) (*GetWebhooksSubscriptionResponse, *http.Response, error)

Execute executes the request

@return GetWebhooksSubscriptionResponse

func (*WebhooksAPIService) ListWebhooksSubscriptions added in v2.0.8

func (a *WebhooksAPIService) ListWebhooksSubscriptions(ctx context.Context, companyId int32) ApiListWebhooksSubscriptionsRequest

ListWebhooksSubscriptions List Webhooks Subscriptions

List active webhooks subscriptions.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@return ApiListWebhooksSubscriptionsRequest

func (*WebhooksAPIService) ListWebhooksSubscriptionsExecute added in v2.0.8

func (a *WebhooksAPIService) ListWebhooksSubscriptionsExecute(r ApiListWebhooksSubscriptionsRequest) (*ListWebhooksSubscriptionsResponse, *http.Response, error)

Execute executes the request

@return ListWebhooksSubscriptionsResponse

func (*WebhooksAPIService) ModifyWebhooksSubscription added in v2.0.8

func (a *WebhooksAPIService) ModifyWebhooksSubscription(ctx context.Context, companyId int32, subscriptionId string) ApiModifyWebhooksSubscriptionRequest

ModifyWebhooksSubscription Modify Webhooks Subscription

Edit a webhooks subscription.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param companyId The ID of the company.
@param subscriptionId The ID of the subscription.
@return ApiModifyWebhooksSubscriptionRequest

func (*WebhooksAPIService) ModifyWebhooksSubscriptionExecute added in v2.0.8

func (a *WebhooksAPIService) ModifyWebhooksSubscriptionExecute(r ApiModifyWebhooksSubscriptionRequest) (*ModifyWebhooksSubscriptionResponse, *http.Response, error)

Execute executes the request

@return ModifyWebhooksSubscriptionResponse

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL