api

package
v0.0.0-...-7da7200 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2022 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ContextOAuth2 takes an oauth2.TokenSource as authentication for the request.
	ContextOAuth2 = contextKey("token")

	// ContextBasicAuth takes BasicAuth as authentication for the request.
	ContextBasicAuth = contextKey("basic")

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

	// ContextAPIKeys takes a string apikey as authentication for the request
	ContextAPIKeys = contextKey("apiKeys")

	// ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request.
	ContextHttpSignatureAuth = contextKey("httpsignature")

	// 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

	InfoApi *InfoApiService

	IssuedDocumentsApi *IssuedDocumentsApiService

	IssuedEInvoicesApi *IssuedEInvoicesApiService

	ProductsApi *ProductsApiService

	ReceiptsApi *ReceiptsApiService

	ReceivedDocumentsApi *ReceivedDocumentsApiService

	SettingsApi *SettingsApiService

	SuppliersApi *SuppliersApiService

	TaxesApi *TaxesApiService

	UserApi *UserApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the Fatture in Cloud API v2 - API Reference API v2.0.20 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 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 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 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 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 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) 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

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 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 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 ApiUploadArchiveDocumentAttachmentRequest

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

func (ApiUploadArchiveDocumentAttachmentRequest) Attachment

Valid format: .png, .jpg, .gif, .pdf, .zip, .xls, .xlsx, .doc, .docx

func (ApiUploadArchiveDocumentAttachmentRequest) Execute

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

func (ApiUploadArchiveDocumentAttachmentRequest) Filename

Name of the file.

type ApiUploadF24AttachmentRequest

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

func (ApiUploadF24AttachmentRequest) Attachment

Valid format: .png, .jpg, .gif, .pdf, .zip, .xls, .xlsx, .doc, .docx

func (ApiUploadF24AttachmentRequest) Execute

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

func (ApiUploadF24AttachmentRequest) Filename

Name of the file.

type ApiUploadIssuedDocumentAttachmentRequest

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

func (ApiUploadIssuedDocumentAttachmentRequest) Attachment

Valid format: .png, .jpg, .gif, .pdf, .zip, .xls, .xlsx, .doc, .docx

func (ApiUploadIssuedDocumentAttachmentRequest) Execute

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

func (ApiUploadIssuedDocumentAttachmentRequest) Filename

Name of the file.

type ApiUploadReceivedDocumentAttachmentRequest

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

func (ApiUploadReceivedDocumentAttachmentRequest) Attachment

Valid format: .png, .jpg, .gif, .pdf, .zip, .xls, .xlsx, .doc, .docx

func (ApiUploadReceivedDocumentAttachmentRequest) Execute

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

func (ApiUploadReceivedDocumentAttachmentRequest) Filename

Name of the file.

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

type ArchiveApiService service

ArchiveApiService ArchiveApi service

func (*ArchiveApiService) CreateArchiveDocument

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

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

Execute executes the request

@return CreateArchiveDocumentResponse

func (*ArchiveApiService) DeleteArchiveDocument

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

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

Execute executes the request

func (*ArchiveApiService) GetArchiveDocument

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

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

Execute executes the request

@return GetArchiveDocumentResponse

func (*ArchiveApiService) ListArchiveDocuments

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

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

Execute executes the request

@return ListArchiveDocumentsResponse

func (*ArchiveApiService) ModifyArchiveDocument

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

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

Execute executes the request

@return ModifyArchiveDocumentResponse

func (*ArchiveApiService) UploadArchiveDocumentAttachment

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

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

type CashbookApiService service

CashbookApiService CashbookApi service

func (*CashbookApiService) CreateCashbookEntry

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

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

Execute executes the request

@return CreateCashbookEntryResponse

func (*CashbookApiService) DeleteCashbookEntry

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

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

Execute executes the request

func (*CashbookApiService) GetCashbookEntry

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

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

Execute executes the request

@return GetCashbookEntryResponse

