faqturo

package module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

README

Faqturo Go SDK

Official Go client for the API-key integration surface of Faqturo. Requires Go 1.25 or newer.

go get github.com/tinke-labs/faqturo-go-sdk@v0.1.0

Client

client, err := faqturo.NewAPIKeyClient(
    "https://api.faqturo.com",
    apiKey,
    faqturo.WithAPIVersion("v1"),
)

NewAPIKeyClient sends X-API-KEY and API-Version: v1 automatically. Use WithHTTPClient, WithTimeout, and WithRequestEditor to configure TLS certificates, timeouts, proxies, tracing, or other transport behavior.

Pass the public Faqturo host (for example https://api.faqturo.com or http://localhost:4004): NewAPIKeyClient adds the /api context path. If your deployment exposes a different explicit path, pass it in the URL and it will be preserved.

Common workflows

  • Invoicing: construct an InvoiceRequest and call CreateInvoiceWithResponse.
  • Queries: use GetAllDocumentsWithResponse and the typed catalog, client, issuer, and tax-authority methods.
  • JSON responses expose status-specific fields such as JSON200; raw Body remains available for diagnostics.
  • Files: PDF/XML methods return typed responses while CSV export responses preserve their binary body.
  • Multipart: generated helpers cover receiver XML, fiscal certificates, and tenant logos.
  • Errors: call ErrorFromResponse(response, body) for a structured *APIError containing validation errors and metadata.

Money and rates use Decimal, which preserves the exact JSON number and never passes through float64:

amount := faqturo.MustDecimal("1234567890.123456789")

Generation

The source contract is openapi/faqturo-sdk.json. Generated code is committed. Regenerate deterministically with:

go generate ./...
go test ./...
go vet ./...

openapi/decimal-overlay.yaml maps every number/decimal schema to faqturo.Decimal. The generated openapi/faqturo-sdk.codegen.json is retained to make the overlay result auditable.

Branding

Faqturo and Tinke Labs names and marks belong to Tinke Labs. The Apache-2.0 license covers this SDK's source code; it does not grant trademark rights or imply endorsement of modified or third-party distributions.

Documentation

Overview

Package faqturo provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.7.0 DO NOT EDIT.

Index

Constants

View Source
const (
	ApiKeyAuthScopes apiKeyAuthContextKey = "apiKeyAuth.Scopes"
)

Variables

This section is empty.

Functions

func ErrorFromResponse

func ErrorFromResponse(response *http.Response, body []byte) error

func NewApplyPaymentRequest

func NewApplyPaymentRequest(server string, paymentId int64, params *ApplyPaymentParams, body ApplyPaymentJSONRequestBody) (*http.Request, error)

NewApplyPaymentRequest calls the generic ApplyPayment builder with application/json body

func NewApplyPaymentRequestWithBody

func NewApplyPaymentRequestWithBody(server string, paymentId int64, params *ApplyPaymentParams, contentType string, body io.Reader) (*http.Request, error)

NewApplyPaymentRequestWithBody generates requests for ApplyPayment with any type of body

func NewClassifyDocumentItemRequest

func NewClassifyDocumentItemRequest(server string, itemId int64, params *ClassifyDocumentItemParams, body ClassifyDocumentItemJSONRequestBody) (*http.Request, error)

NewClassifyDocumentItemRequest calls the generic ClassifyDocumentItem builder with application/json body

func NewClassifyDocumentItemRequestWithBody

func NewClassifyDocumentItemRequestWithBody(server string, itemId int64, params *ClassifyDocumentItemParams, contentType string, body io.Reader) (*http.Request, error)

NewClassifyDocumentItemRequestWithBody generates requests for ClassifyDocumentItem with any type of body

func NewCreateBranchRequest

func NewCreateBranchRequest(server string, params *CreateBranchParams, body CreateBranchJSONRequestBody) (*http.Request, error)

NewCreateBranchRequest calls the generic CreateBranch builder with application/json body

func NewCreateBranchRequestWithBody

func NewCreateBranchRequestWithBody(server string, params *CreateBranchParams, contentType string, body io.Reader) (*http.Request, error)

NewCreateBranchRequestWithBody generates requests for CreateBranch with any type of body

func NewCreateCashRegisterRequest

func NewCreateCashRegisterRequest(server string, branchId int64, params *CreateCashRegisterParams, body CreateCashRegisterJSONRequestBody) (*http.Request, error)

NewCreateCashRegisterRequest calls the generic CreateCashRegister builder with application/json body

func NewCreateCashRegisterRequestWithBody

func NewCreateCashRegisterRequestWithBody(server string, branchId int64, params *CreateCashRegisterParams, contentType string, body io.Reader) (*http.Request, error)

NewCreateCashRegisterRequestWithBody generates requests for CreateCashRegister with any type of body

func NewCreateClientRequest

func NewCreateClientRequest(server string, params *CreateClientParams, body CreateClientJSONRequestBody) (*http.Request, error)

NewCreateClientRequest calls the generic CreateClient builder with application/json body

func NewCreateClientRequestWithBody

func NewCreateClientRequestWithBody(server string, params *CreateClientParams, contentType string, body io.Reader) (*http.Request, error)

NewCreateClientRequestWithBody generates requests for CreateClient with any type of body

func NewCreateCreditNoteRequest

func NewCreateCreditNoteRequest(server string, params *CreateCreditNoteParams, body CreateCreditNoteJSONRequestBody) (*http.Request, error)

NewCreateCreditNoteRequest calls the generic CreateCreditNote builder with application/json body

func NewCreateCreditNoteRequestWithBody

func NewCreateCreditNoteRequestWithBody(server string, params *CreateCreditNoteParams, contentType string, body io.Reader) (*http.Request, error)

NewCreateCreditNoteRequestWithBody generates requests for CreateCreditNote with any type of body

func NewCreateDebitNoteRequest

func NewCreateDebitNoteRequest(server string, params *CreateDebitNoteParams, body CreateDebitNoteJSONRequestBody) (*http.Request, error)

NewCreateDebitNoteRequest calls the generic CreateDebitNote builder with application/json body

func NewCreateDebitNoteRequestWithBody

func NewCreateDebitNoteRequestWithBody(server string, params *CreateDebitNoteParams, contentType string, body io.Reader) (*http.Request, error)

NewCreateDebitNoteRequestWithBody generates requests for CreateDebitNote with any type of body

func NewCreateElectronicPaymentReceiptRequest

func NewCreateElectronicPaymentReceiptRequest(server string, params *CreateElectronicPaymentReceiptParams, body CreateElectronicPaymentReceiptJSONRequestBody) (*http.Request, error)

NewCreateElectronicPaymentReceiptRequest calls the generic CreateElectronicPaymentReceipt builder with application/json body

func NewCreateElectronicPaymentReceiptRequestWithBody

func NewCreateElectronicPaymentReceiptRequestWithBody(server string, params *CreateElectronicPaymentReceiptParams, contentType string, body io.Reader) (*http.Request, error)

NewCreateElectronicPaymentReceiptRequestWithBody generates requests for CreateElectronicPaymentReceipt with any type of body

func NewCreateExportInvoiceRequest

func NewCreateExportInvoiceRequest(server string, params *CreateExportInvoiceParams, body CreateExportInvoiceJSONRequestBody) (*http.Request, error)

NewCreateExportInvoiceRequest calls the generic CreateExportInvoice builder with application/json body

func NewCreateExportInvoiceRequestWithBody

func NewCreateExportInvoiceRequestWithBody(server string, params *CreateExportInvoiceParams, contentType string, body io.Reader) (*http.Request, error)

NewCreateExportInvoiceRequestWithBody generates requests for CreateExportInvoice with any type of body

func NewCreateInvoiceRequest

func NewCreateInvoiceRequest(server string, params *CreateInvoiceParams, body CreateInvoiceJSONRequestBody) (*http.Request, error)

NewCreateInvoiceRequest calls the generic CreateInvoice builder with application/json body

func NewCreateInvoiceRequestWithBody

func NewCreateInvoiceRequestWithBody(server string, params *CreateInvoiceParams, contentType string, body io.Reader) (*http.Request, error)

NewCreateInvoiceRequestWithBody generates requests for CreateInvoice with any type of body

func NewCreateIssuerRequest

func NewCreateIssuerRequest(server string, params *CreateIssuerParams, body CreateIssuerJSONRequestBody) (*http.Request, error)

NewCreateIssuerRequest calls the generic CreateIssuer builder with application/json body

func NewCreateIssuerRequestWithBody

func NewCreateIssuerRequestWithBody(server string, params *CreateIssuerParams, contentType string, body io.Reader) (*http.Request, error)

NewCreateIssuerRequestWithBody generates requests for CreateIssuer with any type of body

func NewCreateOrUpdateReceiverRequest

func NewCreateOrUpdateReceiverRequest(server string, clientId int64, params *CreateOrUpdateReceiverParams, body CreateOrUpdateReceiverJSONRequestBody) (*http.Request, error)

NewCreateOrUpdateReceiverRequest calls the generic CreateOrUpdateReceiver builder with application/json body

func NewCreateOrUpdateReceiverRequestWithBody

func NewCreateOrUpdateReceiverRequestWithBody(server string, clientId int64, params *CreateOrUpdateReceiverParams, contentType string, body io.Reader) (*http.Request, error)

NewCreateOrUpdateReceiverRequestWithBody generates requests for CreateOrUpdateReceiver with any type of body

func NewCreatePaymentRequest

func NewCreatePaymentRequest(server string, params *CreatePaymentParams, body CreatePaymentJSONRequestBody) (*http.Request, error)

NewCreatePaymentRequest calls the generic CreatePayment builder with application/json body

func NewCreatePaymentRequestWithBody

func NewCreatePaymentRequestWithBody(server string, params *CreatePaymentParams, contentType string, body io.Reader) (*http.Request, error)

NewCreatePaymentRequestWithBody generates requests for CreatePayment with any type of body

func NewCreatePurchaseInvoiceRequest

func NewCreatePurchaseInvoiceRequest(server string, params *CreatePurchaseInvoiceParams, body CreatePurchaseInvoiceJSONRequestBody) (*http.Request, error)

NewCreatePurchaseInvoiceRequest calls the generic CreatePurchaseInvoice builder with application/json body

func NewCreatePurchaseInvoiceRequestWithBody

func NewCreatePurchaseInvoiceRequestWithBody(server string, params *CreatePurchaseInvoiceParams, contentType string, body io.Reader) (*http.Request, error)

NewCreatePurchaseInvoiceRequestWithBody generates requests for CreatePurchaseInvoice with any type of body

func NewCreateReceiptRequest

func NewCreateReceiptRequest(server string, params *CreateReceiptParams, body CreateReceiptJSONRequestBody) (*http.Request, error)

NewCreateReceiptRequest calls the generic CreateReceipt builder with application/json body

func NewCreateReceiptRequestWithBody

func NewCreateReceiptRequestWithBody(server string, params *CreateReceiptParams, contentType string, body io.Reader) (*http.Request, error)

NewCreateReceiptRequestWithBody generates requests for CreateReceipt with any type of body

func NewCreateReceiverMessageRequest

func NewCreateReceiverMessageRequest(server string, params *CreateReceiverMessageParams, body CreateReceiverMessageJSONRequestBody) (*http.Request, error)

NewCreateReceiverMessageRequest calls the generic CreateReceiverMessage builder with application/json body

func NewCreateReceiverMessageRequestWithBody

func NewCreateReceiverMessageRequestWithBody(server string, params *CreateReceiverMessageParams, contentType string, body io.Reader) (*http.Request, error)

NewCreateReceiverMessageRequestWithBody generates requests for CreateReceiverMessage with any type of body

func NewCreateWebhookRequest

func NewCreateWebhookRequest(server string, params *CreateWebhookParams, body CreateWebhookJSONRequestBody) (*http.Request, error)

NewCreateWebhookRequest calls the generic CreateWebhook builder with application/json body

func NewCreateWebhookRequestWithBody

func NewCreateWebhookRequestWithBody(server string, params *CreateWebhookParams, contentType string, body io.Reader) (*http.Request, error)

NewCreateWebhookRequestWithBody generates requests for CreateWebhook with any type of body

func NewDeactivateExonerationRequest

func NewDeactivateExonerationRequest(server string, clientId int64, id int64, params *DeactivateExonerationParams) (*http.Request, error)

NewDeactivateExonerationRequest generates requests for DeactivateExoneration

func NewDeleteBranchRequest

func NewDeleteBranchRequest(server string, id int64, params *DeleteBranchParams) (*http.Request, error)

NewDeleteBranchRequest generates requests for DeleteBranch

func NewDeleteCashRegisterRequest

func NewDeleteCashRegisterRequest(server string, branchId int64, id int64, params *DeleteCashRegisterParams) (*http.Request, error)

NewDeleteCashRegisterRequest generates requests for DeleteCashRegister

func NewDeleteClientRequest

func NewDeleteClientRequest(server string, id int64, params *DeleteClientParams) (*http.Request, error)

NewDeleteClientRequest generates requests for DeleteClient

func NewDeleteIssuerRequest

func NewDeleteIssuerRequest(server string, id int64, params *DeleteIssuerParams) (*http.Request, error)

NewDeleteIssuerRequest generates requests for DeleteIssuer

func NewDeleteLogoRequest

func NewDeleteLogoRequest(server string, params *DeleteLogoParams) (*http.Request, error)

NewDeleteLogoRequest generates requests for DeleteLogo

func NewDeleteReceiverRequest

func NewDeleteReceiverRequest(server string, clientId int64, receiverId int64, params *DeleteReceiverParams) (*http.Request, error)

NewDeleteReceiverRequest generates requests for DeleteReceiver

func NewDeleteWebhookRequest

func NewDeleteWebhookRequest(server string, id int64, params *DeleteWebhookParams) (*http.Request, error)

NewDeleteWebhookRequest generates requests for DeleteWebhook

func NewExportFiscalReportRequest

func NewExportFiscalReportRequest(server string, params *ExportFiscalReportParams) (*http.Request, error)

NewExportFiscalReportRequest generates requests for ExportFiscalReport

func NewGetAgriculturalProducerRequest

func NewGetAgriculturalProducerRequest(server string, legalIdentification string, params *GetAgriculturalProducerParams) (*http.Request, error)

NewGetAgriculturalProducerRequest generates requests for GetAgriculturalProducer

func NewGetAllClientsRequest

func NewGetAllClientsRequest(server string, params *GetAllClientsParams) (*http.Request, error)

NewGetAllClientsRequest generates requests for GetAllClients

func NewGetAllDocumentsRequest

func NewGetAllDocumentsRequest(server string, params *GetAllDocumentsParams) (*http.Request, error)

NewGetAllDocumentsRequest generates requests for GetAllDocuments

func NewGetAllIssuersRequest

func NewGetAllIssuersRequest(server string, params *GetAllIssuersParams) (*http.Request, error)

NewGetAllIssuersRequest generates requests for GetAllIssuers

func NewGetBranchRequest

func NewGetBranchRequest(server string, id int64, params *GetBranchParams) (*http.Request, error)

NewGetBranchRequest generates requests for GetBranch

func NewGetBranchesRequest

func NewGetBranchesRequest(server string, params *GetBranchesParams) (*http.Request, error)

NewGetBranchesRequest generates requests for GetBranches

func NewGetCabysByCodeRequest

func NewGetCabysByCodeRequest(server string, code string, params *GetCabysByCodeParams) (*http.Request, error)

NewGetCabysByCodeRequest generates requests for GetCabysByCode

func NewGetCantonsRequest

func NewGetCantonsRequest(server string, params *GetCantonsParams) (*http.Request, error)

NewGetCantonsRequest generates requests for GetCantons

func NewGetCashRegisterRequest

func NewGetCashRegisterRequest(server string, branchId int64, id int64, params *GetCashRegisterParams) (*http.Request, error)

NewGetCashRegisterRequest generates requests for GetCashRegister

func NewGetCashRegistersRequest

func NewGetCashRegistersRequest(server string, branchId int64, params *GetCashRegistersParams) (*http.Request, error)

NewGetCashRegistersRequest generates requests for GetCashRegisters

func NewGetClientByIdRequest

func NewGetClientByIdRequest(server string, id int64, params *GetClientByIdParams) (*http.Request, error)

NewGetClientByIdRequest generates requests for GetClientById

func NewGetClientExonerationRequest

func NewGetClientExonerationRequest(server string, clientId int64, id int64, params *GetClientExonerationParams) (*http.Request, error)

NewGetClientExonerationRequest generates requests for GetClientExoneration

func NewGetClientReceiversRequest

func NewGetClientReceiversRequest(server string, clientId int64, params *GetClientReceiversParams) (*http.Request, error)

NewGetClientReceiversRequest generates requests for GetClientReceivers

func NewGetClientStatementRequest

func NewGetClientStatementRequest(server string, clientId int64, params *GetClientStatementParams) (*http.Request, error)

NewGetClientStatementRequest generates requests for GetClientStatement

func NewGetCurrenciesRequest

func NewGetCurrenciesRequest(server string, params *GetCurrenciesParams) (*http.Request, error)

NewGetCurrenciesRequest generates requests for GetCurrencies

func NewGetDistrictsRequest

func NewGetDistrictsRequest(server string, params *GetDistrictsParams) (*http.Request, error)

NewGetDistrictsRequest generates requests for GetDistricts

func NewGetDocumentByIdRequest

func NewGetDocumentByIdRequest(server string, id int64, params *GetDocumentByIdParams) (*http.Request, error)

NewGetDocumentByIdRequest generates requests for GetDocumentById

func NewGetDocumentPdfRequest

func NewGetDocumentPdfRequest(server string, id int64, params *GetDocumentPdfParams) (*http.Request, error)

NewGetDocumentPdfRequest generates requests for GetDocumentPdf

func NewGetDocumentTypesRequest

func NewGetDocumentTypesRequest(server string, params *GetDocumentTypesParams) (*http.Request, error)

NewGetDocumentTypesRequest generates requests for GetDocumentTypes

func NewGetExchangeRatesRequest

func NewGetExchangeRatesRequest(server string, params *GetExchangeRatesParams) (*http.Request, error)

NewGetExchangeRatesRequest generates requests for GetExchangeRates

func NewGetExonerationsRequest

func NewGetExonerationsRequest(server string, clientId int64, params *GetExonerationsParams) (*http.Request, error)

NewGetExonerationsRequest generates requests for GetExonerations

func NewGetFaqturoXmlRequest

func NewGetFaqturoXmlRequest(server string, id int64, params *GetFaqturoXmlParams) (*http.Request, error)

NewGetFaqturoXmlRequest generates requests for GetFaqturoXml

func NewGetFiscalReportRequest

func NewGetFiscalReportRequest(server string, params *GetFiscalReportParams) (*http.Request, error)

NewGetFiscalReportRequest generates requests for GetFiscalReport

func NewGetFishingProducerRequest

func NewGetFishingProducerRequest(server string, legalIdentification string, params *GetFishingProducerParams) (*http.Request, error)

NewGetFishingProducerRequest generates requests for GetFishingProducer

func NewGetHaciendaXmlRequest

func NewGetHaciendaXmlRequest(server string, id int64, params *GetHaciendaXmlParams) (*http.Request, error)

NewGetHaciendaXmlRequest generates requests for GetHaciendaXml

func NewGetInvoicingStatusRequest

func NewGetInvoicingStatusRequest(server string, params *GetInvoicingStatusParams) (*http.Request, error)

NewGetInvoicingStatusRequest generates requests for GetInvoicingStatus

func NewGetIssuerByIdRequest

func NewGetIssuerByIdRequest(server string, id int64, params *GetIssuerByIdParams) (*http.Request, error)

NewGetIssuerByIdRequest generates requests for GetIssuerById

func NewGetLegalIdentificationTypesRequest

func NewGetLegalIdentificationTypesRequest(server string, params *GetLegalIdentificationTypesParams) (*http.Request, error)

NewGetLegalIdentificationTypesRequest generates requests for GetLegalIdentificationTypes

func NewGetLogoRequest

func NewGetLogoRequest(server string, params *GetLogoParams) (*http.Request, error)

NewGetLogoRequest generates requests for GetLogo

func NewGetLogsRequest

func NewGetLogsRequest(server string, id int64, params *GetLogsParams) (*http.Request, error)

NewGetLogsRequest generates requests for GetLogs

func NewGetPaymentMethodsRequest

func NewGetPaymentMethodsRequest(server string, params *GetPaymentMethodsParams) (*http.Request, error)

NewGetPaymentMethodsRequest generates requests for GetPaymentMethods

func NewGetPaymentRequest

func NewGetPaymentRequest(server string, paymentId int64, params *GetPaymentParams) (*http.Request, error)

NewGetPaymentRequest generates requests for GetPayment

func NewGetPharmaceuticalFormsRequest

func NewGetPharmaceuticalFormsRequest(server string, params *GetPharmaceuticalFormsParams) (*http.Request, error)

NewGetPharmaceuticalFormsRequest generates requests for GetPharmaceuticalForms

func NewGetProvincesRequest

func NewGetProvincesRequest(server string, params *GetProvincesParams) (*http.Request, error)

NewGetProvincesRequest generates requests for GetProvinces

func NewGetReceiverByIdRequest

func NewGetReceiverByIdRequest(server string, clientId int64, receiverId int64, params *GetReceiverByIdParams) (*http.Request, error)

NewGetReceiverByIdRequest generates requests for GetReceiverById

func NewGetSaleConditionsRequest

func NewGetSaleConditionsRequest(server string, params *GetSaleConditionsParams) (*http.Request, error)

NewGetSaleConditionsRequest generates requests for GetSaleConditions

func NewGetSequencesRequest

func NewGetSequencesRequest(server string, params *GetSequencesParams) (*http.Request, error)

NewGetSequencesRequest generates requests for GetSequences

func NewGetTaxAuthorityExonerationRequest

func NewGetTaxAuthorityExonerationRequest(server string, authorization string, params *GetTaxAuthorityExonerationParams) (*http.Request, error)

NewGetTaxAuthorityExonerationRequest generates requests for GetTaxAuthorityExoneration

func NewGetTaxCodesRequest

func NewGetTaxCodesRequest(server string, params *GetTaxCodesParams) (*http.Request, error)

NewGetTaxCodesRequest generates requests for GetTaxCodes

func NewGetTaxRatesSummaryRequest

func NewGetTaxRatesSummaryRequest(server string, params *GetTaxRatesSummaryParams) (*http.Request, error)

NewGetTaxRatesSummaryRequest generates requests for GetTaxRatesSummary

func NewGetTaxpayerInfoRequest

func NewGetTaxpayerInfoRequest(server string, legalIdentification string, params *GetTaxpayerInfoParams) (*http.Request, error)

NewGetTaxpayerInfoRequest generates requests for GetTaxpayerInfo

func NewGetTaxpayerRequest

func NewGetTaxpayerRequest(server string, legalIdentification string, params *GetTaxpayerParams) (*http.Request, error)

NewGetTaxpayerRequest generates requests for GetTaxpayer

func NewGetTenantRequest

func NewGetTenantRequest(server string, params *GetTenantParams) (*http.Request, error)

NewGetTenantRequest generates requests for GetTenant

func NewGetUnitsOfMeasureRequest

func NewGetUnitsOfMeasureRequest(server string, params *GetUnitsOfMeasureParams) (*http.Request, error)

NewGetUnitsOfMeasureRequest generates requests for GetUnitsOfMeasure

func NewGetVatRateCodesRequest

func NewGetVatRateCodesRequest(server string, params *GetVatRateCodesParams) (*http.Request, error)

NewGetVatRateCodesRequest generates requests for GetVatRateCodes

func NewGetVatSummaryRequest

func NewGetVatSummaryRequest(server string, params *GetVatSummaryParams) (*http.Request, error)

NewGetVatSummaryRequest generates requests for GetVatSummary

func NewGetWebhookRequest

func NewGetWebhookRequest(server string, id int64, params *GetWebhookParams) (*http.Request, error)

NewGetWebhookRequest generates requests for GetWebhook

func NewGetWebhooksRequest

func NewGetWebhooksRequest(server string, params *GetWebhooksParams) (*http.Request, error)

NewGetWebhooksRequest generates requests for GetWebhooks

func NewRefreshExonerationRequest

func NewRefreshExonerationRequest(server string, clientId int64, id int64, params *RefreshExonerationParams) (*http.Request, error)

NewRefreshExonerationRequest generates requests for RefreshExoneration

func NewRegenerateDocumentPdfRequest

func NewRegenerateDocumentPdfRequest(server string, id int64, params *RegenerateDocumentPdfParams) (*http.Request, error)

NewRegenerateDocumentPdfRequest generates requests for RegenerateDocumentPdf

func NewRegisterExonerationRequest

func NewRegisterExonerationRequest(server string, clientId int64, params *RegisterExonerationParams, body RegisterExonerationJSONRequestBody) (*http.Request, error)

NewRegisterExonerationRequest calls the generic RegisterExoneration builder with application/json body

func NewRegisterExonerationRequestWithBody

func NewRegisterExonerationRequestWithBody(server string, clientId int64, params *RegisterExonerationParams, contentType string, body io.Reader) (*http.Request, error)

NewRegisterExonerationRequestWithBody generates requests for RegisterExoneration with any type of body

func NewSearchCabysRequest

func NewSearchCabysRequest(server string, params *SearchCabysParams) (*http.Request, error)

NewSearchCabysRequest generates requests for SearchCabys

func NewSendDocumentEmailRequest

func NewSendDocumentEmailRequest(server string, id int64, params *SendDocumentEmailParams) (*http.Request, error)

NewSendDocumentEmailRequest generates requests for SendDocumentEmail

func NewSetDefaultBranchRequest

func NewSetDefaultBranchRequest(server string, id int64, params *SetDefaultBranchParams) (*http.Request, error)

NewSetDefaultBranchRequest generates requests for SetDefaultBranch

func NewSetDefaultCashRegisterRequest

func NewSetDefaultCashRegisterRequest(server string, id int64, params *SetDefaultCashRegisterParams) (*http.Request, error)

NewSetDefaultCashRegisterRequest generates requests for SetDefaultCashRegister

func NewSetDefaultIssuerRequest

func NewSetDefaultIssuerRequest(server string, id int64, params *SetDefaultIssuerParams) (*http.Request, error)

NewSetDefaultIssuerRequest generates requests for SetDefaultIssuer

func NewTestWebhookRequest

func NewTestWebhookRequest(server string, id int64, params *TestWebhookParams) (*http.Request, error)

NewTestWebhookRequest generates requests for TestWebhook

func NewUpdateBranchRequest

func NewUpdateBranchRequest(server string, id int64, params *UpdateBranchParams, body UpdateBranchJSONRequestBody) (*http.Request, error)

NewUpdateBranchRequest calls the generic UpdateBranch builder with application/json body

func NewUpdateBranchRequestWithBody

func NewUpdateBranchRequestWithBody(server string, id int64, params *UpdateBranchParams, contentType string, body io.Reader) (*http.Request, error)

NewUpdateBranchRequestWithBody generates requests for UpdateBranch with any type of body

func NewUpdateCashRegisterRequest

func NewUpdateCashRegisterRequest(server string, branchId int64, id int64, params *UpdateCashRegisterParams, body UpdateCashRegisterJSONRequestBody) (*http.Request, error)

NewUpdateCashRegisterRequest calls the generic UpdateCashRegister builder with application/json body

func NewUpdateCashRegisterRequestWithBody

func NewUpdateCashRegisterRequestWithBody(server string, branchId int64, id int64, params *UpdateCashRegisterParams, contentType string, body io.Reader) (*http.Request, error)

NewUpdateCashRegisterRequestWithBody generates requests for UpdateCashRegister with any type of body

func NewUpdateCashRegisterSequenceRequest

func NewUpdateCashRegisterSequenceRequest(server string, branchId int64, id int64, params *UpdateCashRegisterSequenceParams, body UpdateCashRegisterSequenceJSONRequestBody) (*http.Request, error)

NewUpdateCashRegisterSequenceRequest calls the generic UpdateCashRegisterSequence builder with application/json body

func NewUpdateCashRegisterSequenceRequestWithBody

func NewUpdateCashRegisterSequenceRequestWithBody(server string, branchId int64, id int64, params *UpdateCashRegisterSequenceParams, contentType string, body io.Reader) (*http.Request, error)

NewUpdateCashRegisterSequenceRequestWithBody generates requests for UpdateCashRegisterSequence with any type of body

func NewUpdateClientRequest

func NewUpdateClientRequest(server string, id int64, params *UpdateClientParams, body UpdateClientJSONRequestBody) (*http.Request, error)

NewUpdateClientRequest calls the generic UpdateClient builder with application/json body

func NewUpdateClientRequestWithBody

func NewUpdateClientRequestWithBody(server string, id int64, params *UpdateClientParams, contentType string, body io.Reader) (*http.Request, error)

NewUpdateClientRequestWithBody generates requests for UpdateClient with any type of body

func NewUpdateDefaultReceiverRequest

func NewUpdateDefaultReceiverRequest(server string, clientId int64, params *UpdateDefaultReceiverParams, body UpdateDefaultReceiverJSONRequestBody) (*http.Request, error)

NewUpdateDefaultReceiverRequest calls the generic UpdateDefaultReceiver builder with application/json body

func NewUpdateDefaultReceiverRequestWithBody

func NewUpdateDefaultReceiverRequestWithBody(server string, clientId int64, params *UpdateDefaultReceiverParams, contentType string, body io.Reader) (*http.Request, error)

NewUpdateDefaultReceiverRequestWithBody generates requests for UpdateDefaultReceiver with any type of body

func NewUpdateIssuerRequest

func NewUpdateIssuerRequest(server string, id int64, params *UpdateIssuerParams, body UpdateIssuerJSONRequestBody) (*http.Request, error)

NewUpdateIssuerRequest calls the generic UpdateIssuer builder with application/json body

func NewUpdateIssuerRequestWithBody

func NewUpdateIssuerRequestWithBody(server string, id int64, params *UpdateIssuerParams, contentType string, body io.Reader) (*http.Request, error)

NewUpdateIssuerRequestWithBody generates requests for UpdateIssuer with any type of body

func NewUpdateSecretsRequestWithBody

func NewUpdateSecretsRequestWithBody(server string, params *UpdateSecretsParams, contentType string, body io.Reader) (*http.Request, error)

NewUpdateSecretsRequestWithBody generates requests for UpdateSecrets with any type of body

func NewUpdateSequenceRequest

func NewUpdateSequenceRequest(server string, id int64, params *UpdateSequenceParams, body UpdateSequenceJSONRequestBody) (*http.Request, error)

NewUpdateSequenceRequest calls the generic UpdateSequence builder with application/json body

func NewUpdateSequenceRequestWithBody

func NewUpdateSequenceRequestWithBody(server string, id int64, params *UpdateSequenceParams, contentType string, body io.Reader) (*http.Request, error)

NewUpdateSequenceRequestWithBody generates requests for UpdateSequence with any type of body

func NewUpdateTenantRequest

func NewUpdateTenantRequest(server string, params *UpdateTenantParams, body UpdateTenantJSONRequestBody) (*http.Request, error)

NewUpdateTenantRequest calls the generic UpdateTenant builder with application/json body

func NewUpdateTenantRequestWithBody

func NewUpdateTenantRequestWithBody(server string, params *UpdateTenantParams, contentType string, body io.Reader) (*http.Request, error)

NewUpdateTenantRequestWithBody generates requests for UpdateTenant with any type of body

func NewUpdateWebhookRequest

func NewUpdateWebhookRequest(server string, id int64, params *UpdateWebhookParams, body UpdateWebhookJSONRequestBody) (*http.Request, error)

NewUpdateWebhookRequest calls the generic UpdateWebhook builder with application/json body

func NewUpdateWebhookRequestWithBody

func NewUpdateWebhookRequestWithBody(server string, id int64, params *UpdateWebhookParams, contentType string, body io.Reader) (*http.Request, error)

NewUpdateWebhookRequestWithBody generates requests for UpdateWebhook with any type of body

func NewUploadLogoRequestWithBody

func NewUploadLogoRequestWithBody(server string, params *UploadLogoParams, contentType string, body io.Reader) (*http.Request, error)

NewUploadLogoRequestWithBody generates requests for UploadLogo with any type of body

func NewVoidApplicationRequest

func NewVoidApplicationRequest(server string, applicationId int64, params *VoidApplicationParams, body VoidApplicationJSONRequestBody) (*http.Request, error)

NewVoidApplicationRequest calls the generic VoidApplication builder with application/json body

func NewVoidApplicationRequestWithBody

func NewVoidApplicationRequestWithBody(server string, applicationId int64, params *VoidApplicationParams, contentType string, body io.Reader) (*http.Request, error)

NewVoidApplicationRequestWithBody generates requests for VoidApplication with any type of body

func NewVoidPaymentRequest

func NewVoidPaymentRequest(server string, paymentId int64, params *VoidPaymentParams, body VoidPaymentJSONRequestBody) (*http.Request, error)

NewVoidPaymentRequest calls the generic VoidPayment builder with application/json body

func NewVoidPaymentRequestWithBody

func NewVoidPaymentRequestWithBody(server string, paymentId int64, params *VoidPaymentParams, contentType string, body io.Reader) (*http.Request, error)

NewVoidPaymentRequestWithBody generates requests for VoidPayment with any type of body

Types

type APIError

type APIError struct {
	StatusCode       int               `json:"status"`
	ErrorCode        string            `json:"error"`
	Message          string            `json:"message"`
	Path             string            `json:"path"`
	Details          string            `json:"details,omitempty"`
	ValidationErrors map[string]string `json:"validationErrors,omitempty"`
	Metadata         map[string]any    `json:"metadata,omitempty"`
	Body             []byte            `json:"-"`
}

APIError is the normalized ErrorResponse returned by Faqturo.

func (*APIError) Error

func (e *APIError) Error() string

type AdditionalInformationEntryDto

type AdditionalInformationEntryDto struct {
	Code  *string `json:"code,omitempty"`
	Value string  `json:"value"`
}

AdditionalInformationEntryDto defines model for AdditionalInformationEntryDto.

type AdditionalInformationEntryRequest

type AdditionalInformationEntryRequest struct {
	Code  *string `json:"code,omitempty"`
	Value string  `json:"value"`
}

AdditionalInformationEntryRequest defines model for AdditionalInformationEntryRequest.

type AddressRequest

type AddressRequest struct {
	CantonCode   *string `json:"cantonCode,omitempty"`
	DistrictCode *string `json:"districtCode,omitempty"`
	Neighborhood *string `json:"neighborhood,omitempty"`
	OtherSigns   *string `json:"otherSigns,omitempty"`
	ProvinceCode *string `json:"provinceCode,omitempty"`
}

AddressRequest defines model for AddressRequest.

type AddressResponse

type AddressResponse struct {
	CantonCode   *string `json:"cantonCode,omitempty"`
	DistrictCode *string `json:"districtCode,omitempty"`
	Neighborhood *string `json:"neighborhood,omitempty"`
	OtherSigns   *string `json:"otherSigns,omitempty"`
	ProvinceCode *string `json:"provinceCode,omitempty"`
}

AddressResponse defines model for AddressResponse.

type ApplyPaymentJSONRequestBody

type ApplyPaymentJSONRequestBody = DocumentPaymentApplyRequest

ApplyPaymentJSONRequestBody defines body for ApplyPayment for application/json ContentType.

type ApplyPaymentParams

type ApplyPaymentParams struct {
	APIVersion *ApplyPaymentParamsAPIVersion `json:"API-Version,omitempty"`
}

ApplyPaymentParams defines parameters for ApplyPayment.

type ApplyPaymentParamsAPIVersion

type ApplyPaymentParamsAPIVersion string

ApplyPaymentParamsAPIVersion defines parameters for ApplyPayment.

const (
	ApplyPaymentParamsAPIVersionV1 ApplyPaymentParamsAPIVersion = "v1"
)

Defines values for ApplyPaymentParamsAPIVersion.

func (ApplyPaymentParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the ApplyPaymentParamsAPIVersion enum.

type ApplyPaymentResponse

type ApplyPaymentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DocumentPaymentResponse
}

func ParseApplyPaymentResponse

func ParseApplyPaymentResponse(rsp *http.Response) (*ApplyPaymentResponse, error)

ParseApplyPaymentResponse parses an HTTP response from a ApplyPaymentWithResponse call

func (ApplyPaymentResponse) ContentType

func (r ApplyPaymentResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ApplyPaymentResponse) Status

func (r ApplyPaymentResponse) Status() string

Status returns HTTPResponse.Status

func (ApplyPaymentResponse) StatusCode

func (r ApplyPaymentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type BranchRequest

type BranchRequest struct {
	Code string `json:"code"`
	Name string `json:"name"`
}

BranchRequest defines model for BranchRequest.

type BranchResponse

type BranchResponse struct {
	Code      *string    `json:"code,omitempty"`
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	Id        *int64     `json:"id,omitempty"`
	IsDefault *bool      `json:"isDefault,omitempty"`
	Name      *string    `json:"name,omitempty"`
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
}

BranchResponse defines model for BranchResponse.

type CabysQueryResponse

type CabysQueryResponse struct {
	Count *int32  `json:"count,omitempty"`
	Items *[]Item `json:"items,omitempty"`
	Total *int32  `json:"total,omitempty"`
}

CabysQueryResponse defines model for CabysQueryResponse.

type CashRegisterRequest

type CashRegisterRequest struct {
	Code string `json:"code"`
	Name string `json:"name"`
}

CashRegisterRequest defines model for CashRegisterRequest.

type CashRegisterResponse

type CashRegisterResponse struct {
	BranchCode *string    `json:"branchCode,omitempty"`
	BranchId   *int64     `json:"branchId,omitempty"`
	BranchName *string    `json:"branchName,omitempty"`
	Code       *string    `json:"code,omitempty"`
	CreatedAt  *time.Time `json:"createdAt,omitempty"`
	Id         *int64     `json:"id,omitempty"`
	IsDefault  *bool      `json:"isDefault,omitempty"`
	Name       *string    `json:"name,omitempty"`
	UpdatedAt  *time.Time `json:"updatedAt,omitempty"`
}

CashRegisterResponse defines model for CashRegisterResponse.

type CashRegisterSequenceResponse

type CashRegisterSequenceResponse struct {
	BranchCode     *string                                   `json:"branchCode,omitempty"`
	BranchId       *int64                                    `json:"branchId,omitempty"`
	CashRegisterId *int64                                    `json:"cashRegisterId,omitempty"`
	DocumentType   *CashRegisterSequenceResponseDocumentType `json:"documentType,omitempty"`
	LastNumber     *int64                                    `json:"lastNumber,omitempty"`
	NextNumber     *int64                                    `json:"nextNumber,omitempty"`
	TerminalCode   *string                                   `json:"terminalCode,omitempty"`
}

CashRegisterSequenceResponse defines model for CashRegisterSequenceResponse.

type CashRegisterSequenceResponseDocumentType

type CashRegisterSequenceResponseDocumentType string

CashRegisterSequenceResponseDocumentType defines model for CashRegisterSequenceResponse.DocumentType.

const (
	CashRegisterSequenceResponseDocumentTypeCREDITNOTE               CashRegisterSequenceResponseDocumentType = "CREDIT_NOTE"
	CashRegisterSequenceResponseDocumentTypeDEBITNOTE                CashRegisterSequenceResponseDocumentType = "DEBIT_NOTE"
	CashRegisterSequenceResponseDocumentTypeELECTRONICPAYMENTRECEIPT CashRegisterSequenceResponseDocumentType = "ELECTRONIC_PAYMENT_RECEIPT"
	CashRegisterSequenceResponseDocumentTypeEXPORTINVOICE            CashRegisterSequenceResponseDocumentType = "EXPORT_INVOICE"
	CashRegisterSequenceResponseDocumentTypeINVOICE                  CashRegisterSequenceResponseDocumentType = "INVOICE"
	CashRegisterSequenceResponseDocumentTypePURCHASEINVOICE          CashRegisterSequenceResponseDocumentType = "PURCHASE_INVOICE"
	CashRegisterSequenceResponseDocumentTypeRECEIPT                  CashRegisterSequenceResponseDocumentType = "RECEIPT"
	CashRegisterSequenceResponseDocumentTypeRECEIVERMESSAGE          CashRegisterSequenceResponseDocumentType = "RECEIVER_MESSAGE"
)

Defines values for CashRegisterSequenceResponseDocumentType.

func (CashRegisterSequenceResponseDocumentType) Valid

Valid indicates whether the value is a known member of the CashRegisterSequenceResponseDocumentType enum.

type CashRegisterSequenceUpdateRequest

type CashRegisterSequenceUpdateRequest struct {
	// DocumentType Tipo de comprobante cuyo contador se ajusta.
	DocumentType CashRegisterSequenceUpdateRequestDocumentType `json:"documentType"`

	// LastNumber Ultimo consecutivo ya usado. La proxima emision usara lastNumber + 1.
	LastNumber int64 `json:"lastNumber"`

	// Reason Razón auditable del ajuste manual.
	Reason string `json:"reason"`
}

CashRegisterSequenceUpdateRequest Ajuste manual del ultimo consecutivo fiscal usado por tipo de comprobante.

type CashRegisterSequenceUpdateRequestDocumentType

type CashRegisterSequenceUpdateRequestDocumentType string

CashRegisterSequenceUpdateRequestDocumentType Tipo de comprobante cuyo contador se ajusta.

const (
	CashRegisterSequenceUpdateRequestDocumentTypeCREDITNOTE               CashRegisterSequenceUpdateRequestDocumentType = "CREDIT_NOTE"
	CashRegisterSequenceUpdateRequestDocumentTypeDEBITNOTE                CashRegisterSequenceUpdateRequestDocumentType = "DEBIT_NOTE"
	CashRegisterSequenceUpdateRequestDocumentTypeELECTRONICPAYMENTRECEIPT CashRegisterSequenceUpdateRequestDocumentType = "ELECTRONIC_PAYMENT_RECEIPT"
	CashRegisterSequenceUpdateRequestDocumentTypeEXPORTINVOICE            CashRegisterSequenceUpdateRequestDocumentType = "EXPORT_INVOICE"
	CashRegisterSequenceUpdateRequestDocumentTypeINVOICE                  CashRegisterSequenceUpdateRequestDocumentType = "INVOICE"
	CashRegisterSequenceUpdateRequestDocumentTypePURCHASEINVOICE          CashRegisterSequenceUpdateRequestDocumentType = "PURCHASE_INVOICE"
	CashRegisterSequenceUpdateRequestDocumentTypeRECEIPT                  CashRegisterSequenceUpdateRequestDocumentType = "RECEIPT"
	CashRegisterSequenceUpdateRequestDocumentTypeRECEIVERMESSAGE          CashRegisterSequenceUpdateRequestDocumentType = "RECEIVER_MESSAGE"
)

Defines values for CashRegisterSequenceUpdateRequestDocumentType.

func (CashRegisterSequenceUpdateRequestDocumentType) Valid

Valid indicates whether the value is a known member of the CashRegisterSequenceUpdateRequestDocumentType enum.

type CatalogItemResponse

type CatalogItemResponse struct {
	Code        *string `json:"code,omitempty"`
	Description *string `json:"description,omitempty"`
}

CatalogItemResponse defines model for CatalogItemResponse.

type ClassifyDocumentItemJSONRequestBody

type ClassifyDocumentItemJSONRequestBody = DocumentItemAccountingClassificationRequest

ClassifyDocumentItemJSONRequestBody defines body for ClassifyDocumentItem for application/json ContentType.

type ClassifyDocumentItemParams

type ClassifyDocumentItemParams struct {
	APIVersion *ClassifyDocumentItemParamsAPIVersion `json:"API-Version,omitempty"`
}

ClassifyDocumentItemParams defines parameters for ClassifyDocumentItem.

type ClassifyDocumentItemParamsAPIVersion

type ClassifyDocumentItemParamsAPIVersion string

ClassifyDocumentItemParamsAPIVersion defines parameters for ClassifyDocumentItem.

const (
	ClassifyDocumentItemParamsAPIVersionV1 ClassifyDocumentItemParamsAPIVersion = "v1"
)

Defines values for ClassifyDocumentItemParamsAPIVersion.

func (ClassifyDocumentItemParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the ClassifyDocumentItemParamsAPIVersion enum.

type ClassifyDocumentItemResponse

type ClassifyDocumentItemResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DocumentItemAccountingClassificationResponse
	JSON400      *DocumentItemAccountingClassificationResponse
	JSON404      *DocumentItemAccountingClassificationResponse
}

func ParseClassifyDocumentItemResponse

func ParseClassifyDocumentItemResponse(rsp *http.Response) (*ClassifyDocumentItemResponse, error)

ParseClassifyDocumentItemResponse parses an HTTP response from a ClassifyDocumentItemWithResponse call

func (ClassifyDocumentItemResponse) ContentType

func (r ClassifyDocumentItemResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ClassifyDocumentItemResponse) Status

Status returns HTTPResponse.Status

func (ClassifyDocumentItemResponse) StatusCode

func (r ClassifyDocumentItemResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Client

type Client struct {
	// The endpoint of the server conforming to this interface, with scheme,
	// https://api.deepmap.com for example. This can contain a path relative
	// to the server, such as https://api.deepmap.com/dev-test, and all the
	// paths in the swagger spec will be appended to the server.
	Server string

	// Doer for performing requests, typically a *http.Client with any
	// customized settings, such as certificate chains.
	Client HttpRequestDoer

	// A list of callbacks for modifying requests which are generated before sending over
	// the network.
	RequestEditors []RequestEditorFn
}

Client which conforms to the OpenAPI3 specification for this service.

func NewClient

func NewClient(server string, opts ...ClientOption) (*Client, error)

Creates a new Client, with reasonable defaults

func (*Client) ApplyPayment

func (c *Client) ApplyPayment(ctx context.Context, paymentId int64, params *ApplyPaymentParams, body ApplyPaymentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ApplyPaymentWithBody

func (c *Client) ApplyPaymentWithBody(ctx context.Context, paymentId int64, params *ApplyPaymentParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ClassifyDocumentItem

func (c *Client) ClassifyDocumentItem(ctx context.Context, itemId int64, params *ClassifyDocumentItemParams, body ClassifyDocumentItemJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ClassifyDocumentItemWithBody

func (c *Client) ClassifyDocumentItemWithBody(ctx context.Context, itemId int64, params *ClassifyDocumentItemParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateBranch

func (c *Client) CreateBranch(ctx context.Context, params *CreateBranchParams, body CreateBranchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateBranchWithBody

func (c *Client) CreateBranchWithBody(ctx context.Context, params *CreateBranchParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateCashRegister

func (c *Client) CreateCashRegister(ctx context.Context, branchId int64, params *CreateCashRegisterParams, body CreateCashRegisterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateCashRegisterWithBody

func (c *Client) CreateCashRegisterWithBody(ctx context.Context, branchId int64, params *CreateCashRegisterParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateClient

func (c *Client) CreateClient(ctx context.Context, params *CreateClientParams, body CreateClientJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateClientWithBody

func (c *Client) CreateClientWithBody(ctx context.Context, params *CreateClientParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateCreditNote

func (c *Client) CreateCreditNote(ctx context.Context, params *CreateCreditNoteParams, body CreateCreditNoteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateCreditNoteWithBody

func (c *Client) CreateCreditNoteWithBody(ctx context.Context, params *CreateCreditNoteParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateDebitNote

func (c *Client) CreateDebitNote(ctx context.Context, params *CreateDebitNoteParams, body CreateDebitNoteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateDebitNoteWithBody

func (c *Client) CreateDebitNoteWithBody(ctx context.Context, params *CreateDebitNoteParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateElectronicPaymentReceiptWithBody

func (c *Client) CreateElectronicPaymentReceiptWithBody(ctx context.Context, params *CreateElectronicPaymentReceiptParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateExportInvoice

func (c *Client) CreateExportInvoice(ctx context.Context, params *CreateExportInvoiceParams, body CreateExportInvoiceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateExportInvoiceWithBody

func (c *Client) CreateExportInvoiceWithBody(ctx context.Context, params *CreateExportInvoiceParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateInvoice

func (c *Client) CreateInvoice(ctx context.Context, params *CreateInvoiceParams, body CreateInvoiceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateInvoiceWithBody

func (c *Client) CreateInvoiceWithBody(ctx context.Context, params *CreateInvoiceParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateIssuer

func (c *Client) CreateIssuer(ctx context.Context, params *CreateIssuerParams, body CreateIssuerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateIssuerWithBody

func (c *Client) CreateIssuerWithBody(ctx context.Context, params *CreateIssuerParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateOrUpdateReceiver

func (c *Client) CreateOrUpdateReceiver(ctx context.Context, clientId int64, params *CreateOrUpdateReceiverParams, body CreateOrUpdateReceiverJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateOrUpdateReceiverWithBody

func (c *Client) CreateOrUpdateReceiverWithBody(ctx context.Context, clientId int64, params *CreateOrUpdateReceiverParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreatePayment

func (c *Client) CreatePayment(ctx context.Context, params *CreatePaymentParams, body CreatePaymentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreatePaymentWithBody

func (c *Client) CreatePaymentWithBody(ctx context.Context, params *CreatePaymentParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreatePurchaseInvoice

func (c *Client) CreatePurchaseInvoice(ctx context.Context, params *CreatePurchaseInvoiceParams, body CreatePurchaseInvoiceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreatePurchaseInvoiceWithBody

func (c *Client) CreatePurchaseInvoiceWithBody(ctx context.Context, params *CreatePurchaseInvoiceParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateReceipt

func (c *Client) CreateReceipt(ctx context.Context, params *CreateReceiptParams, body CreateReceiptJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateReceiptWithBody

func (c *Client) CreateReceiptWithBody(ctx context.Context, params *CreateReceiptParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateReceiverMessage

func (c *Client) CreateReceiverMessage(ctx context.Context, params *CreateReceiverMessageParams, body CreateReceiverMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateReceiverMessageWithBody

func (c *Client) CreateReceiverMessageWithBody(ctx context.Context, params *CreateReceiverMessageParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateWebhook

func (c *Client) CreateWebhook(ctx context.Context, params *CreateWebhookParams, body CreateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateWebhookWithBody

func (c *Client) CreateWebhookWithBody(ctx context.Context, params *CreateWebhookParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeactivateExoneration

func (c *Client) DeactivateExoneration(ctx context.Context, clientId int64, id int64, params *DeactivateExonerationParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteBranch

func (c *Client) DeleteBranch(ctx context.Context, id int64, params *DeleteBranchParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteCashRegister

func (c *Client) DeleteCashRegister(ctx context.Context, branchId int64, id int64, params *DeleteCashRegisterParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteClient

func (c *Client) DeleteClient(ctx context.Context, id int64, params *DeleteClientParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteIssuer

func (c *Client) DeleteIssuer(ctx context.Context, id int64, params *DeleteIssuerParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (c *Client) DeleteLogo(ctx context.Context, params *DeleteLogoParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteReceiver

func (c *Client) DeleteReceiver(ctx context.Context, clientId int64, receiverId int64, params *DeleteReceiverParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteWebhook

func (c *Client) DeleteWebhook(ctx context.Context, id int64, params *DeleteWebhookParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ExportFiscalReport

func (c *Client) ExportFiscalReport(ctx context.Context, params *ExportFiscalReportParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetAgriculturalProducer

func (c *Client) GetAgriculturalProducer(ctx context.Context, legalIdentification string, params *GetAgriculturalProducerParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetAllClients

func (c *Client) GetAllClients(ctx context.Context, params *GetAllClientsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetAllDocuments

func (c *Client) GetAllDocuments(ctx context.Context, params *GetAllDocumentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetAllIssuers

func (c *Client) GetAllIssuers(ctx context.Context, params *GetAllIssuersParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetBranch

func (c *Client) GetBranch(ctx context.Context, id int64, params *GetBranchParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetBranches

func (c *Client) GetBranches(ctx context.Context, params *GetBranchesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetCabysByCode

func (c *Client) GetCabysByCode(ctx context.Context, code string, params *GetCabysByCodeParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetCantons

func (c *Client) GetCantons(ctx context.Context, params *GetCantonsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetCashRegister

func (c *Client) GetCashRegister(ctx context.Context, branchId int64, id int64, params *GetCashRegisterParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetCashRegisters

func (c *Client) GetCashRegisters(ctx context.Context, branchId int64, params *GetCashRegistersParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetClientById

func (c *Client) GetClientById(ctx context.Context, id int64, params *GetClientByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetClientExoneration

func (c *Client) GetClientExoneration(ctx context.Context, clientId int64, id int64, params *GetClientExonerationParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetClientReceivers

func (c *Client) GetClientReceivers(ctx context.Context, clientId int64, params *GetClientReceiversParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetClientStatement

func (c *Client) GetClientStatement(ctx context.Context, clientId int64, params *GetClientStatementParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetCurrencies

func (c *Client) GetCurrencies(ctx context.Context, params *GetCurrenciesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetDistricts

func (c *Client) GetDistricts(ctx context.Context, params *GetDistrictsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetDocumentById

func (c *Client) GetDocumentById(ctx context.Context, id int64, params *GetDocumentByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetDocumentPdf

func (c *Client) GetDocumentPdf(ctx context.Context, id int64, params *GetDocumentPdfParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetDocumentTypes

func (c *Client) GetDocumentTypes(ctx context.Context, params *GetDocumentTypesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetExchangeRates

func (c *Client) GetExchangeRates(ctx context.Context, params *GetExchangeRatesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetExonerations

func (c *Client) GetExonerations(ctx context.Context, clientId int64, params *GetExonerationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetFaqturoXml

func (c *Client) GetFaqturoXml(ctx context.Context, id int64, params *GetFaqturoXmlParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetFiscalReport

func (c *Client) GetFiscalReport(ctx context.Context, params *GetFiscalReportParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetFishingProducer

func (c *Client) GetFishingProducer(ctx context.Context, legalIdentification string, params *GetFishingProducerParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetHaciendaXml

func (c *Client) GetHaciendaXml(ctx context.Context, id int64, params *GetHaciendaXmlParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetInvoicingStatus

func (c *Client) GetInvoicingStatus(ctx context.Context, params *GetInvoicingStatusParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetIssuerById

func (c *Client) GetIssuerById(ctx context.Context, id int64, params *GetIssuerByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetLegalIdentificationTypes

func (c *Client) GetLegalIdentificationTypes(ctx context.Context, params *GetLegalIdentificationTypesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (c *Client) GetLogo(ctx context.Context, params *GetLogoParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetLogs

func (c *Client) GetLogs(ctx context.Context, id int64, params *GetLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetPayment

func (c *Client) GetPayment(ctx context.Context, paymentId int64, params *GetPaymentParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetPaymentMethods

func (c *Client) GetPaymentMethods(ctx context.Context, params *GetPaymentMethodsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetPharmaceuticalForms

func (c *Client) GetPharmaceuticalForms(ctx context.Context, params *GetPharmaceuticalFormsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetProvinces

func (c *Client) GetProvinces(ctx context.Context, params *GetProvincesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetReceiverById

func (c *Client) GetReceiverById(ctx context.Context, clientId int64, receiverId int64, params *GetReceiverByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetSaleConditions

func (c *Client) GetSaleConditions(ctx context.Context, params *GetSaleConditionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetSequences

func (c *Client) GetSequences(ctx context.Context, params *GetSequencesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTaxAuthorityExoneration

func (c *Client) GetTaxAuthorityExoneration(ctx context.Context, authorization string, params *GetTaxAuthorityExonerationParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTaxCodes

func (c *Client) GetTaxCodes(ctx context.Context, params *GetTaxCodesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTaxRatesSummary

func (c *Client) GetTaxRatesSummary(ctx context.Context, params *GetTaxRatesSummaryParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTaxpayer

func (c *Client) GetTaxpayer(ctx context.Context, legalIdentification string, params *GetTaxpayerParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTaxpayerInfo

func (c *Client) GetTaxpayerInfo(ctx context.Context, legalIdentification string, params *GetTaxpayerInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTenant

func (c *Client) GetTenant(ctx context.Context, params *GetTenantParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetUnitsOfMeasure

func (c *Client) GetUnitsOfMeasure(ctx context.Context, params *GetUnitsOfMeasureParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetVatRateCodes

func (c *Client) GetVatRateCodes(ctx context.Context, params *GetVatRateCodesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetVatSummary

func (c *Client) GetVatSummary(ctx context.Context, params *GetVatSummaryParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetWebhook

func (c *Client) GetWebhook(ctx context.Context, id int64, params *GetWebhookParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetWebhooks

func (c *Client) GetWebhooks(ctx context.Context, params *GetWebhooksParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RefreshExoneration

func (c *Client) RefreshExoneration(ctx context.Context, clientId int64, id int64, params *RefreshExonerationParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RegenerateDocumentPdf

func (c *Client) RegenerateDocumentPdf(ctx context.Context, id int64, params *RegenerateDocumentPdfParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RegisterExoneration

func (c *Client) RegisterExoneration(ctx context.Context, clientId int64, params *RegisterExonerationParams, body RegisterExonerationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RegisterExonerationWithBody

func (c *Client) RegisterExonerationWithBody(ctx context.Context, clientId int64, params *RegisterExonerationParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SearchCabys

func (c *Client) SearchCabys(ctx context.Context, params *SearchCabysParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SendDocumentEmail

func (c *Client) SendDocumentEmail(ctx context.Context, id int64, params *SendDocumentEmailParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetDefaultBranch

func (c *Client) SetDefaultBranch(ctx context.Context, id int64, params *SetDefaultBranchParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetDefaultCashRegister

func (c *Client) SetDefaultCashRegister(ctx context.Context, id int64, params *SetDefaultCashRegisterParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetDefaultIssuer

func (c *Client) SetDefaultIssuer(ctx context.Context, id int64, params *SetDefaultIssuerParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TestWebhook

func (c *Client) TestWebhook(ctx context.Context, id int64, params *TestWebhookParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateBranch

func (c *Client) UpdateBranch(ctx context.Context, id int64, params *UpdateBranchParams, body UpdateBranchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateBranchWithBody

func (c *Client) UpdateBranchWithBody(ctx context.Context, id int64, params *UpdateBranchParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateCashRegister

func (c *Client) UpdateCashRegister(ctx context.Context, branchId int64, id int64, params *UpdateCashRegisterParams, body UpdateCashRegisterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateCashRegisterSequence

func (c *Client) UpdateCashRegisterSequence(ctx context.Context, branchId int64, id int64, params *UpdateCashRegisterSequenceParams, body UpdateCashRegisterSequenceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateCashRegisterSequenceWithBody

func (c *Client) UpdateCashRegisterSequenceWithBody(ctx context.Context, branchId int64, id int64, params *UpdateCashRegisterSequenceParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateCashRegisterWithBody

func (c *Client) UpdateCashRegisterWithBody(ctx context.Context, branchId int64, id int64, params *UpdateCashRegisterParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateClient

func (c *Client) UpdateClient(ctx context.Context, id int64, params *UpdateClientParams, body UpdateClientJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateClientWithBody

func (c *Client) UpdateClientWithBody(ctx context.Context, id int64, params *UpdateClientParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateDefaultReceiver

func (c *Client) UpdateDefaultReceiver(ctx context.Context, clientId int64, params *UpdateDefaultReceiverParams, body UpdateDefaultReceiverJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateDefaultReceiverWithBody

func (c *Client) UpdateDefaultReceiverWithBody(ctx context.Context, clientId int64, params *UpdateDefaultReceiverParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateIssuer

func (c *Client) UpdateIssuer(ctx context.Context, id int64, params *UpdateIssuerParams, body UpdateIssuerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateIssuerWithBody

func (c *Client) UpdateIssuerWithBody(ctx context.Context, id int64, params *UpdateIssuerParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateSecretsWithBody

func (c *Client) UpdateSecretsWithBody(ctx context.Context, params *UpdateSecretsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateSequence

func (c *Client) UpdateSequence(ctx context.Context, id int64, params *UpdateSequenceParams, body UpdateSequenceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateSequenceWithBody

func (c *Client) UpdateSequenceWithBody(ctx context.Context, id int64, params *UpdateSequenceParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateTenant

func (c *Client) UpdateTenant(ctx context.Context, params *UpdateTenantParams, body UpdateTenantJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateTenantWithBody

func (c *Client) UpdateTenantWithBody(ctx context.Context, params *UpdateTenantParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateWebhook

func (c *Client) UpdateWebhook(ctx context.Context, id int64, params *UpdateWebhookParams, body UpdateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateWebhookWithBody

func (c *Client) UpdateWebhookWithBody(ctx context.Context, id int64, params *UpdateWebhookParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UploadLogoWithBody

func (c *Client) UploadLogoWithBody(ctx context.Context, params *UploadLogoParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) VoidApplication

func (c *Client) VoidApplication(ctx context.Context, applicationId int64, params *VoidApplicationParams, body VoidApplicationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) VoidApplicationWithBody

func (c *Client) VoidApplicationWithBody(ctx context.Context, applicationId int64, params *VoidApplicationParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) VoidPayment

func (c *Client) VoidPayment(ctx context.Context, paymentId int64, params *VoidPaymentParams, body VoidPaymentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) VoidPaymentWithBody

func (c *Client) VoidPaymentWithBody(ctx context.Context, paymentId int64, params *VoidPaymentParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

type ClientExonerationRequest

type ClientExonerationRequest struct {
	DocumentNumber string `json:"documentNumber"`
}

ClientExonerationRequest defines model for ClientExonerationRequest.

type ClientExonerationResponse

type ClientExonerationResponse struct {
	Active                    *bool               `json:"active,omitempty"`
	AuthorizationNumber       *string             `json:"authorizationNumber,omitempty"`
	AuthorizationType         *string             `json:"authorizationType,omitempty"`
	AuthorizationYear         *int32              `json:"authorizationYear,omitempty"`
	BeneficiaryIdentification *string             `json:"beneficiaryIdentification,omitempty"`
	CabysCodes                *[]string           `json:"cabysCodes,omitempty"`
	CfiaProjectCode           *string             `json:"cfiaProjectCode,omitempty"`
	ClientId                  *int64              `json:"clientId,omitempty"`
	DocumentNumber            *string             `json:"documentNumber,omitempty"`
	DocumentTypeCode          *string             `json:"documentTypeCode,omitempty"`
	DocumentTypeDescription   *string             `json:"documentTypeDescription,omitempty"`
	ExonerationRate           *Decimal            `json:"exonerationRate,omitempty"`
	ExpiresAt                 *openapi_types.Date `json:"expiresAt,omitempty"`
	HasCabysRestrictions      *bool               `json:"hasCabysRestrictions,omitempty"`
	Id                        *int64              `json:"id,omitempty"`
	InstitutionCode           *string             `json:"institutionCode,omitempty"`
	InstitutionName           *string             `json:"institutionName,omitempty"`
	IssuedAt                  *openapi_types.Date `json:"issuedAt,omitempty"`
	VerifiedAt                *time.Time          `json:"verifiedAt,omitempty"`
}

ClientExonerationResponse defines model for ClientExonerationResponse.

type ClientInterface

type ClientInterface interface {
	// ClassifyDocumentItemWithBody request with any body
	ClassifyDocumentItemWithBody(ctx context.Context, itemId int64, params *ClassifyDocumentItemParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ClassifyDocumentItem(ctx context.Context, itemId int64, params *ClassifyDocumentItemParams, body ClassifyDocumentItemJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetFiscalReport request
	GetFiscalReport(ctx context.Context, params *GetFiscalReportParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ExportFiscalReport request
	ExportFiscalReport(ctx context.Context, params *ExportFiscalReportParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTaxRatesSummary request
	GetTaxRatesSummary(ctx context.Context, params *GetTaxRatesSummaryParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetVatSummary request
	GetVatSummary(ctx context.Context, params *GetVatSummaryParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetBranches request
	GetBranches(ctx context.Context, params *GetBranchesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateBranchWithBody request with any body
	CreateBranchWithBody(ctx context.Context, params *CreateBranchParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateBranch(ctx context.Context, params *CreateBranchParams, body CreateBranchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetCashRegisters request
	GetCashRegisters(ctx context.Context, branchId int64, params *GetCashRegistersParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateCashRegisterWithBody request with any body
	CreateCashRegisterWithBody(ctx context.Context, branchId int64, params *CreateCashRegisterParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateCashRegister(ctx context.Context, branchId int64, params *CreateCashRegisterParams, body CreateCashRegisterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteCashRegister request
	DeleteCashRegister(ctx context.Context, branchId int64, id int64, params *DeleteCashRegisterParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetCashRegister request
	GetCashRegister(ctx context.Context, branchId int64, id int64, params *GetCashRegisterParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateCashRegisterWithBody request with any body
	UpdateCashRegisterWithBody(ctx context.Context, branchId int64, id int64, params *UpdateCashRegisterParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateCashRegister(ctx context.Context, branchId int64, id int64, params *UpdateCashRegisterParams, body UpdateCashRegisterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateCashRegisterSequenceWithBody request with any body
	UpdateCashRegisterSequenceWithBody(ctx context.Context, branchId int64, id int64, params *UpdateCashRegisterSequenceParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateCashRegisterSequence(ctx context.Context, branchId int64, id int64, params *UpdateCashRegisterSequenceParams, body UpdateCashRegisterSequenceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteBranch request
	DeleteBranch(ctx context.Context, id int64, params *DeleteBranchParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetBranch request
	GetBranch(ctx context.Context, id int64, params *GetBranchParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateBranchWithBody request with any body
	UpdateBranchWithBody(ctx context.Context, id int64, params *UpdateBranchParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateBranch(ctx context.Context, id int64, params *UpdateBranchParams, body UpdateBranchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetDefaultBranch request
	SetDefaultBranch(ctx context.Context, id int64, params *SetDefaultBranchParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetDefaultCashRegister request
	SetDefaultCashRegister(ctx context.Context, id int64, params *SetDefaultCashRegisterParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetCantons request
	GetCantons(ctx context.Context, params *GetCantonsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetCurrencies request
	GetCurrencies(ctx context.Context, params *GetCurrenciesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDistricts request
	GetDistricts(ctx context.Context, params *GetDistrictsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDocumentTypes request
	GetDocumentTypes(ctx context.Context, params *GetDocumentTypesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLegalIdentificationTypes request
	GetLegalIdentificationTypes(ctx context.Context, params *GetLegalIdentificationTypesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetPaymentMethods request
	GetPaymentMethods(ctx context.Context, params *GetPaymentMethodsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetPharmaceuticalForms request
	GetPharmaceuticalForms(ctx context.Context, params *GetPharmaceuticalFormsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetProvinces request
	GetProvinces(ctx context.Context, params *GetProvincesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSaleConditions request
	GetSaleConditions(ctx context.Context, params *GetSaleConditionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTaxCodes request
	GetTaxCodes(ctx context.Context, params *GetTaxCodesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetUnitsOfMeasure request
	GetUnitsOfMeasure(ctx context.Context, params *GetUnitsOfMeasureParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetVatRateCodes request
	GetVatRateCodes(ctx context.Context, params *GetVatRateCodesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAllClients request
	GetAllClients(ctx context.Context, params *GetAllClientsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateClientWithBody request with any body
	CreateClientWithBody(ctx context.Context, params *CreateClientParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateClient(ctx context.Context, params *CreateClientParams, body CreateClientJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetExonerations request
	GetExonerations(ctx context.Context, clientId int64, params *GetExonerationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RegisterExonerationWithBody request with any body
	RegisterExonerationWithBody(ctx context.Context, clientId int64, params *RegisterExonerationParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	RegisterExoneration(ctx context.Context, clientId int64, params *RegisterExonerationParams, body RegisterExonerationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeactivateExoneration request
	DeactivateExoneration(ctx context.Context, clientId int64, id int64, params *DeactivateExonerationParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetClientExoneration request
	GetClientExoneration(ctx context.Context, clientId int64, id int64, params *GetClientExonerationParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RefreshExoneration request
	RefreshExoneration(ctx context.Context, clientId int64, id int64, params *RefreshExonerationParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetClientReceivers request
	GetClientReceivers(ctx context.Context, clientId int64, params *GetClientReceiversParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateOrUpdateReceiverWithBody request with any body
	CreateOrUpdateReceiverWithBody(ctx context.Context, clientId int64, params *CreateOrUpdateReceiverParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateOrUpdateReceiver(ctx context.Context, clientId int64, params *CreateOrUpdateReceiverParams, body CreateOrUpdateReceiverJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateDefaultReceiverWithBody request with any body
	UpdateDefaultReceiverWithBody(ctx context.Context, clientId int64, params *UpdateDefaultReceiverParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateDefaultReceiver(ctx context.Context, clientId int64, params *UpdateDefaultReceiverParams, body UpdateDefaultReceiverJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteReceiver request
	DeleteReceiver(ctx context.Context, clientId int64, receiverId int64, params *DeleteReceiverParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetReceiverById request
	GetReceiverById(ctx context.Context, clientId int64, receiverId int64, params *GetReceiverByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteClient request
	DeleteClient(ctx context.Context, id int64, params *DeleteClientParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetClientById request
	GetClientById(ctx context.Context, id int64, params *GetClientByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateClientWithBody request with any body
	UpdateClientWithBody(ctx context.Context, id int64, params *UpdateClientParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateClient(ctx context.Context, id int64, params *UpdateClientParams, body UpdateClientJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAllDocuments request
	GetAllDocuments(ctx context.Context, params *GetAllDocumentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateCreditNoteWithBody request with any body
	CreateCreditNoteWithBody(ctx context.Context, params *CreateCreditNoteParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateCreditNote(ctx context.Context, params *CreateCreditNoteParams, body CreateCreditNoteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateDebitNoteWithBody request with any body
	CreateDebitNoteWithBody(ctx context.Context, params *CreateDebitNoteParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateDebitNote(ctx context.Context, params *CreateDebitNoteParams, body CreateDebitNoteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateElectronicPaymentReceiptWithBody request with any body
	CreateElectronicPaymentReceiptWithBody(ctx context.Context, params *CreateElectronicPaymentReceiptParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateElectronicPaymentReceipt(ctx context.Context, params *CreateElectronicPaymentReceiptParams, body CreateElectronicPaymentReceiptJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateExportInvoiceWithBody request with any body
	CreateExportInvoiceWithBody(ctx context.Context, params *CreateExportInvoiceParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateExportInvoice(ctx context.Context, params *CreateExportInvoiceParams, body CreateExportInvoiceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateInvoiceWithBody request with any body
	CreateInvoiceWithBody(ctx context.Context, params *CreateInvoiceParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateInvoice(ctx context.Context, params *CreateInvoiceParams, body CreateInvoiceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreatePurchaseInvoiceWithBody request with any body
	CreatePurchaseInvoiceWithBody(ctx context.Context, params *CreatePurchaseInvoiceParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreatePurchaseInvoice(ctx context.Context, params *CreatePurchaseInvoiceParams, body CreatePurchaseInvoiceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateReceiptWithBody request with any body
	CreateReceiptWithBody(ctx context.Context, params *CreateReceiptParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateReceipt(ctx context.Context, params *CreateReceiptParams, body CreateReceiptJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateReceiverMessageWithBody request with any body
	CreateReceiverMessageWithBody(ctx context.Context, params *CreateReceiverMessageParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateReceiverMessage(ctx context.Context, params *CreateReceiverMessageParams, body CreateReceiverMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDocumentById request
	GetDocumentById(ctx context.Context, id int64, params *GetDocumentByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDocumentPdf request
	GetDocumentPdf(ctx context.Context, id int64, params *GetDocumentPdfParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RegenerateDocumentPdf request
	RegenerateDocumentPdf(ctx context.Context, id int64, params *RegenerateDocumentPdfParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SendDocumentEmail request
	SendDocumentEmail(ctx context.Context, id int64, params *SendDocumentEmailParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetFaqturoXml request
	GetFaqturoXml(ctx context.Context, id int64, params *GetFaqturoXmlParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetHaciendaXml request
	GetHaciendaXml(ctx context.Context, id int64, params *GetHaciendaXmlParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAllIssuers request
	GetAllIssuers(ctx context.Context, params *GetAllIssuersParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateIssuerWithBody request with any body
	CreateIssuerWithBody(ctx context.Context, params *CreateIssuerParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateIssuer(ctx context.Context, params *CreateIssuerParams, body CreateIssuerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteIssuer request
	DeleteIssuer(ctx context.Context, id int64, params *DeleteIssuerParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetIssuerById request
	GetIssuerById(ctx context.Context, id int64, params *GetIssuerByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateIssuerWithBody request with any body
	UpdateIssuerWithBody(ctx context.Context, id int64, params *UpdateIssuerParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateIssuer(ctx context.Context, id int64, params *UpdateIssuerParams, body UpdateIssuerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetDefaultIssuer request
	SetDefaultIssuer(ctx context.Context, id int64, params *SetDefaultIssuerParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreatePaymentWithBody request with any body
	CreatePaymentWithBody(ctx context.Context, params *CreatePaymentParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreatePayment(ctx context.Context, params *CreatePaymentParams, body CreatePaymentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// VoidApplicationWithBody request with any body
	VoidApplicationWithBody(ctx context.Context, applicationId int64, params *VoidApplicationParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	VoidApplication(ctx context.Context, applicationId int64, params *VoidApplicationParams, body VoidApplicationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetClientStatement request
	GetClientStatement(ctx context.Context, clientId int64, params *GetClientStatementParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetPayment request
	GetPayment(ctx context.Context, paymentId int64, params *GetPaymentParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ApplyPaymentWithBody request with any body
	ApplyPaymentWithBody(ctx context.Context, paymentId int64, params *ApplyPaymentParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ApplyPayment(ctx context.Context, paymentId int64, params *ApplyPaymentParams, body ApplyPaymentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// VoidPaymentWithBody request with any body
	VoidPaymentWithBody(ctx context.Context, paymentId int64, params *VoidPaymentParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	VoidPayment(ctx context.Context, paymentId int64, params *VoidPaymentParams, body VoidPaymentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSequences request
	GetSequences(ctx context.Context, params *GetSequencesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateSequenceWithBody request with any body
	UpdateSequenceWithBody(ctx context.Context, id int64, params *UpdateSequenceParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateSequence(ctx context.Context, id int64, params *UpdateSequenceParams, body UpdateSequenceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAgriculturalProducer request
	GetAgriculturalProducer(ctx context.Context, legalIdentification string, params *GetAgriculturalProducerParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SearchCabys request
	SearchCabys(ctx context.Context, params *SearchCabysParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetCabysByCode request
	GetCabysByCode(ctx context.Context, code string, params *GetCabysByCodeParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetExchangeRates request
	GetExchangeRates(ctx context.Context, params *GetExchangeRatesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTaxAuthorityExoneration request
	GetTaxAuthorityExoneration(ctx context.Context, authorization string, params *GetTaxAuthorityExonerationParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetFishingProducer request
	GetFishingProducer(ctx context.Context, legalIdentification string, params *GetFishingProducerParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTaxpayer request
	GetTaxpayer(ctx context.Context, legalIdentification string, params *GetTaxpayerParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTaxpayerInfo request
	GetTaxpayerInfo(ctx context.Context, legalIdentification string, params *GetTaxpayerInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTenant request
	GetTenant(ctx context.Context, params *GetTenantParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateTenantWithBody request with any body
	UpdateTenantWithBody(ctx context.Context, params *UpdateTenantParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateTenant(ctx context.Context, params *UpdateTenantParams, body UpdateTenantJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetInvoicingStatus request
	GetInvoicingStatus(ctx context.Context, params *GetInvoicingStatusParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	DeleteLogo(ctx context.Context, params *DeleteLogoParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	GetLogo(ctx context.Context, params *GetLogoParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UploadLogoWithBody request with any body
	UploadLogoWithBody(ctx context.Context, params *UploadLogoParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateSecretsWithBody request with any body
	UpdateSecretsWithBody(ctx context.Context, params *UpdateSecretsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetWebhooks request
	GetWebhooks(ctx context.Context, params *GetWebhooksParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateWebhookWithBody request with any body
	CreateWebhookWithBody(ctx context.Context, params *CreateWebhookParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateWebhook(ctx context.Context, params *CreateWebhookParams, body CreateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteWebhook request
	DeleteWebhook(ctx context.Context, id int64, params *DeleteWebhookParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetWebhook request
	GetWebhook(ctx context.Context, id int64, params *GetWebhookParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateWebhookWithBody request with any body
	UpdateWebhookWithBody(ctx context.Context, id int64, params *UpdateWebhookParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateWebhook(ctx context.Context, id int64, params *UpdateWebhookParams, body UpdateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLogs request
	GetLogs(ctx context.Context, id int64, params *GetLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TestWebhook request
	TestWebhook(ctx context.Context, id int64, params *TestWebhookParams, reqEditors ...RequestEditorFn) (*http.Response, error)
}

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithAPIVersion

func WithAPIVersion(version string) ClientOption

WithAPIVersion overrides the default v1 API-Version header.

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

func WithHTTPClient

func WithHTTPClient(doer HttpRequestDoer) ClientOption

WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.

func WithRequestEditor

func WithRequestEditor(editor RequestEditorFn) ClientOption

WithRequestEditor is the idiomatic alias for the generated editor option.

func WithRequestEditorFn

func WithRequestEditorFn(fn RequestEditorFn) ClientOption

WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.

func WithTimeout

func WithTimeout(timeout time.Duration) ClientOption

WithTimeout configures the standard HTTP client timeout. Apply it after WithHTTPClient when both options are used.

type ClientReceiverRequest

type ClientReceiverRequest struct {
	Address              *AddressRequest      `json:"address,omitempty"`
	CommercialName       *string              `json:"commercialName,omitempty"`
	Email                *openapi_types.Email `json:"email,omitempty"`
	Fax                  *PhoneRequest        `json:"fax,omitempty"`
	Phone                *PhoneRequest        `json:"phone,omitempty"`
	ReceiverActivityCode string               `json:"receiverActivityCode"`
}

ClientReceiverRequest defines model for ClientReceiverRequest.

type ClientReceiverResponse

type ClientReceiverResponse struct {
	Address              *AddressResponse `json:"address,omitempty"`
	CommercialName       *string          `json:"commercialName,omitempty"`
	Email                *string          `json:"email,omitempty"`
	Fax                  *PhoneResponse   `json:"fax,omitempty"`
	Id                   *int64           `json:"id,omitempty"`
	IsDefault            *bool            `json:"isDefault,omitempty"`
	Phone                *PhoneResponse   `json:"phone,omitempty"`
	ReceiverActivityCode *string          `json:"receiverActivityCode,omitempty"`
}

ClientReceiverResponse defines model for ClientReceiverResponse.

type ClientRequest

type ClientRequest struct {
	CommercialName      *string                    `json:"commercialName,omitempty"`
	LegalIdentification LegalIdentificationRequest `json:"legalIdentification"`
	Name                string                     `json:"name"`
}

ClientRequest defines model for ClientRequest.

type ClientResponse

type ClientResponse struct {
	Id                  *int64                       `json:"id,omitempty"`
	LegalIdentification *LegalIdentificationResponse `json:"legalIdentification,omitempty"`
	Name                *string                      `json:"name,omitempty"`
	Receivers           *[]ClientReceiverResponse    `json:"receivers,omitempty"`
}

ClientResponse defines model for ClientResponse.

type ClientUpdateRequest

type ClientUpdateRequest struct {
	CommercialName *string              `json:"commercialName,omitempty"`
	Email          *openapi_types.Email `json:"email,omitempty"`
	Name           *string              `json:"name,omitempty"`
}

ClientUpdateRequest defines model for ClientUpdateRequest.

type ClientWithResponses

type ClientWithResponses struct {
	ClientInterface
}

ClientWithResponses builds on ClientInterface to offer response payloads

func NewAPIKeyClient

func NewAPIKeyClient(server, apiKey string, options ...ClientOption) (*ClientWithResponses, error)

func NewClientWithResponses

func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)

NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling

func (*ClientWithResponses) ApplyPaymentWithBodyWithResponse

func (c *ClientWithResponses) ApplyPaymentWithBodyWithResponse(ctx context.Context, paymentId int64, params *ApplyPaymentParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ApplyPaymentResponse, error)

ApplyPaymentWithBodyWithResponse request with arbitrary body returning *ApplyPaymentResponse

func (*ClientWithResponses) ApplyPaymentWithResponse

func (c *ClientWithResponses) ApplyPaymentWithResponse(ctx context.Context, paymentId int64, params *ApplyPaymentParams, body ApplyPaymentJSONRequestBody, reqEditors ...RequestEditorFn) (*ApplyPaymentResponse, error)

func (*ClientWithResponses) ClassifyDocumentItemWithBodyWithResponse

func (c *ClientWithResponses) ClassifyDocumentItemWithBodyWithResponse(ctx context.Context, itemId int64, params *ClassifyDocumentItemParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ClassifyDocumentItemResponse, error)

ClassifyDocumentItemWithBodyWithResponse request with arbitrary body returning *ClassifyDocumentItemResponse

func (*ClientWithResponses) ClassifyDocumentItemWithResponse

func (c *ClientWithResponses) ClassifyDocumentItemWithResponse(ctx context.Context, itemId int64, params *ClassifyDocumentItemParams, body ClassifyDocumentItemJSONRequestBody, reqEditors ...RequestEditorFn) (*ClassifyDocumentItemResponse, error)

func (*ClientWithResponses) CreateBranchWithBodyWithResponse

func (c *ClientWithResponses) CreateBranchWithBodyWithResponse(ctx context.Context, params *CreateBranchParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateBranchResponse, error)

CreateBranchWithBodyWithResponse request with arbitrary body returning *CreateBranchResponse

func (*ClientWithResponses) CreateBranchWithResponse

func (c *ClientWithResponses) CreateBranchWithResponse(ctx context.Context, params *CreateBranchParams, body CreateBranchJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateBranchResponse, error)

func (*ClientWithResponses) CreateCashRegisterWithBodyWithResponse

func (c *ClientWithResponses) CreateCashRegisterWithBodyWithResponse(ctx context.Context, branchId int64, params *CreateCashRegisterParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCashRegisterResponse, error)

CreateCashRegisterWithBodyWithResponse request with arbitrary body returning *CreateCashRegisterResponse

func (*ClientWithResponses) CreateCashRegisterWithResponse

func (c *ClientWithResponses) CreateCashRegisterWithResponse(ctx context.Context, branchId int64, params *CreateCashRegisterParams, body CreateCashRegisterJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCashRegisterResponse, error)

func (*ClientWithResponses) CreateClientWithBodyWithResponse

func (c *ClientWithResponses) CreateClientWithBodyWithResponse(ctx context.Context, params *CreateClientParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateClientResponse, error)

CreateClientWithBodyWithResponse request with arbitrary body returning *CreateClientResponse

func (*ClientWithResponses) CreateClientWithResponse

func (c *ClientWithResponses) CreateClientWithResponse(ctx context.Context, params *CreateClientParams, body CreateClientJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateClientResponse, error)

func (*ClientWithResponses) CreateCreditNoteWithBodyWithResponse

func (c *ClientWithResponses) CreateCreditNoteWithBodyWithResponse(ctx context.Context, params *CreateCreditNoteParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCreditNoteResponse, error)

CreateCreditNoteWithBodyWithResponse request with arbitrary body returning *CreateCreditNoteResponse

func (*ClientWithResponses) CreateCreditNoteWithResponse

func (c *ClientWithResponses) CreateCreditNoteWithResponse(ctx context.Context, params *CreateCreditNoteParams, body CreateCreditNoteJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCreditNoteResponse, error)

func (*ClientWithResponses) CreateDebitNoteWithBodyWithResponse

func (c *ClientWithResponses) CreateDebitNoteWithBodyWithResponse(ctx context.Context, params *CreateDebitNoteParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDebitNoteResponse, error)

CreateDebitNoteWithBodyWithResponse request with arbitrary body returning *CreateDebitNoteResponse

func (*ClientWithResponses) CreateDebitNoteWithResponse

func (c *ClientWithResponses) CreateDebitNoteWithResponse(ctx context.Context, params *CreateDebitNoteParams, body CreateDebitNoteJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDebitNoteResponse, error)

func (*ClientWithResponses) CreateElectronicPaymentReceiptWithBodyWithResponse

func (c *ClientWithResponses) CreateElectronicPaymentReceiptWithBodyWithResponse(ctx context.Context, params *CreateElectronicPaymentReceiptParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateElectronicPaymentReceiptResponse, error)

CreateElectronicPaymentReceiptWithBodyWithResponse request with arbitrary body returning *CreateElectronicPaymentReceiptResponse

func (*ClientWithResponses) CreateExportInvoiceWithBodyWithResponse

func (c *ClientWithResponses) CreateExportInvoiceWithBodyWithResponse(ctx context.Context, params *CreateExportInvoiceParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateExportInvoiceResponse, error)

CreateExportInvoiceWithBodyWithResponse request with arbitrary body returning *CreateExportInvoiceResponse

func (*ClientWithResponses) CreateExportInvoiceWithResponse

func (*ClientWithResponses) CreateInvoiceWithBodyWithResponse

func (c *ClientWithResponses) CreateInvoiceWithBodyWithResponse(ctx context.Context, params *CreateInvoiceParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateInvoiceResponse, error)

CreateInvoiceWithBodyWithResponse request with arbitrary body returning *CreateInvoiceResponse

func (*ClientWithResponses) CreateInvoiceWithResponse

func (c *ClientWithResponses) CreateInvoiceWithResponse(ctx context.Context, params *CreateInvoiceParams, body CreateInvoiceJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateInvoiceResponse, error)

func (*ClientWithResponses) CreateIssuerWithBodyWithResponse

func (c *ClientWithResponses) CreateIssuerWithBodyWithResponse(ctx context.Context, params *CreateIssuerParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateIssuerResponse, error)

CreateIssuerWithBodyWithResponse request with arbitrary body returning *CreateIssuerResponse

func (*ClientWithResponses) CreateIssuerWithResponse

func (c *ClientWithResponses) CreateIssuerWithResponse(ctx context.Context, params *CreateIssuerParams, body CreateIssuerJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateIssuerResponse, error)

func (*ClientWithResponses) CreateOrUpdateReceiverWithBodyWithResponse

func (c *ClientWithResponses) CreateOrUpdateReceiverWithBodyWithResponse(ctx context.Context, clientId int64, params *CreateOrUpdateReceiverParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateOrUpdateReceiverResponse, error)

CreateOrUpdateReceiverWithBodyWithResponse request with arbitrary body returning *CreateOrUpdateReceiverResponse

func (*ClientWithResponses) CreateOrUpdateReceiverWithResponse

func (c *ClientWithResponses) CreateOrUpdateReceiverWithResponse(ctx context.Context, clientId int64, params *CreateOrUpdateReceiverParams, body CreateOrUpdateReceiverJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOrUpdateReceiverResponse, error)

func (*ClientWithResponses) CreatePaymentWithBodyWithResponse

func (c *ClientWithResponses) CreatePaymentWithBodyWithResponse(ctx context.Context, params *CreatePaymentParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePaymentResponse, error)

CreatePaymentWithBodyWithResponse request with arbitrary body returning *CreatePaymentResponse

func (*ClientWithResponses) CreatePaymentWithResponse

func (c *ClientWithResponses) CreatePaymentWithResponse(ctx context.Context, params *CreatePaymentParams, body CreatePaymentJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePaymentResponse, error)

func (*ClientWithResponses) CreatePurchaseInvoiceWithBodyWithResponse

func (c *ClientWithResponses) CreatePurchaseInvoiceWithBodyWithResponse(ctx context.Context, params *CreatePurchaseInvoiceParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePurchaseInvoiceResponse, error)

CreatePurchaseInvoiceWithBodyWithResponse request with arbitrary body returning *CreatePurchaseInvoiceResponse

func (*ClientWithResponses) CreatePurchaseInvoiceWithResponse

func (*ClientWithResponses) CreateReceiptWithBodyWithResponse

func (c *ClientWithResponses) CreateReceiptWithBodyWithResponse(ctx context.Context, params *CreateReceiptParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateReceiptResponse, error)

CreateReceiptWithBodyWithResponse request with arbitrary body returning *CreateReceiptResponse

func (*ClientWithResponses) CreateReceiptWithResponse

func (c *ClientWithResponses) CreateReceiptWithResponse(ctx context.Context, params *CreateReceiptParams, body CreateReceiptJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateReceiptResponse, error)

func (*ClientWithResponses) CreateReceiverMessageWithBodyWithResponse

func (c *ClientWithResponses) CreateReceiverMessageWithBodyWithResponse(ctx context.Context, params *CreateReceiverMessageParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateReceiverMessageResponse, error)

CreateReceiverMessageWithBodyWithResponse request with arbitrary body returning *CreateReceiverMessageResponse

func (*ClientWithResponses) CreateReceiverMessageWithResponse

func (*ClientWithResponses) CreateWebhookWithBodyWithResponse

func (c *ClientWithResponses) CreateWebhookWithBodyWithResponse(ctx context.Context, params *CreateWebhookParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateWebhookResponse, error)

CreateWebhookWithBodyWithResponse request with arbitrary body returning *CreateWebhookResponse

func (*ClientWithResponses) CreateWebhookWithResponse

func (c *ClientWithResponses) CreateWebhookWithResponse(ctx context.Context, params *CreateWebhookParams, body CreateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateWebhookResponse, error)

func (*ClientWithResponses) DeactivateExonerationWithResponse

func (c *ClientWithResponses) DeactivateExonerationWithResponse(ctx context.Context, clientId int64, id int64, params *DeactivateExonerationParams, reqEditors ...RequestEditorFn) (*DeactivateExonerationResponse, error)

DeactivateExonerationWithResponse request returning *DeactivateExonerationResponse

func (*ClientWithResponses) DeleteBranchWithResponse

func (c *ClientWithResponses) DeleteBranchWithResponse(ctx context.Context, id int64, params *DeleteBranchParams, reqEditors ...RequestEditorFn) (*DeleteBranchResponse, error)

DeleteBranchWithResponse request returning *DeleteBranchResponse

func (*ClientWithResponses) DeleteCashRegisterWithResponse

func (c *ClientWithResponses) DeleteCashRegisterWithResponse(ctx context.Context, branchId int64, id int64, params *DeleteCashRegisterParams, reqEditors ...RequestEditorFn) (*DeleteCashRegisterResponse, error)

DeleteCashRegisterWithResponse request returning *DeleteCashRegisterResponse

func (*ClientWithResponses) DeleteClientWithResponse

func (c *ClientWithResponses) DeleteClientWithResponse(ctx context.Context, id int64, params *DeleteClientParams, reqEditors ...RequestEditorFn) (*DeleteClientResponse, error)

DeleteClientWithResponse request returning *DeleteClientResponse

func (*ClientWithResponses) DeleteIssuerWithResponse

func (c *ClientWithResponses) DeleteIssuerWithResponse(ctx context.Context, id int64, params *DeleteIssuerParams, reqEditors ...RequestEditorFn) (*DeleteIssuerResponse, error)

DeleteIssuerWithResponse request returning *DeleteIssuerResponse

func (*ClientWithResponses) DeleteLogoWithResponse

func (c *ClientWithResponses) DeleteLogoWithResponse(ctx context.Context, params *DeleteLogoParams, reqEditors ...RequestEditorFn) (*DeleteLogoResponse, error)

DeleteLogoWithResponse request returning *DeleteLogoResponse

func (*ClientWithResponses) DeleteReceiverWithResponse

func (c *ClientWithResponses) DeleteReceiverWithResponse(ctx context.Context, clientId int64, receiverId int64, params *DeleteReceiverParams, reqEditors ...RequestEditorFn) (*DeleteReceiverResponse, error)

DeleteReceiverWithResponse request returning *DeleteReceiverResponse

func (*ClientWithResponses) DeleteWebhookWithResponse

func (c *ClientWithResponses) DeleteWebhookWithResponse(ctx context.Context, id int64, params *DeleteWebhookParams, reqEditors ...RequestEditorFn) (*DeleteWebhookResponse, error)

DeleteWebhookWithResponse request returning *DeleteWebhookResponse

func (*ClientWithResponses) ExportFiscalReportWithResponse

func (c *ClientWithResponses) ExportFiscalReportWithResponse(ctx context.Context, params *ExportFiscalReportParams, reqEditors ...RequestEditorFn) (*ExportFiscalReportResponse, error)

ExportFiscalReportWithResponse request returning *ExportFiscalReportResponse

func (*ClientWithResponses) GetAgriculturalProducerWithResponse

func (c *ClientWithResponses) GetAgriculturalProducerWithResponse(ctx context.Context, legalIdentification string, params *GetAgriculturalProducerParams, reqEditors ...RequestEditorFn) (*GetAgriculturalProducerResponse, error)

GetAgriculturalProducerWithResponse request returning *GetAgriculturalProducerResponse

func (*ClientWithResponses) GetAllClientsWithResponse

func (c *ClientWithResponses) GetAllClientsWithResponse(ctx context.Context, params *GetAllClientsParams, reqEditors ...RequestEditorFn) (*GetAllClientsResponse, error)

GetAllClientsWithResponse request returning *GetAllClientsResponse

func (*ClientWithResponses) GetAllDocumentsWithResponse

func (c *ClientWithResponses) GetAllDocumentsWithResponse(ctx context.Context, params *GetAllDocumentsParams, reqEditors ...RequestEditorFn) (*GetAllDocumentsResponse, error)

GetAllDocumentsWithResponse request returning *GetAllDocumentsResponse

func (*ClientWithResponses) GetAllIssuersWithResponse

func (c *ClientWithResponses) GetAllIssuersWithResponse(ctx context.Context, params *GetAllIssuersParams, reqEditors ...RequestEditorFn) (*GetAllIssuersResponse, error)

GetAllIssuersWithResponse request returning *GetAllIssuersResponse

func (*ClientWithResponses) GetBranchWithResponse

func (c *ClientWithResponses) GetBranchWithResponse(ctx context.Context, id int64, params *GetBranchParams, reqEditors ...RequestEditorFn) (*GetBranchResponse, error)

GetBranchWithResponse request returning *GetBranchResponse

func (*ClientWithResponses) GetBranchesWithResponse

func (c *ClientWithResponses) GetBranchesWithResponse(ctx context.Context, params *GetBranchesParams, reqEditors ...RequestEditorFn) (*GetBranchesResponse, error)

GetBranchesWithResponse request returning *GetBranchesResponse

func (*ClientWithResponses) GetCabysByCodeWithResponse

func (c *ClientWithResponses) GetCabysByCodeWithResponse(ctx context.Context, code string, params *GetCabysByCodeParams, reqEditors ...RequestEditorFn) (*GetCabysByCodeResponse, error)

GetCabysByCodeWithResponse request returning *GetCabysByCodeResponse

func (*ClientWithResponses) GetCantonsWithResponse

func (c *ClientWithResponses) GetCantonsWithResponse(ctx context.Context, params *GetCantonsParams, reqEditors ...RequestEditorFn) (*GetCantonsResponse, error)

GetCantonsWithResponse request returning *GetCantonsResponse

func (*ClientWithResponses) GetCashRegisterWithResponse

func (c *ClientWithResponses) GetCashRegisterWithResponse(ctx context.Context, branchId int64, id int64, params *GetCashRegisterParams, reqEditors ...RequestEditorFn) (*GetCashRegisterResponse, error)

GetCashRegisterWithResponse request returning *GetCashRegisterResponse

func (*ClientWithResponses) GetCashRegistersWithResponse

func (c *ClientWithResponses) GetCashRegistersWithResponse(ctx context.Context, branchId int64, params *GetCashRegistersParams, reqEditors ...RequestEditorFn) (*GetCashRegistersResponse, error)

GetCashRegistersWithResponse request returning *GetCashRegistersResponse

func (*ClientWithResponses) GetClientByIdWithResponse

func (c *ClientWithResponses) GetClientByIdWithResponse(ctx context.Context, id int64, params *GetClientByIdParams, reqEditors ...RequestEditorFn) (*GetClientByIdResponse, error)

GetClientByIdWithResponse request returning *GetClientByIdResponse

func (*ClientWithResponses) GetClientExonerationWithResponse

func (c *ClientWithResponses) GetClientExonerationWithResponse(ctx context.Context, clientId int64, id int64, params *GetClientExonerationParams, reqEditors ...RequestEditorFn) (*GetClientExonerationResponse, error)

GetClientExonerationWithResponse request returning *GetClientExonerationResponse

func (*ClientWithResponses) GetClientReceiversWithResponse

func (c *ClientWithResponses) GetClientReceiversWithResponse(ctx context.Context, clientId int64, params *GetClientReceiversParams, reqEditors ...RequestEditorFn) (*GetClientReceiversResponse, error)

GetClientReceiversWithResponse request returning *GetClientReceiversResponse

func (*ClientWithResponses) GetClientStatementWithResponse

func (c *ClientWithResponses) GetClientStatementWithResponse(ctx context.Context, clientId int64, params *GetClientStatementParams, reqEditors ...RequestEditorFn) (*GetClientStatementResponse, error)

GetClientStatementWithResponse request returning *GetClientStatementResponse

func (*ClientWithResponses) GetCurrenciesWithResponse

func (c *ClientWithResponses) GetCurrenciesWithResponse(ctx context.Context, params *GetCurrenciesParams, reqEditors ...RequestEditorFn) (*GetCurrenciesResponse, error)

GetCurrenciesWithResponse request returning *GetCurrenciesResponse

func (*ClientWithResponses) GetDistrictsWithResponse

func (c *ClientWithResponses) GetDistrictsWithResponse(ctx context.Context, params *GetDistrictsParams, reqEditors ...RequestEditorFn) (*GetDistrictsResponse, error)

GetDistrictsWithResponse request returning *GetDistrictsResponse

func (*ClientWithResponses) GetDocumentByIdWithResponse

func (c *ClientWithResponses) GetDocumentByIdWithResponse(ctx context.Context, id int64, params *GetDocumentByIdParams, reqEditors ...RequestEditorFn) (*GetDocumentByIdResponse, error)

GetDocumentByIdWithResponse request returning *GetDocumentByIdResponse

func (*ClientWithResponses) GetDocumentPdfWithResponse

func (c *ClientWithResponses) GetDocumentPdfWithResponse(ctx context.Context, id int64, params *GetDocumentPdfParams, reqEditors ...RequestEditorFn) (*GetDocumentPdfResponse, error)

GetDocumentPdfWithResponse request returning *GetDocumentPdfResponse

func (*ClientWithResponses) GetDocumentTypesWithResponse

func (c *ClientWithResponses) GetDocumentTypesWithResponse(ctx context.Context, params *GetDocumentTypesParams, reqEditors ...RequestEditorFn) (*GetDocumentTypesResponse, error)

GetDocumentTypesWithResponse request returning *GetDocumentTypesResponse

func (*ClientWithResponses) GetExchangeRatesWithResponse

func (c *ClientWithResponses) GetExchangeRatesWithResponse(ctx context.Context, params *GetExchangeRatesParams, reqEditors ...RequestEditorFn) (*GetExchangeRatesResponse, error)

GetExchangeRatesWithResponse request returning *GetExchangeRatesResponse

func (*ClientWithResponses) GetExonerationsWithResponse

func (c *ClientWithResponses) GetExonerationsWithResponse(ctx context.Context, clientId int64, params *GetExonerationsParams, reqEditors ...RequestEditorFn) (*GetExonerationsResponse, error)

GetExonerationsWithResponse request returning *GetExonerationsResponse

func (*ClientWithResponses) GetFaqturoXmlWithResponse

func (c *ClientWithResponses) GetFaqturoXmlWithResponse(ctx context.Context, id int64, params *GetFaqturoXmlParams, reqEditors ...RequestEditorFn) (*GetFaqturoXmlResponse, error)

GetFaqturoXmlWithResponse request returning *GetFaqturoXmlResponse

func (*ClientWithResponses) GetFiscalReportWithResponse

func (c *ClientWithResponses) GetFiscalReportWithResponse(ctx context.Context, params *GetFiscalReportParams, reqEditors ...RequestEditorFn) (*GetFiscalReportResponse, error)

GetFiscalReportWithResponse request returning *GetFiscalReportResponse

func (*ClientWithResponses) GetFishingProducerWithResponse

func (c *ClientWithResponses) GetFishingProducerWithResponse(ctx context.Context, legalIdentification string, params *GetFishingProducerParams, reqEditors ...RequestEditorFn) (*GetFishingProducerResponse, error)

GetFishingProducerWithResponse request returning *GetFishingProducerResponse

func (*ClientWithResponses) GetHaciendaXmlWithResponse

func (c *ClientWithResponses) GetHaciendaXmlWithResponse(ctx context.Context, id int64, params *GetHaciendaXmlParams, reqEditors ...RequestEditorFn) (*GetHaciendaXmlResponse, error)

GetHaciendaXmlWithResponse request returning *GetHaciendaXmlResponse

func (*ClientWithResponses) GetInvoicingStatusWithResponse

func (c *ClientWithResponses) GetInvoicingStatusWithResponse(ctx context.Context, params *GetInvoicingStatusParams, reqEditors ...RequestEditorFn) (*GetInvoicingStatusResponse, error)

GetInvoicingStatusWithResponse request returning *GetInvoicingStatusResponse

func (*ClientWithResponses) GetIssuerByIdWithResponse

func (c *ClientWithResponses) GetIssuerByIdWithResponse(ctx context.Context, id int64, params *GetIssuerByIdParams, reqEditors ...RequestEditorFn) (*GetIssuerByIdResponse, error)

GetIssuerByIdWithResponse request returning *GetIssuerByIdResponse

func (*ClientWithResponses) GetLegalIdentificationTypesWithResponse

func (c *ClientWithResponses) GetLegalIdentificationTypesWithResponse(ctx context.Context, params *GetLegalIdentificationTypesParams, reqEditors ...RequestEditorFn) (*GetLegalIdentificationTypesResponse, error)

GetLegalIdentificationTypesWithResponse request returning *GetLegalIdentificationTypesResponse

func (*ClientWithResponses) GetLogoWithResponse

func (c *ClientWithResponses) GetLogoWithResponse(ctx context.Context, params *GetLogoParams, reqEditors ...RequestEditorFn) (*GetLogoResponse, error)

GetLogoWithResponse request returning *GetLogoResponse

func (*ClientWithResponses) GetLogsWithResponse

func (c *ClientWithResponses) GetLogsWithResponse(ctx context.Context, id int64, params *GetLogsParams, reqEditors ...RequestEditorFn) (*GetLogsResponse, error)

GetLogsWithResponse request returning *GetLogsResponse

func (*ClientWithResponses) GetPaymentMethodsWithResponse

func (c *ClientWithResponses) GetPaymentMethodsWithResponse(ctx context.Context, params *GetPaymentMethodsParams, reqEditors ...RequestEditorFn) (*GetPaymentMethodsResponse, error)

GetPaymentMethodsWithResponse request returning *GetPaymentMethodsResponse

func (*ClientWithResponses) GetPaymentWithResponse

func (c *ClientWithResponses) GetPaymentWithResponse(ctx context.Context, paymentId int64, params *GetPaymentParams, reqEditors ...RequestEditorFn) (*GetPaymentResponse, error)

GetPaymentWithResponse request returning *GetPaymentResponse

func (*ClientWithResponses) GetPharmaceuticalFormsWithResponse

func (c *ClientWithResponses) GetPharmaceuticalFormsWithResponse(ctx context.Context, params *GetPharmaceuticalFormsParams, reqEditors ...RequestEditorFn) (*GetPharmaceuticalFormsResponse, error)

GetPharmaceuticalFormsWithResponse request returning *GetPharmaceuticalFormsResponse

func (*ClientWithResponses) GetProvincesWithResponse

func (c *ClientWithResponses) GetProvincesWithResponse(ctx context.Context, params *GetProvincesParams, reqEditors ...RequestEditorFn) (*GetProvincesResponse, error)

GetProvincesWithResponse request returning *GetProvincesResponse

func (*ClientWithResponses) GetReceiverByIdWithResponse

func (c *ClientWithResponses) GetReceiverByIdWithResponse(ctx context.Context, clientId int64, receiverId int64, params *GetReceiverByIdParams, reqEditors ...RequestEditorFn) (*GetReceiverByIdResponse, error)

GetReceiverByIdWithResponse request returning *GetReceiverByIdResponse

func (*ClientWithResponses) GetSaleConditionsWithResponse

func (c *ClientWithResponses) GetSaleConditionsWithResponse(ctx context.Context, params *GetSaleConditionsParams, reqEditors ...RequestEditorFn) (*GetSaleConditionsResponse, error)

GetSaleConditionsWithResponse request returning *GetSaleConditionsResponse

func (*ClientWithResponses) GetSequencesWithResponse

func (c *ClientWithResponses) GetSequencesWithResponse(ctx context.Context, params *GetSequencesParams, reqEditors ...RequestEditorFn) (*GetSequencesResponse, error)

GetSequencesWithResponse request returning *GetSequencesResponse

func (*ClientWithResponses) GetTaxAuthorityExonerationWithResponse

func (c *ClientWithResponses) GetTaxAuthorityExonerationWithResponse(ctx context.Context, authorization string, params *GetTaxAuthorityExonerationParams, reqEditors ...RequestEditorFn) (*GetTaxAuthorityExonerationResponse, error)

GetTaxAuthorityExonerationWithResponse request returning *GetTaxAuthorityExonerationResponse

func (*ClientWithResponses) GetTaxCodesWithResponse

func (c *ClientWithResponses) GetTaxCodesWithResponse(ctx context.Context, params *GetTaxCodesParams, reqEditors ...RequestEditorFn) (*GetTaxCodesResponse, error)

GetTaxCodesWithResponse request returning *GetTaxCodesResponse

func (*ClientWithResponses) GetTaxRatesSummaryWithResponse

func (c *ClientWithResponses) GetTaxRatesSummaryWithResponse(ctx context.Context, params *GetTaxRatesSummaryParams, reqEditors ...RequestEditorFn) (*GetTaxRatesSummaryResponse, error)

GetTaxRatesSummaryWithResponse request returning *GetTaxRatesSummaryResponse

func (*ClientWithResponses) GetTaxpayerInfoWithResponse

func (c *ClientWithResponses) GetTaxpayerInfoWithResponse(ctx context.Context, legalIdentification string, params *GetTaxpayerInfoParams, reqEditors ...RequestEditorFn) (*GetTaxpayerInfoResponse, error)

GetTaxpayerInfoWithResponse request returning *GetTaxpayerInfoResponse

func (*ClientWithResponses) GetTaxpayerWithResponse

func (c *ClientWithResponses) GetTaxpayerWithResponse(ctx context.Context, legalIdentification string, params *GetTaxpayerParams, reqEditors ...RequestEditorFn) (*GetTaxpayerResponse, error)

GetTaxpayerWithResponse request returning *GetTaxpayerResponse

func (*ClientWithResponses) GetTenantWithResponse

func (c *ClientWithResponses) GetTenantWithResponse(ctx context.Context, params *GetTenantParams, reqEditors ...RequestEditorFn) (*GetTenantResponse, error)

GetTenantWithResponse request returning *GetTenantResponse

func (*ClientWithResponses) GetUnitsOfMeasureWithResponse

func (c *ClientWithResponses) GetUnitsOfMeasureWithResponse(ctx context.Context, params *GetUnitsOfMeasureParams, reqEditors ...RequestEditorFn) (*GetUnitsOfMeasureResponse, error)

GetUnitsOfMeasureWithResponse request returning *GetUnitsOfMeasureResponse

func (*ClientWithResponses) GetVatRateCodesWithResponse

func (c *ClientWithResponses) GetVatRateCodesWithResponse(ctx context.Context, params *GetVatRateCodesParams, reqEditors ...RequestEditorFn) (*GetVatRateCodesResponse, error)

GetVatRateCodesWithResponse request returning *GetVatRateCodesResponse

func (*ClientWithResponses) GetVatSummaryWithResponse

func (c *ClientWithResponses) GetVatSummaryWithResponse(ctx context.Context, params *GetVatSummaryParams, reqEditors ...RequestEditorFn) (*GetVatSummaryResponse, error)

GetVatSummaryWithResponse request returning *GetVatSummaryResponse

func (*ClientWithResponses) GetWebhookWithResponse

func (c *ClientWithResponses) GetWebhookWithResponse(ctx context.Context, id int64, params *GetWebhookParams, reqEditors ...RequestEditorFn) (*GetWebhookResponse, error)

GetWebhookWithResponse request returning *GetWebhookResponse

func (*ClientWithResponses) GetWebhooksWithResponse

func (c *ClientWithResponses) GetWebhooksWithResponse(ctx context.Context, params *GetWebhooksParams, reqEditors ...RequestEditorFn) (*GetWebhooksResponse, error)

GetWebhooksWithResponse request returning *GetWebhooksResponse

func (*ClientWithResponses) RefreshExonerationWithResponse

func (c *ClientWithResponses) RefreshExonerationWithResponse(ctx context.Context, clientId int64, id int64, params *RefreshExonerationParams, reqEditors ...RequestEditorFn) (*RefreshExonerationResponse, error)

RefreshExonerationWithResponse request returning *RefreshExonerationResponse

func (*ClientWithResponses) RegenerateDocumentPdfWithResponse

func (c *ClientWithResponses) RegenerateDocumentPdfWithResponse(ctx context.Context, id int64, params *RegenerateDocumentPdfParams, reqEditors ...RequestEditorFn) (*RegenerateDocumentPdfResponse, error)

RegenerateDocumentPdfWithResponse request returning *RegenerateDocumentPdfResponse

func (*ClientWithResponses) RegisterExonerationWithBodyWithResponse

func (c *ClientWithResponses) RegisterExonerationWithBodyWithResponse(ctx context.Context, clientId int64, params *RegisterExonerationParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RegisterExonerationResponse, error)

RegisterExonerationWithBodyWithResponse request with arbitrary body returning *RegisterExonerationResponse

func (*ClientWithResponses) RegisterExonerationWithResponse

func (c *ClientWithResponses) RegisterExonerationWithResponse(ctx context.Context, clientId int64, params *RegisterExonerationParams, body RegisterExonerationJSONRequestBody, reqEditors ...RequestEditorFn) (*RegisterExonerationResponse, error)

func (*ClientWithResponses) SearchCabysWithResponse

func (c *ClientWithResponses) SearchCabysWithResponse(ctx context.Context, params *SearchCabysParams, reqEditors ...RequestEditorFn) (*SearchCabysResponse, error)

SearchCabysWithResponse request returning *SearchCabysResponse

func (*ClientWithResponses) SendDocumentEmailWithResponse

func (c *ClientWithResponses) SendDocumentEmailWithResponse(ctx context.Context, id int64, params *SendDocumentEmailParams, reqEditors ...RequestEditorFn) (*SendDocumentEmailResponse, error)

SendDocumentEmailWithResponse request returning *SendDocumentEmailResponse

func (*ClientWithResponses) SetDefaultBranchWithResponse

func (c *ClientWithResponses) SetDefaultBranchWithResponse(ctx context.Context, id int64, params *SetDefaultBranchParams, reqEditors ...RequestEditorFn) (*SetDefaultBranchResponse, error)

SetDefaultBranchWithResponse request returning *SetDefaultBranchResponse

func (*ClientWithResponses) SetDefaultCashRegisterWithResponse

func (c *ClientWithResponses) SetDefaultCashRegisterWithResponse(ctx context.Context, id int64, params *SetDefaultCashRegisterParams, reqEditors ...RequestEditorFn) (*SetDefaultCashRegisterResponse, error)

SetDefaultCashRegisterWithResponse request returning *SetDefaultCashRegisterResponse

func (*ClientWithResponses) SetDefaultIssuerWithResponse

func (c *ClientWithResponses) SetDefaultIssuerWithResponse(ctx context.Context, id int64, params *SetDefaultIssuerParams, reqEditors ...RequestEditorFn) (*SetDefaultIssuerResponse, error)

SetDefaultIssuerWithResponse request returning *SetDefaultIssuerResponse

func (*ClientWithResponses) TestWebhookWithResponse

func (c *ClientWithResponses) TestWebhookWithResponse(ctx context.Context, id int64, params *TestWebhookParams, reqEditors ...RequestEditorFn) (*TestWebhookResponse, error)

TestWebhookWithResponse request returning *TestWebhookResponse

func (*ClientWithResponses) UpdateBranchWithBodyWithResponse

func (c *ClientWithResponses) UpdateBranchWithBodyWithResponse(ctx context.Context, id int64, params *UpdateBranchParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateBranchResponse, error)

UpdateBranchWithBodyWithResponse request with arbitrary body returning *UpdateBranchResponse

func (*ClientWithResponses) UpdateBranchWithResponse

func (c *ClientWithResponses) UpdateBranchWithResponse(ctx context.Context, id int64, params *UpdateBranchParams, body UpdateBranchJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateBranchResponse, error)

func (*ClientWithResponses) UpdateCashRegisterSequenceWithBodyWithResponse

func (c *ClientWithResponses) UpdateCashRegisterSequenceWithBodyWithResponse(ctx context.Context, branchId int64, id int64, params *UpdateCashRegisterSequenceParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateCashRegisterSequenceResponse, error)

UpdateCashRegisterSequenceWithBodyWithResponse request with arbitrary body returning *UpdateCashRegisterSequenceResponse

func (*ClientWithResponses) UpdateCashRegisterSequenceWithResponse

func (*ClientWithResponses) UpdateCashRegisterWithBodyWithResponse

func (c *ClientWithResponses) UpdateCashRegisterWithBodyWithResponse(ctx context.Context, branchId int64, id int64, params *UpdateCashRegisterParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateCashRegisterResponse, error)

UpdateCashRegisterWithBodyWithResponse request with arbitrary body returning *UpdateCashRegisterResponse

func (*ClientWithResponses) UpdateCashRegisterWithResponse

func (c *ClientWithResponses) UpdateCashRegisterWithResponse(ctx context.Context, branchId int64, id int64, params *UpdateCashRegisterParams, body UpdateCashRegisterJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateCashRegisterResponse, error)

func (*ClientWithResponses) UpdateClientWithBodyWithResponse

func (c *ClientWithResponses) UpdateClientWithBodyWithResponse(ctx context.Context, id int64, params *UpdateClientParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateClientResponse, error)

UpdateClientWithBodyWithResponse request with arbitrary body returning *UpdateClientResponse

func (*ClientWithResponses) UpdateClientWithResponse

func (c *ClientWithResponses) UpdateClientWithResponse(ctx context.Context, id int64, params *UpdateClientParams, body UpdateClientJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateClientResponse, error)

func (*ClientWithResponses) UpdateDefaultReceiverWithBodyWithResponse

func (c *ClientWithResponses) UpdateDefaultReceiverWithBodyWithResponse(ctx context.Context, clientId int64, params *UpdateDefaultReceiverParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDefaultReceiverResponse, error)

UpdateDefaultReceiverWithBodyWithResponse request with arbitrary body returning *UpdateDefaultReceiverResponse

func (*ClientWithResponses) UpdateDefaultReceiverWithResponse

func (c *ClientWithResponses) UpdateDefaultReceiverWithResponse(ctx context.Context, clientId int64, params *UpdateDefaultReceiverParams, body UpdateDefaultReceiverJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateDefaultReceiverResponse, error)

func (*ClientWithResponses) UpdateIssuerWithBodyWithResponse

func (c *ClientWithResponses) UpdateIssuerWithBodyWithResponse(ctx context.Context, id int64, params *UpdateIssuerParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateIssuerResponse, error)

UpdateIssuerWithBodyWithResponse request with arbitrary body returning *UpdateIssuerResponse

func (*ClientWithResponses) UpdateIssuerWithResponse

func (c *ClientWithResponses) UpdateIssuerWithResponse(ctx context.Context, id int64, params *UpdateIssuerParams, body UpdateIssuerJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateIssuerResponse, error)

func (*ClientWithResponses) UpdateSecretsWithBodyWithResponse

func (c *ClientWithResponses) UpdateSecretsWithBodyWithResponse(ctx context.Context, params *UpdateSecretsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSecretsResponse, error)

UpdateSecretsWithBodyWithResponse request with arbitrary body returning *UpdateSecretsResponse

func (*ClientWithResponses) UpdateSequenceWithBodyWithResponse

func (c *ClientWithResponses) UpdateSequenceWithBodyWithResponse(ctx context.Context, id int64, params *UpdateSequenceParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSequenceResponse, error)

UpdateSequenceWithBodyWithResponse request with arbitrary body returning *UpdateSequenceResponse

func (*ClientWithResponses) UpdateSequenceWithResponse

func (c *ClientWithResponses) UpdateSequenceWithResponse(ctx context.Context, id int64, params *UpdateSequenceParams, body UpdateSequenceJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSequenceResponse, error)

func (*ClientWithResponses) UpdateTenantWithBodyWithResponse

func (c *ClientWithResponses) UpdateTenantWithBodyWithResponse(ctx context.Context, params *UpdateTenantParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateTenantResponse, error)

UpdateTenantWithBodyWithResponse request with arbitrary body returning *UpdateTenantResponse

func (*ClientWithResponses) UpdateTenantWithResponse

func (c *ClientWithResponses) UpdateTenantWithResponse(ctx context.Context, params *UpdateTenantParams, body UpdateTenantJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateTenantResponse, error)

func (*ClientWithResponses) UpdateWebhookWithBodyWithResponse

func (c *ClientWithResponses) UpdateWebhookWithBodyWithResponse(ctx context.Context, id int64, params *UpdateWebhookParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateWebhookResponse, error)

UpdateWebhookWithBodyWithResponse request with arbitrary body returning *UpdateWebhookResponse

func (*ClientWithResponses) UpdateWebhookWithResponse

func (c *ClientWithResponses) UpdateWebhookWithResponse(ctx context.Context, id int64, params *UpdateWebhookParams, body UpdateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateWebhookResponse, error)

func (*ClientWithResponses) UploadLogoWithBodyWithResponse

func (c *ClientWithResponses) UploadLogoWithBodyWithResponse(ctx context.Context, params *UploadLogoParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadLogoResponse, error)

UploadLogoWithBodyWithResponse request with arbitrary body returning *UploadLogoResponse

func (*ClientWithResponses) VoidApplicationWithBodyWithResponse

func (c *ClientWithResponses) VoidApplicationWithBodyWithResponse(ctx context.Context, applicationId int64, params *VoidApplicationParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VoidApplicationResponse, error)

VoidApplicationWithBodyWithResponse request with arbitrary body returning *VoidApplicationResponse

func (*ClientWithResponses) VoidApplicationWithResponse

func (c *ClientWithResponses) VoidApplicationWithResponse(ctx context.Context, applicationId int64, params *VoidApplicationParams, body VoidApplicationJSONRequestBody, reqEditors ...RequestEditorFn) (*VoidApplicationResponse, error)

func (*ClientWithResponses) VoidPaymentWithBodyWithResponse

func (c *ClientWithResponses) VoidPaymentWithBodyWithResponse(ctx context.Context, paymentId int64, params *VoidPaymentParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VoidPaymentResponse, error)

VoidPaymentWithBodyWithResponse request with arbitrary body returning *VoidPaymentResponse

func (*ClientWithResponses) VoidPaymentWithResponse

func (c *ClientWithResponses) VoidPaymentWithResponse(ctx context.Context, paymentId int64, params *VoidPaymentParams, body VoidPaymentJSONRequestBody, reqEditors ...RequestEditorFn) (*VoidPaymentResponse, error)

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {
	// ClassifyDocumentItemWithBodyWithResponse request with any body
	ClassifyDocumentItemWithBodyWithResponse(ctx context.Context, itemId int64, params *ClassifyDocumentItemParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ClassifyDocumentItemResponse, error)

	ClassifyDocumentItemWithResponse(ctx context.Context, itemId int64, params *ClassifyDocumentItemParams, body ClassifyDocumentItemJSONRequestBody, reqEditors ...RequestEditorFn) (*ClassifyDocumentItemResponse, error)

	// GetFiscalReportWithResponse request
	GetFiscalReportWithResponse(ctx context.Context, params *GetFiscalReportParams, reqEditors ...RequestEditorFn) (*GetFiscalReportResponse, error)

	// ExportFiscalReportWithResponse request
	ExportFiscalReportWithResponse(ctx context.Context, params *ExportFiscalReportParams, reqEditors ...RequestEditorFn) (*ExportFiscalReportResponse, error)

	// GetTaxRatesSummaryWithResponse request
	GetTaxRatesSummaryWithResponse(ctx context.Context, params *GetTaxRatesSummaryParams, reqEditors ...RequestEditorFn) (*GetTaxRatesSummaryResponse, error)

	// GetVatSummaryWithResponse request
	GetVatSummaryWithResponse(ctx context.Context, params *GetVatSummaryParams, reqEditors ...RequestEditorFn) (*GetVatSummaryResponse, error)

	// GetBranchesWithResponse request
	GetBranchesWithResponse(ctx context.Context, params *GetBranchesParams, reqEditors ...RequestEditorFn) (*GetBranchesResponse, error)

	// CreateBranchWithBodyWithResponse request with any body
	CreateBranchWithBodyWithResponse(ctx context.Context, params *CreateBranchParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateBranchResponse, error)

	CreateBranchWithResponse(ctx context.Context, params *CreateBranchParams, body CreateBranchJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateBranchResponse, error)

	// GetCashRegistersWithResponse request
	GetCashRegistersWithResponse(ctx context.Context, branchId int64, params *GetCashRegistersParams, reqEditors ...RequestEditorFn) (*GetCashRegistersResponse, error)

	// CreateCashRegisterWithBodyWithResponse request with any body
	CreateCashRegisterWithBodyWithResponse(ctx context.Context, branchId int64, params *CreateCashRegisterParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCashRegisterResponse, error)

	CreateCashRegisterWithResponse(ctx context.Context, branchId int64, params *CreateCashRegisterParams, body CreateCashRegisterJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCashRegisterResponse, error)

	// DeleteCashRegisterWithResponse request
	DeleteCashRegisterWithResponse(ctx context.Context, branchId int64, id int64, params *DeleteCashRegisterParams, reqEditors ...RequestEditorFn) (*DeleteCashRegisterResponse, error)

	// GetCashRegisterWithResponse request
	GetCashRegisterWithResponse(ctx context.Context, branchId int64, id int64, params *GetCashRegisterParams, reqEditors ...RequestEditorFn) (*GetCashRegisterResponse, error)

	// UpdateCashRegisterWithBodyWithResponse request with any body
	UpdateCashRegisterWithBodyWithResponse(ctx context.Context, branchId int64, id int64, params *UpdateCashRegisterParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateCashRegisterResponse, error)

	UpdateCashRegisterWithResponse(ctx context.Context, branchId int64, id int64, params *UpdateCashRegisterParams, body UpdateCashRegisterJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateCashRegisterResponse, error)

	// UpdateCashRegisterSequenceWithBodyWithResponse request with any body
	UpdateCashRegisterSequenceWithBodyWithResponse(ctx context.Context, branchId int64, id int64, params *UpdateCashRegisterSequenceParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateCashRegisterSequenceResponse, error)

	UpdateCashRegisterSequenceWithResponse(ctx context.Context, branchId int64, id int64, params *UpdateCashRegisterSequenceParams, body UpdateCashRegisterSequenceJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateCashRegisterSequenceResponse, error)

	// DeleteBranchWithResponse request
	DeleteBranchWithResponse(ctx context.Context, id int64, params *DeleteBranchParams, reqEditors ...RequestEditorFn) (*DeleteBranchResponse, error)

	// GetBranchWithResponse request
	GetBranchWithResponse(ctx context.Context, id int64, params *GetBranchParams, reqEditors ...RequestEditorFn) (*GetBranchResponse, error)

	// UpdateBranchWithBodyWithResponse request with any body
	UpdateBranchWithBodyWithResponse(ctx context.Context, id int64, params *UpdateBranchParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateBranchResponse, error)

	UpdateBranchWithResponse(ctx context.Context, id int64, params *UpdateBranchParams, body UpdateBranchJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateBranchResponse, error)

	// SetDefaultBranchWithResponse request
	SetDefaultBranchWithResponse(ctx context.Context, id int64, params *SetDefaultBranchParams, reqEditors ...RequestEditorFn) (*SetDefaultBranchResponse, error)

	// SetDefaultCashRegisterWithResponse request
	SetDefaultCashRegisterWithResponse(ctx context.Context, id int64, params *SetDefaultCashRegisterParams, reqEditors ...RequestEditorFn) (*SetDefaultCashRegisterResponse, error)

	// GetCantonsWithResponse request
	GetCantonsWithResponse(ctx context.Context, params *GetCantonsParams, reqEditors ...RequestEditorFn) (*GetCantonsResponse, error)

	// GetCurrenciesWithResponse request
	GetCurrenciesWithResponse(ctx context.Context, params *GetCurrenciesParams, reqEditors ...RequestEditorFn) (*GetCurrenciesResponse, error)

	// GetDistrictsWithResponse request
	GetDistrictsWithResponse(ctx context.Context, params *GetDistrictsParams, reqEditors ...RequestEditorFn) (*GetDistrictsResponse, error)

	// GetDocumentTypesWithResponse request
	GetDocumentTypesWithResponse(ctx context.Context, params *GetDocumentTypesParams, reqEditors ...RequestEditorFn) (*GetDocumentTypesResponse, error)

	// GetLegalIdentificationTypesWithResponse request
	GetLegalIdentificationTypesWithResponse(ctx context.Context, params *GetLegalIdentificationTypesParams, reqEditors ...RequestEditorFn) (*GetLegalIdentificationTypesResponse, error)

	// GetPaymentMethodsWithResponse request
	GetPaymentMethodsWithResponse(ctx context.Context, params *GetPaymentMethodsParams, reqEditors ...RequestEditorFn) (*GetPaymentMethodsResponse, error)

	// GetPharmaceuticalFormsWithResponse request
	GetPharmaceuticalFormsWithResponse(ctx context.Context, params *GetPharmaceuticalFormsParams, reqEditors ...RequestEditorFn) (*GetPharmaceuticalFormsResponse, error)

	// GetProvincesWithResponse request
	GetProvincesWithResponse(ctx context.Context, params *GetProvincesParams, reqEditors ...RequestEditorFn) (*GetProvincesResponse, error)

	// GetSaleConditionsWithResponse request
	GetSaleConditionsWithResponse(ctx context.Context, params *GetSaleConditionsParams, reqEditors ...RequestEditorFn) (*GetSaleConditionsResponse, error)

	// GetTaxCodesWithResponse request
	GetTaxCodesWithResponse(ctx context.Context, params *GetTaxCodesParams, reqEditors ...RequestEditorFn) (*GetTaxCodesResponse, error)

	// GetUnitsOfMeasureWithResponse request
	GetUnitsOfMeasureWithResponse(ctx context.Context, params *GetUnitsOfMeasureParams, reqEditors ...RequestEditorFn) (*GetUnitsOfMeasureResponse, error)

	// GetVatRateCodesWithResponse request
	GetVatRateCodesWithResponse(ctx context.Context, params *GetVatRateCodesParams, reqEditors ...RequestEditorFn) (*GetVatRateCodesResponse, error)

	// GetAllClientsWithResponse request
	GetAllClientsWithResponse(ctx context.Context, params *GetAllClientsParams, reqEditors ...RequestEditorFn) (*GetAllClientsResponse, error)

	// CreateClientWithBodyWithResponse request with any body
	CreateClientWithBodyWithResponse(ctx context.Context, params *CreateClientParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateClientResponse, error)

	CreateClientWithResponse(ctx context.Context, params *CreateClientParams, body CreateClientJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateClientResponse, error)

	// GetExonerationsWithResponse request
	GetExonerationsWithResponse(ctx context.Context, clientId int64, params *GetExonerationsParams, reqEditors ...RequestEditorFn) (*GetExonerationsResponse, error)

	// RegisterExonerationWithBodyWithResponse request with any body
	RegisterExonerationWithBodyWithResponse(ctx context.Context, clientId int64, params *RegisterExonerationParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RegisterExonerationResponse, error)

	RegisterExonerationWithResponse(ctx context.Context, clientId int64, params *RegisterExonerationParams, body RegisterExonerationJSONRequestBody, reqEditors ...RequestEditorFn) (*RegisterExonerationResponse, error)

	// DeactivateExonerationWithResponse request
	DeactivateExonerationWithResponse(ctx context.Context, clientId int64, id int64, params *DeactivateExonerationParams, reqEditors ...RequestEditorFn) (*DeactivateExonerationResponse, error)

	// GetClientExonerationWithResponse request
	GetClientExonerationWithResponse(ctx context.Context, clientId int64, id int64, params *GetClientExonerationParams, reqEditors ...RequestEditorFn) (*GetClientExonerationResponse, error)

	// RefreshExonerationWithResponse request
	RefreshExonerationWithResponse(ctx context.Context, clientId int64, id int64, params *RefreshExonerationParams, reqEditors ...RequestEditorFn) (*RefreshExonerationResponse, error)

	// GetClientReceiversWithResponse request
	GetClientReceiversWithResponse(ctx context.Context, clientId int64, params *GetClientReceiversParams, reqEditors ...RequestEditorFn) (*GetClientReceiversResponse, error)

	// CreateOrUpdateReceiverWithBodyWithResponse request with any body
	CreateOrUpdateReceiverWithBodyWithResponse(ctx context.Context, clientId int64, params *CreateOrUpdateReceiverParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateOrUpdateReceiverResponse, error)

	CreateOrUpdateReceiverWithResponse(ctx context.Context, clientId int64, params *CreateOrUpdateReceiverParams, body CreateOrUpdateReceiverJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOrUpdateReceiverResponse, error)

	// UpdateDefaultReceiverWithBodyWithResponse request with any body
	UpdateDefaultReceiverWithBodyWithResponse(ctx context.Context, clientId int64, params *UpdateDefaultReceiverParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDefaultReceiverResponse, error)

	UpdateDefaultReceiverWithResponse(ctx context.Context, clientId int64, params *UpdateDefaultReceiverParams, body UpdateDefaultReceiverJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateDefaultReceiverResponse, error)

	// DeleteReceiverWithResponse request
	DeleteReceiverWithResponse(ctx context.Context, clientId int64, receiverId int64, params *DeleteReceiverParams, reqEditors ...RequestEditorFn) (*DeleteReceiverResponse, error)

	// GetReceiverByIdWithResponse request
	GetReceiverByIdWithResponse(ctx context.Context, clientId int64, receiverId int64, params *GetReceiverByIdParams, reqEditors ...RequestEditorFn) (*GetReceiverByIdResponse, error)

	// DeleteClientWithResponse request
	DeleteClientWithResponse(ctx context.Context, id int64, params *DeleteClientParams, reqEditors ...RequestEditorFn) (*DeleteClientResponse, error)

	// GetClientByIdWithResponse request
	GetClientByIdWithResponse(ctx context.Context, id int64, params *GetClientByIdParams, reqEditors ...RequestEditorFn) (*GetClientByIdResponse, error)

	// UpdateClientWithBodyWithResponse request with any body
	UpdateClientWithBodyWithResponse(ctx context.Context, id int64, params *UpdateClientParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateClientResponse, error)

	UpdateClientWithResponse(ctx context.Context, id int64, params *UpdateClientParams, body UpdateClientJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateClientResponse, error)

	// GetAllDocumentsWithResponse request
	GetAllDocumentsWithResponse(ctx context.Context, params *GetAllDocumentsParams, reqEditors ...RequestEditorFn) (*GetAllDocumentsResponse, error)

	// CreateCreditNoteWithBodyWithResponse request with any body
	CreateCreditNoteWithBodyWithResponse(ctx context.Context, params *CreateCreditNoteParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCreditNoteResponse, error)

	CreateCreditNoteWithResponse(ctx context.Context, params *CreateCreditNoteParams, body CreateCreditNoteJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCreditNoteResponse, error)

	// CreateDebitNoteWithBodyWithResponse request with any body
	CreateDebitNoteWithBodyWithResponse(ctx context.Context, params *CreateDebitNoteParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDebitNoteResponse, error)

	CreateDebitNoteWithResponse(ctx context.Context, params *CreateDebitNoteParams, body CreateDebitNoteJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDebitNoteResponse, error)

	// CreateElectronicPaymentReceiptWithBodyWithResponse request with any body
	CreateElectronicPaymentReceiptWithBodyWithResponse(ctx context.Context, params *CreateElectronicPaymentReceiptParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateElectronicPaymentReceiptResponse, error)

	CreateElectronicPaymentReceiptWithResponse(ctx context.Context, params *CreateElectronicPaymentReceiptParams, body CreateElectronicPaymentReceiptJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateElectronicPaymentReceiptResponse, error)

	// CreateExportInvoiceWithBodyWithResponse request with any body
	CreateExportInvoiceWithBodyWithResponse(ctx context.Context, params *CreateExportInvoiceParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateExportInvoiceResponse, error)

	CreateExportInvoiceWithResponse(ctx context.Context, params *CreateExportInvoiceParams, body CreateExportInvoiceJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateExportInvoiceResponse, error)

	// CreateInvoiceWithBodyWithResponse request with any body
	CreateInvoiceWithBodyWithResponse(ctx context.Context, params *CreateInvoiceParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateInvoiceResponse, error)

	CreateInvoiceWithResponse(ctx context.Context, params *CreateInvoiceParams, body CreateInvoiceJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateInvoiceResponse, error)

	// CreatePurchaseInvoiceWithBodyWithResponse request with any body
	CreatePurchaseInvoiceWithBodyWithResponse(ctx context.Context, params *CreatePurchaseInvoiceParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePurchaseInvoiceResponse, error)

	CreatePurchaseInvoiceWithResponse(ctx context.Context, params *CreatePurchaseInvoiceParams, body CreatePurchaseInvoiceJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePurchaseInvoiceResponse, error)

	// CreateReceiptWithBodyWithResponse request with any body
	CreateReceiptWithBodyWithResponse(ctx context.Context, params *CreateReceiptParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateReceiptResponse, error)

	CreateReceiptWithResponse(ctx context.Context, params *CreateReceiptParams, body CreateReceiptJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateReceiptResponse, error)

	// CreateReceiverMessageWithBodyWithResponse request with any body
	CreateReceiverMessageWithBodyWithResponse(ctx context.Context, params *CreateReceiverMessageParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateReceiverMessageResponse, error)

	CreateReceiverMessageWithResponse(ctx context.Context, params *CreateReceiverMessageParams, body CreateReceiverMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateReceiverMessageResponse, error)

	// GetDocumentByIdWithResponse request
	GetDocumentByIdWithResponse(ctx context.Context, id int64, params *GetDocumentByIdParams, reqEditors ...RequestEditorFn) (*GetDocumentByIdResponse, error)

	// GetDocumentPdfWithResponse request
	GetDocumentPdfWithResponse(ctx context.Context, id int64, params *GetDocumentPdfParams, reqEditors ...RequestEditorFn) (*GetDocumentPdfResponse, error)

	// RegenerateDocumentPdfWithResponse request
	RegenerateDocumentPdfWithResponse(ctx context.Context, id int64, params *RegenerateDocumentPdfParams, reqEditors ...RequestEditorFn) (*RegenerateDocumentPdfResponse, error)

	// SendDocumentEmailWithResponse request
	SendDocumentEmailWithResponse(ctx context.Context, id int64, params *SendDocumentEmailParams, reqEditors ...RequestEditorFn) (*SendDocumentEmailResponse, error)

	// GetFaqturoXmlWithResponse request
	GetFaqturoXmlWithResponse(ctx context.Context, id int64, params *GetFaqturoXmlParams, reqEditors ...RequestEditorFn) (*GetFaqturoXmlResponse, error)

	// GetHaciendaXmlWithResponse request
	GetHaciendaXmlWithResponse(ctx context.Context, id int64, params *GetHaciendaXmlParams, reqEditors ...RequestEditorFn) (*GetHaciendaXmlResponse, error)

	// GetAllIssuersWithResponse request
	GetAllIssuersWithResponse(ctx context.Context, params *GetAllIssuersParams, reqEditors ...RequestEditorFn) (*GetAllIssuersResponse, error)

	// CreateIssuerWithBodyWithResponse request with any body
	CreateIssuerWithBodyWithResponse(ctx context.Context, params *CreateIssuerParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateIssuerResponse, error)

	CreateIssuerWithResponse(ctx context.Context, params *CreateIssuerParams, body CreateIssuerJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateIssuerResponse, error)

	// DeleteIssuerWithResponse request
	DeleteIssuerWithResponse(ctx context.Context, id int64, params *DeleteIssuerParams, reqEditors ...RequestEditorFn) (*DeleteIssuerResponse, error)

	// GetIssuerByIdWithResponse request
	GetIssuerByIdWithResponse(ctx context.Context, id int64, params *GetIssuerByIdParams, reqEditors ...RequestEditorFn) (*GetIssuerByIdResponse, error)

	// UpdateIssuerWithBodyWithResponse request with any body
	UpdateIssuerWithBodyWithResponse(ctx context.Context, id int64, params *UpdateIssuerParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateIssuerResponse, error)

	UpdateIssuerWithResponse(ctx context.Context, id int64, params *UpdateIssuerParams, body UpdateIssuerJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateIssuerResponse, error)

	// SetDefaultIssuerWithResponse request
	SetDefaultIssuerWithResponse(ctx context.Context, id int64, params *SetDefaultIssuerParams, reqEditors ...RequestEditorFn) (*SetDefaultIssuerResponse, error)

	// CreatePaymentWithBodyWithResponse request with any body
	CreatePaymentWithBodyWithResponse(ctx context.Context, params *CreatePaymentParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePaymentResponse, error)

	CreatePaymentWithResponse(ctx context.Context, params *CreatePaymentParams, body CreatePaymentJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePaymentResponse, error)

	// VoidApplicationWithBodyWithResponse request with any body
	VoidApplicationWithBodyWithResponse(ctx context.Context, applicationId int64, params *VoidApplicationParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VoidApplicationResponse, error)

	VoidApplicationWithResponse(ctx context.Context, applicationId int64, params *VoidApplicationParams, body VoidApplicationJSONRequestBody, reqEditors ...RequestEditorFn) (*VoidApplicationResponse, error)

	// GetClientStatementWithResponse request
	GetClientStatementWithResponse(ctx context.Context, clientId int64, params *GetClientStatementParams, reqEditors ...RequestEditorFn) (*GetClientStatementResponse, error)

	// GetPaymentWithResponse request
	GetPaymentWithResponse(ctx context.Context, paymentId int64, params *GetPaymentParams, reqEditors ...RequestEditorFn) (*GetPaymentResponse, error)

	// ApplyPaymentWithBodyWithResponse request with any body
	ApplyPaymentWithBodyWithResponse(ctx context.Context, paymentId int64, params *ApplyPaymentParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ApplyPaymentResponse, error)

	ApplyPaymentWithResponse(ctx context.Context, paymentId int64, params *ApplyPaymentParams, body ApplyPaymentJSONRequestBody, reqEditors ...RequestEditorFn) (*ApplyPaymentResponse, error)

	// VoidPaymentWithBodyWithResponse request with any body
	VoidPaymentWithBodyWithResponse(ctx context.Context, paymentId int64, params *VoidPaymentParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VoidPaymentResponse, error)

	VoidPaymentWithResponse(ctx context.Context, paymentId int64, params *VoidPaymentParams, body VoidPaymentJSONRequestBody, reqEditors ...RequestEditorFn) (*VoidPaymentResponse, error)

	// GetSequencesWithResponse request
	GetSequencesWithResponse(ctx context.Context, params *GetSequencesParams, reqEditors ...RequestEditorFn) (*GetSequencesResponse, error)

	// UpdateSequenceWithBodyWithResponse request with any body
	UpdateSequenceWithBodyWithResponse(ctx context.Context, id int64, params *UpdateSequenceParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSequenceResponse, error)

	UpdateSequenceWithResponse(ctx context.Context, id int64, params *UpdateSequenceParams, body UpdateSequenceJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSequenceResponse, error)

	// GetAgriculturalProducerWithResponse request
	GetAgriculturalProducerWithResponse(ctx context.Context, legalIdentification string, params *GetAgriculturalProducerParams, reqEditors ...RequestEditorFn) (*GetAgriculturalProducerResponse, error)

	// SearchCabysWithResponse request
	SearchCabysWithResponse(ctx context.Context, params *SearchCabysParams, reqEditors ...RequestEditorFn) (*SearchCabysResponse, error)

	// GetCabysByCodeWithResponse request
	GetCabysByCodeWithResponse(ctx context.Context, code string, params *GetCabysByCodeParams, reqEditors ...RequestEditorFn) (*GetCabysByCodeResponse, error)

	// GetExchangeRatesWithResponse request
	GetExchangeRatesWithResponse(ctx context.Context, params *GetExchangeRatesParams, reqEditors ...RequestEditorFn) (*GetExchangeRatesResponse, error)

	// GetTaxAuthorityExonerationWithResponse request
	GetTaxAuthorityExonerationWithResponse(ctx context.Context, authorization string, params *GetTaxAuthorityExonerationParams, reqEditors ...RequestEditorFn) (*GetTaxAuthorityExonerationResponse, error)

	// GetFishingProducerWithResponse request
	GetFishingProducerWithResponse(ctx context.Context, legalIdentification string, params *GetFishingProducerParams, reqEditors ...RequestEditorFn) (*GetFishingProducerResponse, error)

	// GetTaxpayerWithResponse request
	GetTaxpayerWithResponse(ctx context.Context, legalIdentification string, params *GetTaxpayerParams, reqEditors ...RequestEditorFn) (*GetTaxpayerResponse, error)

	// GetTaxpayerInfoWithResponse request
	GetTaxpayerInfoWithResponse(ctx context.Context, legalIdentification string, params *GetTaxpayerInfoParams, reqEditors ...RequestEditorFn) (*GetTaxpayerInfoResponse, error)

	// GetTenantWithResponse request
	GetTenantWithResponse(ctx context.Context, params *GetTenantParams, reqEditors ...RequestEditorFn) (*GetTenantResponse, error)

	// UpdateTenantWithBodyWithResponse request with any body
	UpdateTenantWithBodyWithResponse(ctx context.Context, params *UpdateTenantParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateTenantResponse, error)

	UpdateTenantWithResponse(ctx context.Context, params *UpdateTenantParams, body UpdateTenantJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateTenantResponse, error)

	// GetInvoicingStatusWithResponse request
	GetInvoicingStatusWithResponse(ctx context.Context, params *GetInvoicingStatusParams, reqEditors ...RequestEditorFn) (*GetInvoicingStatusResponse, error)

	// DeleteLogoWithResponse request
	DeleteLogoWithResponse(ctx context.Context, params *DeleteLogoParams, reqEditors ...RequestEditorFn) (*DeleteLogoResponse, error)

	// GetLogoWithResponse request
	GetLogoWithResponse(ctx context.Context, params *GetLogoParams, reqEditors ...RequestEditorFn) (*GetLogoResponse, error)

	// UploadLogoWithBodyWithResponse request with any body
	UploadLogoWithBodyWithResponse(ctx context.Context, params *UploadLogoParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadLogoResponse, error)

	// UpdateSecretsWithBodyWithResponse request with any body
	UpdateSecretsWithBodyWithResponse(ctx context.Context, params *UpdateSecretsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSecretsResponse, error)

	// GetWebhooksWithResponse request
	GetWebhooksWithResponse(ctx context.Context, params *GetWebhooksParams, reqEditors ...RequestEditorFn) (*GetWebhooksResponse, error)

	// CreateWebhookWithBodyWithResponse request with any body
	CreateWebhookWithBodyWithResponse(ctx context.Context, params *CreateWebhookParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateWebhookResponse, error)

	CreateWebhookWithResponse(ctx context.Context, params *CreateWebhookParams, body CreateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateWebhookResponse, error)

	// DeleteWebhookWithResponse request
	DeleteWebhookWithResponse(ctx context.Context, id int64, params *DeleteWebhookParams, reqEditors ...RequestEditorFn) (*DeleteWebhookResponse, error)

	// GetWebhookWithResponse request
	GetWebhookWithResponse(ctx context.Context, id int64, params *GetWebhookParams, reqEditors ...RequestEditorFn) (*GetWebhookResponse, error)

	// UpdateWebhookWithBodyWithResponse request with any body
	UpdateWebhookWithBodyWithResponse(ctx context.Context, id int64, params *UpdateWebhookParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateWebhookResponse, error)

	UpdateWebhookWithResponse(ctx context.Context, id int64, params *UpdateWebhookParams, body UpdateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateWebhookResponse, error)

	// GetLogsWithResponse request
	GetLogsWithResponse(ctx context.Context, id int64, params *GetLogsParams, reqEditors ...RequestEditorFn) (*GetLogsResponse, error)

	// TestWebhookWithResponse request
	TestWebhookWithResponse(ctx context.Context, id int64, params *TestWebhookParams, reqEditors ...RequestEditorFn) (*TestWebhookResponse, error)
}

ClientWithResponsesInterface is the interface specification for the client with responses above.

type CreateBranchJSONRequestBody

type CreateBranchJSONRequestBody = BranchRequest

CreateBranchJSONRequestBody defines body for CreateBranch for application/json ContentType.

type CreateBranchParams

type CreateBranchParams struct {
	APIVersion *CreateBranchParamsAPIVersion `json:"API-Version,omitempty"`
}

CreateBranchParams defines parameters for CreateBranch.

type CreateBranchParamsAPIVersion

type CreateBranchParamsAPIVersion string

CreateBranchParamsAPIVersion defines parameters for CreateBranch.

const (
	CreateBranchParamsAPIVersionV1 CreateBranchParamsAPIVersion = "v1"
)

Defines values for CreateBranchParamsAPIVersion.

func (CreateBranchParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the CreateBranchParamsAPIVersion enum.

type CreateBranchResponse

type CreateBranchResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *BranchResponse
}

func ParseCreateBranchResponse

func ParseCreateBranchResponse(rsp *http.Response) (*CreateBranchResponse, error)

ParseCreateBranchResponse parses an HTTP response from a CreateBranchWithResponse call

func (CreateBranchResponse) ContentType

func (r CreateBranchResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateBranchResponse) Status

func (r CreateBranchResponse) Status() string

Status returns HTTPResponse.Status

func (CreateBranchResponse) StatusCode

func (r CreateBranchResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateCashRegisterJSONRequestBody

type CreateCashRegisterJSONRequestBody = CashRegisterRequest

CreateCashRegisterJSONRequestBody defines body for CreateCashRegister for application/json ContentType.

type CreateCashRegisterParams

type CreateCashRegisterParams struct {
	APIVersion *CreateCashRegisterParamsAPIVersion `json:"API-Version,omitempty"`
}

CreateCashRegisterParams defines parameters for CreateCashRegister.

type CreateCashRegisterParamsAPIVersion

type CreateCashRegisterParamsAPIVersion string

CreateCashRegisterParamsAPIVersion defines parameters for CreateCashRegister.

const (
	CreateCashRegisterParamsAPIVersionV1 CreateCashRegisterParamsAPIVersion = "v1"
)

Defines values for CreateCashRegisterParamsAPIVersion.

func (CreateCashRegisterParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the CreateCashRegisterParamsAPIVersion enum.

type CreateCashRegisterResponse

type CreateCashRegisterResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CashRegisterResponse
}

func ParseCreateCashRegisterResponse

func ParseCreateCashRegisterResponse(rsp *http.Response) (*CreateCashRegisterResponse, error)

ParseCreateCashRegisterResponse parses an HTTP response from a CreateCashRegisterWithResponse call

func (CreateCashRegisterResponse) ContentType

func (r CreateCashRegisterResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateCashRegisterResponse) Status

Status returns HTTPResponse.Status

func (CreateCashRegisterResponse) StatusCode

func (r CreateCashRegisterResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateClientJSONRequestBody

type CreateClientJSONRequestBody = ClientRequest

CreateClientJSONRequestBody defines body for CreateClient for application/json ContentType.

type CreateClientParams

type CreateClientParams struct {
	APIVersion *CreateClientParamsAPIVersion `json:"API-Version,omitempty"`
}

CreateClientParams defines parameters for CreateClient.

type CreateClientParamsAPIVersion

type CreateClientParamsAPIVersion string

CreateClientParamsAPIVersion defines parameters for CreateClient.

const (
	CreateClientParamsAPIVersionV1 CreateClientParamsAPIVersion = "v1"
)

Defines values for CreateClientParamsAPIVersion.

func (CreateClientParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the CreateClientParamsAPIVersion enum.

type CreateClientResponse

type CreateClientResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ClientResponse
}

func ParseCreateClientResponse

func ParseCreateClientResponse(rsp *http.Response) (*CreateClientResponse, error)

ParseCreateClientResponse parses an HTTP response from a CreateClientWithResponse call

func (CreateClientResponse) ContentType

func (r CreateClientResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateClientResponse) Status

func (r CreateClientResponse) Status() string

Status returns HTTPResponse.Status

func (CreateClientResponse) StatusCode

func (r CreateClientResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateCreditNoteJSONRequestBody

type CreateCreditNoteJSONRequestBody = DocumentRequest

CreateCreditNoteJSONRequestBody defines body for CreateCreditNote for application/json ContentType.

type CreateCreditNoteParams

type CreateCreditNoteParams struct {
	APIVersion *CreateCreditNoteParamsAPIVersion `json:"API-Version,omitempty"`
}

CreateCreditNoteParams defines parameters for CreateCreditNote.

type CreateCreditNoteParamsAPIVersion

type CreateCreditNoteParamsAPIVersion string

CreateCreditNoteParamsAPIVersion defines parameters for CreateCreditNote.

const (
	CreateCreditNoteParamsAPIVersionV1 CreateCreditNoteParamsAPIVersion = "v1"
)

Defines values for CreateCreditNoteParamsAPIVersion.

func (CreateCreditNoteParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the CreateCreditNoteParamsAPIVersion enum.

type CreateCreditNoteResponse

type CreateCreditNoteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DocumentResponse
}

func ParseCreateCreditNoteResponse

func ParseCreateCreditNoteResponse(rsp *http.Response) (*CreateCreditNoteResponse, error)

ParseCreateCreditNoteResponse parses an HTTP response from a CreateCreditNoteWithResponse call

func (CreateCreditNoteResponse) ContentType

func (r CreateCreditNoteResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateCreditNoteResponse) Status

func (r CreateCreditNoteResponse) Status() string

Status returns HTTPResponse.Status

func (CreateCreditNoteResponse) StatusCode

func (r CreateCreditNoteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateDebitNoteJSONRequestBody

type CreateDebitNoteJSONRequestBody = DocumentRequest

CreateDebitNoteJSONRequestBody defines body for CreateDebitNote for application/json ContentType.

type CreateDebitNoteParams

type CreateDebitNoteParams struct {
	APIVersion *CreateDebitNoteParamsAPIVersion `json:"API-Version,omitempty"`
}

CreateDebitNoteParams defines parameters for CreateDebitNote.

type CreateDebitNoteParamsAPIVersion

type CreateDebitNoteParamsAPIVersion string

CreateDebitNoteParamsAPIVersion defines parameters for CreateDebitNote.

const (
	CreateDebitNoteParamsAPIVersionV1 CreateDebitNoteParamsAPIVersion = "v1"
)

Defines values for CreateDebitNoteParamsAPIVersion.

func (CreateDebitNoteParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the CreateDebitNoteParamsAPIVersion enum.

type CreateDebitNoteResponse

type CreateDebitNoteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DocumentResponse
}

func ParseCreateDebitNoteResponse

func ParseCreateDebitNoteResponse(rsp *http.Response) (*CreateDebitNoteResponse, error)

ParseCreateDebitNoteResponse parses an HTTP response from a CreateDebitNoteWithResponse call

func (CreateDebitNoteResponse) ContentType

func (r CreateDebitNoteResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateDebitNoteResponse) Status

func (r CreateDebitNoteResponse) Status() string

Status returns HTTPResponse.Status

func (CreateDebitNoteResponse) StatusCode

func (r CreateDebitNoteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateElectronicPaymentReceiptJSONRequestBody

type CreateElectronicPaymentReceiptJSONRequestBody = DocumentRequest

CreateElectronicPaymentReceiptJSONRequestBody defines body for CreateElectronicPaymentReceipt for application/json ContentType.

type CreateElectronicPaymentReceiptParams

type CreateElectronicPaymentReceiptParams struct {
	APIVersion *CreateElectronicPaymentReceiptParamsAPIVersion `json:"API-Version,omitempty"`
}

CreateElectronicPaymentReceiptParams defines parameters for CreateElectronicPaymentReceipt.

type CreateElectronicPaymentReceiptParamsAPIVersion

type CreateElectronicPaymentReceiptParamsAPIVersion string

CreateElectronicPaymentReceiptParamsAPIVersion defines parameters for CreateElectronicPaymentReceipt.

const (
	CreateElectronicPaymentReceiptParamsAPIVersionV1 CreateElectronicPaymentReceiptParamsAPIVersion = "v1"
)

Defines values for CreateElectronicPaymentReceiptParamsAPIVersion.

func (CreateElectronicPaymentReceiptParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the CreateElectronicPaymentReceiptParamsAPIVersion enum.

type CreateElectronicPaymentReceiptResponse

type CreateElectronicPaymentReceiptResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DocumentResponse
}

func ParseCreateElectronicPaymentReceiptResponse

func ParseCreateElectronicPaymentReceiptResponse(rsp *http.Response) (*CreateElectronicPaymentReceiptResponse, error)

ParseCreateElectronicPaymentReceiptResponse parses an HTTP response from a CreateElectronicPaymentReceiptWithResponse call

func (CreateElectronicPaymentReceiptResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateElectronicPaymentReceiptResponse) Status

Status returns HTTPResponse.Status

func (CreateElectronicPaymentReceiptResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CreateExportInvoiceJSONRequestBody

type CreateExportInvoiceJSONRequestBody = DocumentRequest

CreateExportInvoiceJSONRequestBody defines body for CreateExportInvoice for application/json ContentType.

type CreateExportInvoiceParams

type CreateExportInvoiceParams struct {
	APIVersion *CreateExportInvoiceParamsAPIVersion `json:"API-Version,omitempty"`
}

CreateExportInvoiceParams defines parameters for CreateExportInvoice.

type CreateExportInvoiceParamsAPIVersion

type CreateExportInvoiceParamsAPIVersion string

CreateExportInvoiceParamsAPIVersion defines parameters for CreateExportInvoice.

const (
	CreateExportInvoiceParamsAPIVersionV1 CreateExportInvoiceParamsAPIVersion = "v1"
)

Defines values for CreateExportInvoiceParamsAPIVersion.

func (CreateExportInvoiceParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the CreateExportInvoiceParamsAPIVersion enum.

type CreateExportInvoiceResponse

type CreateExportInvoiceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DocumentResponse
}

func ParseCreateExportInvoiceResponse

func ParseCreateExportInvoiceResponse(rsp *http.Response) (*CreateExportInvoiceResponse, error)

ParseCreateExportInvoiceResponse parses an HTTP response from a CreateExportInvoiceWithResponse call

func (CreateExportInvoiceResponse) ContentType

func (r CreateExportInvoiceResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateExportInvoiceResponse) Status

Status returns HTTPResponse.Status

func (CreateExportInvoiceResponse) StatusCode

func (r CreateExportInvoiceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateInvoiceJSONRequestBody

type CreateInvoiceJSONRequestBody = DocumentRequest

CreateInvoiceJSONRequestBody defines body for CreateInvoice for application/json ContentType.

type CreateInvoiceParams

type CreateInvoiceParams struct {
	APIVersion *CreateInvoiceParamsAPIVersion `json:"API-Version,omitempty"`
}

CreateInvoiceParams defines parameters for CreateInvoice.

type CreateInvoiceParamsAPIVersion

type CreateInvoiceParamsAPIVersion string

CreateInvoiceParamsAPIVersion defines parameters for CreateInvoice.

const (
	CreateInvoiceParamsAPIVersionV1 CreateInvoiceParamsAPIVersion = "v1"
)

Defines values for CreateInvoiceParamsAPIVersion.

func (CreateInvoiceParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the CreateInvoiceParamsAPIVersion enum.

type CreateInvoiceResponse

type CreateInvoiceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DocumentResponse
}

func ParseCreateInvoiceResponse

func ParseCreateInvoiceResponse(rsp *http.Response) (*CreateInvoiceResponse, error)

ParseCreateInvoiceResponse parses an HTTP response from a CreateInvoiceWithResponse call

func (CreateInvoiceResponse) ContentType

func (r CreateInvoiceResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateInvoiceResponse) Status

func (r CreateInvoiceResponse) Status() string

Status returns HTTPResponse.Status

func (CreateInvoiceResponse) StatusCode

func (r CreateInvoiceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateIssuerJSONRequestBody

type CreateIssuerJSONRequestBody = TenantIssuerRequest

CreateIssuerJSONRequestBody defines body for CreateIssuer for application/json ContentType.

type CreateIssuerParams

type CreateIssuerParams struct {
	APIVersion *CreateIssuerParamsAPIVersion `json:"API-Version,omitempty"`
}

CreateIssuerParams defines parameters for CreateIssuer.

type CreateIssuerParamsAPIVersion

type CreateIssuerParamsAPIVersion string

CreateIssuerParamsAPIVersion defines parameters for CreateIssuer.

const (
	CreateIssuerParamsAPIVersionV1 CreateIssuerParamsAPIVersion = "v1"
)

Defines values for CreateIssuerParamsAPIVersion.

func (CreateIssuerParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the CreateIssuerParamsAPIVersion enum.

type CreateIssuerResponse

type CreateIssuerResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TenantIssuerResponse
}

func ParseCreateIssuerResponse

func ParseCreateIssuerResponse(rsp *http.Response) (*CreateIssuerResponse, error)

ParseCreateIssuerResponse parses an HTTP response from a CreateIssuerWithResponse call

func (CreateIssuerResponse) ContentType

func (r CreateIssuerResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateIssuerResponse) Status

func (r CreateIssuerResponse) Status() string

Status returns HTTPResponse.Status

func (CreateIssuerResponse) StatusCode

func (r CreateIssuerResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateOrUpdateReceiverJSONRequestBody

type CreateOrUpdateReceiverJSONRequestBody = ClientReceiverRequest

CreateOrUpdateReceiverJSONRequestBody defines body for CreateOrUpdateReceiver for application/json ContentType.

type CreateOrUpdateReceiverParams

type CreateOrUpdateReceiverParams struct {
	APIVersion *CreateOrUpdateReceiverParamsAPIVersion `json:"API-Version,omitempty"`
}

CreateOrUpdateReceiverParams defines parameters for CreateOrUpdateReceiver.

type CreateOrUpdateReceiverParamsAPIVersion

type CreateOrUpdateReceiverParamsAPIVersion string

CreateOrUpdateReceiverParamsAPIVersion defines parameters for CreateOrUpdateReceiver.

const (
	CreateOrUpdateReceiverParamsAPIVersionV1 CreateOrUpdateReceiverParamsAPIVersion = "v1"
)

Defines values for CreateOrUpdateReceiverParamsAPIVersion.

func (CreateOrUpdateReceiverParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the CreateOrUpdateReceiverParamsAPIVersion enum.

type CreateOrUpdateReceiverResponse

type CreateOrUpdateReceiverResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ClientReceiverResponse
}

func ParseCreateOrUpdateReceiverResponse

func ParseCreateOrUpdateReceiverResponse(rsp *http.Response) (*CreateOrUpdateReceiverResponse, error)

ParseCreateOrUpdateReceiverResponse parses an HTTP response from a CreateOrUpdateReceiverWithResponse call

func (CreateOrUpdateReceiverResponse) ContentType

func (r CreateOrUpdateReceiverResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateOrUpdateReceiverResponse) Status

Status returns HTTPResponse.Status

func (CreateOrUpdateReceiverResponse) StatusCode

func (r CreateOrUpdateReceiverResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreatePaymentJSONRequestBody

type CreatePaymentJSONRequestBody = DocumentPaymentCreateRequest

CreatePaymentJSONRequestBody defines body for CreatePayment for application/json ContentType.

type CreatePaymentParams

type CreatePaymentParams struct {
	APIVersion *CreatePaymentParamsAPIVersion `json:"API-Version,omitempty"`
}

CreatePaymentParams defines parameters for CreatePayment.

type CreatePaymentParamsAPIVersion

type CreatePaymentParamsAPIVersion string

CreatePaymentParamsAPIVersion defines parameters for CreatePayment.

const (
	CreatePaymentParamsAPIVersionV1 CreatePaymentParamsAPIVersion = "v1"
)

Defines values for CreatePaymentParamsAPIVersion.

func (CreatePaymentParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the CreatePaymentParamsAPIVersion enum.

type CreatePaymentResponse

type CreatePaymentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DocumentPaymentResponse
}

func ParseCreatePaymentResponse

func ParseCreatePaymentResponse(rsp *http.Response) (*CreatePaymentResponse, error)

ParseCreatePaymentResponse parses an HTTP response from a CreatePaymentWithResponse call

func (CreatePaymentResponse) ContentType

func (r CreatePaymentResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreatePaymentResponse) Status

func (r CreatePaymentResponse) Status() string

Status returns HTTPResponse.Status

func (CreatePaymentResponse) StatusCode

func (r CreatePaymentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreatePurchaseInvoiceJSONRequestBody

type CreatePurchaseInvoiceJSONRequestBody = DocumentRequest

CreatePurchaseInvoiceJSONRequestBody defines body for CreatePurchaseInvoice for application/json ContentType.

type CreatePurchaseInvoiceParams

type CreatePurchaseInvoiceParams struct {
	APIVersion *CreatePurchaseInvoiceParamsAPIVersion `json:"API-Version,omitempty"`
}

CreatePurchaseInvoiceParams defines parameters for CreatePurchaseInvoice.

type CreatePurchaseInvoiceParamsAPIVersion

type CreatePurchaseInvoiceParamsAPIVersion string

CreatePurchaseInvoiceParamsAPIVersion defines parameters for CreatePurchaseInvoice.

const (
	CreatePurchaseInvoiceParamsAPIVersionV1 CreatePurchaseInvoiceParamsAPIVersion = "v1"
)

Defines values for CreatePurchaseInvoiceParamsAPIVersion.

func (CreatePurchaseInvoiceParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the CreatePurchaseInvoiceParamsAPIVersion enum.

type CreatePurchaseInvoiceResponse

type CreatePurchaseInvoiceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DocumentResponse
}

func ParseCreatePurchaseInvoiceResponse

func ParseCreatePurchaseInvoiceResponse(rsp *http.Response) (*CreatePurchaseInvoiceResponse, error)

ParseCreatePurchaseInvoiceResponse parses an HTTP response from a CreatePurchaseInvoiceWithResponse call

func (CreatePurchaseInvoiceResponse) ContentType

func (r CreatePurchaseInvoiceResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreatePurchaseInvoiceResponse) Status

Status returns HTTPResponse.Status

func (CreatePurchaseInvoiceResponse) StatusCode

func (r CreatePurchaseInvoiceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateReceiptJSONRequestBody

type CreateReceiptJSONRequestBody = DocumentRequest

CreateReceiptJSONRequestBody defines body for CreateReceipt for application/json ContentType.

type CreateReceiptParams

type CreateReceiptParams struct {
	APIVersion *CreateReceiptParamsAPIVersion `json:"API-Version,omitempty"`
}

CreateReceiptParams defines parameters for CreateReceipt.

type CreateReceiptParamsAPIVersion

type CreateReceiptParamsAPIVersion string

CreateReceiptParamsAPIVersion defines parameters for CreateReceipt.

const (
	CreateReceiptParamsAPIVersionV1 CreateReceiptParamsAPIVersion = "v1"
)

Defines values for CreateReceiptParamsAPIVersion.

func (CreateReceiptParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the CreateReceiptParamsAPIVersion enum.

type CreateReceiptResponse

type CreateReceiptResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DocumentResponse
}

func ParseCreateReceiptResponse

func ParseCreateReceiptResponse(rsp *http.Response) (*CreateReceiptResponse, error)

ParseCreateReceiptResponse parses an HTTP response from a CreateReceiptWithResponse call

func (CreateReceiptResponse) ContentType

func (r CreateReceiptResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateReceiptResponse) Status

func (r CreateReceiptResponse) Status() string

Status returns HTTPResponse.Status

func (CreateReceiptResponse) StatusCode

func (r CreateReceiptResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateReceiverMessageJSONRequestBody

type CreateReceiverMessageJSONRequestBody = ReceiverMessageRequest

CreateReceiverMessageJSONRequestBody defines body for CreateReceiverMessage for application/json ContentType.

type CreateReceiverMessageMultipartBody

type CreateReceiverMessageMultipartBody struct {
	XmlFile *openapi_types.File `json:"xmlFile,omitempty"`
}

CreateReceiverMessageMultipartBody defines parameters for CreateReceiverMessage.

type CreateReceiverMessageMultipartRequestBody

type CreateReceiverMessageMultipartRequestBody CreateReceiverMessageMultipartBody

CreateReceiverMessageMultipartRequestBody defines body for CreateReceiverMessage for multipart/form-data ContentType.

type CreateReceiverMessageParams

type CreateReceiverMessageParams struct {
	Xml                     *string                                `form:"xml,omitempty" json:"xml,omitempty"`
	MessageState            int32                                  `form:"messageState" json:"messageState"`
	MessageDetail           *string                                `form:"messageDetail,omitempty" json:"messageDetail,omitempty"`
	IssuerActivityCode      *string                                `form:"issuerActivityCode,omitempty" json:"issuerActivityCode,omitempty"`
	TaxCondition            *string                                `form:"taxCondition,omitempty" json:"taxCondition,omitempty"`
	CreditAmount            *float32                               `form:"creditAmount,omitempty" json:"creditAmount,omitempty"`
	ApplicableExpenseAmount *float32                               `form:"applicableExpenseAmount,omitempty" json:"applicableExpenseAmount,omitempty"`
	APIVersion              *CreateReceiverMessageParamsAPIVersion `json:"API-Version,omitempty"`
}

CreateReceiverMessageParams defines parameters for CreateReceiverMessage.

type CreateReceiverMessageParamsAPIVersion

type CreateReceiverMessageParamsAPIVersion string

CreateReceiverMessageParamsAPIVersion defines parameters for CreateReceiverMessage.

const (
	CreateReceiverMessageParamsAPIVersionN100 CreateReceiverMessageParamsAPIVersion = "1.0.0"
	CreateReceiverMessageParamsAPIVersionV1   CreateReceiverMessageParamsAPIVersion = "v1"
)

Defines values for CreateReceiverMessageParamsAPIVersion.

func (CreateReceiverMessageParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the CreateReceiverMessageParamsAPIVersion enum.

type CreateReceiverMessageResponse

type CreateReceiverMessageResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DocumentResponse
}

func ParseCreateReceiverMessageResponse

func ParseCreateReceiverMessageResponse(rsp *http.Response) (*CreateReceiverMessageResponse, error)

ParseCreateReceiverMessageResponse parses an HTTP response from a CreateReceiverMessageWithResponse call

func (CreateReceiverMessageResponse) ContentType

func (r CreateReceiverMessageResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateReceiverMessageResponse) Status

Status returns HTTPResponse.Status

func (CreateReceiverMessageResponse) StatusCode

func (r CreateReceiverMessageResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateWebhookJSONRequestBody

type CreateWebhookJSONRequestBody = WebhookEndpointRequest

CreateWebhookJSONRequestBody defines body for CreateWebhook for application/json ContentType.

type CreateWebhookParams

type CreateWebhookParams struct {
	APIVersion *CreateWebhookParamsAPIVersion `json:"API-Version,omitempty"`
}

CreateWebhookParams defines parameters for CreateWebhook.

type CreateWebhookParamsAPIVersion

type CreateWebhookParamsAPIVersion string

CreateWebhookParamsAPIVersion defines parameters for CreateWebhook.

const (
	CreateWebhookParamsAPIVersionV1 CreateWebhookParamsAPIVersion = "v1"
)

Defines values for CreateWebhookParamsAPIVersion.

func (CreateWebhookParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the CreateWebhookParamsAPIVersion enum.

type CreateWebhookResponse

type CreateWebhookResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *WebhookEndpointResponse
}

func ParseCreateWebhookResponse

func ParseCreateWebhookResponse(rsp *http.Response) (*CreateWebhookResponse, error)

ParseCreateWebhookResponse parses an HTTP response from a CreateWebhookWithResponse call

func (CreateWebhookResponse) ContentType

func (r CreateWebhookResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateWebhookResponse) Status

func (r CreateWebhookResponse) Status() string

Status returns HTTPResponse.Status

func (CreateWebhookResponse) StatusCode

func (r CreateWebhookResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeactivateExonerationParams

type DeactivateExonerationParams struct {
	APIVersion *DeactivateExonerationParamsAPIVersion `json:"API-Version,omitempty"`
}

DeactivateExonerationParams defines parameters for DeactivateExoneration.

type DeactivateExonerationParamsAPIVersion

type DeactivateExonerationParamsAPIVersion string

DeactivateExonerationParamsAPIVersion defines parameters for DeactivateExoneration.

const (
	DeactivateExonerationParamsAPIVersionV1 DeactivateExonerationParamsAPIVersion = "v1"
)

Defines values for DeactivateExonerationParamsAPIVersion.

func (DeactivateExonerationParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the DeactivateExonerationParamsAPIVersion enum.

type DeactivateExonerationResponse

type DeactivateExonerationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseDeactivateExonerationResponse

func ParseDeactivateExonerationResponse(rsp *http.Response) (*DeactivateExonerationResponse, error)

ParseDeactivateExonerationResponse parses an HTTP response from a DeactivateExonerationWithResponse call

func (DeactivateExonerationResponse) ContentType

func (r DeactivateExonerationResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeactivateExonerationResponse) Status

Status returns HTTPResponse.Status

func (DeactivateExonerationResponse) StatusCode

func (r DeactivateExonerationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Decimal

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

Decimal is an exact base-10 JSON number. It never converts through float64.

func MustDecimal

func MustDecimal(value string) Decimal

func NewDecimal

func NewDecimal(value string) (Decimal, error)

func (Decimal) MarshalJSON

func (d Decimal) MarshalJSON() ([]byte, error)

func (Decimal) String

func (d Decimal) String() string

func (*Decimal) UnmarshalJSON

func (d *Decimal) UnmarshalJSON(data []byte) error

type DeleteBranchParams

type DeleteBranchParams struct {
	APIVersion *DeleteBranchParamsAPIVersion `json:"API-Version,omitempty"`
}

DeleteBranchParams defines parameters for DeleteBranch.

type DeleteBranchParamsAPIVersion

type DeleteBranchParamsAPIVersion string

DeleteBranchParamsAPIVersion defines parameters for DeleteBranch.

const (
	DeleteBranchParamsAPIVersionV1 DeleteBranchParamsAPIVersion = "v1"
)

Defines values for DeleteBranchParamsAPIVersion.

func (DeleteBranchParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the DeleteBranchParamsAPIVersion enum.

type DeleteBranchResponse

type DeleteBranchResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseDeleteBranchResponse

func ParseDeleteBranchResponse(rsp *http.Response) (*DeleteBranchResponse, error)

ParseDeleteBranchResponse parses an HTTP response from a DeleteBranchWithResponse call

func (DeleteBranchResponse) ContentType

func (r DeleteBranchResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteBranchResponse) Status

func (r DeleteBranchResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteBranchResponse) StatusCode

func (r DeleteBranchResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteCashRegisterParams

type DeleteCashRegisterParams struct {
	APIVersion *DeleteCashRegisterParamsAPIVersion `json:"API-Version,omitempty"`
}

DeleteCashRegisterParams defines parameters for DeleteCashRegister.

type DeleteCashRegisterParamsAPIVersion

type DeleteCashRegisterParamsAPIVersion string

DeleteCashRegisterParamsAPIVersion defines parameters for DeleteCashRegister.

const (
	DeleteCashRegisterParamsAPIVersionV1 DeleteCashRegisterParamsAPIVersion = "v1"
)

Defines values for DeleteCashRegisterParamsAPIVersion.

func (DeleteCashRegisterParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the DeleteCashRegisterParamsAPIVersion enum.

type DeleteCashRegisterResponse

type DeleteCashRegisterResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseDeleteCashRegisterResponse

func ParseDeleteCashRegisterResponse(rsp *http.Response) (*DeleteCashRegisterResponse, error)

ParseDeleteCashRegisterResponse parses an HTTP response from a DeleteCashRegisterWithResponse call

func (DeleteCashRegisterResponse) ContentType

func (r DeleteCashRegisterResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteCashRegisterResponse) Status

Status returns HTTPResponse.Status

func (DeleteCashRegisterResponse) StatusCode

func (r DeleteCashRegisterResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteClientParams

type DeleteClientParams struct {
	APIVersion *DeleteClientParamsAPIVersion `json:"API-Version,omitempty"`
}

DeleteClientParams defines parameters for DeleteClient.

type DeleteClientParamsAPIVersion

type DeleteClientParamsAPIVersion string

DeleteClientParamsAPIVersion defines parameters for DeleteClient.

const (
	DeleteClientParamsAPIVersionV1 DeleteClientParamsAPIVersion = "v1"
)

Defines values for DeleteClientParamsAPIVersion.

func (DeleteClientParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the DeleteClientParamsAPIVersion enum.

type DeleteClientResponse

type DeleteClientResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseDeleteClientResponse

func ParseDeleteClientResponse(rsp *http.Response) (*DeleteClientResponse, error)

ParseDeleteClientResponse parses an HTTP response from a DeleteClientWithResponse call

func (DeleteClientResponse) ContentType

func (r DeleteClientResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteClientResponse) Status

func (r DeleteClientResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteClientResponse) StatusCode

func (r DeleteClientResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteIssuerParams

type DeleteIssuerParams struct {
	APIVersion *DeleteIssuerParamsAPIVersion `json:"API-Version,omitempty"`
}

DeleteIssuerParams defines parameters for DeleteIssuer.

type DeleteIssuerParamsAPIVersion

type DeleteIssuerParamsAPIVersion string

DeleteIssuerParamsAPIVersion defines parameters for DeleteIssuer.

const (
	DeleteIssuerParamsAPIVersionV1 DeleteIssuerParamsAPIVersion = "v1"
)

Defines values for DeleteIssuerParamsAPIVersion.

func (DeleteIssuerParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the DeleteIssuerParamsAPIVersion enum.

type DeleteIssuerResponse

type DeleteIssuerResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *map[string]string
}

func ParseDeleteIssuerResponse

func ParseDeleteIssuerResponse(rsp *http.Response) (*DeleteIssuerResponse, error)

ParseDeleteIssuerResponse parses an HTTP response from a DeleteIssuerWithResponse call

func (DeleteIssuerResponse) ContentType

func (r DeleteIssuerResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteIssuerResponse) Status

func (r DeleteIssuerResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteIssuerResponse) StatusCode

func (r DeleteIssuerResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteLogoParams

type DeleteLogoParams struct {
	APIVersion *DeleteLogoParamsAPIVersion `json:"API-Version,omitempty"`
}

DeleteLogoParams defines parameters for DeleteLogo.

type DeleteLogoParamsAPIVersion

type DeleteLogoParamsAPIVersion string

DeleteLogoParamsAPIVersion defines parameters for DeleteLogo.

const (
	DeleteLogoParamsAPIVersionV1 DeleteLogoParamsAPIVersion = "v1"
)

Defines values for DeleteLogoParamsAPIVersion.

func (DeleteLogoParamsAPIVersion) Valid

func (e DeleteLogoParamsAPIVersion) Valid() bool

Valid indicates whether the value is a known member of the DeleteLogoParamsAPIVersion enum.

type DeleteLogoResponse

type DeleteLogoResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseDeleteLogoResponse

func ParseDeleteLogoResponse(rsp *http.Response) (*DeleteLogoResponse, error)

ParseDeleteLogoResponse parses an HTTP response from a DeleteLogoWithResponse call

func (DeleteLogoResponse) ContentType

func (r DeleteLogoResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteLogoResponse) Status

func (r DeleteLogoResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteLogoResponse) StatusCode

func (r DeleteLogoResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteReceiverParams

type DeleteReceiverParams struct {
	APIVersion *DeleteReceiverParamsAPIVersion `json:"API-Version,omitempty"`
}

DeleteReceiverParams defines parameters for DeleteReceiver.

type DeleteReceiverParamsAPIVersion

type DeleteReceiverParamsAPIVersion string

DeleteReceiverParamsAPIVersion defines parameters for DeleteReceiver.

const (
	DeleteReceiverParamsAPIVersionV1 DeleteReceiverParamsAPIVersion = "v1"
)

Defines values for DeleteReceiverParamsAPIVersion.

func (DeleteReceiverParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the DeleteReceiverParamsAPIVersion enum.

type DeleteReceiverResponse

type DeleteReceiverResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseDeleteReceiverResponse

func ParseDeleteReceiverResponse(rsp *http.Response) (*DeleteReceiverResponse, error)

ParseDeleteReceiverResponse parses an HTTP response from a DeleteReceiverWithResponse call

func (DeleteReceiverResponse) ContentType

func (r DeleteReceiverResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteReceiverResponse) Status

func (r DeleteReceiverResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteReceiverResponse) StatusCode

func (r DeleteReceiverResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteWebhookParams

type DeleteWebhookParams struct {
	APIVersion *DeleteWebhookParamsAPIVersion `json:"API-Version,omitempty"`
}

DeleteWebhookParams defines parameters for DeleteWebhook.

type DeleteWebhookParamsAPIVersion

type DeleteWebhookParamsAPIVersion string

DeleteWebhookParamsAPIVersion defines parameters for DeleteWebhook.

const (
	DeleteWebhookParamsAPIVersionV1 DeleteWebhookParamsAPIVersion = "v1"
)

Defines values for DeleteWebhookParamsAPIVersion.

func (DeleteWebhookParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the DeleteWebhookParamsAPIVersion enum.

type DeleteWebhookResponse

type DeleteWebhookResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseDeleteWebhookResponse

func ParseDeleteWebhookResponse(rsp *http.Response) (*DeleteWebhookResponse, error)

ParseDeleteWebhookResponse parses an HTTP response from a DeleteWebhookWithResponse call

func (DeleteWebhookResponse) ContentType

func (r DeleteWebhookResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteWebhookResponse) Status

func (r DeleteWebhookResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteWebhookResponse) StatusCode

func (r DeleteWebhookResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DocumentAdditionalInformationDto

type DocumentAdditionalInformationDto struct {
	ContentEntries *[]AdditionalInformationEntryDto `json:"contentEntries,omitempty"`
	TextEntries    *[]AdditionalInformationEntryDto `json:"textEntries,omitempty"`
}

DocumentAdditionalInformationDto defines model for DocumentAdditionalInformationDto.

type DocumentBundleItemDto

type DocumentBundleItemDto struct {
	CabysCode                string                           `json:"cabysCode"`
	ClientExonerationId      *int64                           `json:"clientExonerationId,omitempty"`
	CommercialCode           *[]DocumentItemCommercialCodeDto `json:"commercialCode,omitempty"`
	CommercialUnitOfMeasure  *string                          `json:"commercialUnitOfMeasure,omitempty"`
	Detail                   string                           `json:"detail"`
	Discount                 *[]DocumentItemDiscountDto       `json:"discount,omitempty"`
	Quantity                 Decimal                          `json:"quantity"`
	SubTotal                 Decimal                          `json:"subTotal"`
	Tax                      []DocumentItemTaxDto             `json:"tax"`
	TaxableBase              Decimal                          `json:"taxableBase"`
	TotalAmount              Decimal                          `json:"totalAmount"`
	UnitOfMeasure            string                           `json:"unitOfMeasure"`
	UnitPrice                Decimal                          `json:"unitPrice"`
	VatChargedByManufacturer *string                          `json:"vatChargedByManufacturer,omitempty"`
}

DocumentBundleItemDto defines model for DocumentBundleItemDto.

type DocumentCurrencyDto

type DocumentCurrencyDto struct {
	CurrencyCode string  `json:"currencyCode"`
	ExchangeRate Decimal `json:"exchangeRate"`
}

DocumentCurrencyDto defines model for DocumentCurrencyDto.

type DocumentItemAccountingClassificationRequest

type DocumentItemAccountingClassificationRequest struct {
	// VatCreditType Clasificacion de credito IVA.
	VatCreditType *DocumentItemAccountingClassificationRequestVatCreditType `json:"vat_credit_type,omitempty"`

	// VatExemptionType Tipo de exencion IVA.
	VatExemptionType *DocumentItemAccountingClassificationRequestVatExemptionType `json:"vat_exemption_type,omitempty"`

	// VatUsageType Uso fiscal de la linea.
	VatUsageType *DocumentItemAccountingClassificationRequestVatUsageType `json:"vat_usage_type,omitempty"`
}

DocumentItemAccountingClassificationRequest defines model for DocumentItemAccountingClassificationRequest.

type DocumentItemAccountingClassificationRequestVatCreditType

type DocumentItemAccountingClassificationRequestVatCreditType string

DocumentItemAccountingClassificationRequestVatCreditType Clasificacion de credito IVA.

Defines values for DocumentItemAccountingClassificationRequestVatCreditType.

func (DocumentItemAccountingClassificationRequestVatCreditType) Valid

Valid indicates whether the value is a known member of the DocumentItemAccountingClassificationRequestVatCreditType enum.

type DocumentItemAccountingClassificationRequestVatExemptionType

type DocumentItemAccountingClassificationRequestVatExemptionType string

DocumentItemAccountingClassificationRequestVatExemptionType Tipo de exencion IVA.

func (DocumentItemAccountingClassificationRequestVatExemptionType) Valid

Valid indicates whether the value is a known member of the DocumentItemAccountingClassificationRequestVatExemptionType enum.

type DocumentItemAccountingClassificationRequestVatUsageType

type DocumentItemAccountingClassificationRequestVatUsageType string

DocumentItemAccountingClassificationRequestVatUsageType Uso fiscal de la linea.

Defines values for DocumentItemAccountingClassificationRequestVatUsageType.

func (DocumentItemAccountingClassificationRequestVatUsageType) Valid

Valid indicates whether the value is a known member of the DocumentItemAccountingClassificationRequestVatUsageType enum.

type DocumentItemAccountingClassificationResponse

type DocumentItemAccountingClassificationResponse struct {
	CreatedAt        *time.Time `json:"createdAt,omitempty"`
	DocumentItemId   *int64     `json:"documentItemId,omitempty"`
	Id               *int64     `json:"id,omitempty"`
	UpdatedAt        *time.Time `json:"updatedAt,omitempty"`
	VatCreditType    *string    `json:"vatCreditType,omitempty"`
	VatExemptionType *string    `json:"vatExemptionType,omitempty"`
	VatUsageType     *string    `json:"vatUsageType,omitempty"`
}

DocumentItemAccountingClassificationResponse defines model for DocumentItemAccountingClassificationResponse.

type DocumentItemBundleItemRequest

type DocumentItemBundleItemRequest struct {
	CabysCode                string                               `json:"cabysCode"`
	ClientExonerationId      *int64                               `json:"clientExonerationId,omitempty"`
	CommercialCodes          *[]DocumentItemCommercialCodeRequest `json:"commercialCodes,omitempty"`
	CommercialUnitOfMeasure  *string                              `json:"commercialUnitOfMeasure,omitempty"`
	Description              string                               `json:"description"`
	Discounts                *[]DocumentItemDiscountRequest       `json:"discounts,omitempty"`
	Quantity                 Decimal                              `json:"quantity"`
	Taxes                    *[]TaxRequest                        `json:"taxes,omitempty"`
	UnitOfMeasure            string                               `json:"unitOfMeasure"`
	UnitPrice                Decimal                              `json:"unitPrice"`
	VatChargedByManufacturer *string                              `json:"vatChargedByManufacturer,omitempty"`
}

DocumentItemBundleItemRequest defines model for DocumentItemBundleItemRequest.

type DocumentItemCommercialCodeDto

type DocumentItemCommercialCodeDto struct {
	Code     string `json:"code"`
	CodeType string `json:"codeType"`
}

DocumentItemCommercialCodeDto defines model for DocumentItemCommercialCodeDto.

type DocumentItemCommercialCodeRequest

type DocumentItemCommercialCodeRequest struct {
	Code     string `json:"code"`
	CodeType string `json:"codeType"`
}

DocumentItemCommercialCodeRequest defines model for DocumentItemCommercialCodeRequest.

type DocumentItemDiscountDto

type DocumentItemDiscountDto struct {
	DiscountAmount    Decimal `json:"discountAmount"`
	DiscountCode      string  `json:"discountCode"`
	DiscountCodeOther *string `json:"discountCodeOther,omitempty"`
	DiscountNature    *string `json:"discountNature,omitempty"`
}

DocumentItemDiscountDto defines model for DocumentItemDiscountDto.

type DocumentItemDiscountRequest

type DocumentItemDiscountRequest struct {
	// DiscountAmount Monto del descuento.
	DiscountAmount Decimal `json:"discountAmount"`

	// DiscountCode Codigo Hacienda del descuento. Use 99 para otros y envie discountCodeOther.
	DiscountCode string `json:"discountCode"`

	// DiscountCodeOther Opcional por defecto. Requerido cuando discountCode=99.
	DiscountCodeOther *string `json:"discountCodeOther,omitempty"`

	// DiscountNature Naturaleza o motivo del descuento.
	DiscountNature *string `json:"discountNature,omitempty"`
}

DocumentItemDiscountRequest Descuento aplicado a una linea de detalle.

type DocumentItemDto

type DocumentItemDto struct {
	BundleDetailLine          []DocumentBundleItemDto          `json:"bundleDetailLine"`
	CabysCode                 string                           `json:"cabysCode"`
	ClientExonerationId       *int64                           `json:"clientExonerationId,omitempty"`
	CommercialCode            *[]DocumentItemCommercialCodeDto `json:"commercialCode,omitempty"`
	CommercialUnitOfMeasure   *string                          `json:"commercialUnitOfMeasure,omitempty"`
	Detail                    string                           `json:"detail"`
	Discount                  *[]DocumentItemDiscountDto       `json:"discount,omitempty"`
	LineNumber                string                           `json:"lineNumber"`
	MedicineRegistry          *string                          `json:"medicineRegistry,omitempty"`
	NetTax                    *Decimal                         `json:"netTax,omitempty"`
	PharmaceuticalForm        *string                          `json:"pharmaceuticalForm,omitempty"`
	Quantity                  Decimal                          `json:"quantity"`
	SubTotal                  *Decimal                         `json:"subTotal,omitempty"`
	TariffHeading             *string                          `json:"tariffHeading,omitempty"`
	Tax                       []DocumentItemTaxDto             `json:"tax"`
	TaxAssumedByIssuerFactory Decimal                          `json:"taxAssumedByIssuerFactory"`
	TaxableBase               *Decimal                         `json:"taxableBase,omitempty"`
	TotalAmount               *Decimal                         `json:"totalAmount,omitempty"`
	TotalLineAmount           *Decimal                         `json:"totalLineAmount,omitempty"`
	TransactionType           *string                          `json:"transactionType,omitempty"`
	UnitOfMeasure             string                           `json:"unitOfMeasure"`
	UnitPrice                 Decimal                          `json:"unitPrice"`
	VatChargedAtFactory       *string                          `json:"vatChargedAtFactory,omitempty"`
	VinOrSerialNumber         *[]string                        `json:"vinOrSerialNumber,omitempty"`
}

DocumentItemDto defines model for DocumentItemDto.

type DocumentItemRequest

type DocumentItemRequest struct {
	// BundleDetailLines Opcional. Usar solo para paquetes, surtidos o combos; maximo 20 sub-items.
	BundleDetailLines *[]DocumentItemBundleItemRequest `json:"bundleDetailLines,omitempty"`

	// CabysCode Codigo CAByS de 13 digitos del producto o servicio.
	CabysCode string `json:"cabysCode"`

	// ClientExonerationId Opcional. ID de exoneracion verificada del cliente para aplicar en esta linea.
	ClientExonerationId *int64 `json:"clientExonerationId,omitempty"`

	// CommercialCodes Opcional por defecto. Requerido para lineas de surtido habilitadas en CAByS; maximo 5.
	CommercialCodes *[]DocumentItemCommercialCodeRequest `json:"commercialCodes,omitempty"`

	// CommercialUnitOfMeasure Opcional. Unidad comercial visible para el negocio.
	CommercialUnitOfMeasure *string `json:"commercialUnitOfMeasure,omitempty"`

	// Description Descripcion del producto o servicio.
	Description string `json:"description"`

	// Discounts Opcional. Descuentos de linea; si discountCode=99, discountCodeOther es requerido.
	Discounts *[]DocumentItemDiscountRequest `json:"discounts,omitempty"`

	// LineNumber Numero de linea dentro del documento.
	LineNumber int32 `json:"lineNumber"`

	// MedicineRegistry Opcional por defecto. Requerido cuando el codigo CAByS corresponde a medicamento.
	MedicineRegistry *string `json:"medicineRegistry,omitempty"`

	// PharmaceuticalForm Opcional por defecto. Requerido cuando el codigo CAByS corresponde a medicamento y se debe informar forma farmaceutica.
	PharmaceuticalForm *string `json:"pharmaceuticalForm,omitempty"`

	// Quantity Cantidad facturada.
	Quantity Decimal `json:"quantity"`

	// TariffHeading Opcional. Partida arancelaria de 12 digitos cuando aplica.
	TariffHeading *string `json:"tariffHeading,omitempty"`

	// TaxAssumedByIssuerFactory Opcional. Impuesto asumido por emisor/fabrica cuando aplique.
	TaxAssumedByIssuerFactory *Decimal `json:"taxAssumedByIssuerFactory,omitempty"`

	// Taxes Opcional. Impuestos de la linea. Requerido cuando el item esta gravado.
	Taxes *[]TaxRequest `json:"taxes,omitempty"`

	// TransactionType Opcional. Codigo de tipo de transaccion cuando aplica por normativa v4.4.
	TransactionType *string `json:"transactionType,omitempty"`

	// UnitOfMeasure Unidad de medida del catalogo Hacienda.
	UnitOfMeasure string `json:"unitOfMeasure"`

	// UnitPrice Precio unitario sin impuestos.
	UnitPrice Decimal `json:"unitPrice"`

	// VatChargedAtFactory Opcional. Requerido por Hacienda para casos especificos de IVA cobrado a nivel de fabrica.
	VatChargedAtFactory *DocumentItemRequestVatChargedAtFactory `json:"vatChargedAtFactory,omitempty"`

	// VinOrSerialNumbers Opcional por defecto. Requerido cuando el codigo CAByS corresponde a medios de transporte; cada valor maximo 17 caracteres.
	VinOrSerialNumbers *[]string `json:"vinOrSerialNumbers,omitempty"`
}

DocumentItemRequest Linea de detalle de un documento electronico.

type DocumentItemRequestVatChargedAtFactory

type DocumentItemRequestVatChargedAtFactory string

DocumentItemRequestVatChargedAtFactory Opcional. Requerido por Hacienda para casos especificos de IVA cobrado a nivel de fabrica.

const (
	DocumentItemRequestVatChargedAtFactoryN01 DocumentItemRequestVatChargedAtFactory = "01"
	DocumentItemRequestVatChargedAtFactoryN02 DocumentItemRequestVatChargedAtFactory = "02"
)

Defines values for DocumentItemRequestVatChargedAtFactory.

func (DocumentItemRequestVatChargedAtFactory) Valid

Valid indicates whether the value is a known member of the DocumentItemRequestVatChargedAtFactory enum.

type DocumentItemTaxDto

type DocumentItemTaxDto struct {
	Amount               *Decimal                       `json:"amount,omitempty"`
	Exoneration          *DocumentItemTaxExonerationDto `json:"exoneration,omitempty"`
	Rate                 *Decimal                       `json:"rate,omitempty"`
	SpecificTaxData      *SpecificTaxDataDto            `json:"specificTaxData,omitempty"`
	TaxCalculationBase   *Decimal                       `json:"taxCalculationBase,omitempty"`
	TaxCode              string                         `json:"taxCode"`
	TaxCodeOther         *string                        `json:"taxCodeOther,omitempty"`
	VatCalculationFactor *Decimal                       `json:"vatCalculationFactor,omitempty"`
	VatRateCode          *string                        `json:"vatRateCode,omitempty"`
}

DocumentItemTaxDto defines model for DocumentItemTaxDto.

type DocumentItemTaxExonerationDto

type DocumentItemTaxExonerationDto struct {
	Article              *string   `json:"article,omitempty"`
	Clause               *string   `json:"clause,omitempty"`
	ClientExonerationId  *int64    `json:"clientExonerationId,omitempty"`
	DocumentNumber       string    `json:"documentNumber"`
	DocumentType         string    `json:"documentType"`
	DocumentTypeOther    *string   `json:"documentTypeOther,omitempty"`
	ExoneratedRate       Decimal   `json:"exoneratedRate"`
	ExonerationAmount    Decimal   `json:"exonerationAmount"`
	InstitutionName      string    `json:"institutionName"`
	InstitutionNameOther *string   `json:"institutionNameOther,omitempty"`
	IssuedAt             time.Time `json:"issuedAt"`
}

DocumentItemTaxExonerationDto defines model for DocumentItemTaxExonerationDto.

type DocumentOtherChargeDto

type DocumentOtherChargeDto struct {
	ChargeAmount             Decimal                 `json:"chargeAmount"`
	Detail                   string                  `json:"detail"`
	DocumentType             string                  `json:"documentType"`
	DocumentTypeOther        *string                 `json:"documentTypeOther,omitempty"`
	Percentage               *Decimal                `json:"percentage,omitempty"`
	ThirdPartyIdentification *LegalIdentificationDto `json:"thirdPartyIdentification,omitempty"`
	ThirdPartyName           *string                 `json:"thirdPartyName,omitempty"`
}

DocumentOtherChargeDto defines model for DocumentOtherChargeDto.

type DocumentOtherRequest

type DocumentOtherRequest struct {
	ContentEntries *[]AdditionalInformationEntryRequest `json:"contentEntries,omitempty"`
	TextEntries    *[]AdditionalInformationEntryRequest `json:"textEntries,omitempty"`
}

DocumentOtherRequest defines model for DocumentOtherRequest.

type DocumentPaymentApplicationRequest

type DocumentPaymentApplicationRequest struct {
	Amount     Decimal `json:"amount"`
	DocumentId int64   `json:"documentId"`
	Notes      *string `json:"notes,omitempty"`
}

DocumentPaymentApplicationRequest defines model for DocumentPaymentApplicationRequest.

type DocumentPaymentApplicationResponse

type DocumentPaymentApplicationResponse struct {
	Amount      *Decimal   `json:"amount,omitempty"`
	AppliedAt   *time.Time `json:"appliedAt,omitempty"`
	AppliedBy   *string    `json:"appliedBy,omitempty"`
	Consecutive *string    `json:"consecutive,omitempty"`
	DocumentId  *int64     `json:"documentId,omitempty"`
	DocumentKey *string    `json:"documentKey,omitempty"`
	Id          *int64     `json:"id,omitempty"`
	IsVoided    *bool      `json:"isVoided,omitempty"`
	Notes       *string    `json:"notes,omitempty"`
	PaymentId   *int64     `json:"paymentId,omitempty"`
	VoidReason  *string    `json:"voidReason,omitempty"`
	VoidedAt    *time.Time `json:"voidedAt,omitempty"`
	VoidedBy    *string    `json:"voidedBy,omitempty"`
}

DocumentPaymentApplicationResponse defines model for DocumentPaymentApplicationResponse.

type DocumentPaymentApplyRequest

type DocumentPaymentApplyRequest struct {
	Applications []DocumentPaymentApplicationRequest `json:"applications"`
	AppliedBy    *string                             `json:"appliedBy,omitempty"`
}

DocumentPaymentApplyRequest defines model for DocumentPaymentApplyRequest.

type DocumentPaymentCreateRequest

type DocumentPaymentCreateRequest struct {
	Amount          Decimal                                      `json:"amount"`
	ApplicationMode *DocumentPaymentCreateRequestApplicationMode `json:"applicationMode,omitempty"`
	Applications    *[]DocumentPaymentApplicationRequest         `json:"applications,omitempty"`
	ClientId        int64                                        `json:"clientId"`
	Currency        DocumentPaymentCreateRequestCurrency         `json:"currency"`
	Notes           *string                                      `json:"notes,omitempty"`
	PaymentDate     *time.Time                                   `json:"paymentDate,omitempty"`
	PaymentMethod   *string                                      `json:"paymentMethod,omitempty"`
	ReceivedBy      *string                                      `json:"receivedBy,omitempty"`
	ReferenceNumber *string                                      `json:"referenceNumber,omitempty"`
}

DocumentPaymentCreateRequest defines model for DocumentPaymentCreateRequest.

type DocumentPaymentCreateRequestApplicationMode

type DocumentPaymentCreateRequestApplicationMode string

DocumentPaymentCreateRequestApplicationMode defines model for DocumentPaymentCreateRequest.ApplicationMode.

Defines values for DocumentPaymentCreateRequestApplicationMode.

func (DocumentPaymentCreateRequestApplicationMode) Valid

Valid indicates whether the value is a known member of the DocumentPaymentCreateRequestApplicationMode enum.

type DocumentPaymentCreateRequestCurrency

type DocumentPaymentCreateRequestCurrency string

DocumentPaymentCreateRequestCurrency defines model for DocumentPaymentCreateRequest.Currency.

const (
	DocumentPaymentCreateRequestCurrencyCRC DocumentPaymentCreateRequestCurrency = "CRC"
	DocumentPaymentCreateRequestCurrencyEUR DocumentPaymentCreateRequestCurrency = "EUR"
	DocumentPaymentCreateRequestCurrencyUSD DocumentPaymentCreateRequestCurrency = "USD"
)

Defines values for DocumentPaymentCreateRequestCurrency.

func (DocumentPaymentCreateRequestCurrency) Valid

Valid indicates whether the value is a known member of the DocumentPaymentCreateRequestCurrency enum.

type DocumentPaymentMethodDto

type DocumentPaymentMethodDto struct {
	Amount           *Decimal                            `json:"amount,omitempty"`
	Id               *int64                              `json:"id,omitempty"`
	OtherDescription *string                             `json:"otherDescription,omitempty"`
	PaymentType      DocumentPaymentMethodDtoPaymentType `json:"paymentType"`
}

DocumentPaymentMethodDto defines model for DocumentPaymentMethodDto.

type DocumentPaymentMethodDtoPaymentType

type DocumentPaymentMethodDtoPaymentType string

DocumentPaymentMethodDtoPaymentType defines model for DocumentPaymentMethodDto.PaymentType.

const (
	BANKTRANSFER         DocumentPaymentMethodDtoPaymentType = "BANK_TRANSFER"
	CARD                 DocumentPaymentMethodDtoPaymentType = "CARD"
	CASH                 DocumentPaymentMethodDtoPaymentType = "CASH"
	CHECK                DocumentPaymentMethodDtoPaymentType = "CHECK"
	DIGITALPLATFORM      DocumentPaymentMethodDtoPaymentType = "DIGITAL_PLATFORM"
	OTHERS               DocumentPaymentMethodDtoPaymentType = "OTHERS"
	SINPEMOBILE          DocumentPaymentMethodDtoPaymentType = "SINPE_MOBILE"
	THIRDPARTYCOLLECTION DocumentPaymentMethodDtoPaymentType = "THIRD_PARTY_COLLECTION"
)

Defines values for DocumentPaymentMethodDtoPaymentType.

func (DocumentPaymentMethodDtoPaymentType) Valid

Valid indicates whether the value is a known member of the DocumentPaymentMethodDtoPaymentType enum.

type DocumentPaymentMethodRequest

type DocumentPaymentMethodRequest struct {
	// Amount Opcional. Monto pagado con este medio cuando se requiere distribuir pagos.
	Amount *Decimal `json:"amount,omitempty"`

	// OtherDescription Opcional por defecto. Requerido cuando paymentType=99.
	OtherDescription *string `json:"otherDescription,omitempty"`

	// PaymentType Codigo Hacienda del medio de pago. Use 99 para otros y envie otherDescription.
	PaymentType string `json:"paymentType"`
}

DocumentPaymentMethodRequest Medio de pago del documento.

type DocumentPaymentResponse

type DocumentPaymentResponse struct {
	Amount          *Decimal                              `json:"amount,omitempty"`
	Applications    *[]DocumentPaymentApplicationResponse `json:"applications,omitempty"`
	AppliedAmount   *Decimal                              `json:"appliedAmount,omitempty"`
	AvailableAmount *Decimal                              `json:"availableAmount,omitempty"`
	ClientId        *int64                                `json:"clientId,omitempty"`
	ClientName      *string                               `json:"clientName,omitempty"`
	CreatedAt       *time.Time                            `json:"createdAt,omitempty"`
	Currency        *DocumentPaymentResponseCurrency      `json:"currency,omitempty"`
	Id              *int64                                `json:"id,omitempty"`
	IsVoided        *bool                                 `json:"isVoided,omitempty"`
	Notes           *string                               `json:"notes,omitempty"`
	PaymentDate     *time.Time                            `json:"paymentDate,omitempty"`
	PaymentMethod   *string                               `json:"paymentMethod,omitempty"`
	ReceivedBy      *string                               `json:"receivedBy,omitempty"`
	ReferenceNumber *string                               `json:"referenceNumber,omitempty"`
	UpdatedAt       *time.Time                            `json:"updatedAt,omitempty"`
	VoidReason      *string                               `json:"voidReason,omitempty"`
	VoidedAt        *time.Time                            `json:"voidedAt,omitempty"`
	VoidedBy        *string                               `json:"voidedBy,omitempty"`
}

DocumentPaymentResponse defines model for DocumentPaymentResponse.

type DocumentPaymentResponseCurrency

type DocumentPaymentResponseCurrency string

DocumentPaymentResponseCurrency defines model for DocumentPaymentResponse.Currency.

const (
	DocumentPaymentResponseCurrencyCRC DocumentPaymentResponseCurrency = "CRC"
	DocumentPaymentResponseCurrencyEUR DocumentPaymentResponseCurrency = "EUR"
	DocumentPaymentResponseCurrencyUSD DocumentPaymentResponseCurrency = "USD"
)

Defines values for DocumentPaymentResponseCurrency.

func (DocumentPaymentResponseCurrency) Valid

Valid indicates whether the value is a known member of the DocumentPaymentResponseCurrency enum.

type DocumentPaymentStatementDocumentResponse

type DocumentPaymentStatementDocumentResponse struct {
	AmountPaid     *Decimal                                          `json:"amountPaid,omitempty"`
	AmountPending  *Decimal                                          `json:"amountPending,omitempty"`
	Consecutive    *string                                           `json:"consecutive,omitempty"`
	Currency       *DocumentPaymentStatementDocumentResponseCurrency `json:"currency,omitempty"`
	DaysOverdue    *int64                                            `json:"daysOverdue,omitempty"`
	DocumentId     *int64                                            `json:"documentId,omitempty"`
	DocumentKey    *string                                           `json:"documentKey,omitempty"`
	DocumentTotal  *Decimal                                          `json:"documentTotal,omitempty"`
	IssueDate      *time.Time                                        `json:"issueDate,omitempty"`
	Overdue        *bool                                             `json:"overdue,omitempty"`
	PaymentDueDate *time.Time                                        `json:"paymentDueDate,omitempty"`
}

DocumentPaymentStatementDocumentResponse defines model for DocumentPaymentStatementDocumentResponse.

type DocumentPaymentStatementDocumentResponseCurrency

type DocumentPaymentStatementDocumentResponseCurrency string

DocumentPaymentStatementDocumentResponseCurrency defines model for DocumentPaymentStatementDocumentResponse.Currency.

const (
	DocumentPaymentStatementDocumentResponseCurrencyCRC DocumentPaymentStatementDocumentResponseCurrency = "CRC"
	DocumentPaymentStatementDocumentResponseCurrencyEUR DocumentPaymentStatementDocumentResponseCurrency = "EUR"
	DocumentPaymentStatementDocumentResponseCurrencyUSD DocumentPaymentStatementDocumentResponseCurrency = "USD"
)

Defines values for DocumentPaymentStatementDocumentResponseCurrency.

func (DocumentPaymentStatementDocumentResponseCurrency) Valid

Valid indicates whether the value is a known member of the DocumentPaymentStatementDocumentResponseCurrency enum.

type DocumentPaymentStatementResponse

type DocumentPaymentStatementResponse struct {
	Applications      *[]DocumentPaymentApplicationResponse       `json:"applications,omitempty"`
	AvailableAmount   *Decimal                                    `json:"availableAmount,omitempty"`
	AvailablePayments *[]DocumentPaymentResponse                  `json:"availablePayments,omitempty"`
	ClientId          *int64                                      `json:"clientId,omitempty"`
	ClientName        *string                                     `json:"clientName,omitempty"`
	OverdueAmount     *Decimal                                    `json:"overdueAmount,omitempty"`
	PendingAmount     *Decimal                                    `json:"pendingAmount,omitempty"`
	PendingDocuments  *[]DocumentPaymentStatementDocumentResponse `json:"pendingDocuments,omitempty"`
}

DocumentPaymentStatementResponse defines model for DocumentPaymentStatementResponse.

type DocumentPaymentVoidRequest

type DocumentPaymentVoidRequest struct {
	Reason   string  `json:"reason"`
	VoidedBy *string `json:"voidedBy,omitempty"`
}

DocumentPaymentVoidRequest defines model for DocumentPaymentVoidRequest.

type DocumentReferenceInformationDto

type DocumentReferenceInformationDto struct {
	Code               *string   `json:"code,omitempty"`
	DocumentType       string    `json:"documentType"`
	DocumentTypeOther  *string   `json:"documentTypeOther,omitempty"`
	IssuedAt           time.Time `json:"issuedAt"`
	Number             *string   `json:"number,omitempty"`
	Reason             *string   `json:"reason,omitempty"`
	ReferenceCodeOther *string   `json:"referenceCodeOther,omitempty"`
}

DocumentReferenceInformationDto defines model for DocumentReferenceInformationDto.

type DocumentReferenceRequest

type DocumentReferenceRequest struct {
	// Code Codigo Hacienda de la razon de referencia. Use 99 para otros y envie referenceCodeOther.
	Code *string `json:"code,omitempty"`

	// DocumentType Codigo Hacienda del documento referenciado. Use 99 para otros y envie documentTypeOther.
	DocumentType string `json:"documentType"`

	// DocumentTypeOther Opcional por defecto. Requerido cuando documentType=99.
	DocumentTypeOther *string `json:"documentTypeOther,omitempty"`

	// IssuedAt Fecha de emision del documento referenciado.
	IssuedAt openapi_types.Date `json:"issuedAt"`

	// Number Opcional. Clave de 50 digitos o numero consecutivo del documento referenciado.
	Number *string `json:"number,omitempty"`

	// Reason Opcional. Razon libre de la referencia.
	Reason *string `json:"reason,omitempty"`

	// ReferenceCodeOther Opcional por defecto. Requerido cuando code=99.
	ReferenceCodeOther *string `json:"referenceCodeOther,omitempty"`
}

DocumentReferenceRequest Referencia a otro documento. Usada principalmente en notas de credito/debito.

type DocumentRequest

type DocumentRequest struct {
	// BranchCode Codigo manual de sucursal. Opcional y de compatibilidad; preferir branchId/cashRegisterId.
	BranchCode *string `json:"branchCode,omitempty"`

	// BranchId Opcional. Si se envia sin cashRegisterId, se usa la caja default de esta sucursal.
	BranchId *int64 `json:"branchId,omitempty"`

	// CashRegisterId Opcional. Si se envia, la sucursal se deriva de la caja y se guardan los codigos historicos.
	CashRegisterId *int64 `json:"cashRegisterId,omitempty"`

	// CreditTerm Opcional por defecto. Requerido cuando saleCondition=02; representa dias de credito.
	CreditTerm *int32 `json:"creditTerm,omitempty"`

	// Currency Moneda ISO 4217. Opcional por defecto: CRC.
	Currency *DocumentRequestCurrency `json:"currency,omitempty"`

	// ExchangeRate Opcional cuando currency=CRC, donde se usa 1.00000. Requerido cuando currency no es CRC.
	ExchangeRate *Decimal `json:"exchangeRate,omitempty"`

	// IssuerActivityCode Codigo CIIU4 del emisor. Requerido para factura electronica, factura de exportacion, factura de compra y tiquete; opcional para notas cuando puede derivarse del tenant.
	IssuerActivityCode *string `json:"issuerActivityCode,omitempty"`

	// Items Lineas de detalle del documento. Requerido: al menos 1 item; maximo 1000.
	Items []DocumentItemRequest `json:"items"`
	Other *DocumentOtherRequest `json:"other,omitempty"`

	// OtherCharges Opcional. Otros cargos adicionales; maximo 15.
	OtherCharges *[]OtherChargeRequest `json:"otherCharges,omitempty"`

	// PaymentMethods Opcional por defecto; requerido para tipos de documento que exigen medio de pago. Maximo 4.
	PaymentMethods *[]DocumentPaymentMethodRequest `json:"paymentMethods,omitempty"`

	// ReceiverActivityCode Codigo CIIU4 del receptor. Opcional para FE/FEC/NC/ND y derivable del receptor; no debe enviarse en factura de exportacion ni tiquete.
	ReceiverActivityCode *string `json:"receiverActivityCode,omitempty"`

	// ReceiverId ID del receptor del cliente. Requerido para FE, NC, ND y otros documentos con receptor; omitido en casos donde Hacienda no permite receptor.
	ReceiverId *int64 `json:"receiverId,omitempty"`

	// ReferenceInformation Opcional por defecto. Para notas de credito/debito con documento especifico, incluir referencia al documento original; maximo 10.
	ReferenceInformation *[]DocumentReferenceRequest `json:"referenceInformation,omitempty"`

	// SaleCondition Condicion de venta. Opcional por defecto: 01 contado. Use 02 para credito y 99 para otros.
	SaleCondition *string `json:"saleCondition,omitempty"`

	// SaleConditionOther Opcional por defecto. Requerido cuando saleCondition=99.
	SaleConditionOther *string `json:"saleConditionOther,omitempty"`

	// Situation Situacion del comprobante: 1 normal, 2 contingencia, 3 sin internet. Opcional por defecto: 1.
	Situation *string `json:"situation,omitempty"`

	// TerminalCode Codigo manual de caja. Opcional y de compatibilidad; preferir branchId/cashRegisterId.
	TerminalCode *string `json:"terminalCode,omitempty"`

	// Type Asignado por el endpoint, no enviar en el body.
	Type *DocumentRequestType `json:"type,omitempty"`
}

DocumentRequest Solicitud base para emitir documentos electronicos. El tipo de documento se define por el endpoint usado.

type DocumentRequestCurrency

type DocumentRequestCurrency string

DocumentRequestCurrency Moneda ISO 4217. Opcional por defecto: CRC.

const (
	DocumentRequestCurrencyCRC DocumentRequestCurrency = "CRC"
	DocumentRequestCurrencyEUR DocumentRequestCurrency = "EUR"
	DocumentRequestCurrencyUSD DocumentRequestCurrency = "USD"
)

Defines values for DocumentRequestCurrency.

func (DocumentRequestCurrency) Valid

func (e DocumentRequestCurrency) Valid() bool

Valid indicates whether the value is a known member of the DocumentRequestCurrency enum.

type DocumentRequestType

type DocumentRequestType string

DocumentRequestType Asignado por el endpoint, no enviar en el body.

const (
	DocumentRequestTypeCREDITNOTE               DocumentRequestType = "CREDIT_NOTE"
	DocumentRequestTypeDEBITNOTE                DocumentRequestType = "DEBIT_NOTE"
	DocumentRequestTypeELECTRONICPAYMENTRECEIPT DocumentRequestType = "ELECTRONIC_PAYMENT_RECEIPT"
	DocumentRequestTypeEXPORTINVOICE            DocumentRequestType = "EXPORT_INVOICE"
	DocumentRequestTypeINVOICE                  DocumentRequestType = "INVOICE"
	DocumentRequestTypePURCHASEINVOICE          DocumentRequestType = "PURCHASE_INVOICE"
	DocumentRequestTypeRECEIPT                  DocumentRequestType = "RECEIPT"
	DocumentRequestTypeRECEIVERMESSAGE          DocumentRequestType = "RECEIVER_MESSAGE"
)

Defines values for DocumentRequestType.

func (DocumentRequestType) Valid

func (e DocumentRequestType) Valid() bool

Valid indicates whether the value is a known member of the DocumentRequestType enum.

type DocumentResponse

type DocumentResponse struct {
	AcceptedByHaciendaAt      *time.Time                                 `json:"acceptedByHaciendaAt,omitempty"`
	AmountPaid                *Decimal                                   `json:"amountPaid,omitempty"`
	AmountPending             *Decimal                                   `json:"amountPending,omitempty"`
	BranchCode                *string                                    `json:"branchCode,omitempty"`
	Consecutive               *string                                    `json:"consecutive,omitempty"`
	CreatedAt                 *time.Time                                 `json:"createdAt,omitempty"`
	CreditTerm                *int32                                     `json:"creditTerm,omitempty"`
	Currency                  *DocumentResponseCurrency                  `json:"currency,omitempty"`
	DaysOverdue               *int64                                     `json:"daysOverdue,omitempty"`
	DocumentKey               *string                                    `json:"documentKey,omitempty"`
	DocumentSummary           *DocumentSummaryDto                        `json:"documentSummary,omitempty"`
	DocumentTotal             *Decimal                                   `json:"documentTotal,omitempty"`
	ExchangeRate              *Decimal                                   `json:"exchangeRate,omitempty"`
	Id                        *int64                                     `json:"id,omitempty"`
	IsPaid                    *bool                                      `json:"isPaid,omitempty"`
	IssueDate                 *time.Time                                 `json:"issueDate,omitempty"`
	Items                     *[]DocumentItemDto                         `json:"items,omitempty"`
	NotDueBalance             *Decimal                                   `json:"notDueBalance,omitempty"`
	Other                     *DocumentAdditionalInformationDto          `json:"other,omitempty"`
	OtherCharges              *[]DocumentOtherChargeDto                  `json:"otherCharges,omitempty"`
	Overdue                   *bool                                      `json:"overdue,omitempty"`
	OverdueBalance            *Decimal                                   `json:"overdueBalance,omitempty"`
	PaidAt                    *time.Time                                 `json:"paidAt,omitempty"`
	PaymentDueDate            *time.Time                                 `json:"paymentDueDate,omitempty"`
	PaymentMethods            *[]DocumentPaymentMethodDto                `json:"paymentMethods,omitempty"`
	PdfAssetKey               *string                                    `json:"pdfAssetKey,omitempty"`
	PdfGeneratedAt            *time.Time                                 `json:"pdfGeneratedAt,omitempty"`
	QrCode                    *string                                    `json:"qrCode,omitempty"`
	ReferenceInformation      *[]DocumentReferenceInformationDto         `json:"referenceInformation,omitempty"`
	RejectedByHaciendaAt      *time.Time                                 `json:"rejectedByHaciendaAt,omitempty"`
	RetryCount                *int32                                     `json:"retryCount,omitempty"`
	SaleCondition             *string                                    `json:"saleCondition,omitempty"`
	SentToHaciendaAt          *time.Time                                 `json:"sentToHaciendaAt,omitempty"`
	SignedXml                 *string                                    `json:"signedXml,omitempty"`
	Situation                 *string                                    `json:"situation,omitempty"`
	TaxAuthorityDocumentState *DocumentResponseTaxAuthorityDocumentState `json:"taxAuthorityDocumentState,omitempty"`
	TaxAuthorityResponseXml   *string                                    `json:"taxAuthorityResponseXml,omitempty"`
	TaxCondition              *DocumentResponseTaxCondition              `json:"taxCondition,omitempty"`
	TerminalCode              *string                                    `json:"terminalCode,omitempty"`
	TotalExempt               *Decimal                                   `json:"totalExempt,omitempty"`
	TotalTax                  *Decimal                                   `json:"totalTax,omitempty"`
	TotalTaxed                *Decimal                                   `json:"totalTaxed,omitempty"`
	Type                      *DocumentResponseType                      `json:"type,omitempty"`
	UpdatedAt                 *time.Time                                 `json:"updatedAt,omitempty"`
	Version                   *string                                    `json:"version,omitempty"`
}

DocumentResponse defines model for DocumentResponse.

type DocumentResponseCurrency

type DocumentResponseCurrency string

DocumentResponseCurrency defines model for DocumentResponse.Currency.

const (
	CRC DocumentResponseCurrency = "CRC"
	EUR DocumentResponseCurrency = "EUR"
	USD DocumentResponseCurrency = "USD"
)

Defines values for DocumentResponseCurrency.

func (DocumentResponseCurrency) Valid

func (e DocumentResponseCurrency) Valid() bool

Valid indicates whether the value is a known member of the DocumentResponseCurrency enum.

type DocumentResponseTaxAuthorityDocumentState

type DocumentResponseTaxAuthorityDocumentState string

DocumentResponseTaxAuthorityDocumentState defines model for DocumentResponse.TaxAuthorityDocumentState.

Defines values for DocumentResponseTaxAuthorityDocumentState.

func (DocumentResponseTaxAuthorityDocumentState) Valid

Valid indicates whether the value is a known member of the DocumentResponseTaxAuthorityDocumentState enum.

type DocumentResponseTaxCondition

type DocumentResponseTaxCondition string

DocumentResponseTaxCondition defines model for DocumentResponse.TaxCondition.

const (
	DocumentResponseTaxConditionN01 DocumentResponseTaxCondition = "01"
	DocumentResponseTaxConditionN02 DocumentResponseTaxCondition = "02"
	DocumentResponseTaxConditionN03 DocumentResponseTaxCondition = "03"
	DocumentResponseTaxConditionN04 DocumentResponseTaxCondition = "04"
)

Defines values for DocumentResponseTaxCondition.

func (DocumentResponseTaxCondition) Valid

Valid indicates whether the value is a known member of the DocumentResponseTaxCondition enum.

type DocumentResponseType

type DocumentResponseType string

DocumentResponseType defines model for DocumentResponse.Type.

const (
	DocumentResponseTypeCREDITNOTE               DocumentResponseType = "CREDIT_NOTE"
	DocumentResponseTypeDEBITNOTE                DocumentResponseType = "DEBIT_NOTE"
	DocumentResponseTypeELECTRONICPAYMENTRECEIPT DocumentResponseType = "ELECTRONIC_PAYMENT_RECEIPT"
	DocumentResponseTypeEXPORTINVOICE            DocumentResponseType = "EXPORT_INVOICE"
	DocumentResponseTypeINVOICE                  DocumentResponseType = "INVOICE"
	DocumentResponseTypePURCHASEINVOICE          DocumentResponseType = "PURCHASE_INVOICE"
	DocumentResponseTypeRECEIPT                  DocumentResponseType = "RECEIPT"
	DocumentResponseTypeRECEIVERMESSAGE          DocumentResponseType = "RECEIVER_MESSAGE"
)

Defines values for DocumentResponseType.

func (DocumentResponseType) Valid

func (e DocumentResponseType) Valid() bool

Valid indicates whether the value is a known member of the DocumentResponseType enum.

type DocumentSummaryDto

type DocumentSummaryDto struct {
	CurrencyCode            DocumentCurrencyDto                `json:"currencyCode"`
	DiscountTotal           *Decimal                           `json:"discountTotal,omitempty"`
	DocumentTotal           Decimal                            `json:"documentTotal"`
	ExemptGoodsTotal        *Decimal                           `json:"exemptGoodsTotal,omitempty"`
	ExemptServicesTotal     *Decimal                           `json:"exemptServicesTotal,omitempty"`
	ExemptTotal             *Decimal                           `json:"exemptTotal,omitempty"`
	ExoneratedGoodsTotal    *Decimal                           `json:"exoneratedGoodsTotal,omitempty"`
	ExoneratedServicesTotal *Decimal                           `json:"exoneratedServicesTotal,omitempty"`
	ExoneratedTotal         *Decimal                           `json:"exoneratedTotal,omitempty"`
	IssuerAssumedTaxTotal   *Decimal                           `json:"issuerAssumedTaxTotal,omitempty"`
	NetSaleTotal            Decimal                            `json:"netSaleTotal"`
	NonSubjectGoodsTotal    *Decimal                           `json:"nonSubjectGoodsTotal,omitempty"`
	NonSubjectServicesTotal *Decimal                           `json:"nonSubjectServicesTotal,omitempty"`
	NonSubjectTotal         *Decimal                           `json:"nonSubjectTotal,omitempty"`
	OtherChargesTotal       *Decimal                           `json:"otherChargesTotal,omitempty"`
	PaymentMethods          *[]DocumentSummaryPaymentMethodDto `json:"paymentMethods,omitempty"`
	ReturnedVATTotal        *Decimal                           `json:"returnedVATTotal,omitempty"`
	SaleTotal               Decimal                            `json:"saleTotal"`
	TaxBreakdownTotal       *[]DocumentSummaryTaxBreakdownDto  `json:"taxBreakdownTotal,omitempty"`
	TaxTotal                *Decimal                           `json:"taxTotal,omitempty"`
	TaxedGoodsTotal         *Decimal                           `json:"taxedGoodsTotal,omitempty"`
	TaxedServicesTotal      *Decimal                           `json:"taxedServicesTotal,omitempty"`
	TaxedTotal              *Decimal                           `json:"taxedTotal,omitempty"`
}

DocumentSummaryDto defines model for DocumentSummaryDto.

type DocumentSummaryPaymentMethodDto

type DocumentSummaryPaymentMethodDto struct {
	PaymentMethodOther *string  `json:"paymentMethodOther,omitempty"`
	PaymentMethodTotal *Decimal `json:"paymentMethodTotal,omitempty"`
	PaymentMethodType  *string  `json:"paymentMethodType,omitempty"`
}

DocumentSummaryPaymentMethodDto defines model for DocumentSummaryPaymentMethodDto.

type DocumentSummaryTaxBreakdownDto

type DocumentSummaryTaxBreakdownDto struct {
	TaxCode        string  `json:"taxCode"`
	TaxRateCode    *string `json:"taxRateCode,omitempty"`
	TotalTaxAmount Decimal `json:"totalTaxAmount"`
}

DocumentSummaryTaxBreakdownDto defines model for DocumentSummaryTaxBreakdownDto.

type DocumentType

type DocumentType struct {
	Code        *string `json:"code,omitempty"`
	Description *string `json:"description,omitempty"`
}

DocumentType defines model for DocumentType.

type EconomicActivity

type EconomicActivity struct {
	Code        *string `json:"code,omitempty"`
	Description *string `json:"description,omitempty"`
	Status      *string `json:"status,omitempty"`
	Type        *string `json:"type,omitempty"`
}

EconomicActivity defines model for EconomicActivity.

type EuroRate

type EuroRate struct {
	Colones *Decimal            `json:"colones,omitempty"`
	Date    *openapi_types.Date `json:"date,omitempty"`
	Dollars *Decimal            `json:"dollars,omitempty"`
}

EuroRate defines model for EuroRate.

type ExchangeRateResponse

type ExchangeRateResponse struct {
	DollarPurchase *Rate     `json:"dollarPurchase,omitempty"`
	DollarSale     *Rate     `json:"dollarSale,omitempty"`
	Euro           *EuroRate `json:"euro,omitempty"`
}

ExchangeRateResponse defines model for ExchangeRateResponse.

type ExportFiscalReportParams

type ExportFiscalReportParams struct {
	From       *openapi_types.Date                 `form:"from,omitempty" json:"from,omitempty"`
	To         *openapi_types.Date                 `form:"to,omitempty" json:"to,omitempty"`
	Year       *int32                              `form:"year,omitempty" json:"year,omitempty"`
	Month      *int32                              `form:"month,omitempty" json:"month,omitempty"`
	FormCode   *string                             `form:"formCode,omitempty" json:"formCode,omitempty"`
	Format     *string                             `form:"format,omitempty" json:"format,omitempty"`
	APIVersion *ExportFiscalReportParamsAPIVersion `json:"API-Version,omitempty"`
}

ExportFiscalReportParams defines parameters for ExportFiscalReport.

type ExportFiscalReportParamsAPIVersion

type ExportFiscalReportParamsAPIVersion string

ExportFiscalReportParamsAPIVersion defines parameters for ExportFiscalReport.

const (
	ExportFiscalReportParamsAPIVersionV1 ExportFiscalReportParamsAPIVersion = "v1"
)

Defines values for ExportFiscalReportParamsAPIVersion.

func (ExportFiscalReportParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the ExportFiscalReportParamsAPIVersion enum.

type ExportFiscalReportResponse

type ExportFiscalReportResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *map[string]interface{}
	JSON400      *map[string]interface{}
}

func ParseExportFiscalReportResponse

func ParseExportFiscalReportResponse(rsp *http.Response) (*ExportFiscalReportResponse, error)

ParseExportFiscalReportResponse parses an HTTP response from a ExportFiscalReportWithResponse call

func (ExportFiscalReportResponse) ContentType

func (r ExportFiscalReportResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ExportFiscalReportResponse) Status

Status returns HTTPResponse.Status

func (ExportFiscalReportResponse) StatusCode

func (r ExportFiscalReportResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type FiscalReportActivitySummaryLineResponse

type FiscalReportActivitySummaryLineResponse struct {
	BaseTotal            *Decimal `json:"baseTotal,omitempty"`
	CreditTotal          *Decimal `json:"creditTotal,omitempty"`
	IssuerActivityCode   *string  `json:"issuerActivityCode,omitempty"`
	ReceiverActivityCode *string  `json:"receiverActivityCode,omitempty"`
	Section              *string  `json:"section,omitempty"`
	TaxTotal             *Decimal `json:"taxTotal,omitempty"`
}

FiscalReportActivitySummaryLineResponse defines model for FiscalReportActivitySummaryLineResponse.

type FiscalReportDocumentLineResponse

type FiscalReportDocumentLineResponse struct {
	ApplicableTaxCredit  *Decimal            `json:"applicableTaxCredit,omitempty"`
	Consecutive          *string             `json:"consecutive,omitempty"`
	CounterpartyIdNumber *string             `json:"counterpartyIdNumber,omitempty"`
	CounterpartyIdType   *string             `json:"counterpartyIdType,omitempty"`
	CounterpartyName     *string             `json:"counterpartyName,omitempty"`
	Date                 *openapi_types.Date `json:"date,omitempty"`
	DocumentKey          *string             `json:"documentKey,omitempty"`
	DocumentType         *string             `json:"documentType,omitempty"`
	IssuerActivityCode   *string             `json:"issuerActivityCode,omitempty"`
	LineDescription      *string             `json:"lineDescription,omitempty"`
	LineNumber           *int32              `json:"lineNumber,omitempty"`
	Rate                 *Decimal            `json:"rate,omitempty"`
	ReceiverActivityCode *string             `json:"receiverActivityCode,omitempty"`
	ReceiverMessageState *string             `json:"receiverMessageState,omitempty"`
	Section              *string             `json:"section,omitempty"`
	TaxAmount            *Decimal            `json:"taxAmount,omitempty"`
	TaxAuthorityState    *string             `json:"taxAuthorityState,omitempty"`
	TaxCode              *string             `json:"taxCode,omitempty"`
	TaxableBase          *Decimal            `json:"taxableBase,omitempty"`
	VatClassification    *string             `json:"vatClassification,omitempty"`
	VatRateCode          *string             `json:"vatRateCode,omitempty"`
}

FiscalReportDocumentLineResponse defines model for FiscalReportDocumentLineResponse.

type FiscalReportFormMatrixLineResponse

type FiscalReportFormMatrixLineResponse struct {
	Evidence      *string `json:"evidence,omitempty"`
	FormCode      *string `json:"formCode,omitempty"`
	MappingStatus *string `json:"mappingStatus,omitempty"`
	OfficialName  *string `json:"officialName,omitempty"`
	Periodicity   *string `json:"periodicity,omitempty"`
	PreviousCode  *string `json:"previousCode,omitempty"`
	Status        *string `json:"status,omitempty"`
}

FiscalReportFormMatrixLineResponse defines model for FiscalReportFormMatrixLineResponse.

type FiscalReportGapLineResponse

type FiscalReportGapLineResponse struct {
	CurrentValue *string `json:"currentValue,omitempty"`
	Field        *string `json:"field,omitempty"`
	FormCode     *string `json:"formCode,omitempty"`
	Observation  *string `json:"observation,omitempty"`
	Section      *string `json:"section,omitempty"`
	Status       *string `json:"status,omitempty"`
}

FiscalReportGapLineResponse defines model for FiscalReportGapLineResponse.

type FiscalReportLineResponse

type FiscalReportLineResponse struct {
	BaseTotal     *Decimal `json:"baseTotal,omitempty"`
	CreditTotal   *Decimal `json:"creditTotal,omitempty"`
	ExemptionType *string  `json:"exemptionType,omitempty"`
	Rate          *Decimal `json:"rate,omitempty"`
	Section       *string  `json:"section,omitempty"`
	TaxTotal      *Decimal `json:"taxTotal,omitempty"`
	UsageType     *string  `json:"usageType,omitempty"`
	VatRateCode   *string  `json:"vatRateCode,omitempty"`
}

FiscalReportLineResponse defines model for FiscalReportLineResponse.

type FiscalReportResponse

type FiscalReportResponse struct {
	ActivitySummary      *[]FiscalReportActivitySummaryLineResponse `json:"activitySummary,omitempty"`
	Compliant            *bool                                      `json:"compliant,omitempty"`
	DocumentLines        *[]FiscalReportDocumentLineResponse        `json:"documentLines,omitempty"`
	FormCode             *string                                    `json:"formCode,omitempty"`
	FormMatrix           *[]FiscalReportFormMatrixLineResponse      `json:"formMatrix,omitempty"`
	From                 *openapi_types.Date                        `json:"from,omitempty"`
	GapLines             *[]FiscalReportGapLineResponse             `json:"gapLines,omitempty"`
	Lines                *[]FiscalReportLineResponse                `json:"lines,omitempty"`
	ProrationCoefficient *Decimal                                   `json:"prorationCoefficient,omitempty"`
	To                   *openapi_types.Date                        `json:"to,omitempty"`
	Totals               *FiscalReportTotalsResponse                `json:"totals,omitempty"`
	Warnings             *[]string                                  `json:"warnings,omitempty"`
}

FiscalReportResponse defines model for FiscalReportResponse.

type FiscalReportTotalsResponse

type FiscalReportTotalsResponse struct {
	Balance            *Decimal `json:"balance,omitempty"`
	CreditTotal        *Decimal `json:"creditTotal,omitempty"`
	PurchasesBaseTotal *Decimal `json:"purchasesBaseTotal,omitempty"`
	PurchasesTaxTotal  *Decimal `json:"purchasesTaxTotal,omitempty"`
	SalesBaseTotal     *Decimal `json:"salesBaseTotal,omitempty"`
	SalesTaxTotal      *Decimal `json:"salesTaxTotal,omitempty"`
	TaxCreditBalance   *Decimal `json:"taxCreditBalance,omitempty"`
	TaxPayable         *Decimal `json:"taxPayable,omitempty"`
}

FiscalReportTotalsResponse defines model for FiscalReportTotalsResponse.

type FiscalTaxRateSummaryLineResponse

type FiscalTaxRateSummaryLineResponse struct {
	BaseTotal   *Decimal `json:"baseTotal,omitempty"`
	CreditTotal *Decimal `json:"creditTotal,omitempty"`
	Rate        *Decimal `json:"rate,omitempty"`
	Section     *string  `json:"section,omitempty"`
	TaxTotal    *Decimal `json:"taxTotal,omitempty"`
	VatRateCode *string  `json:"vatRateCode,omitempty"`
}

FiscalTaxRateSummaryLineResponse defines model for FiscalTaxRateSummaryLineResponse.

type FiscalTaxRatesSummaryResponse

type FiscalTaxRatesSummaryResponse struct {
	Compliant *bool                               `json:"compliant,omitempty"`
	FormCode  *string                             `json:"formCode,omitempty"`
	From      *openapi_types.Date                 `json:"from,omitempty"`
	Rates     *[]FiscalTaxRateSummaryLineResponse `json:"rates,omitempty"`
	To        *openapi_types.Date                 `json:"to,omitempty"`
	Warnings  *[]string                           `json:"warnings,omitempty"`
}

FiscalTaxRatesSummaryResponse defines model for FiscalTaxRatesSummaryResponse.

type FiscalVatSummaryResponse

type FiscalVatSummaryResponse struct {
	Balance            *Decimal            `json:"balance,omitempty"`
	Compliant          *bool               `json:"compliant,omitempty"`
	CreditTotal        *Decimal            `json:"creditTotal,omitempty"`
	FormCode           *string             `json:"formCode,omitempty"`
	From               *openapi_types.Date `json:"from,omitempty"`
	PurchasesBaseTotal *Decimal            `json:"purchasesBaseTotal,omitempty"`
	PurchasesTaxTotal  *Decimal            `json:"purchasesTaxTotal,omitempty"`
	SalesBaseTotal     *Decimal            `json:"salesBaseTotal,omitempty"`
	SalesTaxTotal      *Decimal            `json:"salesTaxTotal,omitempty"`
	TaxCreditBalance   *Decimal            `json:"taxCreditBalance,omitempty"`
	TaxPayable         *Decimal            `json:"taxPayable,omitempty"`
	To                 *openapi_types.Date `json:"to,omitempty"`
	Warnings           *[]string           `json:"warnings,omitempty"`
}

FiscalVatSummaryResponse defines model for FiscalVatSummaryResponse.

type GetAgriculturalProducerParams

type GetAgriculturalProducerParams struct {
	APIVersion *GetAgriculturalProducerParamsAPIVersion `json:"API-Version,omitempty"`
}

GetAgriculturalProducerParams defines parameters for GetAgriculturalProducer.

type GetAgriculturalProducerParamsAPIVersion

type GetAgriculturalProducerParamsAPIVersion string

GetAgriculturalProducerParamsAPIVersion defines parameters for GetAgriculturalProducer.

const (
	GetAgriculturalProducerParamsAPIVersionV1 GetAgriculturalProducerParamsAPIVersion = "v1"
)

Defines values for GetAgriculturalProducerParamsAPIVersion.

func (GetAgriculturalProducerParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the GetAgriculturalProducerParamsAPIVersion enum.

type GetAgriculturalProducerResponse

type GetAgriculturalProducerResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ProducerRegistryResponse
}

func ParseGetAgriculturalProducerResponse

func ParseGetAgriculturalProducerResponse(rsp *http.Response) (*GetAgriculturalProducerResponse, error)

ParseGetAgriculturalProducerResponse parses an HTTP response from a GetAgriculturalProducerWithResponse call

func (GetAgriculturalProducerResponse) ContentType

func (r GetAgriculturalProducerResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetAgriculturalProducerResponse) Status

Status returns HTTPResponse.Status

func (GetAgriculturalProducerResponse) StatusCode

func (r GetAgriculturalProducerResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetAllClientsParams

type GetAllClientsParams struct {
	Pageable   Pageable                       `form:"pageable" json:"pageable"`
	Search     *string                        `form:"search,omitempty" json:"search,omitempty"`
	AllParams  map[string]string              `form:"allParams" json:"allParams"`
	APIVersion *GetAllClientsParamsAPIVersion `json:"API-Version,omitempty"`
}

GetAllClientsParams defines parameters for GetAllClients.

type GetAllClientsParamsAPIVersion

type GetAllClientsParamsAPIVersion string

GetAllClientsParamsAPIVersion defines parameters for GetAllClients.

const (
	GetAllClientsParamsAPIVersionV1 GetAllClientsParamsAPIVersion = "v1"
)

Defines values for GetAllClientsParamsAPIVersion.

func (GetAllClientsParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the GetAllClientsParamsAPIVersion enum.

type GetAllClientsResponse

type GetAllClientsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PageResponseClientResponse
}

func ParseGetAllClientsResponse

func ParseGetAllClientsResponse(rsp *http.Response) (*GetAllClientsResponse, error)

ParseGetAllClientsResponse parses an HTTP response from a GetAllClientsWithResponse call

func (GetAllClientsResponse) ContentType

func (r GetAllClientsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetAllClientsResponse) Status

func (r GetAllClientsResponse) Status() string

Status returns HTTPResponse.Status

func (GetAllClientsResponse) StatusCode

func (r GetAllClientsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetAllDocumentsParams

type GetAllDocumentsParams struct {
	Pageable   Pageable                         `form:"pageable" json:"pageable"`
	Search     *string                          `form:"search,omitempty" json:"search,omitempty"`
	Type       *string                          `form:"type,omitempty" json:"type,omitempty"`
	AllParams  map[string]string                `form:"allParams" json:"allParams"`
	APIVersion *GetAllDocumentsParamsAPIVersion `json:"API-Version,omitempty"`
}

GetAllDocumentsParams defines parameters for GetAllDocuments.

type GetAllDocumentsParamsAPIVersion

type GetAllDocumentsParamsAPIVersion string

GetAllDocumentsParamsAPIVersion defines parameters for GetAllDocuments.

const (
	GetAllDocumentsParamsAPIVersionV1 GetAllDocumentsParamsAPIVersion = "v1"
)

Defines values for GetAllDocumentsParamsAPIVersion.

func (GetAllDocumentsParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the GetAllDocumentsParamsAPIVersion enum.

type GetAllDocumentsResponse

type GetAllDocumentsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PageResponseDocumentResponse
}

func ParseGetAllDocumentsResponse

func ParseGetAllDocumentsResponse(rsp *http.Response) (*GetAllDocumentsResponse, error)

ParseGetAllDocumentsResponse parses an HTTP response from a GetAllDocumentsWithResponse call

func (GetAllDocumentsResponse) ContentType

func (r GetAllDocumentsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetAllDocumentsResponse) Status

func (r GetAllDocumentsResponse) Status() string

Status returns HTTPResponse.Status

func (GetAllDocumentsResponse) StatusCode

func (r GetAllDocumentsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetAllIssuersParams

type GetAllIssuersParams struct {
	Pageable   Pageable                       `form:"pageable" json:"pageable"`
	Search     *string                        `form:"search,omitempty" json:"search,omitempty"`
	AllParams  map[string]string              `form:"allParams" json:"allParams"`
	APIVersion *GetAllIssuersParamsAPIVersion `json:"API-Version,omitempty"`
}

GetAllIssuersParams defines parameters for GetAllIssuers.

type GetAllIssuersParamsAPIVersion

type GetAllIssuersParamsAPIVersion string

GetAllIssuersParamsAPIVersion defines parameters for GetAllIssuers.

const (
	GetAllIssuersParamsAPIVersionV1 GetAllIssuersParamsAPIVersion = "v1"
)

Defines values for GetAllIssuersParamsAPIVersion.

func (GetAllIssuersParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the GetAllIssuersParamsAPIVersion enum.

type GetAllIssuersResponse

type GetAllIssuersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PageResponseTenantIssuerResponse
}

func ParseGetAllIssuersResponse

func ParseGetAllIssuersResponse(rsp *http.Response) (*GetAllIssuersResponse, error)

ParseGetAllIssuersResponse parses an HTTP response from a GetAllIssuersWithResponse call

func (GetAllIssuersResponse) ContentType

func (r GetAllIssuersResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetAllIssuersResponse) Status

func (r GetAllIssuersResponse) Status() string

Status returns HTTPResponse.Status

func (GetAllIssuersResponse) StatusCode

func (r GetAllIssuersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetBranchParams

type GetBranchParams struct {
	APIVersion *GetBranchParamsAPIVersion `json:"API-Version,omitempty"`
}

GetBranchParams defines parameters for GetBranch.

type GetBranchParamsAPIVersion

type GetBranchParamsAPIVersion string

GetBranchParamsAPIVersion defines parameters for GetBranch.

const (
	GetBranchParamsAPIVersionV1 GetBranchParamsAPIVersion = "v1"
)

Defines values for GetBranchParamsAPIVersion.

func (GetBranchParamsAPIVersion) Valid

func (e GetBranchParamsAPIVersion) Valid() bool

Valid indicates whether the value is a known member of the GetBranchParamsAPIVersion enum.

type GetBranchResponse

type GetBranchResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *BranchResponse
}

func ParseGetBranchResponse

func ParseGetBranchResponse(rsp *http.Response) (*GetBranchResponse, error)

ParseGetBranchResponse parses an HTTP response from a GetBranchWithResponse call

func (GetBranchResponse) ContentType

func (r GetBranchResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetBranchResponse) Status

func (r GetBranchResponse) Status() string

Status returns HTTPResponse.Status

func (GetBranchResponse) StatusCode

func (r GetBranchResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetBranchesParams

type GetBranchesParams struct {
	APIVersion *GetBranchesParamsAPIVersion `json:"API-Version,omitempty"`
}

GetBranchesParams defines parameters for GetBranches.

type GetBranchesParamsAPIVersion

type GetBranchesParamsAPIVersion string

GetBranchesParamsAPIVersion defines parameters for GetBranches.

const (
	GetBranchesParamsAPIVersionV1 GetBranchesParamsAPIVersion = "v1"
)

Defines values for GetBranchesParamsAPIVersion.

func (GetBranchesParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the GetBranchesParamsAPIVersion enum.

type GetBranchesResponse

type GetBranchesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]BranchResponse
}

func ParseGetBranchesResponse

func ParseGetBranchesResponse(rsp *http.Response) (*GetBranchesResponse, error)

ParseGetBranchesResponse parses an HTTP response from a GetBranchesWithResponse call

func (GetBranchesResponse) ContentType

func (r GetBranchesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetBranchesResponse) Status

func (r GetBranchesResponse) Status() string

Status returns HTTPResponse.Status

func (GetBranchesResponse) StatusCode

func (r GetBranchesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetCabysByCodeParams

type GetCabysByCodeParams struct {
	APIVersion *GetCabysByCodeParamsAPIVersion `json:"API-Version,omitempty"`
}

GetCabysByCodeParams defines parameters for GetCabysByCode.

type GetCabysByCodeParamsAPIVersion

type GetCabysByCodeParamsAPIVersion string

GetCabysByCodeParamsAPIVersion defines parameters for GetCabysByCode.

const (
	GetCabysByCodeParamsAPIVersionV1 GetCabysByCodeParamsAPIVersion = "v1"
)

Defines values for GetCabysByCodeParamsAPIVersion.

func (GetCabysByCodeParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the GetCabysByCodeParamsAPIVersion enum.

type GetCabysByCodeResponse

type GetCabysByCodeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CabysQueryResponse
}

func ParseGetCabysByCodeResponse

func ParseGetCabysByCodeResponse(rsp *http.Response) (*GetCabysByCodeResponse, error)

ParseGetCabysByCodeResponse parses an HTTP response from a GetCabysByCodeWithResponse call

func (GetCabysByCodeResponse) ContentType

func (r GetCabysByCodeResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetCabysByCodeResponse) Status

func (r GetCabysByCodeResponse) Status() string

Status returns HTTPResponse.Status

func (GetCabysByCodeResponse) StatusCode

func (r GetCabysByCodeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetCantonsParams

type GetCantonsParams struct {
	ProvinceCode string                      `form:"provinceCode" json:"provinceCode"`
	APIVersion   *GetCantonsParamsAPIVersion `json:"API-Version,omitempty"`
}

GetCantonsParams defines parameters for GetCantons.

type GetCantonsParamsAPIVersion

type GetCantonsParamsAPIVersion string

GetCantonsParamsAPIVersion defines parameters for GetCantons.

const (
	GetCantonsParamsAPIVersionV1 GetCantonsParamsAPIVersion = "v1"
)

Defines values for GetCantonsParamsAPIVersion.

func (GetCantonsParamsAPIVersion) Valid

func (e GetCantonsParamsAPIVersion) Valid() bool

Valid indicates whether the value is a known member of the GetCantonsParamsAPIVersion enum.

type GetCantonsResponse

type GetCantonsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]CatalogItemResponse
}

func ParseGetCantonsResponse

func ParseGetCantonsResponse(rsp *http.Response) (*GetCantonsResponse, error)

ParseGetCantonsResponse parses an HTTP response from a GetCantonsWithResponse call

func (GetCantonsResponse) ContentType

func (r GetCantonsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetCantonsResponse) Status

func (r GetCantonsResponse) Status() string

Status returns HTTPResponse.Status

func (GetCantonsResponse) StatusCode

func (r GetCantonsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetCashRegisterParams

type GetCashRegisterParams struct {
	APIVersion *GetCashRegisterParamsAPIVersion `json:"API-Version,omitempty"`
}

GetCashRegisterParams defines parameters for GetCashRegister.

type GetCashRegisterParamsAPIVersion

type GetCashRegisterParamsAPIVersion string

GetCashRegisterParamsAPIVersion defines parameters for GetCashRegister.

const (
	GetCashRegisterParamsAPIVersionV1 GetCashRegisterParamsAPIVersion = "v1"
)

Defines values for GetCashRegisterParamsAPIVersion.

func (GetCashRegisterParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the GetCashRegisterParamsAPIVersion enum.

type GetCashRegisterResponse

type GetCashRegisterResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CashRegisterResponse
}

func ParseGetCashRegisterResponse

func ParseGetCashRegisterResponse(rsp *http.Response) (*GetCashRegisterResponse, error)

ParseGetCashRegisterResponse parses an HTTP response from a GetCashRegisterWithResponse call

func (GetCashRegisterResponse) ContentType

func (r GetCashRegisterResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetCashRegisterResponse) Status

func (r GetCashRegisterResponse) Status() string

Status returns HTTPResponse.Status

func (GetCashRegisterResponse) StatusCode

func (r GetCashRegisterResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetCashRegistersParams

type GetCashRegistersParams struct {
	APIVersion *GetCashRegistersParamsAPIVersion `json:"API-Version,omitempty"`
}

GetCashRegistersParams defines parameters for GetCashRegisters.

type GetCashRegistersParamsAPIVersion

type GetCashRegistersParamsAPIVersion string

GetCashRegistersParamsAPIVersion defines parameters for GetCashRegisters.

const (
	GetCashRegistersParamsAPIVersionV1 GetCashRegistersParamsAPIVersion = "v1"
)

Defines values for GetCashRegistersParamsAPIVersion.

func (GetCashRegistersParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the GetCashRegistersParamsAPIVersion enum.

type GetCashRegistersResponse

type GetCashRegistersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]CashRegisterResponse
}

func ParseGetCashRegistersResponse

func ParseGetCashRegistersResponse(rsp *http.Response) (*GetCashRegistersResponse, error)

ParseGetCashRegistersResponse parses an HTTP response from a GetCashRegistersWithResponse call

func (GetCashRegistersResponse) ContentType

func (r GetCashRegistersResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetCashRegistersResponse) Status

func (r GetCashRegistersResponse) Status() string

Status returns HTTPResponse.Status

func (GetCashRegistersResponse) StatusCode

func (r GetCashRegistersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetClientByIdParams

type GetClientByIdParams struct {
	APIVersion *GetClientByIdParamsAPIVersion `json:"API-Version,omitempty"`
}

GetClientByIdParams defines parameters for GetClientById.

type GetClientByIdParamsAPIVersion

type GetClientByIdParamsAPIVersion string

GetClientByIdParamsAPIVersion defines parameters for GetClientById.

const (
	GetClientByIdParamsAPIVersionV1 GetClientByIdParamsAPIVersion = "v1"
)

Defines values for GetClientByIdParamsAPIVersion.

func (GetClientByIdParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the GetClientByIdParamsAPIVersion enum.

type GetClientByIdResponse

type GetClientByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ClientResponse
}

func ParseGetClientByIdResponse

func ParseGetClientByIdResponse(rsp *http.Response) (*GetClientByIdResponse, error)

ParseGetClientByIdResponse parses an HTTP response from a GetClientByIdWithResponse call

func (GetClientByIdResponse) ContentType

func (r GetClientByIdResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetClientByIdResponse) Status

func (r GetClientByIdResponse) Status() string

Status returns HTTPResponse.Status

func (GetClientByIdResponse) StatusCode

func (r GetClientByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetClientExonerationParams

type GetClientExonerationParams struct {
	APIVersion *GetClientExonerationParamsAPIVersion `json:"API-Version,omitempty"`
}

GetClientExonerationParams defines parameters for GetClientExoneration.

type GetClientExonerationParamsAPIVersion

type GetClientExonerationParamsAPIVersion string

GetClientExonerationParamsAPIVersion defines parameters for GetClientExoneration.

const (
	GetClientExonerationParamsAPIVersionV1 GetClientExonerationParamsAPIVersion = "v1"
)

Defines values for GetClientExonerationParamsAPIVersion.

func (GetClientExonerationParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the GetClientExonerationParamsAPIVersion enum.

type GetClientExonerationResponse

type GetClientExonerationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ClientExonerationResponse
}

func ParseGetClientExonerationResponse

func ParseGetClientExonerationResponse(rsp *http.Response) (*GetClientExonerationResponse, error)

ParseGetClientExonerationResponse parses an HTTP response from a GetClientExonerationWithResponse call

func (GetClientExonerationResponse) ContentType

func (r GetClientExonerationResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetClientExonerationResponse) Status

Status returns HTTPResponse.Status

func (GetClientExonerationResponse) StatusCode

func (r GetClientExonerationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetClientReceiversParams

type GetClientReceiversParams struct {
	Pageable   Pageable                            `form:"pageable" json:"pageable"`
	APIVersion *GetClientReceiversParamsAPIVersion `json:"API-Version,omitempty"`
}

GetClientReceiversParams defines parameters for GetClientReceivers.

type GetClientReceiversParamsAPIVersion

type GetClientReceiversParamsAPIVersion string

GetClientReceiversParamsAPIVersion defines parameters for GetClientReceivers.

const (
	GetClientReceiversParamsAPIVersionV1 GetClientReceiversParamsAPIVersion = "v1"
)

Defines values for GetClientReceiversParamsAPIVersion.

func (GetClientReceiversParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the GetClientReceiversParamsAPIVersion enum.

type GetClientReceiversResponse

type GetClientReceiversResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PageResponseClientReceiverResponse
}

func ParseGetClientReceiversResponse

func ParseGetClientReceiversResponse(rsp *http.Response) (*GetClientReceiversResponse, error)

ParseGetClientReceiversResponse parses an HTTP response from a GetClientReceiversWithResponse call

func (GetClientReceiversResponse) ContentType

func (r GetClientReceiversResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetClientReceiversResponse) Status

Status returns HTTPResponse.Status

func (GetClientReceiversResponse) StatusCode

func (r GetClientReceiversResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetClientStatementParams

type GetClientStatementParams struct {
	APIVersion *GetClientStatementParamsAPIVersion `json:"API-Version,omitempty"`
}

GetClientStatementParams defines parameters for GetClientStatement.

type GetClientStatementParamsAPIVersion

type GetClientStatementParamsAPIVersion string

GetClientStatementParamsAPIVersion defines parameters for GetClientStatement.

const (
	GetClientStatementParamsAPIVersionV1 GetClientStatementParamsAPIVersion = "v1"
)

Defines values for GetClientStatementParamsAPIVersion.

func (GetClientStatementParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the GetClientStatementParamsAPIVersion enum.

type GetClientStatementResponse

type GetClientStatementResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DocumentPaymentStatementResponse
}

func ParseGetClientStatementResponse

func ParseGetClientStatementResponse(rsp *http.Response) (*GetClientStatementResponse, error)

ParseGetClientStatementResponse parses an HTTP response from a GetClientStatementWithResponse call

func (GetClientStatementResponse) ContentType

func (r GetClientStatementResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetClientStatementResponse) Status

Status returns HTTPResponse.Status

func (GetClientStatementResponse) StatusCode

func (r GetClientStatementResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetCurrenciesParams

type GetCurrenciesParams struct {
	APIVersion *GetCurrenciesParamsAPIVersion `json:"API-Version,omitempty"`
}

GetCurrenciesParams defines parameters for GetCurrencies.

type GetCurrenciesParamsAPIVersion

type GetCurrenciesParamsAPIVersion string

GetCurrenciesParamsAPIVersion defines parameters for GetCurrencies.

const (
	GetCurrenciesParamsAPIVersionV1 GetCurrenciesParamsAPIVersion = "v1"
)

Defines values for GetCurrenciesParamsAPIVersion.

func (GetCurrenciesParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the GetCurrenciesParamsAPIVersion enum.

type GetCurrenciesResponse

type GetCurrenciesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]CatalogItemResponse
}

func ParseGetCurrenciesResponse

func ParseGetCurrenciesResponse(rsp *http.Response) (*GetCurrenciesResponse, error)

ParseGetCurrenciesResponse parses an HTTP response from a GetCurrenciesWithResponse call

func (GetCurrenciesResponse) ContentType

func (r GetCurrenciesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetCurrenciesResponse) Status

func (r GetCurrenciesResponse) Status() string

Status returns HTTPResponse.Status

func (GetCurrenciesResponse) StatusCode

func (r GetCurrenciesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDistrictsParams

type GetDistrictsParams struct {
	ProvinceCode string                        `form:"provinceCode" json:"provinceCode"`
	CantonCode   string                        `form:"cantonCode" json:"cantonCode"`
	APIVersion   *GetDistrictsParamsAPIVersion `json:"API-Version,omitempty"`
}

GetDistrictsParams defines parameters for GetDistricts.

type GetDistrictsParamsAPIVersion

type GetDistrictsParamsAPIVersion string

GetDistrictsParamsAPIVersion defines parameters for GetDistricts.

const (
	GetDistrictsParamsAPIVersionV1 GetDistrictsParamsAPIVersion = "v1"
)

Defines values for GetDistrictsParamsAPIVersion.

func (GetDistrictsParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the GetDistrictsParamsAPIVersion enum.

type GetDistrictsResponse

type GetDistrictsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]CatalogItemResponse
}

func ParseGetDistrictsResponse

func ParseGetDistrictsResponse(rsp *http.Response) (*GetDistrictsResponse, error)

ParseGetDistrictsResponse parses an HTTP response from a GetDistrictsWithResponse call

func (GetDistrictsResponse) ContentType

func (r GetDistrictsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetDistrictsResponse) Status

func (r GetDistrictsResponse) Status() string

Status returns HTTPResponse.Status

func (GetDistrictsResponse) StatusCode

func (r GetDistrictsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDocumentByIdParams

type GetDocumentByIdParams struct {
	APIVersion *GetDocumentByIdParamsAPIVersion `json:"API-Version,omitempty"`
}

GetDocumentByIdParams defines parameters for GetDocumentById.

type GetDocumentByIdParamsAPIVersion

type GetDocumentByIdParamsAPIVersion string

GetDocumentByIdParamsAPIVersion defines parameters for GetDocumentById.

const (
	GetDocumentByIdParamsAPIVersionV1 GetDocumentByIdParamsAPIVersion = "v1"
)

Defines values for GetDocumentByIdParamsAPIVersion.

func (GetDocumentByIdParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the GetDocumentByIdParamsAPIVersion enum.

type GetDocumentByIdResponse

type GetDocumentByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DocumentResponse
}

func ParseGetDocumentByIdResponse

func ParseGetDocumentByIdResponse(rsp *http.Response) (*GetDocumentByIdResponse, error)

ParseGetDocumentByIdResponse parses an HTTP response from a GetDocumentByIdWithResponse call

func (GetDocumentByIdResponse) ContentType

func (r GetDocumentByIdResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetDocumentByIdResponse) Status

func (r GetDocumentByIdResponse) Status() string

Status returns HTTPResponse.Status

func (GetDocumentByIdResponse) StatusCode

func (r GetDocumentByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDocumentPdfParams

type GetDocumentPdfParams struct {
	APIVersion *GetDocumentPdfParamsAPIVersion `json:"API-Version,omitempty"`
}

GetDocumentPdfParams defines parameters for GetDocumentPdf.

type GetDocumentPdfParamsAPIVersion

type GetDocumentPdfParamsAPIVersion string

GetDocumentPdfParamsAPIVersion defines parameters for GetDocumentPdf.

const (
	GetDocumentPdfParamsAPIVersionV1 GetDocumentPdfParamsAPIVersion = "v1"
)

Defines values for GetDocumentPdfParamsAPIVersion.

func (GetDocumentPdfParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the GetDocumentPdfParamsAPIVersion enum.

type GetDocumentPdfResponse

type GetDocumentPdfResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *map[string]string
}

func ParseGetDocumentPdfResponse

func ParseGetDocumentPdfResponse(rsp *http.Response) (*GetDocumentPdfResponse, error)

ParseGetDocumentPdfResponse parses an HTTP response from a GetDocumentPdfWithResponse call

func (GetDocumentPdfResponse) ContentType

func (r GetDocumentPdfResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetDocumentPdfResponse) Status

func (r GetDocumentPdfResponse) Status() string

Status returns HTTPResponse.Status

func (GetDocumentPdfResponse) StatusCode

func (r GetDocumentPdfResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDocumentTypesParams

type GetDocumentTypesParams struct {
	APIVersion *GetDocumentTypesParamsAPIVersion `json:"API-Version,omitempty"`
}

GetDocumentTypesParams defines parameters for GetDocumentTypes.

type GetDocumentTypesParamsAPIVersion

type GetDocumentTypesParamsAPIVersion string

GetDocumentTypesParamsAPIVersion defines parameters for GetDocumentTypes.

const (
	GetDocumentTypesParamsAPIVersionV1 GetDocumentTypesParamsAPIVersion = "v1"
)

Defines values for GetDocumentTypesParamsAPIVersion.

func (GetDocumentTypesParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the GetDocumentTypesParamsAPIVersion enum.

type GetDocumentTypesResponse

type GetDocumentTypesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]CatalogItemResponse
}

func ParseGetDocumentTypesResponse

func ParseGetDocumentTypesResponse(rsp *http.Response) (*GetDocumentTypesResponse, error)

ParseGetDocumentTypesResponse parses an HTTP response from a GetDocumentTypesWithResponse call

func (GetDocumentTypesResponse) ContentType

func (r GetDocumentTypesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetDocumentTypesResponse) Status

func (r GetDocumentTypesResponse) Status() string

Status returns HTTPResponse.Status

func (GetDocumentTypesResponse) StatusCode

func (r GetDocumentTypesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetExchangeRatesParams

type GetExchangeRatesParams struct {
	APIVersion *GetExchangeRatesParamsAPIVersion `json:"API-Version,omitempty"`
}

GetExchangeRatesParams defines parameters for GetExchangeRates.

type GetExchangeRatesParamsAPIVersion

type GetExchangeRatesParamsAPIVersion string

GetExchangeRatesParamsAPIVersion defines parameters for GetExchangeRates.

const (
	GetExchangeRatesParamsAPIVersionV1 GetExchangeRatesParamsAPIVersion = "v1"
)

Defines values for GetExchangeRatesParamsAPIVersion.

func (GetExchangeRatesParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the GetExchangeRatesParamsAPIVersion enum.

type GetExchangeRatesResponse

type GetExchangeRatesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ExchangeRateResponse
}

func ParseGetExchangeRatesResponse

func ParseGetExchangeRatesResponse(rsp *http.Response) (*GetExchangeRatesResponse, error)

ParseGetExchangeRatesResponse parses an HTTP response from a GetExchangeRatesWithResponse call

func (GetExchangeRatesResponse) ContentType

func (r GetExchangeRatesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetExchangeRatesResponse) Status

func (r GetExchangeRatesResponse) Status() string

Status returns HTTPResponse.Status

func (GetExchangeRatesResponse) StatusCode

func (r GetExchangeRatesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetExonerationsParams

type GetExonerationsParams struct {
	APIVersion *GetExonerationsParamsAPIVersion `json:"API-Version,omitempty"`
}

GetExonerationsParams defines parameters for GetExonerations.

type GetExonerationsParamsAPIVersion

type GetExonerationsParamsAPIVersion string

GetExonerationsParamsAPIVersion defines parameters for GetExonerations.

const (
	GetExonerationsParamsAPIVersionV1 GetExonerationsParamsAPIVersion = "v1"
)

Defines values for GetExonerationsParamsAPIVersion.

func (GetExonerationsParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the GetExonerationsParamsAPIVersion enum.

type GetExonerationsResponse

type GetExonerationsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]ClientExonerationResponse
}

func ParseGetExonerationsResponse

func ParseGetExonerationsResponse(rsp *http.Response) (*GetExonerationsResponse, error)

ParseGetExonerationsResponse parses an HTTP response from a GetExonerationsWithResponse call

func (GetExonerationsResponse) ContentType

func (r GetExonerationsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetExonerationsResponse) Status

func (r GetExonerationsResponse) Status() string

Status returns HTTPResponse.Status

func (GetExonerationsResponse) StatusCode

func (r GetExonerationsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetFaqturoXmlParams

type GetFaqturoXmlParams struct {
	APIVersion *GetFaqturoXmlParamsAPIVersion `json:"API-Version,omitempty"`
}

GetFaqturoXmlParams defines parameters for GetFaqturoXml.

type GetFaqturoXmlParamsAPIVersion

type GetFaqturoXmlParamsAPIVersion string

GetFaqturoXmlParamsAPIVersion defines parameters for GetFaqturoXml.

const (
	GetFaqturoXmlParamsAPIVersionV1 GetFaqturoXmlParamsAPIVersion = "v1"
)

Defines values for GetFaqturoXmlParamsAPIVersion.

func (GetFaqturoXmlParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the GetFaqturoXmlParamsAPIVersion enum.

type GetFaqturoXmlResponse

type GetFaqturoXmlResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	XML200       *openapi_types.File
}

func ParseGetFaqturoXmlResponse

func ParseGetFaqturoXmlResponse(rsp *http.Response) (*GetFaqturoXmlResponse, error)

ParseGetFaqturoXmlResponse parses an HTTP response from a GetFaqturoXmlWithResponse call

func (GetFaqturoXmlResponse) ContentType

func (r GetFaqturoXmlResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetFaqturoXmlResponse) Status

func (r GetFaqturoXmlResponse) Status() string

Status returns HTTPResponse.Status

func (GetFaqturoXmlResponse) StatusCode

func (r GetFaqturoXmlResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetFiscalReportParams

type GetFiscalReportParams struct {
	From       *openapi_types.Date              `form:"from,omitempty" json:"from,omitempty"`
	To         *openapi_types.Date              `form:"to,omitempty" json:"to,omitempty"`
	Year       *int32                           `form:"year,omitempty" json:"year,omitempty"`
	Month      *int32                           `form:"month,omitempty" json:"month,omitempty"`
	FormCode   *string                          `form:"formCode,omitempty" json:"formCode,omitempty"`
	APIVersion *GetFiscalReportParamsAPIVersion `json:"API-Version,omitempty"`
}

GetFiscalReportParams defines parameters for GetFiscalReport.

type GetFiscalReportParamsAPIVersion

type GetFiscalReportParamsAPIVersion string

GetFiscalReportParamsAPIVersion defines parameters for GetFiscalReport.

const (
	GetFiscalReportParamsAPIVersionV1 GetFiscalReportParamsAPIVersion = "v1"
)

Defines values for GetFiscalReportParamsAPIVersion.

func (GetFiscalReportParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the GetFiscalReportParamsAPIVersion enum.

type GetFiscalReportResponse

type GetFiscalReportResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *FiscalReportResponse
	JSON400      *FiscalReportResponse
}

func ParseGetFiscalReportResponse

func ParseGetFiscalReportResponse(rsp *http.Response) (*GetFiscalReportResponse, error)

ParseGetFiscalReportResponse parses an HTTP response from a GetFiscalReportWithResponse call

func (GetFiscalReportResponse) ContentType

func (r GetFiscalReportResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetFiscalReportResponse) Status

func (r GetFiscalReportResponse) Status() string

Status returns HTTPResponse.Status

func (GetFiscalReportResponse) StatusCode

func (r GetFiscalReportResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetFishingProducerParams

type GetFishingProducerParams struct {
	APIVersion *GetFishingProducerParamsAPIVersion `json:"API-Version,omitempty"`
}

GetFishingProducerParams defines parameters for GetFishingProducer.

type GetFishingProducerParamsAPIVersion

type GetFishingProducerParamsAPIVersion string

GetFishingProducerParamsAPIVersion defines parameters for GetFishingProducer.

const (
	GetFishingProducerParamsAPIVersionV1 GetFishingProducerParamsAPIVersion = "v1"
)

Defines values for GetFishingProducerParamsAPIVersion.

func (GetFishingProducerParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the GetFishingProducerParamsAPIVersion enum.

type GetFishingProducerResponse

type GetFishingProducerResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ProducerRegistryResponse
}

func ParseGetFishingProducerResponse

func ParseGetFishingProducerResponse(rsp *http.Response) (*GetFishingProducerResponse, error)

ParseGetFishingProducerResponse parses an HTTP response from a GetFishingProducerWithResponse call

func (GetFishingProducerResponse) ContentType

func (r GetFishingProducerResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetFishingProducerResponse) Status

Status returns HTTPResponse.Status

func (GetFishingProducerResponse) StatusCode

func (r GetFishingProducerResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetHaciendaXmlParams

type GetHaciendaXmlParams struct {
	APIVersion *GetHaciendaXmlParamsAPIVersion `json:"API-Version,omitempty"`
}

GetHaciendaXmlParams defines parameters for GetHaciendaXml.

type GetHaciendaXmlParamsAPIVersion

type GetHaciendaXmlParamsAPIVersion string

GetHaciendaXmlParamsAPIVersion defines parameters for GetHaciendaXml.

const (
	GetHaciendaXmlParamsAPIVersionV1 GetHaciendaXmlParamsAPIVersion = "v1"
)

Defines values for GetHaciendaXmlParamsAPIVersion.

func (GetHaciendaXmlParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the GetHaciendaXmlParamsAPIVersion enum.

type GetHaciendaXmlResponse

type GetHaciendaXmlResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	XML200       *openapi_types.File
}

func ParseGetHaciendaXmlResponse

func ParseGetHaciendaXmlResponse(rsp *http.Response) (*GetHaciendaXmlResponse, error)

ParseGetHaciendaXmlResponse parses an HTTP response from a GetHaciendaXmlWithResponse call

func (GetHaciendaXmlResponse) ContentType

func (r GetHaciendaXmlResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetHaciendaXmlResponse) Status

func (r GetHaciendaXmlResponse) Status() string

Status returns HTTPResponse.Status

func (GetHaciendaXmlResponse) StatusCode

func (r GetHaciendaXmlResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetInvoicingStatusParams

type GetInvoicingStatusParams struct {
	APIVersion *GetInvoicingStatusParamsAPIVersion `json:"API-Version,omitempty"`
}

GetInvoicingStatusParams defines parameters for GetInvoicingStatus.

type GetInvoicingStatusParamsAPIVersion

type GetInvoicingStatusParamsAPIVersion string

GetInvoicingStatusParamsAPIVersion defines parameters for GetInvoicingStatus.

const (
	GetInvoicingStatusParamsAPIVersionV1 GetInvoicingStatusParamsAPIVersion = "v1"
)

Defines values for GetInvoicingStatusParamsAPIVersion.

func (GetInvoicingStatusParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the GetInvoicingStatusParamsAPIVersion enum.

type GetInvoicingStatusResponse

type GetInvoicingStatusResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TenantInvoicingStatusResponse
}

func ParseGetInvoicingStatusResponse

func ParseGetInvoicingStatusResponse(rsp *http.Response) (*GetInvoicingStatusResponse, error)

ParseGetInvoicingStatusResponse parses an HTTP response from a GetInvoicingStatusWithResponse call

func (GetInvoicingStatusResponse) ContentType

func (r GetInvoicingStatusResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetInvoicingStatusResponse) Status

Status returns HTTPResponse.Status

func (GetInvoicingStatusResponse) StatusCode

func (r GetInvoicingStatusResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetIssuerByIdParams

type GetIssuerByIdParams struct {
	APIVersion *GetIssuerByIdParamsAPIVersion `json:"API-Version,omitempty"`
}

GetIssuerByIdParams defines parameters for GetIssuerById.

type GetIssuerByIdParamsAPIVersion

type GetIssuerByIdParamsAPIVersion string

GetIssuerByIdParamsAPIVersion defines parameters for GetIssuerById.

const (
	GetIssuerByIdParamsAPIVersionV1 GetIssuerByIdParamsAPIVersion = "v1"
)

Defines values for GetIssuerByIdParamsAPIVersion.

func (GetIssuerByIdParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the GetIssuerByIdParamsAPIVersion enum.

type GetIssuerByIdResponse

type GetIssuerByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TenantIssuerResponse
}

func ParseGetIssuerByIdResponse

func ParseGetIssuerByIdResponse(rsp *http.Response) (*GetIssuerByIdResponse, error)

ParseGetIssuerByIdResponse parses an HTTP response from a GetIssuerByIdWithResponse call

func (GetIssuerByIdResponse) ContentType

func (r GetIssuerByIdResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetIssuerByIdResponse) Status

func (r GetIssuerByIdResponse) Status() string

Status returns HTTPResponse.Status

func (GetIssuerByIdResponse) StatusCode

func (r GetIssuerByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetLegalIdentificationTypesParams

type GetLegalIdentificationTypesParams struct {
	APIVersion *GetLegalIdentificationTypesParamsAPIVersion `json:"API-Version,omitempty"`
}

GetLegalIdentificationTypesParams defines parameters for GetLegalIdentificationTypes.

type GetLegalIdentificationTypesParamsAPIVersion

type GetLegalIdentificationTypesParamsAPIVersion string

GetLegalIdentificationTypesParamsAPIVersion defines parameters for GetLegalIdentificationTypes.

const (
	GetLegalIdentificationTypesParamsAPIVersionV1 GetLegalIdentificationTypesParamsAPIVersion = "v1"
)

Defines values for GetLegalIdentificationTypesParamsAPIVersion.

func (GetLegalIdentificationTypesParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the GetLegalIdentificationTypesParamsAPIVersion enum.

type GetLegalIdentificationTypesResponse

type GetLegalIdentificationTypesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]CatalogItemResponse
}

func ParseGetLegalIdentificationTypesResponse

func ParseGetLegalIdentificationTypesResponse(rsp *http.Response) (*GetLegalIdentificationTypesResponse, error)

ParseGetLegalIdentificationTypesResponse parses an HTTP response from a GetLegalIdentificationTypesWithResponse call

func (GetLegalIdentificationTypesResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetLegalIdentificationTypesResponse) Status

Status returns HTTPResponse.Status

func (GetLegalIdentificationTypesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetLogoParams

type GetLogoParams struct {
	APIVersion *GetLogoParamsAPIVersion `json:"API-Version,omitempty"`
}

GetLogoParams defines parameters for GetLogo.

type GetLogoParamsAPIVersion

type GetLogoParamsAPIVersion string

GetLogoParamsAPIVersion defines parameters for GetLogo.

const (
	GetLogoParamsAPIVersionV1 GetLogoParamsAPIVersion = "v1"
)

Defines values for GetLogoParamsAPIVersion.

func (GetLogoParamsAPIVersion) Valid

func (e GetLogoParamsAPIVersion) Valid() bool

Valid indicates whether the value is a known member of the GetLogoParamsAPIVersion enum.

type GetLogoResponse

type GetLogoResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TenantLogoResponse
}

func ParseGetLogoResponse

func ParseGetLogoResponse(rsp *http.Response) (*GetLogoResponse, error)

ParseGetLogoResponse parses an HTTP response from a GetLogoWithResponse call

func (GetLogoResponse) ContentType

func (r GetLogoResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetLogoResponse) Status

func (r GetLogoResponse) Status() string

Status returns HTTPResponse.Status

func (GetLogoResponse) StatusCode

func (r GetLogoResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetLogsParams

type GetLogsParams struct {
	APIVersion *GetLogsParamsAPIVersion `json:"API-Version,omitempty"`
}

GetLogsParams defines parameters for GetLogs.

type GetLogsParamsAPIVersion

type GetLogsParamsAPIVersion string

GetLogsParamsAPIVersion defines parameters for GetLogs.

const (
	GetLogsParamsAPIVersionV1 GetLogsParamsAPIVersion = "v1"
)

Defines values for GetLogsParamsAPIVersion.

func (GetLogsParamsAPIVersion) Valid

func (e GetLogsParamsAPIVersion) Valid() bool

Valid indicates whether the value is a known member of the GetLogsParamsAPIVersion enum.

type GetLogsResponse

type GetLogsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]WebhookDeliveryLogResponse
}

func ParseGetLogsResponse

func ParseGetLogsResponse(rsp *http.Response) (*GetLogsResponse, error)

ParseGetLogsResponse parses an HTTP response from a GetLogsWithResponse call

func (GetLogsResponse) ContentType

func (r GetLogsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetLogsResponse) Status

func (r GetLogsResponse) Status() string

Status returns HTTPResponse.Status

func (GetLogsResponse) StatusCode

func (r GetLogsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetPaymentMethodsParams

type GetPaymentMethodsParams struct {
	APIVersion *GetPaymentMethodsParamsAPIVersion `json:"API-Version,omitempty"`
}

GetPaymentMethodsParams defines parameters for GetPaymentMethods.

type GetPaymentMethodsParamsAPIVersion

type GetPaymentMethodsParamsAPIVersion string

GetPaymentMethodsParamsAPIVersion defines parameters for GetPaymentMethods.

const (
	GetPaymentMethodsParamsAPIVersionV1 GetPaymentMethodsParamsAPIVersion = "v1"
)

Defines values for GetPaymentMethodsParamsAPIVersion.

func (GetPaymentMethodsParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the GetPaymentMethodsParamsAPIVersion enum.

type GetPaymentMethodsResponse

type GetPaymentMethodsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]CatalogItemResponse
}

func ParseGetPaymentMethodsResponse

func ParseGetPaymentMethodsResponse(rsp *http.Response) (*GetPaymentMethodsResponse, error)

ParseGetPaymentMethodsResponse parses an HTTP response from a GetPaymentMethodsWithResponse call

func (GetPaymentMethodsResponse) ContentType

func (r GetPaymentMethodsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetPaymentMethodsResponse) Status

func (r GetPaymentMethodsResponse) Status() string

Status returns HTTPResponse.Status

func (GetPaymentMethodsResponse) StatusCode

func (r GetPaymentMethodsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetPaymentParams

type GetPaymentParams struct {
	APIVersion *GetPaymentParamsAPIVersion `json:"API-Version,omitempty"`
}

GetPaymentParams defines parameters for GetPayment.

type GetPaymentParamsAPIVersion

type GetPaymentParamsAPIVersion string

GetPaymentParamsAPIVersion defines parameters for GetPayment.

const (
	GetPaymentParamsAPIVersionV1 GetPaymentParamsAPIVersion = "v1"
)

Defines values for GetPaymentParamsAPIVersion.

func (GetPaymentParamsAPIVersion) Valid

func (e GetPaymentParamsAPIVersion) Valid() bool

Valid indicates whether the value is a known member of the GetPaymentParamsAPIVersion enum.

type GetPaymentResponse

type GetPaymentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DocumentPaymentResponse
}

func ParseGetPaymentResponse

func ParseGetPaymentResponse(rsp *http.Response) (*GetPaymentResponse, error)

ParseGetPaymentResponse parses an HTTP response from a GetPaymentWithResponse call

func (GetPaymentResponse) ContentType

func (r GetPaymentResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetPaymentResponse) Status

func (r GetPaymentResponse) Status() string

Status returns HTTPResponse.Status

func (GetPaymentResponse) StatusCode

func (r GetPaymentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetPharmaceuticalFormsParams

type GetPharmaceuticalFormsParams struct {
	APIVersion *GetPharmaceuticalFormsParamsAPIVersion `json:"API-Version,omitempty"`
}

GetPharmaceuticalFormsParams defines parameters for GetPharmaceuticalForms.

type GetPharmaceuticalFormsParamsAPIVersion

type GetPharmaceuticalFormsParamsAPIVersion string

GetPharmaceuticalFormsParamsAPIVersion defines parameters for GetPharmaceuticalForms.

const (
	GetPharmaceuticalFormsParamsAPIVersionV1 GetPharmaceuticalFormsParamsAPIVersion = "v1"
)

Defines values for GetPharmaceuticalFormsParamsAPIVersion.

func (GetPharmaceuticalFormsParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the GetPharmaceuticalFormsParamsAPIVersion enum.

type GetPharmaceuticalFormsResponse

type GetPharmaceuticalFormsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]CatalogItemResponse
}

func ParseGetPharmaceuticalFormsResponse

func ParseGetPharmaceuticalFormsResponse(rsp *http.Response) (*GetPharmaceuticalFormsResponse, error)

ParseGetPharmaceuticalFormsResponse parses an HTTP response from a GetPharmaceuticalFormsWithResponse call

func (GetPharmaceuticalFormsResponse) ContentType

func (r GetPharmaceuticalFormsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetPharmaceuticalFormsResponse) Status

Status returns HTTPResponse.Status

func (GetPharmaceuticalFormsResponse) StatusCode

func (r GetPharmaceuticalFormsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetProvincesParams

type GetProvincesParams struct {
	APIVersion *GetProvincesParamsAPIVersion `json:"API-Version,omitempty"`
}

GetProvincesParams defines parameters for GetProvinces.

type GetProvincesParamsAPIVersion

type GetProvincesParamsAPIVersion string

GetProvincesParamsAPIVersion defines parameters for GetProvinces.

const (
	GetProvincesParamsAPIVersionV1 GetProvincesParamsAPIVersion = "v1"
)

Defines values for GetProvincesParamsAPIVersion.

func (GetProvincesParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the GetProvincesParamsAPIVersion enum.

type GetProvincesResponse

type GetProvincesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]CatalogItemResponse
}

func ParseGetProvincesResponse

func ParseGetProvincesResponse(rsp *http.Response) (*GetProvincesResponse, error)

ParseGetProvincesResponse parses an HTTP response from a GetProvincesWithResponse call

func (GetProvincesResponse) ContentType

func (r GetProvincesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetProvincesResponse) Status

func (r GetProvincesResponse) Status() string

Status returns HTTPResponse.Status

func (GetProvincesResponse) StatusCode

func (r GetProvincesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetReceiverByIdParams

type GetReceiverByIdParams struct {
	APIVersion *GetReceiverByIdParamsAPIVersion `json:"API-Version,omitempty"`
}

GetReceiverByIdParams defines parameters for GetReceiverById.

type GetReceiverByIdParamsAPIVersion

type GetReceiverByIdParamsAPIVersion string

GetReceiverByIdParamsAPIVersion defines parameters for GetReceiverById.

const (
	GetReceiverByIdParamsAPIVersionV1 GetReceiverByIdParamsAPIVersion = "v1"
)

Defines values for GetReceiverByIdParamsAPIVersion.

func (GetReceiverByIdParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the GetReceiverByIdParamsAPIVersion enum.

type GetReceiverByIdResponse

type GetReceiverByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ClientReceiverResponse
}

func ParseGetReceiverByIdResponse

func ParseGetReceiverByIdResponse(rsp *http.Response) (*GetReceiverByIdResponse, error)

ParseGetReceiverByIdResponse parses an HTTP response from a GetReceiverByIdWithResponse call

func (GetReceiverByIdResponse) ContentType

func (r GetReceiverByIdResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetReceiverByIdResponse) Status

func (r GetReceiverByIdResponse) Status() string

Status returns HTTPResponse.Status

func (GetReceiverByIdResponse) StatusCode

func (r GetReceiverByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSaleConditionsParams

type GetSaleConditionsParams struct {
	APIVersion *GetSaleConditionsParamsAPIVersion `json:"API-Version,omitempty"`
}

GetSaleConditionsParams defines parameters for GetSaleConditions.

type GetSaleConditionsParamsAPIVersion

type GetSaleConditionsParamsAPIVersion string

GetSaleConditionsParamsAPIVersion defines parameters for GetSaleConditions.

const (
	GetSaleConditionsParamsAPIVersionV1 GetSaleConditionsParamsAPIVersion = "v1"
)

Defines values for GetSaleConditionsParamsAPIVersion.

func (GetSaleConditionsParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the GetSaleConditionsParamsAPIVersion enum.

type GetSaleConditionsResponse

type GetSaleConditionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]CatalogItemResponse
}

func ParseGetSaleConditionsResponse

func ParseGetSaleConditionsResponse(rsp *http.Response) (*GetSaleConditionsResponse, error)

ParseGetSaleConditionsResponse parses an HTTP response from a GetSaleConditionsWithResponse call

func (GetSaleConditionsResponse) ContentType

func (r GetSaleConditionsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetSaleConditionsResponse) Status

func (r GetSaleConditionsResponse) Status() string

Status returns HTTPResponse.Status

func (GetSaleConditionsResponse) StatusCode

func (r GetSaleConditionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSequencesParams

type GetSequencesParams struct {
	APIVersion *GetSequencesParamsAPIVersion `json:"API-Version,omitempty"`
}

GetSequencesParams defines parameters for GetSequences.

type GetSequencesParamsAPIVersion

type GetSequencesParamsAPIVersion string

GetSequencesParamsAPIVersion defines parameters for GetSequences.

const (
	GetSequencesParamsAPIVersionV1 GetSequencesParamsAPIVersion = "v1"
)

Defines values for GetSequencesParamsAPIVersion.

func (GetSequencesParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the GetSequencesParamsAPIVersion enum.

type GetSequencesResponse

type GetSequencesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]SequenceResponse
}

func ParseGetSequencesResponse

func ParseGetSequencesResponse(rsp *http.Response) (*GetSequencesResponse, error)

ParseGetSequencesResponse parses an HTTP response from a GetSequencesWithResponse call

func (GetSequencesResponse) ContentType

func (r GetSequencesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetSequencesResponse) Status

func (r GetSequencesResponse) Status() string

Status returns HTTPResponse.Status

func (GetSequencesResponse) StatusCode

func (r GetSequencesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTaxAuthorityExonerationParams

type GetTaxAuthorityExonerationParams struct {
	APIVersion *GetTaxAuthorityExonerationParamsAPIVersion `json:"API-Version,omitempty"`
}

GetTaxAuthorityExonerationParams defines parameters for GetTaxAuthorityExoneration.

type GetTaxAuthorityExonerationParamsAPIVersion

type GetTaxAuthorityExonerationParamsAPIVersion string

GetTaxAuthorityExonerationParamsAPIVersion defines parameters for GetTaxAuthorityExoneration.

const (
	GetTaxAuthorityExonerationParamsAPIVersionV1 GetTaxAuthorityExonerationParamsAPIVersion = "v1"
)

Defines values for GetTaxAuthorityExonerationParamsAPIVersion.

func (GetTaxAuthorityExonerationParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the GetTaxAuthorityExonerationParamsAPIVersion enum.

type GetTaxAuthorityExonerationResponse

type GetTaxAuthorityExonerationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TaxAuthorityExonerationResponse
}

func ParseGetTaxAuthorityExonerationResponse

func ParseGetTaxAuthorityExonerationResponse(rsp *http.Response) (*GetTaxAuthorityExonerationResponse, error)

ParseGetTaxAuthorityExonerationResponse parses an HTTP response from a GetTaxAuthorityExonerationWithResponse call

func (GetTaxAuthorityExonerationResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetTaxAuthorityExonerationResponse) Status

Status returns HTTPResponse.Status

func (GetTaxAuthorityExonerationResponse) StatusCode

func (r GetTaxAuthorityExonerationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTaxCodesParams

type GetTaxCodesParams struct {
	APIVersion *GetTaxCodesParamsAPIVersion `json:"API-Version,omitempty"`
}

GetTaxCodesParams defines parameters for GetTaxCodes.

type GetTaxCodesParamsAPIVersion

type GetTaxCodesParamsAPIVersion string

GetTaxCodesParamsAPIVersion defines parameters for GetTaxCodes.

const (
	GetTaxCodesParamsAPIVersionV1 GetTaxCodesParamsAPIVersion = "v1"
)

Defines values for GetTaxCodesParamsAPIVersion.

func (GetTaxCodesParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the GetTaxCodesParamsAPIVersion enum.

type GetTaxCodesResponse

type GetTaxCodesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]CatalogItemResponse
}

func ParseGetTaxCodesResponse

func ParseGetTaxCodesResponse(rsp *http.Response) (*GetTaxCodesResponse, error)

ParseGetTaxCodesResponse parses an HTTP response from a GetTaxCodesWithResponse call

func (GetTaxCodesResponse) ContentType

func (r GetTaxCodesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetTaxCodesResponse) Status

func (r GetTaxCodesResponse) Status() string

Status returns HTTPResponse.Status

func (GetTaxCodesResponse) StatusCode

func (r GetTaxCodesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTaxRatesSummaryParams

type GetTaxRatesSummaryParams struct {
	From       *openapi_types.Date                 `form:"from,omitempty" json:"from,omitempty"`
	To         *openapi_types.Date                 `form:"to,omitempty" json:"to,omitempty"`
	Year       *int32                              `form:"year,omitempty" json:"year,omitempty"`
	Month      *int32                              `form:"month,omitempty" json:"month,omitempty"`
	FormCode   *string                             `form:"formCode,omitempty" json:"formCode,omitempty"`
	APIVersion *GetTaxRatesSummaryParamsAPIVersion `json:"API-Version,omitempty"`
}

GetTaxRatesSummaryParams defines parameters for GetTaxRatesSummary.

type GetTaxRatesSummaryParamsAPIVersion

type GetTaxRatesSummaryParamsAPIVersion string

GetTaxRatesSummaryParamsAPIVersion defines parameters for GetTaxRatesSummary.

const (
	GetTaxRatesSummaryParamsAPIVersionV1 GetTaxRatesSummaryParamsAPIVersion = "v1"
)

Defines values for GetTaxRatesSummaryParamsAPIVersion.

func (GetTaxRatesSummaryParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the GetTaxRatesSummaryParamsAPIVersion enum.

type GetTaxRatesSummaryResponse

type GetTaxRatesSummaryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *FiscalTaxRatesSummaryResponse
	JSON400      *FiscalTaxRatesSummaryResponse
}

func ParseGetTaxRatesSummaryResponse

func ParseGetTaxRatesSummaryResponse(rsp *http.Response) (*GetTaxRatesSummaryResponse, error)

ParseGetTaxRatesSummaryResponse parses an HTTP response from a GetTaxRatesSummaryWithResponse call

func (GetTaxRatesSummaryResponse) ContentType

func (r GetTaxRatesSummaryResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetTaxRatesSummaryResponse) Status

Status returns HTTPResponse.Status

func (GetTaxRatesSummaryResponse) StatusCode

func (r GetTaxRatesSummaryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTaxpayerInfoParams

type GetTaxpayerInfoParams struct {
	APIVersion *GetTaxpayerInfoParamsAPIVersion `json:"API-Version,omitempty"`
}

GetTaxpayerInfoParams defines parameters for GetTaxpayerInfo.

type GetTaxpayerInfoParamsAPIVersion

type GetTaxpayerInfoParamsAPIVersion string

GetTaxpayerInfoParamsAPIVersion defines parameters for GetTaxpayerInfo.

const (
	GetTaxpayerInfoParamsAPIVersionV1 GetTaxpayerInfoParamsAPIVersion = "v1"
)

Defines values for GetTaxpayerInfoParamsAPIVersion.

func (GetTaxpayerInfoParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the GetTaxpayerInfoParamsAPIVersion enum.

type GetTaxpayerInfoResponse

type GetTaxpayerInfoResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TaxpayerInfoResponse
}

func ParseGetTaxpayerInfoResponse

func ParseGetTaxpayerInfoResponse(rsp *http.Response) (*GetTaxpayerInfoResponse, error)

ParseGetTaxpayerInfoResponse parses an HTTP response from a GetTaxpayerInfoWithResponse call

func (GetTaxpayerInfoResponse) ContentType

func (r GetTaxpayerInfoResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetTaxpayerInfoResponse) Status

func (r GetTaxpayerInfoResponse) Status() string

Status returns HTTPResponse.Status

func (GetTaxpayerInfoResponse) StatusCode

func (r GetTaxpayerInfoResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTaxpayerParams

type GetTaxpayerParams struct {
	APIVersion *GetTaxpayerParamsAPIVersion `json:"API-Version,omitempty"`
}

GetTaxpayerParams defines parameters for GetTaxpayer.

type GetTaxpayerParamsAPIVersion

type GetTaxpayerParamsAPIVersion string

GetTaxpayerParamsAPIVersion defines parameters for GetTaxpayer.

const (
	GetTaxpayerParamsAPIVersionV1 GetTaxpayerParamsAPIVersion = "v1"
)

Defines values for GetTaxpayerParamsAPIVersion.

func (GetTaxpayerParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the GetTaxpayerParamsAPIVersion enum.

type GetTaxpayerResponse

type GetTaxpayerResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TaxpayerInfoResponse
}

func ParseGetTaxpayerResponse

func ParseGetTaxpayerResponse(rsp *http.Response) (*GetTaxpayerResponse, error)

ParseGetTaxpayerResponse parses an HTTP response from a GetTaxpayerWithResponse call

func (GetTaxpayerResponse) ContentType

func (r GetTaxpayerResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetTaxpayerResponse) Status

func (r GetTaxpayerResponse) Status() string

Status returns HTTPResponse.Status

func (GetTaxpayerResponse) StatusCode

func (r GetTaxpayerResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTenantParams

type GetTenantParams struct {
	APIVersion *GetTenantParamsAPIVersion `json:"API-Version,omitempty"`
}

GetTenantParams defines parameters for GetTenant.

type GetTenantParamsAPIVersion

type GetTenantParamsAPIVersion string

GetTenantParamsAPIVersion defines parameters for GetTenant.

const (
	GetTenantParamsAPIVersionV1 GetTenantParamsAPIVersion = "v1"
)

Defines values for GetTenantParamsAPIVersion.

func (GetTenantParamsAPIVersion) Valid

func (e GetTenantParamsAPIVersion) Valid() bool

Valid indicates whether the value is a known member of the GetTenantParamsAPIVersion enum.

type GetTenantResponse

type GetTenantResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TenantResponse
}

func ParseGetTenantResponse

func ParseGetTenantResponse(rsp *http.Response) (*GetTenantResponse, error)

ParseGetTenantResponse parses an HTTP response from a GetTenantWithResponse call

func (GetTenantResponse) ContentType

func (r GetTenantResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetTenantResponse) Status

func (r GetTenantResponse) Status() string

Status returns HTTPResponse.Status

func (GetTenantResponse) StatusCode

func (r GetTenantResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetUnitsOfMeasureParams

type GetUnitsOfMeasureParams struct {
	APIVersion *GetUnitsOfMeasureParamsAPIVersion `json:"API-Version,omitempty"`
}

GetUnitsOfMeasureParams defines parameters for GetUnitsOfMeasure.

type GetUnitsOfMeasureParamsAPIVersion

type GetUnitsOfMeasureParamsAPIVersion string

GetUnitsOfMeasureParamsAPIVersion defines parameters for GetUnitsOfMeasure.

const (
	GetUnitsOfMeasureParamsAPIVersionV1 GetUnitsOfMeasureParamsAPIVersion = "v1"
)

Defines values for GetUnitsOfMeasureParamsAPIVersion.

func (GetUnitsOfMeasureParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the GetUnitsOfMeasureParamsAPIVersion enum.

type GetUnitsOfMeasureResponse

type GetUnitsOfMeasureResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]CatalogItemResponse
}

func ParseGetUnitsOfMeasureResponse

func ParseGetUnitsOfMeasureResponse(rsp *http.Response) (*GetUnitsOfMeasureResponse, error)

ParseGetUnitsOfMeasureResponse parses an HTTP response from a GetUnitsOfMeasureWithResponse call

func (GetUnitsOfMeasureResponse) ContentType

func (r GetUnitsOfMeasureResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetUnitsOfMeasureResponse) Status

func (r GetUnitsOfMeasureResponse) Status() string

Status returns HTTPResponse.Status

func (GetUnitsOfMeasureResponse) StatusCode

func (r GetUnitsOfMeasureResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetVatRateCodesParams

type GetVatRateCodesParams struct {
	APIVersion *GetVatRateCodesParamsAPIVersion `json:"API-Version,omitempty"`
}

GetVatRateCodesParams defines parameters for GetVatRateCodes.

type GetVatRateCodesParamsAPIVersion

type GetVatRateCodesParamsAPIVersion string

GetVatRateCodesParamsAPIVersion defines parameters for GetVatRateCodes.

const (
	GetVatRateCodesParamsAPIVersionV1 GetVatRateCodesParamsAPIVersion = "v1"
)

Defines values for GetVatRateCodesParamsAPIVersion.

func (GetVatRateCodesParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the GetVatRateCodesParamsAPIVersion enum.

type GetVatRateCodesResponse

type GetVatRateCodesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]CatalogItemResponse
}

func ParseGetVatRateCodesResponse

func ParseGetVatRateCodesResponse(rsp *http.Response) (*GetVatRateCodesResponse, error)

ParseGetVatRateCodesResponse parses an HTTP response from a GetVatRateCodesWithResponse call

func (GetVatRateCodesResponse) ContentType

func (r GetVatRateCodesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetVatRateCodesResponse) Status

func (r GetVatRateCodesResponse) Status() string

Status returns HTTPResponse.Status

func (GetVatRateCodesResponse) StatusCode

func (r GetVatRateCodesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetVatSummaryParams

type GetVatSummaryParams struct {
	From       *openapi_types.Date            `form:"from,omitempty" json:"from,omitempty"`
	To         *openapi_types.Date            `form:"to,omitempty" json:"to,omitempty"`
	Year       *int32                         `form:"year,omitempty" json:"year,omitempty"`
	Month      *int32                         `form:"month,omitempty" json:"month,omitempty"`
	FormCode   *string                        `form:"formCode,omitempty" json:"formCode,omitempty"`
	APIVersion *GetVatSummaryParamsAPIVersion `json:"API-Version,omitempty"`
}

GetVatSummaryParams defines parameters for GetVatSummary.

type GetVatSummaryParamsAPIVersion

type GetVatSummaryParamsAPIVersion string

GetVatSummaryParamsAPIVersion defines parameters for GetVatSummary.

const (
	GetVatSummaryParamsAPIVersionV1 GetVatSummaryParamsAPIVersion = "v1"
)

Defines values for GetVatSummaryParamsAPIVersion.

func (GetVatSummaryParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the GetVatSummaryParamsAPIVersion enum.

type GetVatSummaryResponse

type GetVatSummaryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *FiscalVatSummaryResponse
	JSON400      *FiscalVatSummaryResponse
}

func ParseGetVatSummaryResponse

func ParseGetVatSummaryResponse(rsp *http.Response) (*GetVatSummaryResponse, error)

ParseGetVatSummaryResponse parses an HTTP response from a GetVatSummaryWithResponse call

func (GetVatSummaryResponse) ContentType

func (r GetVatSummaryResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetVatSummaryResponse) Status

func (r GetVatSummaryResponse) Status() string

Status returns HTTPResponse.Status

func (GetVatSummaryResponse) StatusCode

func (r GetVatSummaryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetWebhookParams

type GetWebhookParams struct {
	APIVersion *GetWebhookParamsAPIVersion `json:"API-Version,omitempty"`
}

GetWebhookParams defines parameters for GetWebhook.

type GetWebhookParamsAPIVersion

type GetWebhookParamsAPIVersion string

GetWebhookParamsAPIVersion defines parameters for GetWebhook.

const (
	GetWebhookParamsAPIVersionV1 GetWebhookParamsAPIVersion = "v1"
)

Defines values for GetWebhookParamsAPIVersion.

func (GetWebhookParamsAPIVersion) Valid

func (e GetWebhookParamsAPIVersion) Valid() bool

Valid indicates whether the value is a known member of the GetWebhookParamsAPIVersion enum.

type GetWebhookResponse

type GetWebhookResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *WebhookEndpointResponse
}

func ParseGetWebhookResponse

func ParseGetWebhookResponse(rsp *http.Response) (*GetWebhookResponse, error)

ParseGetWebhookResponse parses an HTTP response from a GetWebhookWithResponse call

func (GetWebhookResponse) ContentType

func (r GetWebhookResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetWebhookResponse) Status

func (r GetWebhookResponse) Status() string

Status returns HTTPResponse.Status

func (GetWebhookResponse) StatusCode

func (r GetWebhookResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetWebhooksParams

type GetWebhooksParams struct {
	APIVersion *GetWebhooksParamsAPIVersion `json:"API-Version,omitempty"`
}

GetWebhooksParams defines parameters for GetWebhooks.

type GetWebhooksParamsAPIVersion

type GetWebhooksParamsAPIVersion string

GetWebhooksParamsAPIVersion defines parameters for GetWebhooks.

const (
	GetWebhooksParamsAPIVersionV1 GetWebhooksParamsAPIVersion = "v1"
)

Defines values for GetWebhooksParamsAPIVersion.

func (GetWebhooksParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the GetWebhooksParamsAPIVersion enum.

type GetWebhooksResponse

type GetWebhooksResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]WebhookEndpointResponse
}

func ParseGetWebhooksResponse

func ParseGetWebhooksResponse(rsp *http.Response) (*GetWebhooksResponse, error)

ParseGetWebhooksResponse parses an HTTP response from a GetWebhooksWithResponse call

func (GetWebhooksResponse) ContentType

func (r GetWebhooksResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetWebhooksResponse) Status

func (r GetWebhooksResponse) Status() string

Status returns HTTPResponse.Status

func (GetWebhooksResponse) StatusCode

func (r GetWebhooksResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type HttpRequestDoer

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

Doer performs HTTP requests.

The standard http.Client implements this interface.

type Item

type Item struct {
	Categories  *[]string `json:"categories,omitempty"`
	Code        *string   `json:"code,omitempty"`
	Description *string   `json:"description,omitempty"`
	Status      *string   `json:"status,omitempty"`
	Tax         *int32    `json:"tax,omitempty"`
}

Item defines model for Item.

type LegalIdentificationDto

type LegalIdentificationDto struct {
	Number string `json:"number"`
	Type   string `json:"type"`
}

LegalIdentificationDto defines model for LegalIdentificationDto.

type LegalIdentificationRequest

type LegalIdentificationRequest struct {
	Number string `json:"number"`
	Type   string `json:"type"`
}

LegalIdentificationRequest defines model for LegalIdentificationRequest.

type LegalIdentificationResponse

type LegalIdentificationResponse struct {
	Number *string `json:"number,omitempty"`
	Type   *string `json:"type,omitempty"`
}

LegalIdentificationResponse defines model for LegalIdentificationResponse.

type OtherChargeRequest

type OtherChargeRequest struct {
	// ChargeAmount Monto del cargo.
	ChargeAmount Decimal `json:"chargeAmount"`

	// Detail Detalle del cargo.
	Detail string `json:"detail"`

	// DocumentType Codigo Hacienda del tipo de cargo. Use 99 para otros y envie documentTypeOther.
	DocumentType string `json:"documentType"`

	// DocumentTypeOther Opcional por defecto. Requerido cuando documentType=99.
	DocumentTypeOther *string `json:"documentTypeOther,omitempty"`

	// Percentage Opcional. Porcentaje usado para calcular el cargo cuando aplique.
	Percentage *Decimal `json:"percentage,omitempty"`

	// ThirdPartyIdNumber Opcional. Identificacion del tercero que genera el cargo.
	ThirdPartyIdNumber *string `json:"thirdPartyIdNumber,omitempty"`

	// ThirdPartyIdType Opcional por defecto. Requerido cuando thirdPartyIdNumber se envia.
	ThirdPartyIdType *string `json:"thirdPartyIdType,omitempty"`

	// ThirdPartyName Opcional por defecto. Requerido cuando thirdPartyIdNumber se envia.
	ThirdPartyName *string `json:"thirdPartyName,omitempty"`
}

OtherChargeRequest Cargo adicional aplicado al documento.

type PageResponseClientReceiverResponse

type PageResponseClientReceiverResponse struct {
	Content          *[]ClientReceiverResponse `json:"content,omitempty"`
	Empty            *bool                     `json:"empty,omitempty"`
	First            *bool                     `json:"first,omitempty"`
	Last             *bool                     `json:"last,omitempty"`
	Number           *int32                    `json:"number,omitempty"`
	NumberOfElements *int32                    `json:"numberOfElements,omitempty"`
	Pageable         *PageableResponse         `json:"pageable,omitempty"`
	Size             *int32                    `json:"size,omitempty"`
	Sort             *SortResponse             `json:"sort,omitempty"`
	TotalElements    *int64                    `json:"totalElements,omitempty"`
	TotalPages       *int32                    `json:"totalPages,omitempty"`
}

PageResponseClientReceiverResponse defines model for PageResponseClientReceiverResponse.

type PageResponseClientResponse

type PageResponseClientResponse struct {
	Content          *[]ClientResponse `json:"content,omitempty"`
	Empty            *bool             `json:"empty,omitempty"`
	First            *bool             `json:"first,omitempty"`
	Last             *bool             `json:"last,omitempty"`
	Number           *int32            `json:"number,omitempty"`
	NumberOfElements *int32            `json:"numberOfElements,omitempty"`
	Pageable         *PageableResponse `json:"pageable,omitempty"`
	Size             *int32            `json:"size,omitempty"`
	Sort             *SortResponse     `json:"sort,omitempty"`
	TotalElements    *int64            `json:"totalElements,omitempty"`
	TotalPages       *int32            `json:"totalPages,omitempty"`
}

PageResponseClientResponse defines model for PageResponseClientResponse.

type PageResponseDocumentResponse

type PageResponseDocumentResponse struct {
	Content          *[]DocumentResponse `json:"content,omitempty"`
	Empty            *bool               `json:"empty,omitempty"`
	First            *bool               `json:"first,omitempty"`
	Last             *bool               `json:"last,omitempty"`
	Number           *int32              `json:"number,omitempty"`
	NumberOfElements *int32              `json:"numberOfElements,omitempty"`
	Pageable         *PageableResponse   `json:"pageable,omitempty"`
	Size             *int32              `json:"size,omitempty"`
	Sort             *SortResponse       `json:"sort,omitempty"`
	TotalElements    *int64              `json:"totalElements,omitempty"`
	TotalPages       *int32              `json:"totalPages,omitempty"`
}

PageResponseDocumentResponse defines model for PageResponseDocumentResponse.

type PageResponseTenantIssuerResponse

type PageResponseTenantIssuerResponse struct {
	Content          *[]TenantIssuerResponse `json:"content,omitempty"`
	Empty            *bool                   `json:"empty,omitempty"`
	First            *bool                   `json:"first,omitempty"`
	Last             *bool                   `json:"last,omitempty"`
	Number           *int32                  `json:"number,omitempty"`
	NumberOfElements *int32                  `json:"numberOfElements,omitempty"`
	Pageable         *PageableResponse       `json:"pageable,omitempty"`
	Size             *int32                  `json:"size,omitempty"`
	Sort             *SortResponse           `json:"sort,omitempty"`
	TotalElements    *int64                  `json:"totalElements,omitempty"`
	TotalPages       *int32                  `json:"totalPages,omitempty"`
}

PageResponseTenantIssuerResponse defines model for PageResponseTenantIssuerResponse.

type Pageable

type Pageable struct {
	Page *int32    `json:"page,omitempty"`
	Size *int32    `json:"size,omitempty"`
	Sort *[]string `json:"sort,omitempty"`
}

Pageable defines model for Pageable.

type PageableResponse

type PageableResponse struct {
	Offset     *int64        `json:"offset,omitempty"`
	PageNumber *int32        `json:"pageNumber,omitempty"`
	PageSize   *int32        `json:"pageSize,omitempty"`
	Paged      *bool         `json:"paged,omitempty"`
	Sort       *SortResponse `json:"sort,omitempty"`
	Unpaged    *bool         `json:"unpaged,omitempty"`
}

PageableResponse defines model for PageableResponse.

type PhoneRequest

type PhoneRequest struct {
	CountryCode *string `json:"countryCode,omitempty"`
	Number      *string `json:"number,omitempty"`
}

PhoneRequest defines model for PhoneRequest.

type PhoneResponse

type PhoneResponse struct {
	CountryCode *string `json:"countryCode,omitempty"`
	Number      *string `json:"number,omitempty"`
}

PhoneResponse defines model for PhoneResponse.

type ProducerRegistryResponse

type ProducerRegistryResponse struct {
	Details             *map[string]interface{} `json:"details,omitempty"`
	LegalIdentification *string                 `json:"legalIdentification,omitempty"`
}

ProducerRegistryResponse defines model for ProducerRegistryResponse.

type Rate

type Rate struct {
	Date  *openapi_types.Date `json:"date,omitempty"`
	Value *Decimal            `json:"value,omitempty"`
}

Rate defines model for Rate.

type ReceiverMessageRequest

type ReceiverMessageRequest struct {
	Clave                       string   `json:"clave"`
	CodigoActividad             string   `json:"codigoActividad"`
	CondicionImpuesto           *string  `json:"condicionImpuesto,omitempty"`
	DetalleMensaje              *string  `json:"detalleMensaje,omitempty"`
	FechaEmisionDoc             string   `json:"fechaEmisionDoc"`
	Mensaje                     int32    `json:"mensaje"`
	MontoTotalDeGastoAplicable  *Decimal `json:"montoTotalDeGastoAplicable,omitempty"`
	MontoTotalImpuesto          *Decimal `json:"montoTotalImpuesto,omitempty"`
	MontoTotalImpuestoAcreditar *Decimal `json:"montoTotalImpuestoAcreditar,omitempty"`
	NumeroCedulaEmisor          string   `json:"numeroCedulaEmisor"`
	NumeroConsecutivoReceptor   string   `json:"numeroConsecutivoReceptor"`
	TotalVenta                  Decimal  `json:"totalVenta"`
}

ReceiverMessageRequest defines model for ReceiverMessageRequest.

type RefreshExonerationParams

type RefreshExonerationParams struct {
	APIVersion *RefreshExonerationParamsAPIVersion `json:"API-Version,omitempty"`
}

RefreshExonerationParams defines parameters for RefreshExoneration.

type RefreshExonerationParamsAPIVersion

type RefreshExonerationParamsAPIVersion string

RefreshExonerationParamsAPIVersion defines parameters for RefreshExoneration.

const (
	RefreshExonerationParamsAPIVersionV1 RefreshExonerationParamsAPIVersion = "v1"
)

Defines values for RefreshExonerationParamsAPIVersion.

func (RefreshExonerationParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the RefreshExonerationParamsAPIVersion enum.

type RefreshExonerationResponse

type RefreshExonerationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ClientExonerationResponse
}

func ParseRefreshExonerationResponse

func ParseRefreshExonerationResponse(rsp *http.Response) (*RefreshExonerationResponse, error)

ParseRefreshExonerationResponse parses an HTTP response from a RefreshExonerationWithResponse call

func (RefreshExonerationResponse) ContentType

func (r RefreshExonerationResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (RefreshExonerationResponse) Status

Status returns HTTPResponse.Status

func (RefreshExonerationResponse) StatusCode

func (r RefreshExonerationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RegenerateDocumentPdfParams

type RegenerateDocumentPdfParams struct {
	APIVersion *RegenerateDocumentPdfParamsAPIVersion `json:"API-Version,omitempty"`
}

RegenerateDocumentPdfParams defines parameters for RegenerateDocumentPdf.

type RegenerateDocumentPdfParamsAPIVersion

type RegenerateDocumentPdfParamsAPIVersion string

RegenerateDocumentPdfParamsAPIVersion defines parameters for RegenerateDocumentPdf.

const (
	RegenerateDocumentPdfParamsAPIVersionV1 RegenerateDocumentPdfParamsAPIVersion = "v1"
)

Defines values for RegenerateDocumentPdfParamsAPIVersion.

func (RegenerateDocumentPdfParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the RegenerateDocumentPdfParamsAPIVersion enum.

type RegenerateDocumentPdfResponse

type RegenerateDocumentPdfResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *map[string]string
}

func ParseRegenerateDocumentPdfResponse

func ParseRegenerateDocumentPdfResponse(rsp *http.Response) (*RegenerateDocumentPdfResponse, error)

ParseRegenerateDocumentPdfResponse parses an HTTP response from a RegenerateDocumentPdfWithResponse call

func (RegenerateDocumentPdfResponse) ContentType

func (r RegenerateDocumentPdfResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (RegenerateDocumentPdfResponse) Status

Status returns HTTPResponse.Status

func (RegenerateDocumentPdfResponse) StatusCode

func (r RegenerateDocumentPdfResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RegisterExonerationJSONRequestBody

type RegisterExonerationJSONRequestBody = ClientExonerationRequest

RegisterExonerationJSONRequestBody defines body for RegisterExoneration for application/json ContentType.

type RegisterExonerationParams

type RegisterExonerationParams struct {
	APIVersion *RegisterExonerationParamsAPIVersion `json:"API-Version,omitempty"`
}

RegisterExonerationParams defines parameters for RegisterExoneration.

type RegisterExonerationParamsAPIVersion

type RegisterExonerationParamsAPIVersion string

RegisterExonerationParamsAPIVersion defines parameters for RegisterExoneration.

const (
	RegisterExonerationParamsAPIVersionV1 RegisterExonerationParamsAPIVersion = "v1"
)

Defines values for RegisterExonerationParamsAPIVersion.

func (RegisterExonerationParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the RegisterExonerationParamsAPIVersion enum.

type RegisterExonerationResponse

type RegisterExonerationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ClientExonerationResponse
}

func ParseRegisterExonerationResponse

func ParseRegisterExonerationResponse(rsp *http.Response) (*RegisterExonerationResponse, error)

ParseRegisterExonerationResponse parses an HTTP response from a RegisterExonerationWithResponse call

func (RegisterExonerationResponse) ContentType

func (r RegisterExonerationResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (RegisterExonerationResponse) Status

Status returns HTTPResponse.Status

func (RegisterExonerationResponse) StatusCode

func (r RegisterExonerationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RequestEditorFn

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

type SearchCabysParams

type SearchCabysParams struct {
	Query      string                       `form:"query" json:"query"`
	Limit      *int32                       `form:"limit,omitempty" json:"limit,omitempty"`
	APIVersion *SearchCabysParamsAPIVersion `json:"API-Version,omitempty"`
}

SearchCabysParams defines parameters for SearchCabys.

type SearchCabysParamsAPIVersion

type SearchCabysParamsAPIVersion string

SearchCabysParamsAPIVersion defines parameters for SearchCabys.

const (
	SearchCabysParamsAPIVersionV1 SearchCabysParamsAPIVersion = "v1"
)

Defines values for SearchCabysParamsAPIVersion.

func (SearchCabysParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the SearchCabysParamsAPIVersion enum.

type SearchCabysResponse

type SearchCabysResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CabysQueryResponse
}

func ParseSearchCabysResponse

func ParseSearchCabysResponse(rsp *http.Response) (*SearchCabysResponse, error)

ParseSearchCabysResponse parses an HTTP response from a SearchCabysWithResponse call

func (SearchCabysResponse) ContentType

func (r SearchCabysResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (SearchCabysResponse) Status

func (r SearchCabysResponse) Status() string

Status returns HTTPResponse.Status

func (SearchCabysResponse) StatusCode

func (r SearchCabysResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SendDocumentEmailParams

type SendDocumentEmailParams struct {
	APIVersion *SendDocumentEmailParamsAPIVersion `json:"API-Version,omitempty"`
}

SendDocumentEmailParams defines parameters for SendDocumentEmail.

type SendDocumentEmailParamsAPIVersion

type SendDocumentEmailParamsAPIVersion string

SendDocumentEmailParamsAPIVersion defines parameters for SendDocumentEmail.

const (
	SendDocumentEmailParamsAPIVersionV1 SendDocumentEmailParamsAPIVersion = "v1"
)

Defines values for SendDocumentEmailParamsAPIVersion.

func (SendDocumentEmailParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the SendDocumentEmailParamsAPIVersion enum.

type SendDocumentEmailResponse

type SendDocumentEmailResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *map[string]interface{}
}

func ParseSendDocumentEmailResponse

func ParseSendDocumentEmailResponse(rsp *http.Response) (*SendDocumentEmailResponse, error)

ParseSendDocumentEmailResponse parses an HTTP response from a SendDocumentEmailWithResponse call

func (SendDocumentEmailResponse) ContentType

func (r SendDocumentEmailResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (SendDocumentEmailResponse) Status

func (r SendDocumentEmailResponse) Status() string

Status returns HTTPResponse.Status

func (SendDocumentEmailResponse) StatusCode

func (r SendDocumentEmailResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SequenceResponse

type SequenceResponse struct {
	BranchCode       *string                       `json:"branchCode,omitempty"`
	BranchId         *int64                        `json:"branchId,omitempty"`
	BranchName       *string                       `json:"branchName,omitempty"`
	CashRegisterId   *int64                        `json:"cashRegisterId,omitempty"`
	CashRegisterName *string                       `json:"cashRegisterName,omitempty"`
	DocumentType     *SequenceResponseDocumentType `json:"documentType,omitempty"`
	Id               *int64                        `json:"id,omitempty"`
	LastConsecutive  *string                       `json:"lastConsecutive,omitempty"`
	LastNumber       *int64                        `json:"lastNumber,omitempty"`
	NextConsecutive  *string                       `json:"nextConsecutive,omitempty"`
	NextNumber       *int64                        `json:"nextNumber,omitempty"`
	TerminalCode     *string                       `json:"terminalCode,omitempty"`
}

SequenceResponse defines model for SequenceResponse.

type SequenceResponseDocumentType

type SequenceResponseDocumentType string

SequenceResponseDocumentType defines model for SequenceResponse.DocumentType.

const (
	CREDITNOTE               SequenceResponseDocumentType = "CREDIT_NOTE"
	DEBITNOTE                SequenceResponseDocumentType = "DEBIT_NOTE"
	ELECTRONICPAYMENTRECEIPT SequenceResponseDocumentType = "ELECTRONIC_PAYMENT_RECEIPT"
	EXPORTINVOICE            SequenceResponseDocumentType = "EXPORT_INVOICE"
	INVOICE                  SequenceResponseDocumentType = "INVOICE"
	PURCHASEINVOICE          SequenceResponseDocumentType = "PURCHASE_INVOICE"
	RECEIPT                  SequenceResponseDocumentType = "RECEIPT"
	RECEIVERMESSAGE          SequenceResponseDocumentType = "RECEIVER_MESSAGE"
)

Defines values for SequenceResponseDocumentType.

func (SequenceResponseDocumentType) Valid

Valid indicates whether the value is a known member of the SequenceResponseDocumentType enum.

type SequenceUpdateRequest

type SequenceUpdateRequest struct {
	// LastNumber Ultimo consecutivo ya usado. La proxima emision usara lastNumber + 1.
	LastNumber int64 `json:"lastNumber"`

	// Reason Razon auditable del ajuste manual.
	Reason string `json:"reason"`
}

SequenceUpdateRequest Ajuste manual de una secuencia fiscal existente.

type SetDefaultBranchParams

type SetDefaultBranchParams struct {
	APIVersion *SetDefaultBranchParamsAPIVersion `json:"API-Version,omitempty"`
}

SetDefaultBranchParams defines parameters for SetDefaultBranch.

type SetDefaultBranchParamsAPIVersion

type SetDefaultBranchParamsAPIVersion string

SetDefaultBranchParamsAPIVersion defines parameters for SetDefaultBranch.

const (
	SetDefaultBranchParamsAPIVersionV1 SetDefaultBranchParamsAPIVersion = "v1"
)

Defines values for SetDefaultBranchParamsAPIVersion.

func (SetDefaultBranchParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the SetDefaultBranchParamsAPIVersion enum.

type SetDefaultBranchResponse

type SetDefaultBranchResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *BranchResponse
}

func ParseSetDefaultBranchResponse

func ParseSetDefaultBranchResponse(rsp *http.Response) (*SetDefaultBranchResponse, error)

ParseSetDefaultBranchResponse parses an HTTP response from a SetDefaultBranchWithResponse call

func (SetDefaultBranchResponse) ContentType

func (r SetDefaultBranchResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (SetDefaultBranchResponse) Status

func (r SetDefaultBranchResponse) Status() string

Status returns HTTPResponse.Status

func (SetDefaultBranchResponse) StatusCode

func (r SetDefaultBranchResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetDefaultCashRegisterParams

type SetDefaultCashRegisterParams struct {
	APIVersion *SetDefaultCashRegisterParamsAPIVersion `json:"API-Version,omitempty"`
}

SetDefaultCashRegisterParams defines parameters for SetDefaultCashRegister.

type SetDefaultCashRegisterParamsAPIVersion

type SetDefaultCashRegisterParamsAPIVersion string

SetDefaultCashRegisterParamsAPIVersion defines parameters for SetDefaultCashRegister.

const (
	SetDefaultCashRegisterParamsAPIVersionV1 SetDefaultCashRegisterParamsAPIVersion = "v1"
)

Defines values for SetDefaultCashRegisterParamsAPIVersion.

func (SetDefaultCashRegisterParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the SetDefaultCashRegisterParamsAPIVersion enum.

type SetDefaultCashRegisterResponse

type SetDefaultCashRegisterResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CashRegisterResponse
}

func ParseSetDefaultCashRegisterResponse

func ParseSetDefaultCashRegisterResponse(rsp *http.Response) (*SetDefaultCashRegisterResponse, error)

ParseSetDefaultCashRegisterResponse parses an HTTP response from a SetDefaultCashRegisterWithResponse call

func (SetDefaultCashRegisterResponse) ContentType

func (r SetDefaultCashRegisterResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (SetDefaultCashRegisterResponse) Status

Status returns HTTPResponse.Status

func (SetDefaultCashRegisterResponse) StatusCode

func (r SetDefaultCashRegisterResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetDefaultIssuerParams

type SetDefaultIssuerParams struct {
	APIVersion *SetDefaultIssuerParamsAPIVersion `json:"API-Version,omitempty"`
}

SetDefaultIssuerParams defines parameters for SetDefaultIssuer.

type SetDefaultIssuerParamsAPIVersion

type SetDefaultIssuerParamsAPIVersion string

SetDefaultIssuerParamsAPIVersion defines parameters for SetDefaultIssuer.

const (
	SetDefaultIssuerParamsAPIVersionV1 SetDefaultIssuerParamsAPIVersion = "v1"
)

Defines values for SetDefaultIssuerParamsAPIVersion.

func (SetDefaultIssuerParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the SetDefaultIssuerParamsAPIVersion enum.

type SetDefaultIssuerResponse

type SetDefaultIssuerResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TenantIssuerResponse
}

func ParseSetDefaultIssuerResponse

func ParseSetDefaultIssuerResponse(rsp *http.Response) (*SetDefaultIssuerResponse, error)

ParseSetDefaultIssuerResponse parses an HTTP response from a SetDefaultIssuerWithResponse call

func (SetDefaultIssuerResponse) ContentType

func (r SetDefaultIssuerResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (SetDefaultIssuerResponse) Status

func (r SetDefaultIssuerResponse) Status() string

Status returns HTTPResponse.Status

func (SetDefaultIssuerResponse) StatusCode

func (r SetDefaultIssuerResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SortResponse

type SortResponse struct {
	Empty    *bool `json:"empty,omitempty"`
	Sorted   *bool `json:"sorted,omitempty"`
	Unsorted *bool `json:"unsorted,omitempty"`
}

SortResponse defines model for SortResponse.

type SpecificTaxDataDto

type SpecificTaxDataDto struct {
	ConsumptionUnitVolume   *Decimal                           `json:"consumptionUnitVolume,omitempty"`
	MeasurementUnitQuantity Decimal                            `json:"measurementUnitQuantity"`
	Percentage              *Decimal                           `json:"percentage,omitempty"`
	Proportion              *Decimal                           `json:"proportion,omitempty"`
	SpecificTaxType         *SpecificTaxDataDtoSpecificTaxType `json:"specificTaxType,omitempty"`
	UnitTaxAmount           Decimal                            `json:"unitTaxAmount"`
}

SpecificTaxDataDto defines model for SpecificTaxDataDto.

type SpecificTaxDataDtoSpecificTaxType

type SpecificTaxDataDtoSpecificTaxType string

SpecificTaxDataDtoSpecificTaxType defines model for SpecificTaxDataDto.SpecificTaxType.

const (
	SpecificTaxDataDtoSpecificTaxTypeNONALCOHOLICBEVERAGE SpecificTaxDataDtoSpecificTaxType = "NON_ALCOHOLIC_BEVERAGE"
	SpecificTaxDataDtoSpecificTaxTypeTOILETSOAP           SpecificTaxDataDtoSpecificTaxType = "TOILET_SOAP"
)

Defines values for SpecificTaxDataDtoSpecificTaxType.

func (SpecificTaxDataDtoSpecificTaxType) Valid

Valid indicates whether the value is a known member of the SpecificTaxDataDtoSpecificTaxType enum.

type SpecificTaxDataRequest

type SpecificTaxDataRequest struct {
	ConsumptionUnitVolume   *Decimal                               `json:"consumptionUnitVolume,omitempty"`
	MeasurementUnitQuantity Decimal                                `json:"measurementUnitQuantity"`
	Percentage              *Decimal                               `json:"percentage,omitempty"`
	Proportion              *Decimal                               `json:"proportion,omitempty"`
	SpecificTaxType         *SpecificTaxDataRequestSpecificTaxType `json:"specificTaxType,omitempty"`
	UnitTaxAmount           Decimal                                `json:"unitTaxAmount"`
}

SpecificTaxDataRequest defines model for SpecificTaxDataRequest.

type SpecificTaxDataRequestSpecificTaxType

type SpecificTaxDataRequestSpecificTaxType string

SpecificTaxDataRequestSpecificTaxType defines model for SpecificTaxDataRequest.SpecificTaxType.

const (
	SpecificTaxDataRequestSpecificTaxTypeNONALCOHOLICBEVERAGE SpecificTaxDataRequestSpecificTaxType = "NON_ALCOHOLIC_BEVERAGE"
	SpecificTaxDataRequestSpecificTaxTypeTOILETSOAP           SpecificTaxDataRequestSpecificTaxType = "TOILET_SOAP"
)

Defines values for SpecificTaxDataRequestSpecificTaxType.

func (SpecificTaxDataRequestSpecificTaxType) Valid

Valid indicates whether the value is a known member of the SpecificTaxDataRequestSpecificTaxType enum.

type TaxAuthorityExonerationResponse

type TaxAuthorityExonerationResponse struct {
	AuthorizationNumber       *string       `json:"authorizationNumber,omitempty"`
	AuthorizationType         *string       `json:"authorizationType,omitempty"`
	BeneficiaryIdentification *string       `json:"beneficiaryIdentification,omitempty"`
	CabysCodes                *[]string     `json:"cabysCodes,omitempty"`
	CfiaProjectCode           *string       `json:"cfiaProjectCode,omitempty"`
	DocumentNumber            *string       `json:"documentNumber,omitempty"`
	DocumentType              *DocumentType `json:"documentType,omitempty"`
	ExonerationRate           *Decimal      `json:"exonerationRate,omitempty"`
	ExpiresAt                 *string       `json:"expiresAt,omitempty"`
	HasCabysRestrictions      *bool         `json:"hasCabysRestrictions,omitempty"`
	InstitutionCode           *string       `json:"institutionCode,omitempty"`
	InstitutionName           *string       `json:"institutionName,omitempty"`
	IssuedAt                  *string       `json:"issuedAt,omitempty"`
	Year                      *int32        `json:"year,omitempty"`
}

TaxAuthorityExonerationResponse defines model for TaxAuthorityExonerationResponse.

type TaxRequest

type TaxRequest struct {
	OtherTaxDataValid                        *bool                   `json:"otherTaxDataValid,omitempty"`
	SpecificTaxData                          *SpecificTaxDataRequest `json:"specificTaxData,omitempty"`
	SpecificTaxTypeValidForCode05            *bool                   `json:"specificTaxTypeValidForCode05,omitempty"`
	TaxAmount                                *Decimal                `json:"taxAmount,omitempty"`
	TaxCalculationBase                       *Decimal                `json:"taxCalculationBase,omitempty"`
	TaxCode                                  string                  `json:"taxCode"`
	TaxCodeOther                             *string                 `json:"taxCodeOther,omitempty"`
	TaxRate                                  *Decimal                `json:"taxRate,omitempty"`
	TaxRatePresentWhenRequiredForCalculation *bool                   `json:"taxRatePresentWhenRequiredForCalculation,omitempty"`
	UsedGoodsVatCalculationDataValid         *bool                   `json:"usedGoodsVatCalculationDataValid,omitempty"`
	VatCalculationFactor                     *Decimal                `json:"vatCalculationFactor,omitempty"`
	VatRateCode                              *string                 `json:"vatRateCode,omitempty"`
	VatRateCodeValidForVatTax                *bool                   `json:"vatRateCodeValidForVatTax,omitempty"`
	VatSpecialCalculationDataValid           *bool                   `json:"vatSpecialCalculationDataValid,omitempty"`
}

TaxRequest defines model for TaxRequest.

type TaxpayerInfoResponse

type TaxpayerInfoResponse struct {
	Activities          *[]EconomicActivity `json:"activities,omitempty"`
	LegalIdentification *string             `json:"legalIdentification,omitempty"`
	Name                *string             `json:"name,omitempty"`
	Regime              *string             `json:"regime,omitempty"`
	Status              *string             `json:"status,omitempty"`
}

TaxpayerInfoResponse defines model for TaxpayerInfoResponse.

type TenantCreateRequest

type TenantCreateRequest struct {
	AddressCanton       *string `json:"addressCanton,omitempty"`
	AddressDistrict     *string `json:"addressDistrict,omitempty"`
	AddressNeighborhood *string `json:"addressNeighborhood,omitempty"`
	AddressOtherSigns   *string `json:"addressOtherSigns,omitempty"`
	AddressProvince     *string `json:"addressProvince,omitempty"`

	// AuthPassword Password Hacienda del emisor.
	AuthPassword *string `json:"authPassword,omitempty"`

	// AuthUsername Usuario Hacienda del emisor.
	AuthUsername string `json:"authUsername"`

	// Certificate Certificado P12 del emisor.
	Certificate openapi_types.File `json:"certificate"`

	// CertificatePin PIN del certificado P12.
	CertificatePin      string                     `json:"certificatePin"`
	CommercialName      *string                    `json:"commercialName,omitempty"`
	CountryCode         *string                    `json:"countryCode,omitempty"`
	Email               *openapi_types.Email       `json:"email,omitempty"`
	FaxCountryCode      *string                    `json:"faxCountryCode,omitempty"`
	FaxNumber           *string                    `json:"faxNumber,omitempty"`
	IssuerActivityCode  string                     `json:"issuerActivityCode"`
	LegalIdentification LegalIdentificationRequest `json:"legalIdentification"`
	Name                string                     `json:"name"`
	Number              *string                    `json:"number,omitempty"`
}

TenantCreateRequest Creacion inicial de tenant. Enviar como multipart/form-data porque incluye certificado P12.

type TenantInvoicingStatusResponse

type TenantInvoicingStatusResponse struct {
	CertificateConfigured   *bool      `json:"certificateConfigured,omitempty"`
	CertificateExpired      *bool      `json:"certificateExpired,omitempty"`
	CertificateExpiresAt    *time.Time `json:"certificateExpiresAt,omitempty"`
	CertificateSubject      *string    `json:"certificateSubject,omitempty"`
	CredentialsConfigured   *bool      `json:"credentialsConfigured,omitempty"`
	DefaultIssuerConfigured *bool      `json:"defaultIssuerConfigured,omitempty"`
	HaciendaError           *string    `json:"haciendaError,omitempty"`
	HaciendaSessionValid    *bool      `json:"haciendaSessionValid,omitempty"`
	MissingRequirements     *[]string  `json:"missingRequirements,omitempty"`
	Ready                   *bool      `json:"ready,omitempty"`
}

TenantInvoicingStatusResponse defines model for TenantInvoicingStatusResponse.

type TenantIssuerRequest

type TenantIssuerRequest struct {
	Address                AddressRequest      `json:"address"`
	CommercialName         *string             `json:"commercialName,omitempty"`
	Email                  openapi_types.Email `json:"email"`
	Fax                    *PhoneRequest       `json:"fax,omitempty"`
	FiscalRegistration8707 *string             `json:"fiscalRegistration8707,omitempty"`
	IssuerActivityCode     string              `json:"issuerActivityCode"`
	Name                   string              `json:"name"`
	Phone                  *PhoneRequest       `json:"phone,omitempty"`
}

TenantIssuerRequest defines model for TenantIssuerRequest.

type TenantIssuerResponse

type TenantIssuerResponse struct {
	Address                *AddressResponse `json:"address,omitempty"`
	CommercialName         *string          `json:"commercialName,omitempty"`
	Email                  *string          `json:"email,omitempty"`
	Fax                    *PhoneResponse   `json:"fax,omitempty"`
	FiscalRegistration8707 *string          `json:"fiscalRegistration8707,omitempty"`
	Id                     *int64           `json:"id,omitempty"`
	IsDefault              *bool            `json:"isDefault,omitempty"`
	IssuerActivityCode     *string          `json:"issuerActivityCode,omitempty"`
	Name                   *string          `json:"name,omitempty"`
	Phone                  *PhoneResponse   `json:"phone,omitempty"`
}

TenantIssuerResponse defines model for TenantIssuerResponse.

type TenantLogoResponse

type TenantLogoResponse struct {
	ContentType      *string    `json:"contentType,omitempty"`
	FileSize         *int64     `json:"fileSize,omitempty"`
	OriginalFilename *string    `json:"originalFilename,omitempty"`
	UploadedAt       *time.Time `json:"uploadedAt,omitempty"`
	Url              *string    `json:"url,omitempty"`
}

TenantLogoResponse defines model for TenantLogoResponse.

type TenantProvisionRequest

type TenantProvisionRequest struct {
	LegalIdentification *LegalIdentificationRequest `json:"legalIdentification,omitempty"`
	Name                *string                     `json:"name,omitempty"`
	TenantSlug          *string                     `json:"tenantSlug,omitempty"`
}

TenantProvisionRequest defines model for TenantProvisionRequest.

type TenantResponse

type TenantResponse struct {
	CreatedAt           *time.Time                   `json:"createdAt,omitempty"`
	LegalIdentification *LegalIdentificationResponse `json:"legalIdentification,omitempty"`
	Name                *string                      `json:"name,omitempty"`
	Slug                *string                      `json:"slug,omitempty"`
	Token               *string                      `json:"token,omitempty"`
}

TenantResponse defines model for TenantResponse.

type TenantSecretsUpdateRequest

type TenantSecretsUpdateRequest struct {
	// AuthPassword Password de autenticacion Hacienda. Opcional.
	AuthPassword *string `json:"authPassword,omitempty"`

	// AuthUsername Usuario de autenticacion Hacienda. Opcional.
	AuthUsername *string `json:"authUsername,omitempty"`

	// Certificate Certificado P12. Opcional; requerido solo si se desea reemplazar certificado.
	Certificate *openapi_types.File `json:"certificate,omitempty"`

	// CertificatePin PIN del certificado. Opcional; requerido si se actualiza el certificado o el PIN.
	CertificatePin *string `json:"certificatePin,omitempty"`
}

TenantSecretsUpdateRequest Actualizacion parcial de secretos fiscales del tenant. Enviar como multipart/form-data.

type TenantUpdateRequest

type TenantUpdateRequest struct {
	CantonCode     *string `json:"cantonCode,omitempty"`
	CommercialName *string `json:"commercialName,omitempty"`
	CountryCode    *int32  `json:"countryCode,omitempty"`
	DistrictCode   *string `json:"districtCode,omitempty"`
	Email          *string `json:"email,omitempty"`
	Name           *string `json:"name,omitempty"`
	Neighborhood   *string `json:"neighborhood,omitempty"`
	Number         *int32  `json:"number,omitempty"`
	OtherSigns     *string `json:"otherSigns,omitempty"`
	ProvinceCode   *string `json:"provinceCode,omitempty"`
}

TenantUpdateRequest defines model for TenantUpdateRequest.

type TestWebhookParams

type TestWebhookParams struct {
	APIVersion *TestWebhookParamsAPIVersion `json:"API-Version,omitempty"`
}

TestWebhookParams defines parameters for TestWebhook.

type TestWebhookParamsAPIVersion

type TestWebhookParamsAPIVersion string

TestWebhookParamsAPIVersion defines parameters for TestWebhook.

const (
	TestWebhookParamsAPIVersionV1 TestWebhookParamsAPIVersion = "v1"
)

Defines values for TestWebhookParamsAPIVersion.

func (TestWebhookParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the TestWebhookParamsAPIVersion enum.

type TestWebhookResponse

type TestWebhookResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *WebhookTestResponse
}

func ParseTestWebhookResponse

func ParseTestWebhookResponse(rsp *http.Response) (*TestWebhookResponse, error)

ParseTestWebhookResponse parses an HTTP response from a TestWebhookWithResponse call

func (TestWebhookResponse) ContentType

func (r TestWebhookResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (TestWebhookResponse) Status

func (r TestWebhookResponse) Status() string

Status returns HTTPResponse.Status

func (TestWebhookResponse) StatusCode

func (r TestWebhookResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateBranchJSONRequestBody

type UpdateBranchJSONRequestBody = BranchRequest

UpdateBranchJSONRequestBody defines body for UpdateBranch for application/json ContentType.

type UpdateBranchParams

type UpdateBranchParams struct {
	APIVersion *UpdateBranchParamsAPIVersion `json:"API-Version,omitempty"`
}

UpdateBranchParams defines parameters for UpdateBranch.

type UpdateBranchParamsAPIVersion

type UpdateBranchParamsAPIVersion string

UpdateBranchParamsAPIVersion defines parameters for UpdateBranch.

const (
	UpdateBranchParamsAPIVersionV1 UpdateBranchParamsAPIVersion = "v1"
)

Defines values for UpdateBranchParamsAPIVersion.

func (UpdateBranchParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the UpdateBranchParamsAPIVersion enum.

type UpdateBranchResponse

type UpdateBranchResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *BranchResponse
}

func ParseUpdateBranchResponse

func ParseUpdateBranchResponse(rsp *http.Response) (*UpdateBranchResponse, error)

ParseUpdateBranchResponse parses an HTTP response from a UpdateBranchWithResponse call

func (UpdateBranchResponse) ContentType

func (r UpdateBranchResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateBranchResponse) Status

func (r UpdateBranchResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateBranchResponse) StatusCode

func (r UpdateBranchResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateCashRegisterJSONRequestBody

type UpdateCashRegisterJSONRequestBody = CashRegisterRequest

UpdateCashRegisterJSONRequestBody defines body for UpdateCashRegister for application/json ContentType.

type UpdateCashRegisterParams

type UpdateCashRegisterParams struct {
	APIVersion *UpdateCashRegisterParamsAPIVersion `json:"API-Version,omitempty"`
}

UpdateCashRegisterParams defines parameters for UpdateCashRegister.

type UpdateCashRegisterParamsAPIVersion

type UpdateCashRegisterParamsAPIVersion string

UpdateCashRegisterParamsAPIVersion defines parameters for UpdateCashRegister.

const (
	UpdateCashRegisterParamsAPIVersionV1 UpdateCashRegisterParamsAPIVersion = "v1"
)

Defines values for UpdateCashRegisterParamsAPIVersion.

func (UpdateCashRegisterParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the UpdateCashRegisterParamsAPIVersion enum.

type UpdateCashRegisterResponse

type UpdateCashRegisterResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CashRegisterResponse
}

func ParseUpdateCashRegisterResponse

func ParseUpdateCashRegisterResponse(rsp *http.Response) (*UpdateCashRegisterResponse, error)

ParseUpdateCashRegisterResponse parses an HTTP response from a UpdateCashRegisterWithResponse call

func (UpdateCashRegisterResponse) ContentType

func (r UpdateCashRegisterResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateCashRegisterResponse) Status

Status returns HTTPResponse.Status

func (UpdateCashRegisterResponse) StatusCode

func (r UpdateCashRegisterResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateCashRegisterSequenceJSONRequestBody

type UpdateCashRegisterSequenceJSONRequestBody = CashRegisterSequenceUpdateRequest

UpdateCashRegisterSequenceJSONRequestBody defines body for UpdateCashRegisterSequence for application/json ContentType.

type UpdateCashRegisterSequenceParams

type UpdateCashRegisterSequenceParams struct {
	APIVersion *UpdateCashRegisterSequenceParamsAPIVersion `json:"API-Version,omitempty"`
}

UpdateCashRegisterSequenceParams defines parameters for UpdateCashRegisterSequence.

type UpdateCashRegisterSequenceParamsAPIVersion

type UpdateCashRegisterSequenceParamsAPIVersion string

UpdateCashRegisterSequenceParamsAPIVersion defines parameters for UpdateCashRegisterSequence.

const (
	UpdateCashRegisterSequenceParamsAPIVersionV1 UpdateCashRegisterSequenceParamsAPIVersion = "v1"
)

Defines values for UpdateCashRegisterSequenceParamsAPIVersion.

func (UpdateCashRegisterSequenceParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the UpdateCashRegisterSequenceParamsAPIVersion enum.

type UpdateCashRegisterSequenceResponse

type UpdateCashRegisterSequenceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CashRegisterSequenceResponse
}

func ParseUpdateCashRegisterSequenceResponse

func ParseUpdateCashRegisterSequenceResponse(rsp *http.Response) (*UpdateCashRegisterSequenceResponse, error)

ParseUpdateCashRegisterSequenceResponse parses an HTTP response from a UpdateCashRegisterSequenceWithResponse call

func (UpdateCashRegisterSequenceResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateCashRegisterSequenceResponse) Status

Status returns HTTPResponse.Status

func (UpdateCashRegisterSequenceResponse) StatusCode

func (r UpdateCashRegisterSequenceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateClientJSONRequestBody

type UpdateClientJSONRequestBody = ClientUpdateRequest

UpdateClientJSONRequestBody defines body for UpdateClient for application/json ContentType.

type UpdateClientParams

type UpdateClientParams struct {
	APIVersion *UpdateClientParamsAPIVersion `json:"API-Version,omitempty"`
}

UpdateClientParams defines parameters for UpdateClient.

type UpdateClientParamsAPIVersion

type UpdateClientParamsAPIVersion string

UpdateClientParamsAPIVersion defines parameters for UpdateClient.

const (
	UpdateClientParamsAPIVersionV1 UpdateClientParamsAPIVersion = "v1"
)

Defines values for UpdateClientParamsAPIVersion.

func (UpdateClientParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the UpdateClientParamsAPIVersion enum.

type UpdateClientResponse

type UpdateClientResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ClientResponse
}

func ParseUpdateClientResponse

func ParseUpdateClientResponse(rsp *http.Response) (*UpdateClientResponse, error)

ParseUpdateClientResponse parses an HTTP response from a UpdateClientWithResponse call

func (UpdateClientResponse) ContentType

func (r UpdateClientResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateClientResponse) Status

func (r UpdateClientResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateClientResponse) StatusCode

func (r UpdateClientResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateDefaultReceiverJSONBody

type UpdateDefaultReceiverJSONBody map[string]int64

UpdateDefaultReceiverJSONBody defines parameters for UpdateDefaultReceiver.

type UpdateDefaultReceiverJSONRequestBody

type UpdateDefaultReceiverJSONRequestBody UpdateDefaultReceiverJSONBody

UpdateDefaultReceiverJSONRequestBody defines body for UpdateDefaultReceiver for application/json ContentType.

type UpdateDefaultReceiverParams

type UpdateDefaultReceiverParams struct {
	APIVersion *UpdateDefaultReceiverParamsAPIVersion `json:"API-Version,omitempty"`
}

UpdateDefaultReceiverParams defines parameters for UpdateDefaultReceiver.

type UpdateDefaultReceiverParamsAPIVersion

type UpdateDefaultReceiverParamsAPIVersion string

UpdateDefaultReceiverParamsAPIVersion defines parameters for UpdateDefaultReceiver.

const (
	UpdateDefaultReceiverParamsAPIVersionV1 UpdateDefaultReceiverParamsAPIVersion = "v1"
)

Defines values for UpdateDefaultReceiverParamsAPIVersion.

func (UpdateDefaultReceiverParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the UpdateDefaultReceiverParamsAPIVersion enum.

type UpdateDefaultReceiverResponse

type UpdateDefaultReceiverResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ClientReceiverResponse
}

func ParseUpdateDefaultReceiverResponse

func ParseUpdateDefaultReceiverResponse(rsp *http.Response) (*UpdateDefaultReceiverResponse, error)

ParseUpdateDefaultReceiverResponse parses an HTTP response from a UpdateDefaultReceiverWithResponse call

func (UpdateDefaultReceiverResponse) ContentType

func (r UpdateDefaultReceiverResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateDefaultReceiverResponse) Status

Status returns HTTPResponse.Status

func (UpdateDefaultReceiverResponse) StatusCode

func (r UpdateDefaultReceiverResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateIssuerJSONRequestBody

type UpdateIssuerJSONRequestBody = TenantIssuerRequest

UpdateIssuerJSONRequestBody defines body for UpdateIssuer for application/json ContentType.

type UpdateIssuerParams

type UpdateIssuerParams struct {
	APIVersion *UpdateIssuerParamsAPIVersion `json:"API-Version,omitempty"`
}

UpdateIssuerParams defines parameters for UpdateIssuer.

type UpdateIssuerParamsAPIVersion

type UpdateIssuerParamsAPIVersion string

UpdateIssuerParamsAPIVersion defines parameters for UpdateIssuer.

const (
	UpdateIssuerParamsAPIVersionV1 UpdateIssuerParamsAPIVersion = "v1"
)

Defines values for UpdateIssuerParamsAPIVersion.

func (UpdateIssuerParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the UpdateIssuerParamsAPIVersion enum.

type UpdateIssuerResponse

type UpdateIssuerResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TenantIssuerResponse
}

func ParseUpdateIssuerResponse

func ParseUpdateIssuerResponse(rsp *http.Response) (*UpdateIssuerResponse, error)

ParseUpdateIssuerResponse parses an HTTP response from a UpdateIssuerWithResponse call

func (UpdateIssuerResponse) ContentType

func (r UpdateIssuerResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateIssuerResponse) Status

func (r UpdateIssuerResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateIssuerResponse) StatusCode

func (r UpdateIssuerResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateSecretsMultipartRequestBody

type UpdateSecretsMultipartRequestBody = TenantSecretsUpdateRequest

UpdateSecretsMultipartRequestBody defines body for UpdateSecrets for multipart/form-data ContentType.

type UpdateSecretsParams

type UpdateSecretsParams struct {
	APIVersion *UpdateSecretsParamsAPIVersion `json:"API-Version,omitempty"`
}

UpdateSecretsParams defines parameters for UpdateSecrets.

type UpdateSecretsParamsAPIVersion

type UpdateSecretsParamsAPIVersion string

UpdateSecretsParamsAPIVersion defines parameters for UpdateSecrets.

const (
	UpdateSecretsParamsAPIVersionV1 UpdateSecretsParamsAPIVersion = "v1"
)

Defines values for UpdateSecretsParamsAPIVersion.

func (UpdateSecretsParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the UpdateSecretsParamsAPIVersion enum.

type UpdateSecretsResponse

type UpdateSecretsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TenantInvoicingStatusResponse
}

func ParseUpdateSecretsResponse

func ParseUpdateSecretsResponse(rsp *http.Response) (*UpdateSecretsResponse, error)

ParseUpdateSecretsResponse parses an HTTP response from a UpdateSecretsWithResponse call

func (UpdateSecretsResponse) ContentType

func (r UpdateSecretsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateSecretsResponse) Status

func (r UpdateSecretsResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateSecretsResponse) StatusCode

func (r UpdateSecretsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateSequenceJSONRequestBody

type UpdateSequenceJSONRequestBody = SequenceUpdateRequest

UpdateSequenceJSONRequestBody defines body for UpdateSequence for application/json ContentType.

type UpdateSequenceParams

type UpdateSequenceParams struct {
	APIVersion *UpdateSequenceParamsAPIVersion `json:"API-Version,omitempty"`
}

UpdateSequenceParams defines parameters for UpdateSequence.

type UpdateSequenceParamsAPIVersion

type UpdateSequenceParamsAPIVersion string

UpdateSequenceParamsAPIVersion defines parameters for UpdateSequence.

const (
	UpdateSequenceParamsAPIVersionV1 UpdateSequenceParamsAPIVersion = "v1"
)

Defines values for UpdateSequenceParamsAPIVersion.

func (UpdateSequenceParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the UpdateSequenceParamsAPIVersion enum.

type UpdateSequenceResponse

type UpdateSequenceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SequenceResponse
}

func ParseUpdateSequenceResponse

func ParseUpdateSequenceResponse(rsp *http.Response) (*UpdateSequenceResponse, error)

ParseUpdateSequenceResponse parses an HTTP response from a UpdateSequenceWithResponse call

func (UpdateSequenceResponse) ContentType

func (r UpdateSequenceResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateSequenceResponse) Status

func (r UpdateSequenceResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateSequenceResponse) StatusCode

func (r UpdateSequenceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateTenantJSONRequestBody

type UpdateTenantJSONRequestBody = TenantUpdateRequest

UpdateTenantJSONRequestBody defines body for UpdateTenant for application/json ContentType.

type UpdateTenantParams

type UpdateTenantParams struct {
	APIVersion *UpdateTenantParamsAPIVersion `json:"API-Version,omitempty"`
}

UpdateTenantParams defines parameters for UpdateTenant.

type UpdateTenantParamsAPIVersion

type UpdateTenantParamsAPIVersion string

UpdateTenantParamsAPIVersion defines parameters for UpdateTenant.

const (
	UpdateTenantParamsAPIVersionV1 UpdateTenantParamsAPIVersion = "v1"
)

Defines values for UpdateTenantParamsAPIVersion.

func (UpdateTenantParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the UpdateTenantParamsAPIVersion enum.

type UpdateTenantResponse

type UpdateTenantResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TenantResponse
}

func ParseUpdateTenantResponse

func ParseUpdateTenantResponse(rsp *http.Response) (*UpdateTenantResponse, error)

ParseUpdateTenantResponse parses an HTTP response from a UpdateTenantWithResponse call

func (UpdateTenantResponse) ContentType

func (r UpdateTenantResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateTenantResponse) Status

func (r UpdateTenantResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateTenantResponse) StatusCode

func (r UpdateTenantResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateWebhookJSONRequestBody

type UpdateWebhookJSONRequestBody = WebhookEndpointRequest

UpdateWebhookJSONRequestBody defines body for UpdateWebhook for application/json ContentType.

type UpdateWebhookParams

type UpdateWebhookParams struct {
	APIVersion *UpdateWebhookParamsAPIVersion `json:"API-Version,omitempty"`
}

UpdateWebhookParams defines parameters for UpdateWebhook.

type UpdateWebhookParamsAPIVersion

type UpdateWebhookParamsAPIVersion string

UpdateWebhookParamsAPIVersion defines parameters for UpdateWebhook.

const (
	UpdateWebhookParamsAPIVersionV1 UpdateWebhookParamsAPIVersion = "v1"
)

Defines values for UpdateWebhookParamsAPIVersion.

func (UpdateWebhookParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the UpdateWebhookParamsAPIVersion enum.

type UpdateWebhookResponse

type UpdateWebhookResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *WebhookEndpointResponse
}

func ParseUpdateWebhookResponse

func ParseUpdateWebhookResponse(rsp *http.Response) (*UpdateWebhookResponse, error)

ParseUpdateWebhookResponse parses an HTTP response from a UpdateWebhookWithResponse call

func (UpdateWebhookResponse) ContentType

func (r UpdateWebhookResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateWebhookResponse) Status

func (r UpdateWebhookResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateWebhookResponse) StatusCode

func (r UpdateWebhookResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UploadLogoMultipartBody

type UploadLogoMultipartBody struct {
	File openapi_types.File `json:"file"`
}

UploadLogoMultipartBody defines parameters for UploadLogo.

type UploadLogoMultipartRequestBody

type UploadLogoMultipartRequestBody UploadLogoMultipartBody

UploadLogoMultipartRequestBody defines body for UploadLogo for multipart/form-data ContentType.

type UploadLogoParams

type UploadLogoParams struct {
	APIVersion *UploadLogoParamsAPIVersion `json:"API-Version,omitempty"`
}

UploadLogoParams defines parameters for UploadLogo.

type UploadLogoParamsAPIVersion

type UploadLogoParamsAPIVersion string

UploadLogoParamsAPIVersion defines parameters for UploadLogo.

const (
	UploadLogoParamsAPIVersionV1 UploadLogoParamsAPIVersion = "v1"
)

Defines values for UploadLogoParamsAPIVersion.

func (UploadLogoParamsAPIVersion) Valid

func (e UploadLogoParamsAPIVersion) Valid() bool

Valid indicates whether the value is a known member of the UploadLogoParamsAPIVersion enum.

type UploadLogoResponse

type UploadLogoResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TenantLogoResponse
}

func ParseUploadLogoResponse

func ParseUploadLogoResponse(rsp *http.Response) (*UploadLogoResponse, error)

ParseUploadLogoResponse parses an HTTP response from a UploadLogoWithResponse call

func (UploadLogoResponse) ContentType

func (r UploadLogoResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UploadLogoResponse) Status

func (r UploadLogoResponse) Status() string

Status returns HTTPResponse.Status

func (UploadLogoResponse) StatusCode

func (r UploadLogoResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type VoidApplicationJSONRequestBody

type VoidApplicationJSONRequestBody = DocumentPaymentVoidRequest

VoidApplicationJSONRequestBody defines body for VoidApplication for application/json ContentType.

type VoidApplicationParams

type VoidApplicationParams struct {
	APIVersion *VoidApplicationParamsAPIVersion `json:"API-Version,omitempty"`
}

VoidApplicationParams defines parameters for VoidApplication.

type VoidApplicationParamsAPIVersion

type VoidApplicationParamsAPIVersion string

VoidApplicationParamsAPIVersion defines parameters for VoidApplication.

const (
	VoidApplicationParamsAPIVersionV1 VoidApplicationParamsAPIVersion = "v1"
)

Defines values for VoidApplicationParamsAPIVersion.

func (VoidApplicationParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the VoidApplicationParamsAPIVersion enum.

type VoidApplicationResponse

type VoidApplicationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DocumentPaymentApplicationResponse
}

func ParseVoidApplicationResponse

func ParseVoidApplicationResponse(rsp *http.Response) (*VoidApplicationResponse, error)

ParseVoidApplicationResponse parses an HTTP response from a VoidApplicationWithResponse call

func (VoidApplicationResponse) ContentType

func (r VoidApplicationResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (VoidApplicationResponse) Status

func (r VoidApplicationResponse) Status() string

Status returns HTTPResponse.Status

func (VoidApplicationResponse) StatusCode

func (r VoidApplicationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type VoidPaymentJSONRequestBody

type VoidPaymentJSONRequestBody = DocumentPaymentVoidRequest

VoidPaymentJSONRequestBody defines body for VoidPayment for application/json ContentType.

type VoidPaymentParams

type VoidPaymentParams struct {
	APIVersion *VoidPaymentParamsAPIVersion `json:"API-Version,omitempty"`
}

VoidPaymentParams defines parameters for VoidPayment.

type VoidPaymentParamsAPIVersion

type VoidPaymentParamsAPIVersion string

VoidPaymentParamsAPIVersion defines parameters for VoidPayment.

const (
	VoidPaymentParamsAPIVersionV1 VoidPaymentParamsAPIVersion = "v1"
)

Defines values for VoidPaymentParamsAPIVersion.

func (VoidPaymentParamsAPIVersion) Valid

Valid indicates whether the value is a known member of the VoidPaymentParamsAPIVersion enum.

type VoidPaymentResponse

type VoidPaymentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DocumentPaymentResponse
}

func ParseVoidPaymentResponse

func ParseVoidPaymentResponse(rsp *http.Response) (*VoidPaymentResponse, error)

ParseVoidPaymentResponse parses an HTTP response from a VoidPaymentWithResponse call

func (VoidPaymentResponse) ContentType

func (r VoidPaymentResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (VoidPaymentResponse) Status

func (r VoidPaymentResponse) Status() string

Status returns HTTPResponse.Status

func (VoidPaymentResponse) StatusCode

func (r VoidPaymentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type WebhookDeliveryLogResponse

type WebhookDeliveryLogResponse struct {
	Attempt           *int32     `json:"attempt,omitempty"`
	CreatedAt         *time.Time `json:"createdAt,omitempty"`
	ErrorSummary      *string    `json:"errorSummary,omitempty"`
	Event             *string    `json:"event,omitempty"`
	HttpStatus        *int32     `json:"httpStatus,omitempty"`
	Id                *int64     `json:"id,omitempty"`
	Success           *bool      `json:"success,omitempty"`
	WebhookEndpointId *int64     `json:"webhookEndpointId,omitempty"`
}

WebhookDeliveryLogResponse defines model for WebhookDeliveryLogResponse.

type WebhookEndpointRequest

type WebhookEndpointRequest struct {
	Active      *bool    `json:"active,omitempty"`
	Description *string  `json:"description,omitempty"`
	Events      []string `json:"events"`
	Url         string   `json:"url"`
}

WebhookEndpointRequest defines model for WebhookEndpointRequest.

type WebhookEndpointResponse

type WebhookEndpointResponse struct {
	Active              *bool      `json:"active,omitempty"`
	ConsecutiveFailures *int32     `json:"consecutiveFailures,omitempty"`
	CreatedAt           *time.Time `json:"createdAt,omitempty"`
	Description         *string    `json:"description,omitempty"`
	Events              *[]string  `json:"events,omitempty"`
	HealthStatus        *string    `json:"healthStatus,omitempty"`
	Id                  *int64     `json:"id,omitempty"`
	LastFailureAt       *time.Time `json:"lastFailureAt,omitempty"`
	LastSuccessAt       *time.Time `json:"lastSuccessAt,omitempty"`
	Secret              *string    `json:"secret,omitempty"`
	UpdatedAt           *time.Time `json:"updatedAt,omitempty"`
	Url                 *string    `json:"url,omitempty"`
}

WebhookEndpointResponse defines model for WebhookEndpointResponse.

type WebhookTestResponse

type WebhookTestResponse struct {
	Attempt           *int32  `json:"attempt,omitempty"`
	ErrorSummary      *string `json:"errorSummary,omitempty"`
	Event             *string `json:"event,omitempty"`
	HttpStatus        *int32  `json:"httpStatus,omitempty"`
	Success           *bool   `json:"success,omitempty"`
	WebhookEndpointId *int64  `json:"webhookEndpointId,omitempty"`
}

WebhookTestResponse defines model for WebhookTestResponse.

Directories

Path Synopsis
internal
cmd/apply-overlay command
Command apply-overlay applies the repository's deliberately narrow decimal overlay.
Command apply-overlay applies the repository's deliberately narrow decimal overlay.

Jump to

Keyboard shortcuts

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