func (*CashbookApiService) ListCashbookEntries

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

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

Execute executes the request

@return ListCashbookEntriesResponse

func (*CashbookApiService) ModifyCashbookEntry

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

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

Execute executes the request

@return ModifyCashbookEntryResponse

type ClientsApiService

type ClientsApiService service

ClientsApiService ClientsApi service

func (*ClientsApiService) CreateClient

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

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

Execute executes the request

@return CreateClientResponse

func (*ClientsApiService) DeleteClient

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

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

Execute executes the request

func (*ClientsApiService) GetClient

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

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

Execute executes the request

@return GetClientResponse

func (*ClientsApiService) ListClients

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

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

Execute executes the request

@return ListClientsResponse

func (*ClientsApiService) ModifyClient

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

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

Execute executes the request

@return ModifyClientResponse

type CompaniesApiService

type CompaniesApiService service

CompaniesApiService CompaniesApi service

func (*CompaniesApiService) GetCompanyInfo

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

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

Execute executes the request

@return GetCompanyInfoResponse

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 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

type InfoApiService service

InfoApiService InfoApi service

func (*InfoApiService) ListArchiveCategories

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

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

Execute executes the request

@return ListArchiveCategoriesResponse

func (*InfoApiService) ListCities

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

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

Execute executes the request

@return ListCitiesResponse

func (*InfoApiService) ListCostCenters

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

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

Execute executes the request

@return ListCostCentersResponse

func (*InfoApiService) ListCountries

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

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

Execute executes the request

@return ListCountriesResponse

func (*InfoApiService) ListCurrencies

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

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

Execute executes the request

@return ListCurrenciesResponse

func (*InfoApiService) ListDeliveryNotesDefaultCausals

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

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

Execute executes the request

@return ListDeliveryNotesDefaultCausalsResponse

func (*InfoApiService) ListDetailedCountries

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

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

Execute executes the request

@return ListDetailedCountriesResponse

func (*InfoApiService) ListLanguages

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

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

Execute executes the request

@return ListLanguagesResponse

func (*InfoApiService) ListPaymentAccounts

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

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

Execute executes the request

@return ListPaymentAccountsResponse

func (*InfoApiService) ListPaymentMethods

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

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

Execute executes the request

@return ListPaymentMethodsResponse

func (*InfoApiService) ListProductCategories

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

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

Execute executes the request

@return ListProductCategoriesResponse

func (*InfoApiService) ListReceivedDocumentCategories

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

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

Execute executes the request

@return ListReceivedDocumentCategoriesResponse

func (*InfoApiService) ListRevenueCenters

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

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

Execute executes the request

@return ListRevenueCentersResponse

func (*InfoApiService) ListTemplates

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

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

Execute executes the request

@return ListTemplatesResponse

func (*InfoApiService) ListUnitsOfMeasure

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

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

Execute executes the request

@return ListUnitsOfMeasureResponse

func (*InfoApiService) ListVatTypes

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

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

Execute executes the request

@return ListVatTypesResponse

type IssuedDocumentsApiService

type IssuedDocumentsApiService service

IssuedDocumentsApiService IssuedDocumentsApi service

func (*IssuedDocumentsApiService) CreateIssuedDocument

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

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

Execute executes the request

@return CreateIssuedDocumentResponse

func (*IssuedDocumentsApiService) DeleteIssuedDocument

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

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

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

Execute executes the request

func (*IssuedDocumentsApiService) DeleteIssuedDocumentExecute

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

Execute executes the request

func (*IssuedDocumentsApiService) GetEmailData

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

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

Execute executes the request

@return GetEmailDataResponse

func (*IssuedDocumentsApiService) GetExistingIssuedDocumentTotals

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

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

Execute executes the request

@return GetExistingIssuedDocumentTotalsResponse

func (*IssuedDocumentsApiService) GetIssuedDocument

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

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

Execute executes the request

@return GetIssuedDocumentResponse

func (*IssuedDocumentsApiService) GetIssuedDocumentPreCreateInfo

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

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

Execute executes the request

@return GetIssuedDocumentPreCreateInfoResponse

func (*IssuedDocumentsApiService) GetNewIssuedDocumentTotals

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

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

Execute executes the request

@return GetNewIssuedDocumentTotalsResponse

func (*IssuedDocumentsApiService) ListIssuedDocuments

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

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

Execute executes the request

@return ListIssuedDocumentsResponse

func (*IssuedDocumentsApiService) ModifyIssuedDocument

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

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

Execute executes the request

@return ModifyIssuedDocumentResponse

func (*IssuedDocumentsApiService) ScheduleEmail

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

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

Execute executes the request

func (*IssuedDocumentsApiService) UploadIssuedDocumentAttachment

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

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

Execute executes the request

@return UploadIssuedDocumentAttachmentResponse

type IssuedEInvoicesApiService

type IssuedEInvoicesApiService service

IssuedEInvoicesApiService IssuedEInvoicesApi service

func (*IssuedEInvoicesApiService) GetEInvoiceRejectionReason

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

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

Execute executes the request

@return GetEInvoiceRejectionReasonResponse

func (*IssuedEInvoicesApiService) GetEInvoiceXml

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

Execute executes the request

@return string

func (*IssuedEInvoicesApiService) SendEInvoice

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

SendEInvoice Send the 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

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

Execute executes the request

@return SendEInvoiceResponse

func (*IssuedEInvoicesApiService) VerifyEInvoiceXml

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

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

Execute executes the request

@return VerifyEInvoiceXmlResponse

type ProductsApiService

type ProductsApiService service

ProductsApiService ProductsApi service

func (*ProductsApiService) CreateProduct

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

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

Execute executes the request

@return CreateProductResponse

func (*ProductsApiService) DeleteProduct

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

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

Execute executes the request

func (*ProductsApiService) GetProduct

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

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

Execute executes the request

@return GetProductResponse

func (*ProductsApiService) ListProducts

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

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

Execute executes the request

@return ListProductsResponse

func (*ProductsApiService) ModifyProduct

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

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

Execute executes the request

@return ModifyProductResponse

type ReceiptsApiService

type ReceiptsApiService service

ReceiptsApiService ReceiptsApi service

func (*ReceiptsApiService) CreateReceipt

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

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

Execute executes the request

@return CreateReceiptResponse

func (*ReceiptsApiService) DeleteReceipt

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

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

Execute executes the request

func (*ReceiptsApiService) GetReceipt

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

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

Execute executes the request

@return GetReceiptResponse

func (*ReceiptsApiService) GetReceiptPreCreateInfo

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

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

Execute executes the request

@return GetReceiptPreCreateInfoResponse

func (*ReceiptsApiService) GetReceiptsMonthlyTotals

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

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

Execute executes the request

@return GetReceiptsMonthlyTotalsResponse

func (*ReceiptsApiService) ListReceipts

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

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

Execute executes the request

@return ListReceiptsResponse

func (*ReceiptsApiService) ModifyReceipt

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

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

Execute executes the request

@return ModifyReceiptResponse

type ReceivedDocumentsApiService

type ReceivedDocumentsApiService service

ReceivedDocumentsApiService ReceivedDocumentsApi service

func (*ReceivedDocumentsApiService) CreateReceivedDocument

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

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

Execute executes the request

@return CreateReceivedDocumentResponse

func (*ReceivedDocumentsApiService) DeleteReceivedDocument

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

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

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

Execute executes the request

func (*ReceivedDocumentsApiService) DeleteReceivedDocumentExecute

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

Execute executes the request

func (*ReceivedDocumentsApiService) GetExistingReceivedDocumentTotals

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

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

Execute executes the request

@return GetExistingReceivedDocumentTotalsResponse

func (*ReceivedDocumentsApiService) GetNewReceivedDocumentTotals

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

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

Execute executes the request

@return GetNewReceivedDocumentTotalsResponse

func (*ReceivedDocumentsApiService) GetReceivedDocument

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

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

Execute executes the request

@return GetReceivedDocumentResponse

func (*ReceivedDocumentsApiService) GetReceivedDocumentPreCreateInfo

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

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

Execute executes the request

@return GetReceivedDocumentPreCreateInfoResponse

func (*ReceivedDocumentsApiService) ListReceivedDocuments

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

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

Execute executes the request

@return ListReceivedDocumentsResponse

func (*ReceivedDocumentsApiService) ModifyReceivedDocument

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

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

Execute executes the request

@return ModifyReceivedDocumentResponse

func (*ReceivedDocumentsApiService) UploadReceivedDocumentAttachment

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

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

type SettingsApiService service

SettingsApiService SettingsApi service

func (*SettingsApiService) CreatePaymentAccount

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

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

Execute executes the request

@return CreatePaymentAccountResponse

func (*SettingsApiService) CreatePaymentMethod

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

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

Execute executes the request

@return CreatePaymentMethodResponse

func (*SettingsApiService) CreateVatType

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

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

Execute executes the request

@return CreateVatTypeResponse

func (*SettingsApiService) DeletePaymentAccount

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

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

Execute executes the request

func (*SettingsApiService) DeletePaymentMethod

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

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

Execute executes the request

func (*SettingsApiService) DeleteVatType

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

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

Execute executes the request

func (*SettingsApiService) GetPaymentAccount

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

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

Execute executes the request

@return GetPaymentAccountResponse

func (*SettingsApiService) GetPaymentMethod

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

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

Execute executes the request

@return GetPaymentMethodResponse

func (*SettingsApiService) GetVatType

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

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

Execute executes the request

@return GetVatTypeResponse

func (*SettingsApiService) ModifyPaymentAccount

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

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

Execute executes the request

@return ModifyPaymentAccountResponse

func (*SettingsApiService) ModifyPaymentMethod

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

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

Execute executes the request

@return ModifyPaymentMethodResponse

func (*SettingsApiService) ModifyVatType

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

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

Execute executes the request

@return ModifyVatTypeResponse

type SuppliersApiService

type SuppliersApiService service

SuppliersApiService SuppliersApi service

func (*SuppliersApiService) CreateSupplier

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

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

Execute executes the request

@return CreateSupplierResponse

func (*SuppliersApiService) DeleteSupplier

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

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

Execute executes the request

func (*SuppliersApiService) GetSupplier

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

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

Execute executes the request

@return GetSupplierResponse

func (*SuppliersApiService) ListSuppliers

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

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

Execute executes the request

@return ListSuppliersResponse

func (*SuppliersApiService) ModifySupplier

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

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

Execute executes the request

@return ModifySupplierResponse

type TaxesApiService

type TaxesApiService service

TaxesApiService TaxesApi service

func (*TaxesApiService) CreateF24

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

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

Execute executes the request

@return CreateF24Response

func (*TaxesApiService) DeleteF24

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

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

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

Execute executes the request

func (*TaxesApiService) DeleteF24Execute

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

Execute executes the request

func (*TaxesApiService) GetF24

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

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

Execute executes the request

@return GetF24Response

func (*TaxesApiService) ListF24

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

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

Execute executes the request

@return ListF24Response

func (*TaxesApiService) ModifyF24

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

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

Execute executes the request

@return ModifyF24Response

func (*TaxesApiService) UploadF24Attachment

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

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

Execute executes the request

@return UploadF24AttachmentResponse

type UserApiService

type UserApiService service

UserApiService UserApi service

func (*UserApiService) GetUserInfo

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

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

Execute executes the request

@return GetUserInfoResponse

func (*UserApiService) ListUserCompanies

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

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

Execute executes the request

@return ListUserCompaniesResponse

Jump to

Keyboard shortcuts

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