From 8a176f39f4552fecc789e0f057d80025fe4a616b Mon Sep 17 00:00:00 2001 From: fattureincloud-bot <91328460+fattureincloud-bot@users.noreply.github.com> Date: Fri, 13 Mar 2026 09:57:51 +0000 Subject: [PATCH 1/2] chore: bumping version to 2.1.3 --- .openapi-generator/FILES | 52 +- .openapi-generator/VERSION | 2 +- It.FattureInCloud.Sdk.sln | 10 +- README.md | 22 +- api/openapi.yaml | 94790 ++++++++++++---- docs/ArchiveApi.md | 80 +- docs/Attachment.md | 11 + docs/CashbookApi.md | 67 +- docs/ClientsApi.md | 77 +- docs/CompaniesApi.md | 24 +- docs/DocumentTemplate.md | 9 +- docs/EmailsApi.md | 11 +- docs/GetPendingReceivedDocumentResponse.md | 10 + docs/GetTemplatesResponse.md | 10 + docs/InfoApi.md | 389 +- docs/IssuedDocumentExtraData.md | 2 + docs/IssuedDocumentsApi.md | 225 +- docs/IssuedEInvoicesApi.md | 53 +- docs/ListPendingReceivedDocumentsResponse.md | 21 + ...istPendingReceivedDocumentsResponsePage.md | 10 + docs/PendingReceivedDocument.md | 28 + docs/PendingReceivedDocumentExtractedData.md | 10 + ...dingReceivedDocumentExtractedDataMining.md | 10 + ...PendingReceivedDocumentPaymentsListItem.md | 16 + ...vedDocumentPaymentsListItemPaymentTerms.md | 11 + docs/PendingReceivedDocumentType.md | 10 + docs/PriceListsApi.md | 26 +- docs/ProductsApi.md | 64 +- docs/ReceiptsApi.md | 91 +- docs/ReceivedDocument.md | 2 + docs/ReceivedDocumentItemsListItem.md | 1 + docs/ReceivedDocumentsApi.md | 410 +- docs/SettingsApi.md | 367 +- docs/SuppliersApi.md | 64 +- docs/TaxesApi.md | 92 +- docs/TemplateType.md | 10 + docs/UserApi.md | 24 +- docs/WebhooksApi.md | 70 +- sdk-version.yaml | 2 +- .../It.FattureInCloud.Sdk.Test.csproj | 2 +- .../Model/AttachmentTests.cs | 76 + ...GetPendingReceivedDocumentResponseTests.cs | 67 + .../Model/GetTemplatesResponseTests.cs | 67 + ...ndingReceivedDocumentsResponsePageTests.cs | 67 + ...stPendingReceivedDocumentsResponseTests.cs | 166 + ...eceivedDocumentExtractedDataMiningTests.cs | 67 + ...ndingReceivedDocumentExtractedDataTests.cs | 67 + ...cumentPaymentsListItemPaymentTermsTests.cs | 76 + ...ngReceivedDocumentPaymentsListItemTests.cs | 121 + .../Model/PendingReceivedDocumentTests.cs | 229 + .../Model/PendingReceivedDocumentTypeTests.cs | 58 + .../Model/TemplateTypeTests.cs | 58 + src/It.FattureInCloud.Sdk/Api/ArchiveApi.cs | 4 +- src/It.FattureInCloud.Sdk/Api/CashbookApi.cs | 4 +- src/It.FattureInCloud.Sdk/Api/ClientsApi.cs | 4 +- src/It.FattureInCloud.Sdk/Api/CompaniesApi.cs | 2 +- src/It.FattureInCloud.Sdk/Api/EmailsApi.cs | 2 +- src/It.FattureInCloud.Sdk/Api/InfoApi.cs | 432 +- .../Api/IssuedDocumentsApi.cs | 12 +- .../Api/IssuedEInvoicesApi.cs | 8 +- .../Api/PriceListsApi.cs | 2 +- src/It.FattureInCloud.Sdk/Api/ProductsApi.cs | 4 +- src/It.FattureInCloud.Sdk/Api/ReceiptsApi.cs | 4 +- .../Api/ReceivedDocumentsApi.cs | 596 +- src/It.FattureInCloud.Sdk/Api/SettingsApi.cs | 468 +- src/It.FattureInCloud.Sdk/Api/SuppliersApi.cs | 4 +- src/It.FattureInCloud.Sdk/Api/TaxesApi.cs | 6 +- src/It.FattureInCloud.Sdk/Api/UserApi.cs | 2 +- src/It.FattureInCloud.Sdk/Api/WebhooksApi.cs | 6 +- src/It.FattureInCloud.Sdk/Client/ApiClient.cs | 2 +- .../Client/ApiException.cs | 2 +- .../Client/ApiResponse.cs | 2 +- .../Client/ClientUtils.cs | 2 +- .../Client/Configuration.cs | 8 +- .../Client/ExceptionFactory.cs | 2 +- .../Client/GlobalConfiguration.cs | 2 +- .../Client/HttpMethod.cs | 2 +- .../Client/IApiAccessor.cs | 2 +- .../Client/IAsynchronousClient.cs | 2 +- .../Client/IReadableConfiguration.cs | 2 +- .../Client/ISynchronousClient.cs | 2 +- src/It.FattureInCloud.Sdk/Client/Multimap.cs | 2 +- .../Client/OpenAPIDateConverter.cs | 2 +- .../Client/RequestOptions.cs | 2 +- .../Client/RetryConfiguration.cs | 2 +- .../It.FattureInCloud.Sdk.csproj | 4 +- .../Model/AbstractOpenAPISchema.cs | 2 +- .../Model/ArchiveDocument.cs | 2 +- src/It.FattureInCloud.Sdk/Model/Attachment.cs | 196 + .../Model/AttachmentData.cs | 2 +- .../Model/CashbookEntry.cs | 2 +- .../Model/CashbookEntryDocument.cs | 2 +- .../Model/CashbookEntryKind.cs | 10 +- .../Model/CashbookEntryType.cs | 2 +- src/It.FattureInCloud.Sdk/Model/City.cs | 2 +- src/It.FattureInCloud.Sdk/Model/ClientType.cs | 2 +- src/It.FattureInCloud.Sdk/Model/Company.cs | 2 +- .../Model/CompanyInfo.cs | 2 +- .../Model/CompanyInfoAccessInfo.cs | 2 +- .../Model/CompanyInfoPlanInfo.cs | 2 +- .../Model/CompanyInfoPlanInfoFunctions.cs | 2 +- .../CompanyInfoPlanInfoFunctionsStatus.cs | 2 +- .../Model/CompanyInfoPlanInfoLimits.cs | 2 +- .../Model/CompanyPlanUsage.cs | 2 +- .../Model/CompanyType.cs | 2 +- .../Model/ControlledCompany.cs | 2 +- .../Model/CreateArchiveDocumentRequest.cs | 2 +- .../Model/CreateArchiveDocumentResponse.cs | 2 +- .../Model/CreateCashbookEntryRequest.cs | 2 +- .../Model/CreateCashbookEntryResponse.cs | 2 +- .../Model/CreateClientRequest.cs | 2 +- .../Model/CreateClientResponse.cs | 2 +- .../Model/CreateF24Request.cs | 2 +- .../Model/CreateF24Response.cs | 2 +- .../Model/CreateIssuedDocumentRequest.cs | 2 +- .../Model/CreateIssuedDocumentResponse.cs | 2 +- .../Model/CreatePaymentAccountRequest.cs | 2 +- .../Model/CreatePaymentAccountResponse.cs | 2 +- .../Model/CreatePaymentMethodRequest.cs | 2 +- .../Model/CreatePaymentMethodResponse.cs | 2 +- .../Model/CreateProductRequest.cs | 2 +- .../Model/CreateProductResponse.cs | 2 +- .../Model/CreateReceiptRequest.cs | 2 +- .../Model/CreateReceiptResponse.cs | 2 +- .../Model/CreateReceivedDocumentRequest.cs | 2 +- .../Model/CreateReceivedDocumentResponse.cs | 2 +- .../Model/CreateSupplierRequest.cs | 2 +- .../Model/CreateSupplierResponse.cs | 2 +- .../Model/CreateVatTypeRequest.cs | 2 +- .../Model/CreateVatTypeResponse.cs | 2 +- .../CreateWebhooksSubscriptionRequest.cs | 2 +- .../CreateWebhooksSubscriptionResponse.cs | 2 +- src/It.FattureInCloud.Sdk/Model/Currency.cs | 2 +- .../Model/DetailedCountry.cs | 2 +- .../Model/DocumentTemplate.cs | 260 +- .../Model/EInvoiceRejectionReason.cs | 2 +- src/It.FattureInCloud.Sdk/Model/Email.cs | 2 +- .../Model/EmailAttachment.cs | 2 +- src/It.FattureInCloud.Sdk/Model/EmailData.cs | 2 +- .../Model/EmailDataDefaultSenderEmail.cs | 2 +- .../Model/EmailRecipientStatus.cs | 2 +- .../Model/EmailSchedule.cs | 2 +- .../Model/EmailScheduleInclude.cs | 2 +- .../Model/EmailStatus.cs | 2 +- src/It.FattureInCloud.Sdk/Model/Entity.cs | 2 +- .../Model/EntityClientPreCreateInfo.cs | 2 +- src/It.FattureInCloud.Sdk/Model/EntityType.cs | 2 +- src/It.FattureInCloud.Sdk/Model/EventType.cs | 2 +- src/It.FattureInCloud.Sdk/Model/F24.cs | 2 +- src/It.FattureInCloud.Sdk/Model/F24Status.cs | 2 +- .../Model/FattureInCloudPlanType.cs | 2 +- .../Model/FunctionStatus.cs | 2 +- .../Model/GetArchiveDocumentResponse.cs | 2 +- .../Model/GetBinIssuedDocumentResponse.cs | 2 +- .../Model/GetBinReceivedDocumentResponse.cs | 2 +- .../Model/GetCashbookEntryResponse.cs | 2 +- .../Model/GetClientResponse.cs | 2 +- .../Model/GetCompanyInfoResponse.cs | 2 +- .../Model/GetCompanyPlanUsageResponse.cs | 2 +- .../GetEInvoiceRejectionReasonResponse.cs | 2 +- .../Model/GetEmailDataResponse.cs | 2 +- .../GetEntityClientPreCreateInfoResponse.cs | 2 +- .../GetExistingIssuedDocumentTotalsRequest.cs | 2 +- ...GetExistingIssuedDocumentTotalsResponse.cs | 2 +- ...etExistingReceivedDocumentTotalsRequest.cs | 2 +- ...tExistingReceivedDocumentTotalsResponse.cs | 2 +- .../Model/GetF24Response.cs | 2 +- .../GetIssuedDocumentPreCreateInfoResponse.cs | 2 +- .../Model/GetIssuedDocumentResponse.cs | 2 +- .../GetNewIssuedDocumentTotalsRequest.cs | 2 +- .../GetNewIssuedDocumentTotalsResponse.cs | 2 +- .../GetNewReceivedDocumentTotalsRequest.cs | 2 +- .../GetNewReceivedDocumentTotalsResponse.cs | 2 +- .../Model/GetPaymentAccountResponse.cs | 2 +- .../Model/GetPaymentMethodResponse.cs | 2 +- .../GetPendingReceivedDocumentResponse.cs | 151 + .../Model/GetPriceListItemsResponse.cs | 2 +- .../Model/GetProductResponse.cs | 2 +- .../Model/GetReceiptPreCreateInfoResponse.cs | 2 +- .../Model/GetReceiptResponse.cs | 2 +- .../Model/GetReceiptsMonthlyTotalsResponse.cs | 2 +- ...etReceivedDocumentPreCreateInfoResponse.cs | 2 +- .../Model/GetReceivedDocumentResponse.cs | 2 +- .../Model/GetSupplierResponse.cs | 2 +- .../Model/GetTaxProfileResponse.cs | 2 +- .../Model/GetTemplatesResponse.cs | 151 + .../Model/GetUserInfoResponse.cs | 2 +- ...tUserInfoResponseEmailConfirmationState.cs | 2 +- .../Model/GetUserInfoResponseInfo.cs | 2 +- .../Model/GetVatTypeResponse.cs | 2 +- .../Model/GetWebhooksSubscriptionResponse.cs | 2 +- .../Model/IssuedDocument.cs | 2 +- .../Model/IssuedDocumentEiData.cs | 2 +- .../Model/IssuedDocumentExtraData.cs | 86 +- .../Model/IssuedDocumentItemsListItem.cs | 2 +- .../Model/IssuedDocumentOptions.cs | 2 +- .../Model/IssuedDocumentPaymentsListItem.cs | 2 +- ...uedDocumentPaymentsListItemPaymentTerms.cs | 2 +- .../Model/IssuedDocumentPreCreateInfo.cs | 2 +- ...ssuedDocumentPreCreateInfoDefaultValues.cs | 2 +- ...mentPreCreateInfoExtraDataDefaultValues.cs | 2 +- ...DocumentPreCreateInfoItemsDefaultValues.cs | 2 +- .../Model/IssuedDocumentStatus.cs | 2 +- .../Model/IssuedDocumentTotals.cs | 2 +- .../Model/IssuedDocumentType.cs | 2 +- .../Model/JoinIssuedDocumentsResponse.cs | 2 +- src/It.FattureInCloud.Sdk/Model/Language.cs | 2 +- .../Model/ListArchiveCategoriesResponse.cs | 2 +- .../Model/ListArchiveDocumentsResponse.cs | 2 +- .../Model/ListArchiveDocumentsResponsePage.cs | 2 +- .../Model/ListBinIssuedDocuments.cs | 2 +- .../Model/ListBinReceivedDocuments.cs | 2 +- .../Model/ListCashbookEntriesResponse.cs | 2 +- .../Model/ListCitiesResponse.cs | 2 +- .../Model/ListClientsResponse.cs | 2 +- .../Model/ListClientsResponsePage.cs | 2 +- .../Model/ListCostCentersResponse.cs | 2 +- .../Model/ListCountriesResponse.cs | 2 +- .../Model/ListCurrenciesResponse.cs | 2 +- ...ListDeliveryNotesDefaultCausalsResponse.cs | 2 +- .../Model/ListDetailedCountriesResponse.cs | 2 +- .../Model/ListEmailsResponse.cs | 2 +- .../Model/ListEmailsResponsePage.cs | 2 +- .../Model/ListF24Response.cs | 2 +- .../Model/ListF24ResponseAggregatedData.cs | 2 +- .../Model/ListF24ResponseAggregation.cs | 2 +- .../Model/ListF24ResponsePage.cs | 2 +- .../Model/ListIssuedDocumentsResponse.cs | 2 +- .../Model/ListIssuedDocumentsResponsePage.cs | 2 +- .../Model/ListLanguagesResponse.cs | 2 +- .../Model/ListPaymentAccountsResponse.cs | 2 +- .../Model/ListPaymentMethodsResponse.cs | 2 +- .../ListPendingReceivedDocumentsResponse.cs | 603 + ...istPendingReceivedDocumentsResponsePage.cs | 152 + .../Model/ListPriceListsResponse.cs | 2 +- .../Model/ListProductCategoriesResponse.cs | 2 +- .../Model/ListProductsResponse.cs | 2 +- .../Model/ListProductsResponsePage.cs | 2 +- .../Model/ListReceiptsResponse.cs | 2 +- .../Model/ListReceiptsResponsePage.cs | 2 +- .../ListReceivedDocumentCategoriesResponse.cs | 2 +- .../Model/ListReceivedDocumentsResponse.cs | 2 +- .../ListReceivedDocumentsResponsePage.cs | 2 +- .../Model/ListRevenueCentersResponse.cs | 2 +- .../Model/ListSuppliersResponse.cs | 2 +- .../Model/ListSuppliersResponsePage.cs | 2 +- .../Model/ListTemplatesResponse.cs | 2 +- .../Model/ListUnitsOfMeasureResponse.cs | 2 +- .../Model/ListUserCompaniesResponse.cs | 2 +- .../Model/ListUserCompaniesResponseData.cs | 2 +- .../Model/ListVatTypesResponse.cs | 2 +- .../ListWebhooksSubscriptionsResponse.cs | 2 +- .../Model/ModelClient.cs | 2 +- .../Model/ModifyArchiveDocumentRequest.cs | 2 +- .../Model/ModifyArchiveDocumentResponse.cs | 2 +- .../Model/ModifyCashbookEntryRequest.cs | 2 +- .../Model/ModifyCashbookEntryResponse.cs | 2 +- .../Model/ModifyClientRequest.cs | 2 +- .../Model/ModifyClientResponse.cs | 2 +- .../Model/ModifyF24Request.cs | 2 +- .../Model/ModifyF24Response.cs | 2 +- .../Model/ModifyIssuedDocumentRequest.cs | 2 +- .../Model/ModifyIssuedDocumentResponse.cs | 2 +- .../Model/ModifyPaymentAccountRequest.cs | 2 +- .../Model/ModifyPaymentAccountResponse.cs | 2 +- .../Model/ModifyPaymentMethodRequest.cs | 2 +- .../Model/ModifyPaymentMethodResponse.cs | 2 +- .../Model/ModifyProductRequest.cs | 2 +- .../Model/ModifyProductResponse.cs | 2 +- .../Model/ModifyReceiptRequest.cs | 2 +- .../Model/ModifyReceiptResponse.cs | 2 +- .../Model/ModifyReceivedDocumentRequest.cs | 2 +- .../Model/ModifyReceivedDocumentResponse.cs | 2 +- .../Model/ModifySupplierRequest.cs | 2 +- .../Model/ModifySupplierResponse.cs | 2 +- .../Model/ModifyVatTypeRequest.cs | 2 +- .../Model/ModifyVatTypeResponse.cs | 2 +- .../ModifyWebhooksSubscriptionRequest.cs | 2 +- .../ModifyWebhooksSubscriptionResponse.cs | 2 +- .../Model/MonthlyTotal.cs | 2 +- .../Model/OriginalDocumentType.cs | 2 +- src/It.FattureInCloud.Sdk/Model/Pagination.cs | 2 +- .../Model/PaymentAccount.cs | 2 +- .../Model/PaymentAccountType.cs | 2 +- .../Model/PaymentMethod.cs | 2 +- .../Model/PaymentMethodDetails.cs | 2 +- .../Model/PaymentMethodType.cs | 2 +- .../Model/PaymentTermsType.cs | 2 +- .../Model/PendingReceivedDocument.cs | 853 + .../PendingReceivedDocumentExtractedData.cs | 151 + ...dingReceivedDocumentExtractedDataMining.cs | 147 + ...PendingReceivedDocumentPaymentsListItem.cs | 398 + ...vedDocumentPaymentsListItemPaymentTerms.cs | 190 + .../Model/PendingReceivedDocumentType.cs | 55 + .../Model/PermissionLevel.cs | 2 +- .../Model/Permissions.cs | 2 +- .../PermissionsFicIssuedDocumentsDetailed.cs | 2 +- src/It.FattureInCloud.Sdk/Model/PriceList.cs | 2 +- .../Model/PriceListItem.cs | 2 +- .../Model/PriceListPricesType.cs | 2 +- .../Model/PriceListType.cs | 2 +- src/It.FattureInCloud.Sdk/Model/Product.cs | 2 +- src/It.FattureInCloud.Sdk/Model/Receipt.cs | 2 +- .../Model/ReceiptItemsListItem.cs | 2 +- .../Model/ReceiptPreCreateInfo.cs | 8 +- .../Model/ReceiptType.cs | 2 +- .../Model/ReceivedDocument.cs | 52 +- .../Model/ReceivedDocumentInfo.cs | 2 +- .../ReceivedDocumentInfoDefaultValues.cs | 2 +- .../ReceivedDocumentInfoItemsDefaultValues.cs | 2 +- .../Model/ReceivedDocumentItemsListItem.cs | 45 +- .../Model/ReceivedDocumentPaymentsListItem.cs | 2 +- ...vedDocumentPaymentsListItemPaymentTerms.cs | 2 +- .../Model/ReceivedDocumentTotals.cs | 2 +- .../Model/ReceivedDocumentType.cs | 2 +- .../Model/ScheduleEmailRequest.cs | 2 +- .../Model/SendEInvoiceRequest.cs | 2 +- .../Model/SendEInvoiceRequestData.cs | 2 +- .../Model/SendEInvoiceRequestOptions.cs | 2 +- .../Model/SendEInvoiceResponse.cs | 2 +- .../Model/SendEInvoiceResponseData.cs | 2 +- .../Model/SenderEmail.cs | 2 +- .../Model/ShowTotalsMode.cs | 2 +- src/It.FattureInCloud.Sdk/Model/Supplier.cs | 2 +- .../Model/SupplierType.cs | 2 +- src/It.FattureInCloud.Sdk/Model/TaxProfile.cs | 2 +- .../Model/TemplateType.cs | 55 + .../Model/TransformIssuedDocumentResponse.cs | 2 +- .../Model/UploadArchiveAttachmentResponse.cs | 2 +- .../Model/UploadF24AttachmentResponse.cs | 2 +- .../UploadIssuedDocumentAttachmentResponse.cs | 2 +- ...ploadReceivedDocumentAttachmentResponse.cs | 2 +- src/It.FattureInCloud.Sdk/Model/User.cs | 2 +- .../Model/UserCompanyRole.cs | 2 +- src/It.FattureInCloud.Sdk/Model/VatItem.cs | 2 +- src/It.FattureInCloud.Sdk/Model/VatKind.cs | 2 +- src/It.FattureInCloud.Sdk/Model/VatType.cs | 2 +- .../Model/VerifyEInvoiceXmlErrorResponse.cs | 2 +- .../VerifyEInvoiceXmlErrorResponseError.cs | 2 +- ...ceXmlErrorResponseErrorValidationResult.cs | 2 +- .../VerifyEInvoiceXmlErrorResponseExtra.cs | 2 +- .../Model/VerifyEInvoiceXmlResponse.cs | 2 +- .../Model/VerifyEInvoiceXmlResponseData.cs | 2 +- .../Model/VerifyWebhooksSubscription.cs | 2 +- .../VerifyWebhooksSubscriptionRequest.cs | 2 +- .../Model/WebhooksSubscription.cs | 2 +- .../Model/WebhooksSubscriptionConfig.cs | 2 +- .../Model/WebhooksSubscriptionMapping.cs | 2 +- .../WebhooksSubscriptionVerificationMethod.cs | 2 +- 349 files changed, 80253 insertions(+), 23706 deletions(-) create mode 100644 docs/Attachment.md create mode 100644 docs/GetPendingReceivedDocumentResponse.md create mode 100644 docs/GetTemplatesResponse.md create mode 100644 docs/ListPendingReceivedDocumentsResponse.md create mode 100644 docs/ListPendingReceivedDocumentsResponsePage.md create mode 100644 docs/PendingReceivedDocument.md create mode 100644 docs/PendingReceivedDocumentExtractedData.md create mode 100644 docs/PendingReceivedDocumentExtractedDataMining.md create mode 100644 docs/PendingReceivedDocumentPaymentsListItem.md create mode 100644 docs/PendingReceivedDocumentPaymentsListItemPaymentTerms.md create mode 100644 docs/PendingReceivedDocumentType.md create mode 100644 docs/TemplateType.md create mode 100644 src/It.FattureInCloud.Sdk.Test/Model/AttachmentTests.cs create mode 100644 src/It.FattureInCloud.Sdk.Test/Model/GetPendingReceivedDocumentResponseTests.cs create mode 100644 src/It.FattureInCloud.Sdk.Test/Model/GetTemplatesResponseTests.cs create mode 100644 src/It.FattureInCloud.Sdk.Test/Model/ListPendingReceivedDocumentsResponsePageTests.cs create mode 100644 src/It.FattureInCloud.Sdk.Test/Model/ListPendingReceivedDocumentsResponseTests.cs create mode 100644 src/It.FattureInCloud.Sdk.Test/Model/PendingReceivedDocumentExtractedDataMiningTests.cs create mode 100644 src/It.FattureInCloud.Sdk.Test/Model/PendingReceivedDocumentExtractedDataTests.cs create mode 100644 src/It.FattureInCloud.Sdk.Test/Model/PendingReceivedDocumentPaymentsListItemPaymentTermsTests.cs create mode 100644 src/It.FattureInCloud.Sdk.Test/Model/PendingReceivedDocumentPaymentsListItemTests.cs create mode 100644 src/It.FattureInCloud.Sdk.Test/Model/PendingReceivedDocumentTests.cs create mode 100644 src/It.FattureInCloud.Sdk.Test/Model/PendingReceivedDocumentTypeTests.cs create mode 100644 src/It.FattureInCloud.Sdk.Test/Model/TemplateTypeTests.cs create mode 100644 src/It.FattureInCloud.Sdk/Model/Attachment.cs create mode 100644 src/It.FattureInCloud.Sdk/Model/GetPendingReceivedDocumentResponse.cs create mode 100644 src/It.FattureInCloud.Sdk/Model/GetTemplatesResponse.cs create mode 100644 src/It.FattureInCloud.Sdk/Model/ListPendingReceivedDocumentsResponse.cs create mode 100644 src/It.FattureInCloud.Sdk/Model/ListPendingReceivedDocumentsResponsePage.cs create mode 100644 src/It.FattureInCloud.Sdk/Model/PendingReceivedDocument.cs create mode 100644 src/It.FattureInCloud.Sdk/Model/PendingReceivedDocumentExtractedData.cs create mode 100644 src/It.FattureInCloud.Sdk/Model/PendingReceivedDocumentExtractedDataMining.cs create mode 100644 src/It.FattureInCloud.Sdk/Model/PendingReceivedDocumentPaymentsListItem.cs create mode 100644 src/It.FattureInCloud.Sdk/Model/PendingReceivedDocumentPaymentsListItemPaymentTerms.cs create mode 100644 src/It.FattureInCloud.Sdk/Model/PendingReceivedDocumentType.cs create mode 100644 src/It.FattureInCloud.Sdk/Model/TemplateType.cs diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index bd47aaa0..1eb9b25b 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -4,6 +4,7 @@ api/openapi.yaml appveyor.yml docs/ArchiveApi.md docs/ArchiveDocument.md +docs/Attachment.md docs/AttachmentData.md docs/CashbookApi.md docs/CashbookEntry.md @@ -94,6 +95,7 @@ docs/GetNewReceivedDocumentTotalsRequest.md docs/GetNewReceivedDocumentTotalsResponse.md docs/GetPaymentAccountResponse.md docs/GetPaymentMethodResponse.md +docs/GetPendingReceivedDocumentResponse.md docs/GetPriceListItemsResponse.md docs/GetProductResponse.md docs/GetReceiptPreCreateInfoResponse.md @@ -103,6 +105,7 @@ docs/GetReceivedDocumentPreCreateInfoResponse.md docs/GetReceivedDocumentResponse.md docs/GetSupplierResponse.md docs/GetTaxProfileResponse.md +docs/GetTemplatesResponse.md docs/GetUserInfoResponse.md docs/GetUserInfoResponseEmailConfirmationState.md docs/GetUserInfoResponseInfo.md @@ -152,6 +155,8 @@ docs/ListIssuedDocumentsResponsePage.md docs/ListLanguagesResponse.md docs/ListPaymentAccountsResponse.md docs/ListPaymentMethodsResponse.md +docs/ListPendingReceivedDocumentsResponse.md +docs/ListPendingReceivedDocumentsResponsePage.md docs/ListPriceListsResponse.md docs/ListProductCategoriesResponse.md docs/ListProductsResponse.md @@ -206,6 +211,12 @@ docs/PaymentMethod.md docs/PaymentMethodDetails.md docs/PaymentMethodType.md docs/PaymentTermsType.md +docs/PendingReceivedDocument.md +docs/PendingReceivedDocumentExtractedData.md +docs/PendingReceivedDocumentExtractedDataMining.md +docs/PendingReceivedDocumentPaymentsListItem.md +docs/PendingReceivedDocumentPaymentsListItemPaymentTerms.md +docs/PendingReceivedDocumentType.md docs/PermissionLevel.md docs/Permissions.md docs/PermissionsFicIssuedDocumentsDetailed.md @@ -245,6 +256,7 @@ docs/SupplierType.md docs/SuppliersApi.md docs/TaxProfile.md docs/TaxesApi.md +docs/TemplateType.md docs/TransformIssuedDocumentResponse.md docs/UploadArchiveAttachmentResponse.md docs/UploadF24AttachmentResponse.md @@ -269,23 +281,19 @@ docs/WebhooksSubscription.md docs/WebhooksSubscriptionConfig.md docs/WebhooksSubscriptionMapping.md docs/WebhooksSubscriptionVerificationMethod.md -src/It.FattureInCloud.Sdk.Test/Api/PriceListsApiTests.cs src/It.FattureInCloud.Sdk.Test/It.FattureInCloud.Sdk.Test.csproj -src/It.FattureInCloud.Sdk.Test/Model/EntityClientPreCreateInfoTests.cs -src/It.FattureInCloud.Sdk.Test/Model/GetBinIssuedDocumentResponseTests.cs -src/It.FattureInCloud.Sdk.Test/Model/GetBinReceivedDocumentResponseTests.cs -src/It.FattureInCloud.Sdk.Test/Model/GetEntityClientPreCreateInfoResponseTests.cs -src/It.FattureInCloud.Sdk.Test/Model/GetPriceListItemsResponseTests.cs -src/It.FattureInCloud.Sdk.Test/Model/ListBinIssuedDocumentsTests.cs -src/It.FattureInCloud.Sdk.Test/Model/ListBinReceivedDocumentsTests.cs -src/It.FattureInCloud.Sdk.Test/Model/ListPriceListsResponseTests.cs -src/It.FattureInCloud.Sdk.Test/Model/PriceListItemTests.cs -src/It.FattureInCloud.Sdk.Test/Model/PriceListPricesTypeTests.cs -src/It.FattureInCloud.Sdk.Test/Model/PriceListTests.cs -src/It.FattureInCloud.Sdk.Test/Model/PriceListTypeTests.cs -src/It.FattureInCloud.Sdk.Test/Model/VerifyWebhooksSubscriptionRequestTests.cs -src/It.FattureInCloud.Sdk.Test/Model/VerifyWebhooksSubscriptionTests.cs -src/It.FattureInCloud.Sdk.Test/Model/WebhooksSubscriptionVerificationMethodTests.cs +src/It.FattureInCloud.Sdk.Test/Model/AttachmentTests.cs +src/It.FattureInCloud.Sdk.Test/Model/GetPendingReceivedDocumentResponseTests.cs +src/It.FattureInCloud.Sdk.Test/Model/GetTemplatesResponseTests.cs +src/It.FattureInCloud.Sdk.Test/Model/ListPendingReceivedDocumentsResponsePageTests.cs +src/It.FattureInCloud.Sdk.Test/Model/ListPendingReceivedDocumentsResponseTests.cs +src/It.FattureInCloud.Sdk.Test/Model/PendingReceivedDocumentExtractedDataMiningTests.cs +src/It.FattureInCloud.Sdk.Test/Model/PendingReceivedDocumentExtractedDataTests.cs +src/It.FattureInCloud.Sdk.Test/Model/PendingReceivedDocumentPaymentsListItemPaymentTermsTests.cs +src/It.FattureInCloud.Sdk.Test/Model/PendingReceivedDocumentPaymentsListItemTests.cs +src/It.FattureInCloud.Sdk.Test/Model/PendingReceivedDocumentTests.cs +src/It.FattureInCloud.Sdk.Test/Model/PendingReceivedDocumentTypeTests.cs +src/It.FattureInCloud.Sdk.Test/Model/TemplateTypeTests.cs src/It.FattureInCloud.Sdk/Api/ArchiveApi.cs src/It.FattureInCloud.Sdk/Api/CashbookApi.cs src/It.FattureInCloud.Sdk/Api/ClientsApi.cs @@ -322,6 +330,7 @@ src/It.FattureInCloud.Sdk/Client/RetryConfiguration.cs src/It.FattureInCloud.Sdk/It.FattureInCloud.Sdk.csproj src/It.FattureInCloud.Sdk/Model/AbstractOpenAPISchema.cs src/It.FattureInCloud.Sdk/Model/ArchiveDocument.cs +src/It.FattureInCloud.Sdk/Model/Attachment.cs src/It.FattureInCloud.Sdk/Model/AttachmentData.cs src/It.FattureInCloud.Sdk/Model/CashbookEntry.cs src/It.FattureInCloud.Sdk/Model/CashbookEntryDocument.cs @@ -408,6 +417,7 @@ src/It.FattureInCloud.Sdk/Model/GetNewReceivedDocumentTotalsRequest.cs src/It.FattureInCloud.Sdk/Model/GetNewReceivedDocumentTotalsResponse.cs src/It.FattureInCloud.Sdk/Model/GetPaymentAccountResponse.cs src/It.FattureInCloud.Sdk/Model/GetPaymentMethodResponse.cs +src/It.FattureInCloud.Sdk/Model/GetPendingReceivedDocumentResponse.cs src/It.FattureInCloud.Sdk/Model/GetPriceListItemsResponse.cs src/It.FattureInCloud.Sdk/Model/GetProductResponse.cs src/It.FattureInCloud.Sdk/Model/GetReceiptPreCreateInfoResponse.cs @@ -417,6 +427,7 @@ src/It.FattureInCloud.Sdk/Model/GetReceivedDocumentPreCreateInfoResponse.cs src/It.FattureInCloud.Sdk/Model/GetReceivedDocumentResponse.cs src/It.FattureInCloud.Sdk/Model/GetSupplierResponse.cs src/It.FattureInCloud.Sdk/Model/GetTaxProfileResponse.cs +src/It.FattureInCloud.Sdk/Model/GetTemplatesResponse.cs src/It.FattureInCloud.Sdk/Model/GetUserInfoResponse.cs src/It.FattureInCloud.Sdk/Model/GetUserInfoResponseEmailConfirmationState.cs src/It.FattureInCloud.Sdk/Model/GetUserInfoResponseInfo.cs @@ -463,6 +474,8 @@ src/It.FattureInCloud.Sdk/Model/ListIssuedDocumentsResponsePage.cs src/It.FattureInCloud.Sdk/Model/ListLanguagesResponse.cs src/It.FattureInCloud.Sdk/Model/ListPaymentAccountsResponse.cs src/It.FattureInCloud.Sdk/Model/ListPaymentMethodsResponse.cs +src/It.FattureInCloud.Sdk/Model/ListPendingReceivedDocumentsResponse.cs +src/It.FattureInCloud.Sdk/Model/ListPendingReceivedDocumentsResponsePage.cs src/It.FattureInCloud.Sdk/Model/ListPriceListsResponse.cs src/It.FattureInCloud.Sdk/Model/ListProductCategoriesResponse.cs src/It.FattureInCloud.Sdk/Model/ListProductsResponse.cs @@ -517,6 +530,12 @@ src/It.FattureInCloud.Sdk/Model/PaymentMethod.cs src/It.FattureInCloud.Sdk/Model/PaymentMethodDetails.cs src/It.FattureInCloud.Sdk/Model/PaymentMethodType.cs src/It.FattureInCloud.Sdk/Model/PaymentTermsType.cs +src/It.FattureInCloud.Sdk/Model/PendingReceivedDocument.cs +src/It.FattureInCloud.Sdk/Model/PendingReceivedDocumentExtractedData.cs +src/It.FattureInCloud.Sdk/Model/PendingReceivedDocumentExtractedDataMining.cs +src/It.FattureInCloud.Sdk/Model/PendingReceivedDocumentPaymentsListItem.cs +src/It.FattureInCloud.Sdk/Model/PendingReceivedDocumentPaymentsListItemPaymentTerms.cs +src/It.FattureInCloud.Sdk/Model/PendingReceivedDocumentType.cs src/It.FattureInCloud.Sdk/Model/PermissionLevel.cs src/It.FattureInCloud.Sdk/Model/Permissions.cs src/It.FattureInCloud.Sdk/Model/PermissionsFicIssuedDocumentsDetailed.cs @@ -549,6 +568,7 @@ src/It.FattureInCloud.Sdk/Model/ShowTotalsMode.cs src/It.FattureInCloud.Sdk/Model/Supplier.cs src/It.FattureInCloud.Sdk/Model/SupplierType.cs src/It.FattureInCloud.Sdk/Model/TaxProfile.cs +src/It.FattureInCloud.Sdk/Model/TemplateType.cs src/It.FattureInCloud.Sdk/Model/TransformIssuedDocumentResponse.cs src/It.FattureInCloud.Sdk/Model/UploadArchiveAttachmentResponse.cs src/It.FattureInCloud.Sdk/Model/UploadF24AttachmentResponse.cs diff --git a/.openapi-generator/VERSION b/.openapi-generator/VERSION index e465da43..2540a3a5 100644 --- a/.openapi-generator/VERSION +++ b/.openapi-generator/VERSION @@ -1 +1 @@ -7.14.0 +7.20.0 diff --git a/It.FattureInCloud.Sdk.sln b/It.FattureInCloud.Sdk.sln index 85003dfa..50dd5f19 100644 --- a/It.FattureInCloud.Sdk.sln +++ b/It.FattureInCloud.Sdk.sln @@ -2,7 +2,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 14 VisualStudioVersion = 14.0.25420.1 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "It.FattureInCloud.Sdk", "src\It.FattureInCloud.Sdk\It.FattureInCloud.Sdk.csproj", "{AE4C8C39-7217-4648-8923-7E2EAF14D813}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "It.FattureInCloud.Sdk", "src\It.FattureInCloud.Sdk\It.FattureInCloud.Sdk.csproj", "{DD5179DE-352C-4829-B26A-E0FAD2B40C7C}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "It.FattureInCloud.Sdk.Test", "src\It.FattureInCloud.Sdk.Test\It.FattureInCloud.Sdk.Test.csproj", "{19F1DEBC-DE5E-4517-8062-F000CD499087}" EndProject @@ -12,10 +12,10 @@ Global Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {AE4C8C39-7217-4648-8923-7E2EAF14D813}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {AE4C8C39-7217-4648-8923-7E2EAF14D813}.Debug|Any CPU.Build.0 = Debug|Any CPU - {AE4C8C39-7217-4648-8923-7E2EAF14D813}.Release|Any CPU.ActiveCfg = Release|Any CPU - {AE4C8C39-7217-4648-8923-7E2EAF14D813}.Release|Any CPU.Build.0 = Release|Any CPU + {DD5179DE-352C-4829-B26A-E0FAD2B40C7C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {DD5179DE-352C-4829-B26A-E0FAD2B40C7C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {DD5179DE-352C-4829-B26A-E0FAD2B40C7C}.Release|Any CPU.ActiveCfg = Release|Any CPU + {DD5179DE-352C-4829-B26A-E0FAD2B40C7C}.Release|Any CPU.Build.0 = Release|Any CPU {19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.Build.0 = Debug|Any CPU {19F1DEBC-DE5E-4517-8062-F000CD499087}.Release|Any CPU.ActiveCfg = Release|Any CPU diff --git a/README.md b/README.md index 49b9dd49..3955e517 100644 --- a/README.md +++ b/README.md @@ -8,8 +8,8 @@ The Fatture in Cloud API is based on REST, and makes possible to interact with t This C# SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: 2.1.5 -- SDK version: 2.1.2 +- API version: 2.1.8 +- SDK version: 2.1.3 - Build package: org.openapitools.codegen.languages.CSharpClientCodegen @@ -141,6 +141,7 @@ Class | Method | HTTP request | Description *InfoApi* | [**ListCostCenters**](docs/InfoApi.md#listcostcenters) | **GET** /c/{company_id}/info/cost_centers | List Cost Centers *InfoApi* | [**ListCountries**](docs/InfoApi.md#listcountries) | **GET** /info/countries | List Countries *InfoApi* | [**ListCurrencies**](docs/InfoApi.md#listcurrencies) | **GET** /info/currencies | List Currencies +*InfoApi* | [**ListDefaultTemplates**](docs/InfoApi.md#listdefaulttemplates) | **GET** /info/templates | List Default Templates *InfoApi* | [**ListDeliveryNotesDefaultCausals**](docs/InfoApi.md#listdeliverynotesdefaultcausals) | **GET** /info/dn_causals | List Delivery Notes Default Causals *InfoApi* | [**ListDetailedCountries**](docs/InfoApi.md#listdetailedcountries) | **GET** /info/detailed_countries | List Detailed Countries *InfoApi* | [**ListLanguages**](docs/InfoApi.md#listlanguages) | **GET** /info/languages | List Languages @@ -149,7 +150,6 @@ Class | Method | HTTP request | Description *InfoApi* | [**ListProductCategories**](docs/InfoApi.md#listproductcategories) | **GET** /c/{company_id}/info/product_categories | List Product Categories *InfoApi* | [**ListReceivedDocumentCategories**](docs/InfoApi.md#listreceiveddocumentcategories) | **GET** /c/{company_id}/info/received_document_categories | List Received Document Categories *InfoApi* | [**ListRevenueCenters**](docs/InfoApi.md#listrevenuecenters) | **GET** /c/{company_id}/info/revenue_centers | List Revenue Centers -*InfoApi* | [**ListTemplates**](docs/InfoApi.md#listtemplates) | **GET** /info/templates | List Templates *InfoApi* | [**ListUnitsOfMeasure**](docs/InfoApi.md#listunitsofmeasure) | **GET** /info/measures | List Units of Measure *InfoApi* | [**ListVatTypes**](docs/InfoApi.md#listvattypes) | **GET** /c/{company_id}/info/vat_types | List Vat Types *IssuedDocumentsApi* | [**CreateIssuedDocument**](docs/IssuedDocumentsApi.md#createissueddocument) | **POST** /c/{company_id}/issued_documents | Create Issued Document @@ -195,9 +195,11 @@ Class | Method | HTTP request | Description *ReceivedDocumentsApi* | [**GetBinReceivedDocument**](docs/ReceivedDocumentsApi.md#getbinreceiveddocument) | **GET** /c/{company_id}/bin/received_documents/{document_id} | Get Bin Received Documents List *ReceivedDocumentsApi* | [**GetExistingReceivedDocumentTotals**](docs/ReceivedDocumentsApi.md#getexistingreceiveddocumenttotals) | **POST** /c/{company_id}/received_documents/{document_id}/totals | Get Existing Received Document Totals *ReceivedDocumentsApi* | [**GetNewReceivedDocumentTotals**](docs/ReceivedDocumentsApi.md#getnewreceiveddocumenttotals) | **POST** /c/{company_id}/received_documents/totals | Get New Received Document Totals +*ReceivedDocumentsApi* | [**GetPendingReceivedDocument**](docs/ReceivedDocumentsApi.md#getpendingreceiveddocument) | **GET** /c/{company_id}/received_documents/pending/{document_id} | Get Pending Received Document *ReceivedDocumentsApi* | [**GetReceivedDocument**](docs/ReceivedDocumentsApi.md#getreceiveddocument) | **GET** /c/{company_id}/received_documents/{document_id} | Get Received Document *ReceivedDocumentsApi* | [**GetReceivedDocumentPreCreateInfo**](docs/ReceivedDocumentsApi.md#getreceiveddocumentprecreateinfo) | **GET** /c/{company_id}/received_documents/info | Get Received Document Pre-Create Info *ReceivedDocumentsApi* | [**ListBinReceivedDocuments**](docs/ReceivedDocumentsApi.md#listbinreceiveddocuments) | **GET** /c/{company_id}/bin/received_documents | Get Bin Received Documents List +*ReceivedDocumentsApi* | [**ListPendingReceivedDocuments**](docs/ReceivedDocumentsApi.md#listpendingreceiveddocuments) | **GET** /c/{company_id}/received_documents/pending | List Pending Received Documents *ReceivedDocumentsApi* | [**ListReceivedDocuments**](docs/ReceivedDocumentsApi.md#listreceiveddocuments) | **GET** /c/{company_id}/received_documents | List Received Documents *ReceivedDocumentsApi* | [**ModifyReceivedDocument**](docs/ReceivedDocumentsApi.md#modifyreceiveddocument) | **PUT** /c/{company_id}/received_documents/{document_id} | Modify Received Document *ReceivedDocumentsApi* | [**RecoverBinReceivedDocument**](docs/ReceivedDocumentsApi.md#recoverbinreceiveddocument) | **POST** /c/{company_id}/bin/received_documents/{document_id}/recover | Recover Received Document From The Bin @@ -211,7 +213,9 @@ Class | Method | HTTP request | Description *SettingsApi* | [**GetPaymentAccount**](docs/SettingsApi.md#getpaymentaccount) | **GET** /c/{company_id}/settings/payment_accounts/{payment_account_id} | Get Payment Account *SettingsApi* | [**GetPaymentMethod**](docs/SettingsApi.md#getpaymentmethod) | **GET** /c/{company_id}/settings/payment_methods/{payment_method_id} | Get Payment Method *SettingsApi* | [**GetTaxProfile**](docs/SettingsApi.md#gettaxprofile) | **GET** /c/{company_id}/settings/tax_profile | Get Tax Profile +*SettingsApi* | [**GetTemplate**](docs/SettingsApi.md#gettemplate) | **GET** /c/{company_id}/settings/templates/{template_id} | Get Template *SettingsApi* | [**GetVatType**](docs/SettingsApi.md#getvattype) | **GET** /c/{company_id}/settings/vat_types/{vat_type_id} | Get Vat Type +*SettingsApi* | [**ListTemplates**](docs/SettingsApi.md#listtemplates) | **GET** /c/{company_id}/settings/templates | List Templates *SettingsApi* | [**ModifyPaymentAccount**](docs/SettingsApi.md#modifypaymentaccount) | **PUT** /c/{company_id}/settings/payment_accounts/{payment_account_id} | Modify Payment Account *SettingsApi* | [**ModifyPaymentMethod**](docs/SettingsApi.md#modifypaymentmethod) | **PUT** /c/{company_id}/settings/payment_methods/{payment_method_id} | Modify Payment Method *SettingsApi* | [**ModifyVatType**](docs/SettingsApi.md#modifyvattype) | **PUT** /c/{company_id}/settings/vat_types/{vat_type_id} | Modify Vat Type @@ -241,6 +245,7 @@ Class | Method | HTTP request | Description ## Documentation for Models - [Model.ArchiveDocument](docs/ArchiveDocument.md) + - [Model.Attachment](docs/Attachment.md) - [Model.AttachmentData](docs/AttachmentData.md) - [Model.CashbookEntry](docs/CashbookEntry.md) - [Model.CashbookEntryDocument](docs/CashbookEntryDocument.md) @@ -327,6 +332,7 @@ Class | Method | HTTP request | Description - [Model.GetNewReceivedDocumentTotalsResponse](docs/GetNewReceivedDocumentTotalsResponse.md) - [Model.GetPaymentAccountResponse](docs/GetPaymentAccountResponse.md) - [Model.GetPaymentMethodResponse](docs/GetPaymentMethodResponse.md) + - [Model.GetPendingReceivedDocumentResponse](docs/GetPendingReceivedDocumentResponse.md) - [Model.GetPriceListItemsResponse](docs/GetPriceListItemsResponse.md) - [Model.GetProductResponse](docs/GetProductResponse.md) - [Model.GetReceiptPreCreateInfoResponse](docs/GetReceiptPreCreateInfoResponse.md) @@ -336,6 +342,7 @@ Class | Method | HTTP request | Description - [Model.GetReceivedDocumentResponse](docs/GetReceivedDocumentResponse.md) - [Model.GetSupplierResponse](docs/GetSupplierResponse.md) - [Model.GetTaxProfileResponse](docs/GetTaxProfileResponse.md) + - [Model.GetTemplatesResponse](docs/GetTemplatesResponse.md) - [Model.GetUserInfoResponse](docs/GetUserInfoResponse.md) - [Model.GetUserInfoResponseEmailConfirmationState](docs/GetUserInfoResponseEmailConfirmationState.md) - [Model.GetUserInfoResponseInfo](docs/GetUserInfoResponseInfo.md) @@ -382,6 +389,8 @@ Class | Method | HTTP request | Description - [Model.ListLanguagesResponse](docs/ListLanguagesResponse.md) - [Model.ListPaymentAccountsResponse](docs/ListPaymentAccountsResponse.md) - [Model.ListPaymentMethodsResponse](docs/ListPaymentMethodsResponse.md) + - [Model.ListPendingReceivedDocumentsResponse](docs/ListPendingReceivedDocumentsResponse.md) + - [Model.ListPendingReceivedDocumentsResponsePage](docs/ListPendingReceivedDocumentsResponsePage.md) - [Model.ListPriceListsResponse](docs/ListPriceListsResponse.md) - [Model.ListProductCategoriesResponse](docs/ListProductCategoriesResponse.md) - [Model.ListProductsResponse](docs/ListProductsResponse.md) @@ -436,6 +445,12 @@ Class | Method | HTTP request | Description - [Model.PaymentMethodDetails](docs/PaymentMethodDetails.md) - [Model.PaymentMethodType](docs/PaymentMethodType.md) - [Model.PaymentTermsType](docs/PaymentTermsType.md) + - [Model.PendingReceivedDocument](docs/PendingReceivedDocument.md) + - [Model.PendingReceivedDocumentExtractedData](docs/PendingReceivedDocumentExtractedData.md) + - [Model.PendingReceivedDocumentExtractedDataMining](docs/PendingReceivedDocumentExtractedDataMining.md) + - [Model.PendingReceivedDocumentPaymentsListItem](docs/PendingReceivedDocumentPaymentsListItem.md) + - [Model.PendingReceivedDocumentPaymentsListItemPaymentTerms](docs/PendingReceivedDocumentPaymentsListItemPaymentTerms.md) + - [Model.PendingReceivedDocumentType](docs/PendingReceivedDocumentType.md) - [Model.PermissionLevel](docs/PermissionLevel.md) - [Model.Permissions](docs/Permissions.md) - [Model.PermissionsFicIssuedDocumentsDetailed](docs/PermissionsFicIssuedDocumentsDetailed.md) @@ -468,6 +483,7 @@ Class | Method | HTTP request | Description - [Model.Supplier](docs/Supplier.md) - [Model.SupplierType](docs/SupplierType.md) - [Model.TaxProfile](docs/TaxProfile.md) + - [Model.TemplateType](docs/TemplateType.md) - [Model.TransformIssuedDocumentResponse](docs/TransformIssuedDocumentResponse.md) - [Model.UploadArchiveAttachmentResponse](docs/UploadArchiveAttachmentResponse.md) - [Model.UploadF24AttachmentResponse](docs/UploadF24AttachmentResponse.md) diff --git a/api/openapi.yaml b/api/openapi.yaml index fe40382d..352a0df4 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -12,7 +12,7 @@ info: name: MIT url: https://github.com/fattureincloud/openapi-fattureincloud/blob/master/LICENSE title: Fatture in Cloud API v2 - API Reference - version: 2.1.5 + version: 2.1.8 servers: - url: https://api-v2.fattureincloud.it security: @@ -40,9 +40,361 @@ paths: parameters: [] responses: "200": - $ref: "#/components/responses/GetUserInfoResponse" + content: + application/json: + examples: + example-1: + value: + data: + id: 12345 + name: Mario Rossi + first_name: Mario + last_name: Rossi + email: mario.rossi@example.com + hash: 5add29e1234532a1bf2ed7b612043029 + picture: picture.jpg + info: + need_marketing_consents_confirmation: false + need_password_change: false + need_terms_of_service_confirmation: false + email_confirmation_state: + need_confirmation: false + schema: + $ref: "#/components/schemas/GetUserInfoResponse" + description: "" + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" "401": - description: Unauthorized. + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" security: - OAuth2AuthenticationCodeFlow: [] summary: Get User Info @@ -55,9 +407,416 @@ paths: parameters: [] responses: "200": - $ref: "#/components/responses/ListUserCompaniesResponse" + content: + application/json: + examples: + example-1: + value: + data: + companies: + - id: 12345 + name: Studio Commercialista + tax_code: ABCSFN94T17A794K + vat_number: 3881520161 + type: accountant + access_token: 4ff5f0fe5abcd1d7157fa13ca72ab62b6183db0667a576a0e19164801c18c4f7362a848fa32dbb8c3a3f94c34f3df95 + connection_id: 94566 + controlled_companies: + - id: 12246 + name: Studio Commercialista + tax_code: ABCSFN94T17A794K + vat_number: 3881520161 + type: company + access_token: 4ff5f0fe5abcdf1d7157fa13ca72ab62b6183db0667a576a0e19164801c18c4f7362a848fa32dbb8c3a3f94c34f3df95 + connection_id: 94566 + controlled_companies: [] + fic: true + dic: true + fic_plan: premium_plus + fic_license_expire: 2021-12-31 + permissions: + fic_situation: write + fic_clients: write + fic_suppliers: write + fic_products: write + fic_issued_documents: write + fic_received_documents: write + fic_receipts: write + fic_calendar: write + fic_archive: write + fic_taxes: write + fic_stock: write + fic_cashbook: write + fic_settings: write + fic_emails: write + dic_employees: write + dic_timesheet: write + dic_settings: write + - id: 12347 + name: Mario Rossi SRL + tax_code: "57398280214" + type: company + access_token: 86690c98be13592e78b763c52fab2ba0c22faa118708ca5273da2b4dcdc7ad1234517107266d463fd9ae424a78c16cde + connection_id: 94566 + controlled_companies: [] + fic: true + dic: false + fic_plan: trial + fic_license_expire: 2021-12-31 + permissions: + fic_situation: write + fic_clients: write + fic_suppliers: write + fic_products: write + fic_issued_documents: write + fic_received_documents: write + fic_receipts: write + fic_calendar: write + fic_archive: write + fic_taxes: write + fic_stock: write + fic_cashbook: write + fic_settings: write + fic_emails: write + dic_employees: none + dic_timesheet: none + dic_settings: none + schema: + $ref: "#/components/schemas/ListUserCompaniesResponse" + description: User Companies. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" "401": - description: Unauthorized + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" security: - OAuth2AuthenticationCodeFlow: [] summary: List User Companies @@ -79,9 +838,440 @@ paths: style: simple responses: "200": - $ref: "#/components/responses/GetCompanyInfoResponse" + content: + application/json: + examples: + example-1: + value: + data: + id: 12345 + name: Studio Commercialista + email: mario.rossi@example.com + type: accountant + fic: true + fic_plan_name: premium_plus + fic_signup_date: 2013-11-01 + fic_license_expire: 2030-12-31 + use_fic: true + fic_need_setup: false + fic_license_type: coupon_b + dic: true + dic_plan_name: trial + dic_signup_date: 2018-03-26 + dic_license_expire: 2022-12-31 + use_dic: true + dic_license_type: null + registration_service: fic + can_use_coupon: false + access_info: + role: master + through_accountant: false + permissions: + fic_situation: read + fic_clients: write + fic_suppliers: write + fic_products: write + fic_issued_documents: detailed + fic_issued_documents_detailed: + quotes: write + proformas: write + invoices: write + receipts: write + delivery_notes: write + credit_notes: write + orders: write + work_reports: write + supplier_orders: write + self_invoices: write + fic_received_documents: write + fic_receipts: write + fic_calendar: write + fic_archive: write + fic_taxes: write + fic_stock: write + fic_cashbook: write + fic_settings: write + fic_emails: read + dic_employees: none + dic_timesheet: none + dic_settings: none + fic_invoice_trading: none + fic_export: write + fic_import_clients_suppliers: write + fic_import_products: write + fic_import_issued_documents: none + fic_import_bankstatements: none + fic_recurring: write + fic_riba: write + plan_info: + limits: + clients: 5000 + suppliers: 5000 + products: 5000 + documents: 3000 + functions: + document_attachments: true + archive: true + payment_notifications: true + paypal: true + receipts: true + e_invoice: true + genius: true + stock: true + smtp: true + mail_tracking: true + subaccounts: true + tessera_sanitaria: true + recurring: true + cerved: true + ts_digital: true + ts_pay: true + ts_invoice_trading: true + functions_status: + ts_digital: + active: true + ts_pay: + active: true + is_accountant: true + accountant_id: 12345 + fic_payment_subject: client + dic_payment_subject: client + schema: + $ref: "#/components/schemas/GetCompanyInfoResponse" + description: Company info. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" "401": - description: Unauthorized. + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" security: - OAuth2AuthenticationCodeFlow: [] summary: Get Company Info @@ -116,9 +1306,350 @@ paths: style: form responses: "200": - $ref: "#/components/responses/GetCompanyPlanUsageResponse" + content: + application/json: + examples: + example-1: + value: + data: + limit: 3000 + usage: 100 + schema: + $ref: "#/components/schemas/GetCompanyPlanUsageResponse" + description: Example response + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" "401": - description: Unauthorized. + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" security: - OAuth2AuthenticationCodeFlow: [] summary: Get Company Plan Usage @@ -155,6 +1686,7 @@ paths: enum: - basic - detailed + - fic_view type: string style: form - description: List of comma-separated fields for result sorting (minus for @@ -196,9 +1728,432 @@ paths: style: form responses: "200": - $ref: "#/components/responses/ListClientsResponse" + content: + application/json: + examples: + example-1: + value: + current_page: 1 + data: + - id: 16451 + code: AE86 + name: Avv. Maria Rossi + type: person + first_name: Maria + last_name: Rossi + contact_person: "" + vat_number: IT12345640962 + tax_code: BLTGNI5ABCDA794E + address_street: "Via Roma, 1" + address_postal_code: "20900" + address_city: Milano + address_province: MI + address_extra: "" + country: Italia + email: maria.rossi@example.com + certified_email: maria.rossi@pec.example.com + phone: "1234567890" + fax: "" + notes: "" + created_at: 2021-04-29 08:53:07 + updated_at: 2021-04-29 08:53:07 + default_payment_terms: 1 + default_payment_terms_type: standard + bank_name: Indesa + bank_iban: IT40P123456781000000123456 + bank_swift_code: AK86PCT + shipping_address: Corso Magellano 4 + e_invoice: true + ei_code: "111111" + default_vat: + id: 54321 + value: 45 + description: "" + is_disabled: false + default_payment_method: + id: 386092 + name: Credit card + - id: 25330696 + code: PD00 + name: Mario Rossi + type: person + first_name: Mario + last_name: Rossi + contact_person: "" + vat_number: IT1234567890 + tax_code: ABCDEF12G34H567I + address_street: Via largo augusto 123 + address_postal_code: "21012" + address_city: Bergamo + address_province: BG + address_extra: "" + country: Italia + email: info@mariorossi.it + certified_email: info@pec.mariorossi.it + phone: "012345678" + fax: "012345678" + notes: "" + created_at: 2021-04-29 08:53:07 + default_payment_terms: 0 + default_payment_terms_type: standard + bank_name: Monte dei Pascoli + bank_iban: IT00P123456781000000123456 + bank_swift_code: APL86PCT + shipping_address: Via Miilano 4 + e_invoice: false + ei_code: "7654321" + default_vat: + id: 66 + value: 22 + description: "" + is_disabled: false + default_payment_method: null + first_page_url: page=1 + from: 1 + last_page: 2 + last_page_url: page=2 + next_page_url: page=2 + path: entities/clients + per_page: 5 + prev_page_url: null + to: 50 + total: 8 + schema: + $ref: "#/components/schemas/ListClientsResponse" + description: Example response + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" "401": - description: Unauthorized + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" security: - OAuth2AuthenticationCodeFlow: - entity.clients:r @@ -263,7 +2218,386 @@ paths: description: The client to create responses: "200": - $ref: "#/components/responses/CreateClientResponse" + content: + application/json: + examples: + example-1: + value: + data: + id: 16451 + code: AE86 + name: Avv. Maria Rossi + type: person + first_name: Maria + last_name: Rossi + contact_person: "" + vat_number: IT12345640962 + tax_code: BLTGNI5ABCDA794E + address_street: "Via Roma, 1" + address_postal_code: "20900" + address_city: Milano + address_province: MI + address_extra: "" + country: Italia + email: maria.rossi@example.com + certified_email: maria.rossi@pec.example.com + phone: "1234567890" + fax: "" + notes: "" + created_at: 2021-04-29 08:53:07 + updated_at: 2021-04-29 08:53:07 + default_payment_terms: 1 + default_payment_terms_type: standard + bank_name: Indesa + bank_iban: IT40P123456781000000123456 + bank_swift_code: AK86PCT + shipping_address: Corso Magellano 4 + e_invoice: true + ei_code: "111111" + default_vat: + id: 54321 + value: 45 + description: "" + is_disabled: false + default_payment_method: + id: 386092 + name: Credit card + schema: + $ref: "#/components/schemas/CreateClientResponse" + description: Example response + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" security: - OAuth2AuthenticationCodeFlow: - entity.clients:a @@ -295,10 +2629,339 @@ paths: responses: "200": description: Entity Removed + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" "401": - description: Unauthorized + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" "404": - description: Not Found + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" security: - OAuth2AuthenticationCodeFlow: - entity.clients:a @@ -343,15 +3006,386 @@ paths: enum: - basic - detailed + - fic_view type: string style: form responses: "200": - $ref: "#/components/responses/GetClientResponse" + content: + application/json: + examples: + example-1: + value: + data: + code: AE86 + name: Avv. Maria Rossi + type: person + first_name: Maria + last_name: Rossi + contact_person: "" + vat_number: IT12345640962 + tax_code: BLTGNI5ABCDA794E + address_street: "Via Roma, 1" + address_postal_code: "20900" + address_city: Milano + address_province: MI + address_extra: "" + country: Italia + email: maria.rossi@example.com + certified_email: maria.rossi@pec.example.com + phone: "1234567890" + fax: "" + notes: "" + default_payment_terms: 1 + default_payment_terms_type: standard + bank_name: Indesa + bank_iban: IT40P123456781000000123456 + bank_swift_code: AK86PCT + shipping_address: Corso Magellano 4 + e_invoice: true + ei_code: "111111" + default_vat: + id: 54321 + value: 45 + description: "" + is_disabled: false + price_list_id: "10" + schema: + $ref: "#/components/schemas/GetClientResponse" + description: Client Details. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" "401": - description: Unauthorized + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" "404": - description: Not Found + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" security: - OAuth2AuthenticationCodeFlow: - entity.clients:r @@ -425,11 +3459,381 @@ paths: mode. responses: "200": - $ref: "#/components/responses/ModifyClientResponse" + content: + application/json: + examples: + example-1: + value: + data: + code: AE86 + name: Avv. Maria Rossi + type: person + first_name: Maria + last_name: Rossi + contact_person: "" + vat_number: IT12345640962 + tax_code: BLTGNI5ABCDA794E + address_street: "Via Roma, 1" + address_postal_code: "20900" + address_city: Milano + address_province: MI + address_extra: "" + country: Italia + email: maria.rossi@example.com + certified_email: maria.rossi@pec.example.com + phone: "1234567890" + fax: "" + notes: "" + default_payment_terms: 1 + default_payment_terms_type: standard + bank_name: Indesa + bank_iban: IT40P123456781000000123456 + bank_swift_code: AK86PCT + shipping_address: Corso Magellano 4 + e_invoice: true + ei_code: "111111" + default_vat: + id: 54321 + value: 45 + description: "" + is_disabled: false + price_list_id: "10" + schema: + $ref: "#/components/schemas/ModifyClientResponse" + description: Client modified. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" "401": - description: Unauthorized + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" "404": - description: Not Found + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" security: - OAuth2AuthenticationCodeFlow: - entity.clients:a @@ -452,11 +3856,389 @@ paths: style: simple responses: "200": - $ref: "#/components/responses/GetEntityClientsInfoResponse" + content: + application/json: + examples: + example-1: + value: + data: + countries_list: + - Italy + payment_methods_list: + - id: 555 + name: Rimessa diretta + is_default: false + details: [] + bank_iban: null + bank_name: null + bank_beneficiary: null + ei_payment_method: null + payment_accounts_list: + - id: 0 + name: Conto Banca Intesa + type: standard + iban: string + sia: string + cuc: string + virtual: true + vat_types_list: + - id: 0 + value: 22 + description: Non imponibile art. 123 + notes: "IVA non imponibile ai sensi dell'articolo 123, comma\ + \ 2" + e_invoice: true + ei_type: 2 + ei_description: string + editable: true + is_disabled: true + default: true + price_lists: + - id: string + name: "123" + prices_type: net + is_default: true + valid_from: string + valid_to: string + type: sell + limit: 0 + usage: 0 + schema: + $ref: "#/components/schemas/GetEntityClientPreCreateInfoResponse" + description: Example response + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" "401": - description: Unauthorized + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" "404": - description: Not Found + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" security: - OAuth2AuthenticationCodeFlow: - entity.clients:r @@ -494,6 +4276,7 @@ paths: enum: - basic - detailed + - fic_view type: string style: form - description: List of comma-separated fields for result sorting (minus for @@ -535,9 +4318,402 @@ paths: style: form responses: "200": - $ref: "#/components/responses/ListSuppliersResponse" + content: + application/json: + examples: + example-1: + value: + first_page_url: page=1 + from: 1 + last_page: 2 + last_page_url: page=2 + next_page_url: page=2 + path: /entities/suppliers + per_page: 50 + prev_page_url: null + to: 55 + total: 55 + data: + - id: 12345 + code: AE86 + name: Mario Rossi S.R.L. + type: company + first_name: Mario + last_name: Rossi + contact_person: "" + vat_number: "111222333" + tax_code: "111122233" + address_street: "Corso Magellano, 46" + address_postal_code: "20146" + address_city: Milano + address_province: MI + address_extra: "" + country: Italia + email: mario.rossi@example.com + certified_email: mario.rossi@pec.example.com + phone: "1234567890" + fax: "123456789" + notes: "" + created_at: 2021-15-08 + updated_at: 2021-15-08 + - id: 12346 + code: GT86 + name: Maria Grossi S.R.L. + type: company + first_name: "" + last_name: "" + contact_person: "" + vat_number: "200020102020" + tax_code: "200020102020" + address_street: "Vicolo stretto, 32" + address_postal_code: "20146" + address_city: Milano + address_province: MI + address_extra: "" + country: Italia + email: maria.grossi@example.com + certified_email: maria.grossi@pec.example.com + phone: "0987654321" + fax: "098765432" + notes: "" + created_at: 2021-15-09 + updated_at: 2021-15-09 + schema: + $ref: "#/components/schemas/ListSuppliersResponse" + description: Example response + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" "401": - description: Unauthorized + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" security: - OAuth2AuthenticationCodeFlow: - entity.suppliers:r @@ -589,7 +4765,370 @@ paths: description: The supplier to create responses: "200": - $ref: "#/components/responses/CreateSupplierResponse" + content: + application/json: + examples: + example-1: + value: + data: + id: 12345 + code: AE86 + name: Mario Rossi S.R.L. + type: company + first_name: Mario + last_name: Rossi + contact_person: "" + vat_number: "111222333" + tax_code: "111122233" + address_street: "Corso Magellano, 46" + address_postal_code: "20146" + address_city: Milano + address_province: MI + address_extra: "" + country: Italia + email: mario.rossi@example.com + certified_email: mario.rossi@pec.example.com + phone: "1234567890" + fax: "123456789" + notes: "" + created_at: 2021-15-08 + updated_at: 2021-15-08 + schema: + $ref: "#/components/schemas/CreateSupplierResponse" + description: Example response + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" security: - OAuth2AuthenticationCodeFlow: - entity.suppliers:a @@ -621,10 +5160,339 @@ paths: responses: "200": description: Entity Removed + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" "401": - description: Unauthorized + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" "404": - description: Not Found + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" security: - OAuth2AuthenticationCodeFlow: - entity.suppliers:a @@ -669,15 +5537,375 @@ paths: enum: - basic - detailed + - fic_view type: string style: form responses: "200": - $ref: "#/components/responses/GetSupplierResponse" + content: + application/json: + examples: + example-1: + value: + data: + id: 12345 + code: AE86 + name: Mario Rossi S.R.L. + type: company + first_name: Mario + last_name: Rossi + contact_person: "" + vat_number: "111222333" + tax_code: "111122233" + address_street: "Corso Magellano, 46" + address_postal_code: "20146" + address_city: Milano + address_province: MI + address_extra: "" + country: Italia + email: mario.rossi@example.com + certified_email: mario.rossi@pec.example.com + phone: "1234567890" + fax: "123456789" + notes: "" + created_at: 2021-15-08 + updated_at: 2021-15-08 + schema: + $ref: "#/components/schemas/GetSupplierResponse" + description: Example response + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" "401": - description: Unauthorized + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" "404": - description: Not Found + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" security: - OAuth2AuthenticationCodeFlow: - entity.suppliers:r @@ -738,11 +5966,370 @@ paths: delta mode. responses: "200": - $ref: "#/components/responses/ModifySupplierResponse" + content: + application/json: + examples: + example-1: + value: + data: + id: 12345 + code: AE86 + name: Mario Rossi S.R.L. + type: company + first_name: Mario + last_name: Rossi + contact_person: "" + vat_number: "111222333" + tax_code: "111122233" + address_street: "Corso Magellano, 46" + address_postal_code: "20146" + address_city: Milano + address_province: MI + address_extra: "" + country: Italia + email: mario.rossi@example.com + certified_email: mario.rossi@pec.example.com + phone: "1234567890" + fax: "123456789" + notes: "" + created_at: 2021-15-08 + updated_at: 2021-15-08 + schema: + $ref: "#/components/schemas/ModifySupplierResponse" + description: Example response + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" "401": - description: Unauthorized + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" "404": - description: Not Found + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" security: - OAuth2AuthenticationCodeFlow: - entity.suppliers:a @@ -780,6 +6367,7 @@ paths: enum: - basic - detailed + - fic_view type: string style: form - description: List of comma-separated fields for result sorting (minus for @@ -821,9 +6409,395 @@ paths: style: form responses: "200": - $ref: "#/components/responses/ListProductsResponse" + content: + application/json: + examples: + example-1: + value: + current_page: 1 + data: + - id: 12345 + name: Tavolo di marmo + code: TAVOLO003 + net_price: 240 + gross_price: 280 + use_gross_price: false + net_cost: 0 + measure: "" + description: Tavolo in marmo pregiato + category: arredamento + in_stock: true + default_vat: + id: 3 + value: 22 + description: Non imponibile art. 123 + notes: "IVA non imponibile ai sensi dell'articolo 123, comma\ + \ 2" + is_disabled: false + - id: 12346 + name: Tavolo di legno + code: TAVOLO001 + net_price: 120 + gross_price: 160 + use_gross_price: false + net_cost: 0 + measure: "" + description: Tavolo in legno pregiato + category: arredamento + in_stock: true + default_vat: + id: 3 + value: 22 + description: Non imponibile art. 123 + notes: "IVA non imponibile ai sensi dell'articolo 123, comma\ + \ 2" + is_disabled: false + first_page_url: page=1 + from: 1 + last_page: 1 + last_page_url: page=1 + next_page_url: page=2 + path: products + per_page: 50 + prev_page_url: null + to: 55 + total: 55 + schema: + $ref: "#/components/schemas/ListProductsResponse" + description: Products List. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" "401": - description: Unauthorized + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" security: - OAuth2AuthenticationCodeFlow: - products:r @@ -870,7 +6844,366 @@ paths: description: "" responses: "200": - $ref: "#/components/responses/CreateProductResponse" + content: + application/json: + examples: + example-1: + value: + data: + id: 12345 + name: Tavolo di marmo + code: TAVOLO003 + net_price: 240 + gross_price: 280 + use_gross_price: false + net_cost: 0 + measure: "" + description: Tavolo in marmo pregiato + category: arredamento + in_stock: true + default_vat: + id: 3 + value: 22 + description: Non imponibile art. 123 + notes: "IVA non imponibile ai sensi dell'articolo 123, comma\ + \ 2" + is_disabled: false + schema: + $ref: "#/components/schemas/CreateProductResponse" + description: Example response + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" security: - OAuth2AuthenticationCodeFlow: - products:a @@ -902,10 +7235,339 @@ paths: responses: "200": description: Product removed. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" "401": - description: Unauthorized + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" "404": - description: Not Found + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" security: - OAuth2AuthenticationCodeFlow: - products:a @@ -950,15 +7612,375 @@ paths: enum: - basic - detailed + - fic_view type: string style: form responses: "200": - $ref: "#/components/responses/GetProductResponse" + content: + application/json: + examples: + example-1: + value: + data: + id: 12345 + name: Tavolo di marmo + code: TAVOLO003 + net_price: 240 + gross_price: 280 + use_gross_price: false + net_cost: 0 + measure: "" + description: Tavolo in marmo pregiato + category: arredamento + in_stock: true + created_at: 2021-08-09 08:57:14 + updated_at: 2021-08-09 08:57:14 + default_vat: + id: 3 + value: 22 + description: Non imponibile art. 123 + notes: "IVA non imponibile ai sensi dell'articolo 123, comma\ + \ 2" + is_disabled: false + stock_initial: 123 + stock_current: 123 + schema: + $ref: "#/components/schemas/GetProductResponse" + description: Example response + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" "401": - description: Unauthorized + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" "404": - description: Not Found + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" security: - OAuth2AuthenticationCodeFlow: - products:r @@ -1013,11 +8035,370 @@ paths: description: Modified product details. responses: "200": - $ref: "#/components/responses/ModifyProductResponse" + content: + application/json: + examples: + example-1: + value: + data: + id: 12345 + name: Tavolo di marmo + code: TAVOLO003 + net_price: 240 + gross_price: 280 + use_gross_price: false + net_cost: 0 + measure: "" + description: Tavolo in marmo pregiato + category: arredamento + in_stock: true + created_at: 2021-08-09 08:57:14 + updated_at: 2021-08-15 08:57:14 + default_vat: + id: 3 + value: 22 + description: Non imponibile art. 123 + notes: "IVA non imponibile ai sensi dell'articolo 123, comma\ + \ 2" + is_disabled: false + stock_initial: 123 + stock_current: 123 + schema: + $ref: "#/components/schemas/ModifyProductResponse" + description: Example response + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" "401": - description: Unauthorized + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" "404": - description: Not Found + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" security: - OAuth2AuthenticationCodeFlow: - products:a @@ -1075,6 +8456,7 @@ paths: enum: - basic - detailed + - fic_view type: string style: form - description: List of comma-separated fields for result sorting (minus for @@ -1127,11 +8509,415 @@ paths: style: form responses: "200": - $ref: "#/components/responses/ListIssuedDocumentsResponse" + content: + application/json: + examples: + example-1: + value: + current_page: 1 + data: + - id: 12345 + type: receipt + numeration: rec123 + subject: "" + visible_subject: "" + amount_net: 68.18 + amount_vat: 6.82 + amount_gross: 75 + amount_due_discount: 0 + entity: + id: 54321 + name: Mary Red S.r.L. + vat_number: IT05432181211 + tax_code: IT05432181211 + address_street: "Via Italia, 66" + address_postal_code: "20900" + address_city: Milano + address_province: MI + address_extra: "" + country: Italia + certified_email: mary@pec.red.com + ei_code: ABCXCR1 + date: 2021-08-20 + number: 1 + next_due_date: 2021-12-31 + url: ypbqqe4u8w8bdabcd5fd5b1a4gtqhlof.pdf + items_list: null + payments_list: null + - id: 12346 + type: receipt + numeration: rec124 + subject: "" + visible_subject: "" + amount_net: 168.18 + amount_vat: 16.82 + amount_gross: 175 + amount_due_discount: 0 + entity: + id: 54321 + name: Mary Red S.r.L. + vat_number: IT05432181211 + tax_code: IT05432181211 + address_street: "Via Italia, 66" + address_postal_code: "20900" + address_city: Milano + address_province: MI + address_extra: "" + country: Italia + certified_email: mary@pec.red.com + ei_code: ABCXCR1 + date: 2021-08-28 + number: 1 + next_due_date: 2021-12-31 + url: qwertye4u8w8bdaqrt5fd5b1a4gtqhlof.pdf + items_list: null + payments_list: null + first_page_url: page=1 + from: 1 + last_page: 1 + last_page_url: page=1 + next_page_url: null + path: issued_documents + per_page: 50 + prev_page_url: null + to: 2 + total: 2 + schema: + $ref: "#/components/schemas/ListIssuedDocumentsResponse" + description: Results list. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" "401": - description: Unauthorized + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" "404": - description: Not Found + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" security: - OAuth2AuthenticationCodeFlow: - issued_documents.invoices:r @@ -1225,9 +9011,459 @@ paths: description: The Issued Document responses: "200": - $ref: "#/components/responses/CreateIssuedDocumentResponse" + content: + application/json: + examples: + example-1: + value: + data: + id: 12345 + type: receipt + year: 2021 + numeration: rec123 + subject: "" + visible_subject: "" + rc_center: "" + ei_cassa_type: null + ei_withholding_tax_causal: null + ei_other_withholding_tax_type: null + ei_other_withholding_tax_causal: null + stamp_duty: 0 + use_gross_prices: false + e_invoice: false + agyo_company_id: null + agyo_id: null + agyo_sent_at: null + delivery_note: false + accompanying_invoice: false + amount_net: 68.18 + amount_vat: 6.82 + amount_gross: 75 + amount_due_discount: 0 + amount_rivalsa: 0 + amount_cassa: 0 + amount_withholding_tax: 0 + amount_other_withholding_tax: 0 + h_margins: 15 + v_margins: 16 + show_payment_method: false + show_payments: true + show_totals: all + show_notification_button: false + is_marked: false + created_at: 2021-08-13 09:30:20 + updated_at: 2021-08-23 05:34:20 + entity: + id: 54321 + name: Mary Red S.r.L. + vat_number: IT05432181211 + tax_code: IT05432181211 + address_street: "Via Italia, 66" + address_postal_code: "20900" + address_city: Milano + address_province: MI + address_extra: "" + country: Italia + certified_email: mary@pec.red.com + ei_code: ABCXCR1 + date: 2021-08-20 + number: 1 + currency: + id: EUR + exchange_rate: "1.00000" + symbol: € + language: + code: it + name: Italiano + notes: "" + rivalsa: 0 + cassa: 0 + withholding_tax: 0 + withholding_tax_taxable: 100 + other_withholding_tax: 0 + payment_method: + id: 4 + name: Credit card + use_split_payment: false + merged_in: null + original_document: null + items_list: + - product_id: 5432 + code: SG3 + name: Soggiorno + measure: "" + net_price: 68.18182 + category: "" + id: 277876033 + gross_price: 75 + apply_withholding_taxes: true + discount: 0 + discount_highlight: false + in_dn: false + qty: 1 + vat: + id: 3 + value: 10 + description: "" + stock: false + description: "" + not_taxable: false + payments_list: + - amount: 75 + due_date: 2020-08-23 + paid_date: null + id: 69078013 + payment_terms: + days: 0 + type: standard + status: not_paid + attachment_url: kdijrnf893hnwkfk45f50f.pdf + seen_date: null + next_due_date: 2020-08-23 + template: + id: 2821 + name: Light Smoke + extra_data: null + url: y12h45rn9yf2mse0p43t7ec90vr.pdf + locked: false + has_ts_pay_pending_payment: false + show_tspay_button: false + schema: + $ref: "#/components/schemas/CreateIssuedDocumentResponse" + description: Document created. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" "401": - description: Unauthorized + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" security: - OAuth2AuthenticationCodeFlow: - issued_documents.invoices:a @@ -1265,10 +9501,339 @@ paths: responses: "200": description: Document removed + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" "401": - description: Unauthorized + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" "404": - description: Not Found + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" security: - OAuth2AuthenticationCodeFlow: - issued_documents.invoices:a @@ -1320,15 +9885,465 @@ paths: enum: - basic - detailed + - fic_view type: string style: form responses: "200": - $ref: "#/components/responses/GetIssuedDocumentResponse" + content: + application/json: + examples: + example-1: + value: + data: + id: 12345 + type: receipt + year: 2021 + numeration: rec123 + subject: "" + visible_subject: "" + rc_center: "" + ei_cassa_type: null + ei_withholding_tax_causal: null + ei_other_withholding_tax_type: null + ei_other_withholding_tax_causal: null + stamp_duty: 0 + use_gross_prices: false + e_invoice: false + agyo_company_id: null + agyo_id: null + agyo_sent_at: null + delivery_note: false + accompanying_invoice: false + amount_net: 68.18 + amount_vat: 6.82 + amount_gross: 75 + amount_due_discount: 0 + amount_rivalsa: 0 + amount_cassa: 0 + amount_withholding_tax: 0 + amount_other_withholding_tax: 0 + h_margins: 15 + v_margins: 16 + show_payment_method: false + show_payments: true + show_totals: all + show_notification_button: false + is_marked: false + created_at: 2021-08-13 09:30:20 + updated_at: 2021-08-23 05:34:20 + entity: + id: 54321 + name: Mary Red S.r.L. + vat_number: IT05432181211 + tax_code: IT05432181211 + address_street: "Via Italia, 66" + address_postal_code: "20900" + address_city: Milano + address_province: MI + address_extra: "" + country: Italia + certified_email: mary@pec.red.com + ei_code: ABCXCR1 + date: 2021-08-20 + number: 1 + currency: + id: EUR + exchange_rate: "1.00000" + symbol: € + language: + code: it + name: Italiano + notes: "" + rivalsa: 0 + cassa: 0 + withholding_tax: 0 + withholding_tax_taxable: 100 + other_withholding_tax: 0 + payment_method: + id: 4 + name: Credit card + use_split_payment: false + merged_in: null + original_document: null + items_list: + - product_id: 5432 + code: SG3 + name: Soggiorno + measure: "" + net_price: 68.18182 + category: "" + id: 277876033 + gross_price: 75 + apply_withholding_taxes: true + discount: 0 + discount_highlight: false + in_dn: false + qty: 1 + vat: + id: 3 + value: 10 + description: "" + stock: false + description: "" + not_taxable: false + payments_list: + - amount: 75 + due_date: 2020-08-23 + paid_date: null + id: 69078013 + payment_terms: + days: 0 + type: standard + status: not_paid + attachment_url: kdijrnf893hnwkfk45f50f.pdf + seen_date: null + next_due_date: 2020-08-23 + template: + id: 2821 + name: Light Smoke + extra_data: null + url: y12h45rn9yf2mse0p43t7ec90vr.pdf + locked: false + has_ts_pay_pending_payment: false + show_tspay_button: false + price_list_id: "10" + schema: + $ref: "#/components/schemas/GetIssuedDocumentResponse" + description: Document Details. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" "401": - description: Unauthorized + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" "404": - description: Not Found + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" security: - OAuth2AuthenticationCodeFlow: - issued_documents.invoices:r @@ -1427,11 +10442,460 @@ paths: description: The modified document responses: "200": - $ref: "#/components/responses/ModifyIssuedDocumentResponse" + content: + application/json: + examples: + example-1: + value: + data: + id: 12345 + type: receipt + year: 2021 + numeration: rec123 + subject: "" + visible_subject: "" + rc_center: "" + ei_cassa_type: null + ei_withholding_tax_causal: null + ei_other_withholding_tax_type: null + ei_other_withholding_tax_causal: null + stamp_duty: 0 + use_gross_prices: false + e_invoice: false + agyo_company_id: null + agyo_id: null + agyo_sent_at: null + delivery_note: false + accompanying_invoice: false + amount_net: 68.18 + amount_vat: 6.82 + amount_gross: 75 + amount_due_discount: 0 + amount_rivalsa: 0 + amount_cassa: 0 + amount_withholding_tax: 0 + amount_other_withholding_tax: 0 + h_margins: 15 + v_margins: 16 + show_payment_method: false + show_payments: true + show_totals: all + show_notification_button: false + is_marked: false + created_at: 2021-08-13 09:30:20 + updated_at: 2021-08-23 05:34:20 + entity: + id: 54321 + name: Mary Red S.r.L. + vat_number: IT05432181211 + tax_code: IT05432181211 + address_street: "Via Italia, 66" + address_postal_code: "20900" + address_city: Milano + address_province: MI + address_extra: "" + country: Italia + certified_email: mary@pec.red.com + ei_code: ABCXCR1 + date: 2021-08-20 + number: 1 + currency: + id: EUR + exchange_rate: "1.00000" + symbol: € + language: + code: it + name: Italiano + notes: "" + rivalsa: 0 + cassa: 0 + withholding_tax: 0 + withholding_tax_taxable: 100 + other_withholding_tax: 0 + payment_method: + id: 4 + name: Credit card + use_split_payment: false + merged_in: null + original_document: null + items_list: + - product_id: 5432 + code: SG3 + name: Soggiorno + measure: "" + net_price: 68.18182 + category: "" + id: 277876033 + gross_price: 75 + apply_withholding_taxes: true + discount: 0 + discount_highlight: false + in_dn: false + qty: 1 + vat: + id: 3 + value: 10 + description: "" + stock: false + description: "" + not_taxable: false + payments_list: + - amount: 75 + due_date: 2020-08-23 + paid_date: null + id: 69078013 + payment_terms: + days: 0 + type: standard + status: not_paid + payment_account: null + attachment_url: kdijrnf893hnwkfk45f50f.pdf + seen_date: null + next_due_date: 2020-08-23 + template: + id: 2821 + name: Light Smoke + extra_data: null + url: y12h45rn9yf2mse0p43t7ec90vr.pdf + locked: false + has_ts_pay_pending_payment: false + show_tspay_button: false + schema: + $ref: "#/components/schemas/ModifyIssuedDocumentResponse" + description: Document edited + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" "401": - description: Unauthorized + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" "404": - description: Not Found + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" security: - OAuth2AuthenticationCodeFlow: - issued_documents.invoices:a @@ -1562,9 +11026,359 @@ paths: $ref: "#/components/schemas/GetNewIssuedDocumentTotalsRequest" responses: "200": - $ref: "#/components/responses/GetNewIssuedDocumentTotalsResponse" + content: + application/json: + examples: + example-1: + value: + data: + amount_net: 68.18 + taxable_amount: 68.18 + vat_list: + "10": + amount_net: 68.18 + amount_vat: 6.82 + amount_vat: 6.82 + amount_gross: 75 + amount_due: 75 + amount_due_discount: 0 + payments_sum: 75 + schema: + $ref: "#/components/schemas/GetNewIssuedDocumentTotalsResponse" + description: Totals. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" "401": - description: Unauthorized + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" security: - OAuth2AuthenticationCodeFlow: [] summary: Get New Issued Document Totals @@ -1604,11 +11418,361 @@ paths: $ref: "#/components/schemas/GetExistingIssuedDocumentTotalsRequest" responses: "200": - $ref: "#/components/responses/GetExistingIssuedDocumentTotalsResponse" + content: + application/json: + examples: + example-1: + value: + data: + amount_net: 68.18 + amount_rivalsa: 13.64 + amount_net_with_rivalsa: 81.82000000000001 + taxable_amount: 81.82 + vat_list: + "10": + amount_net: 81.82 + amount_vat: 8.18 + amount_vat: 8.18 + amount_gross: 90 + amount_due: 90 + amount_due_discount: 0 + payments_sum: 75 + schema: + $ref: "#/components/schemas/GetExistingIssuedDocumentTotalsResponse" + description: Totals. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" "401": - description: Unauthorized + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" "404": - description: Not Found + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" security: - OAuth2AuthenticationCodeFlow: [] summary: Get Existing Issued Document Totals @@ -1643,9 +11807,349 @@ paths: description: Attachment. responses: "200": - $ref: "#/components/responses/UploadIssuedDocumentAttachmentResponse" + content: + application/json: + examples: + example-1: + value: + data: + attachment_token: YmMyNWYxYzIwMTU3N2Y4ZGE3ZjZiMzg5OWY0ODNkZDQveXl5LmRvYw + schema: + $ref: "#/components/schemas/UploadIssuedDocumentAttachmentResponse" + description: Attachment Token. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" "401": - description: Unauthorized + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" security: - OAuth2AuthenticationCodeFlow: [] summary: Upload Issued Document Attachment @@ -1676,10 +12180,339 @@ paths: responses: "200": description: File removed. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" "401": - description: Unauthorized + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" "404": - description: Not Found + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" security: - OAuth2AuthenticationCodeFlow: [] summary: Delete Issued Document Attachment @@ -1721,14542 +12554,47559 @@ paths: style: form responses: "200": - $ref: "#/components/responses/GetIssuedDocumentPreCreateInfoResponse" - security: - - OAuth2AuthenticationCodeFlow: [] - summary: Get Issued Document Pre-Create Info - tags: - - Issued Documents - /c/{company_id}/issued_documents/{document_id}/email: - get: - description: Gets the pre-compiled email details. - operationId: getEmailData - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - - description: The ID of the document. - explode: false - in: path - name: document_id - required: true - schema: - type: integer - style: simple - responses: - "200": - $ref: "#/components/responses/GetEmailDataResponse" - security: - - OAuth2AuthenticationCodeFlow: - - issued_documents.invoices:r - - issued_documents.credit_notes:r - - issued_documents.receipts:r - - issued_documents.orders:r - - issued_documents.quotes:r - - issued_documents.proformas:r - - issued_documents.delivery_notes:r - summary: Get Email Data - tags: - - Issued Documents - post: - description: Schedules the sending of a document by email. - operationId: scheduleEmail - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - - description: The ID of the document. - explode: false - in: path - name: document_id - required: true - schema: - type: integer - style: simple - requestBody: - content: - application/json: - examples: - example-1: - value: - data: - sender_email: mariorossi@fattureincloud.it - recipient_email: mary.red@example.com - subject: Nostra pro forma nr. 1 - body: "Gentile Mario Rossi,
per vedere la nostra pro forma\ - \ di o per scaricarne una copia in versione PDF prema sul bottone\ - \ sottostante.

{{allegati}}

Cordiali saluti,
Mario\ - \ Rossi" - include: - document: false - delivery_note: false - attachment: false - accompanying_invoice: false - attach_pdf: true - send_copy: false - schema: - $ref: "#/components/schemas/ScheduleEmailRequest" - description: Email Schedule - responses: - "200": - description: OK - "401": - description: Unauthorized - "404": - description: Not Found - security: - - OAuth2AuthenticationCodeFlow: - - issued_documents.invoices:r - - issued_documents.credit_notes:r - - issued_documents.receipts:r - - issued_documents.orders:r - - issued_documents.quotes:r - - issued_documents.proformas:r - - issued_documents.delivery_notes:r - summary: Schedule Email - tags: - - Issued Documents - /c/{company_id}/issued_documents/{document_id}/e_invoice/send: - post: - description: Sends the e-invoice to SDI. - operationId: sendEInvoice - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - - description: The ID of the document. - explode: false - in: path - name: document_id - required: true - schema: - type: integer - style: simple - requestBody: - content: - application/json: - examples: - example-1: - value: - data: - withholding_tax_causal: causale - schema: - $ref: "#/components/schemas/SendEInvoiceRequest" - description: "" - responses: - "200": - $ref: "#/components/responses/SendEInvoiceResponse" - "401": - description: Unauthorized - "404": - description: Not Found - security: - - OAuth2AuthenticationCodeFlow: [] - summary: Send E-Invoice - tags: - - Issued e-invoices - /c/{company_id}/issued_documents/{document_id}/e_invoice/xml_verify: - get: - description: Verifies the e-invoice XML format. Checks if all of the mandatory - fields are filled and compliant to the right format. - operationId: verifyEInvoiceXml - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - - description: The ID of the document. - explode: false - in: path - name: document_id - required: true - schema: - type: integer - style: simple - responses: - "200": - $ref: "#/components/responses/VerifyEInvoiceXmlResponse" - "401": - description: Unauthorized - "404": - description: Not Found - "422": - $ref: "#/components/responses/VerifyEInvoiceXmlErrorResponse" - security: - - OAuth2AuthenticationCodeFlow: [] - summary: Verify E-Invoice XML - tags: - - Issued e-invoices - /c/{company_id}/issued_documents/{document_id}/e_invoice/xml: - get: - description: Downloads the e-invoice in XML format. - operationId: getEInvoiceXml - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - - description: The ID of the document. - explode: false - in: path - name: document_id - required: true - schema: - type: integer - style: simple - - description: Include the attachment to the XML e-invoice. - explode: true - in: query - name: include_attachment - required: false - schema: - type: boolean - style: form - responses: - "200": - $ref: "#/components/responses/GetEInvoiceXmlResponse" - "401": - description: Unauthorized - "404": - description: Not Found - security: - - OAuth2AuthenticationCodeFlow: [] - summary: Get E-Invoice XML - tags: - - Issued e-invoices - /c/{company_id}/issued_documents/{document_id}/e_invoice/error_reason: - get: - description: Get e-invoice rejection reason - operationId: getEInvoiceRejectionReason - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - - description: The ID of the document. - explode: false - in: path - name: document_id - required: true - schema: - type: integer - style: simple - responses: - "200": - $ref: "#/components/responses/GetEInvoiceRejectionReasonResponse" - security: - - OAuth2AuthenticationCodeFlow: [] - summary: Get E-Invoice Rejection Reason - tags: - - Issued e-invoices - /c/{company_id}/received_documents: - get: - description: Lists the received documents. - operationId: listReceivedDocuments - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - - description: The type of the received document. - explode: true - in: query - name: type - required: true - schema: - enum: - - expense - - passive_credit_note - - passive_delivery_note - - self_invoice - type: string - style: form - - description: List of comma-separated fields. - explode: true - in: query - name: fields - required: false - schema: - type: string - style: form - - description: Name of the fieldset. - explode: true - in: query - name: fieldset - required: false - schema: - enum: - - basic - - detailed - type: string - style: form - - description: List of comma-separated fields for result sorting (minus for - desc sorting). - explode: true - in: query - name: sort - required: false - schema: - type: string - style: form - - description: The page to retrieve. - explode: true - in: query - name: page - required: false - schema: - default: 1 - type: integer - style: form - - description: The size of the page. - explode: true - in: query - name: per_page - required: false - schema: - default: 5 - maximum: 100 - minimum: 1 - type: integer - style: form - - description: Query for filtering the results. - explode: true - in: query - name: q - required: false - schema: - type: string - style: form - responses: - "200": - $ref: "#/components/responses/ListReceivedDocumentsResponse" - "401": - description: Unauthorized - security: - - OAuth2AuthenticationCodeFlow: - - received_documents:r - - stock:r - summary: List Received Documents - tags: - - Received Documents - post: - description: Creates a new document. - operationId: createReceivedDocument - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - requestBody: - content: - application/json: - examples: - example-1: - value: - data: - type: expense - description: Soggiorno di lavoro - amortization: 1 - rc_center: "" - invoice_number: "" - is_marked: false - is_detailed: false - e_invoice: false - entity: - id: 111 - name: Hotel Rubino Palace - date: 2021-08-15 - next_due_date: 2021-08-15 - currency: - id: EUR - exchange_rate: "1.00000" - symbol: € - amount_net: 592 - amount_vat: 0 - amount_gross: 592 - amount_withholding_tax: 0 - amount_other_withholding_tax: 0 - tax_deductibility: 50 - vat_deductibility: 100 - payments_list: - - amount: 592 - due_date: 2021-08-15 - paid_date: 2021-08-15 - id: 777 - payment_terms: - days: 0 - type: standard - status: paid - payment_account: - id: 222 - name: Contanti - virtual: false - attachment_token: bnopjao8gvydtgnewgiovs74yrfqwefEF - schema: - $ref: "#/components/schemas/CreateReceivedDocumentRequest" - description: Document to create - responses: - "200": - $ref: "#/components/responses/CreateReceivedDocumentResponse" - security: - - OAuth2AuthenticationCodeFlow: - - received_documents:a - - stock:a - summary: Create Received Document - tags: - - Received Documents - /c/{company_id}/received_documents/{document_id}: - delete: - description: Deletes the specified document. - operationId: deleteReceivedDocument - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - - description: The ID of the document. - explode: false - in: path - name: document_id - required: true - schema: - type: integer - style: simple - responses: - "200": - description: Document removed. - "401": - description: Unauthorized - "404": - description: Not Found - security: - - OAuth2AuthenticationCodeFlow: - - received_documents:a - - stock:a - summary: Delete Received Document - tags: - - Received Documents - get: - description: Gets the specified document. - operationId: getReceivedDocument - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - - description: The ID of the document. - explode: false - in: path - name: document_id - required: true - schema: - type: integer - style: simple - - description: List of comma-separated fields. - explode: true - in: query - name: fields - required: false - schema: - type: string - style: form - - description: Name of the fieldset. - explode: true - in: query - name: fieldset - required: false - schema: - enum: - - basic - - detailed - type: string - style: form - responses: - "200": - $ref: "#/components/responses/GetReceivedDocumentResponse" - "401": - description: Unauthorized - "404": - description: Not Found - security: - - OAuth2AuthenticationCodeFlow: - - received_documents:r - - stock:r - summary: Get Received Document - tags: - - Received Documents - put: - description: Modifies the specified document. - operationId: modifyReceivedDocument - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - - description: The ID of the document. - explode: false - in: path - name: document_id - required: true - schema: - type: integer - style: simple - requestBody: - content: - application/json: - examples: - example-1: - value: - data: - type: expense - description: Soggiorno di lavoro - amortization: 1 - rc_center: "" - invoice_number: "" - is_marked: false - is_detailed: false - e_invoice: false - entity: - id: 111 - name: Hotel Rubino Palace - date: 2021-08-15 - next_due_date: 2021-08-15 - currency: - id: EUR - exchange_rate: "1.00000" - symbol: € - amount_net: 592 - amount_vat: 0 - amount_gross: 592 - amount_withholding_tax: 0 - amount_other_withholding_tax: 0 - tax_deductibility: 50 - vat_deductibility: 100 - payments_list: - - amount: 592 - due_date: 2021-08-15 - paid_date: 2021-08-15 - id: 777 - payment_terms: - days: 0 - type: standard - status: paid - payment_account: - id: 222 - name: Contanti - virtual: false - schema: - $ref: "#/components/schemas/ModifyReceivedDocumentRequest" - description: Modified document. - responses: - "200": - $ref: "#/components/responses/ModifyReceivedDocumentResponse" - "401": - description: Unauthorized - "404": - description: Not Found - security: - - OAuth2AuthenticationCodeFlow: - - received_documents:a - - stock:a - summary: Modify Received Document - tags: - - Received Documents - /c/{company_id}/received_documents/totals: - post: - description: Returns the totals for a new document. - operationId: getNewReceivedDocumentTotals - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - requestBody: - content: - application/json: - examples: - example-1: - value: - data: - type: expense - description: Soggiorno di lavoro - amortization: 1 - rc_center: "" - invoice_number: "" - is_marked: false - is_detailed: false - e_invoice: false - created_at: 2021-08-15 14:02:02 - updated_at: 2021-08-15 14:02:02 - entity: - id: 111 - name: Hotel Rubino Palace - date: 2021-08-15 - next_due_date: 2021-08-15 - currency: - id: EUR - exchange_rate: "1.00000" - symbol: € - amount_net: 592 - amount_vat: 10 - amount_withholding_tax: 0 - amount_other_withholding_tax: 0 - tax_deductibility: 50 - vat_deductibility: 100 - payments_list: - - amount: 592 - due_date: 2021-08-15 - paid_date: 2021-08-15 - id: 777 - payment_terms: - days: 0 - type: standard - status: paid - schema: - $ref: "#/components/schemas/GetNewReceivedDocumentTotalsRequest" - description: Received document. - responses: - "200": - $ref: "#/components/responses/GetNewReceivedDocumentTotalsResponse" - "401": - description: Unauthorized - "404": - description: Not Found - security: - - OAuth2AuthenticationCodeFlow: - - received_documents:a - - stock:a - summary: Get New Received Document Totals - tags: - - Received Documents - /c/{company_id}/received_documents/{document_id}/totals: - post: - description: Returns the totals for the specified document. - operationId: getExistingReceivedDocumentTotals - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - - description: The ID of the document. - explode: false - in: path - name: document_id - required: true - schema: - type: integer - style: simple - requestBody: - content: - application/json: - examples: - example-1: - value: - data: - amount_vat: 20 - schema: - $ref: "#/components/schemas/GetExistingReceivedDocumentTotalsRequest" - description: Received document. - responses: - "200": - $ref: "#/components/responses/GetExistingReceivedDocumentTotalsResponse" - security: - - OAuth2AuthenticationCodeFlow: - - received_documents:a - - stock:a - summary: Get Existing Received Document Totals - tags: - - Received Documents - /c/{company_id}/received_documents/attachment: - post: - description: "Uploads an attachment destined to a received document. The actual\ - \ association between the document and the attachment must be implemented\ - \ separately, using the returned token." - operationId: uploadReceivedDocumentAttachment - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - requestBody: - content: - multipart/form-data: - examples: - example-1: - value: - filename: spesa_HotelRubino - attachment: spesa_08_08_2020.pdf - schema: - $ref: "#/components/schemas/UploadReceivedDocumentAttachmentRequest" - description: Attachment. - responses: - "200": - $ref: "#/components/responses/UploadReceivedDocumentAttachmentResponse" - "401": - description: Unauthorized - security: - - OAuth2AuthenticationCodeFlow: - - received_documents:a - - stock:a - summary: Upload Received Document Attachment - tags: - - Received Documents - /c/{company_id}/received_documents/{document_id}/attachment: - delete: - description: Removes the attachment of the specified document. - operationId: deleteReceivedDocumentAttachment - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - - description: The ID of the document. - explode: false - in: path - name: document_id - required: true - schema: - type: integer - style: simple - responses: - "200": - description: File removed - "401": - description: Unauthorized - "404": - description: Not Found - security: - - OAuth2AuthenticationCodeFlow: - - received_documents:a - - stock:a - summary: Delete Received Document Attachment - tags: - - Received Documents - /c/{company_id}/received_documents/info: - get: - description: Retrieves the information useful while creating a new document. - operationId: getReceivedDocumentPreCreateInfo - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - - description: The type of the received document. - explode: true - in: query - name: type - required: true - schema: - enum: - - expense - - passive_credit_note - - passive_delivery_note - - self_invoice - type: string - style: form - responses: - "200": - $ref: "#/components/responses/GetReceivedDocumentPreCreateInfoResponse" - security: - - OAuth2AuthenticationCodeFlow: - - received_documents:r - summary: Get Received Document Pre-Create Info - tags: - - Received Documents - /c/{company_id}/receipts: - get: - description: Lists the receipts. - operationId: listReceipts - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - - description: List of comma-separated fields. - explode: true - in: query - name: fields - required: false - schema: - type: string - style: form - - description: Name of the fieldset. - explode: true - in: query - name: fieldset - required: false - schema: - enum: - - basic - - detailed - type: string - style: form - - description: The page to retrieve. - explode: true - in: query - name: page - required: false - schema: - default: 1 - type: integer - style: form - - description: The size of the page. - explode: true - in: query - name: per_page - required: false - schema: - default: 5 - maximum: 100 - minimum: 1 - type: integer - style: form - - description: List of comma-separated fields for result sorting (minus for - desc sorting). - explode: true - in: query - name: sort - required: false - schema: - type: string - style: form - - description: Query for filtering the results. - explode: true - in: query - name: q - required: false - schema: - type: string - style: form - responses: - "200": - $ref: "#/components/responses/ListReceiptsResponse" - "401": - description: Unauthorized - security: - - OAuth2AuthenticationCodeFlow: - - receipts:r - summary: List Receipts - tags: - - Receipts - post: - description: Creates a new receipt. - operationId: createReceipt - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - requestBody: - content: - application/json: - examples: - example-1: - value: - data: - date: 2021-08-19 - number: 6 - numeration: REC006 - amount_net: 8.2 - amount_vat: 1.8 - type: sales_receipt - description: cassa 1 - rc_center: "" - payment_account: - id: 555 - name: contanti - items_list: - - id: 888 - amount_net: 8.2 - amount_vat: 1.8 - category: altro - vat: - id: 0 - value: 22 - description: iva - schema: - $ref: "#/components/schemas/CreateReceiptRequest" - description: The Receipt to create. - responses: - "200": - $ref: "#/components/responses/CreateReceiptResponse" - "401": - description: Unauthorized - security: - - OAuth2AuthenticationCodeFlow: - - receipts:a - summary: Create Receipt - tags: - - Receipts - /c/{company_id}/receipts/{document_id}: - delete: - description: Deletes the specified receipt. - operationId: deleteReceipt - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - - description: The ID of the document. - explode: false - in: path - name: document_id - required: true - schema: - type: integer - style: simple - responses: - "200": - description: Document removed. - "401": - description: Unauthorized - "404": - description: Not Found - security: - - OAuth2AuthenticationCodeFlow: - - receipts:a - summary: Delete Receipt - tags: - - Receipts - get: - description: Gets the specified receipt. - operationId: getReceipt - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - - description: The ID of the document. - explode: false - in: path - name: document_id - required: true - schema: - type: integer - style: simple - - description: List of comma-separated fields. - explode: true - in: query - name: fields - required: false - schema: - type: string - style: form - - description: Name of the fieldset. - explode: true - in: query - name: fieldset - required: false - schema: - enum: - - basic - - detailed - type: string - style: form - responses: - "200": - $ref: "#/components/responses/GetReceiptResponse" - "401": - description: Unauthorized - "404": - description: Not Found - security: - - OAuth2AuthenticationCodeFlow: - - receipts:r - summary: Get Receipt - tags: - - Receipts - put: - description: Modifies the specified receipt. - operationId: modifyReceipt - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - - description: The ID of the document. - explode: false - in: path - name: document_id - required: true - schema: - type: integer - style: simple - requestBody: - content: - application/json: - examples: - example-1: - value: - data: - date: 2021-08-19 - number: 6 - numeration: REC006 - amount_net: 8.2 - amount_vat: 1.8 - type: sales_receipt - description: cassa 1 - rc_center: "" - payment_account: - id: 555 - name: contanti - items_list: - - id: 888 - amount_net: 8.2 - amount_vat: 1.8 - category: altro - vat: - id: 0 - value: 22 - description: iva - schema: - $ref: "#/components/schemas/ModifyReceiptRequest" - description: Modified receipt. - responses: - "200": - $ref: "#/components/responses/ModifyReceiptResponse" - "401": - description: Unauthorized - "404": - description: Not Found - security: - - OAuth2AuthenticationCodeFlow: - - receipts:a - summary: Modify Receipt - tags: - - Receipts - /c/{company_id}/receipts/info: - get: - description: Retrieves the information useful while creating a new receipt. - operationId: getReceiptPreCreateInfo - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - responses: - "200": - $ref: "#/components/responses/GetReceiptPreCreateInfoResponse" - "401": - description: Unauthorized - "404": - description: Not Found - security: - - OAuth2AuthenticationCodeFlow: - - receipts:r - summary: Get Receipt Pre-Create Info - tags: - - Receipts - /c/{company_id}/receipts/monthly_totals: - get: - description: Returns the monthly totals by year and receipt type. - operationId: getReceiptsMonthlyTotals - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - - description: Receipt Type - explode: true - in: query - name: type - required: true - schema: - enum: - - sales_receipt - - till_receipt - type: string - style: form - - description: Year for which you want monthly totals - explode: true - in: query - name: year - required: true - schema: - type: string - style: form - responses: - "200": - $ref: "#/components/responses/GetReceiptsMonthlyTotalsResponse" - "401": - description: Unauthorized - "404": - description: Not Found - security: - - OAuth2AuthenticationCodeFlow: - - receipts:r - summary: Get Receipts Monthly Totals - tags: - - Receipts - /c/{company_id}/taxes: - get: - description: Lists the F24s. - operationId: listF24 - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - - description: List of comma-separated fields. - explode: true - in: query - name: fields - required: false - schema: - type: string - style: form - - description: Name of the fieldset. - explode: true - in: query - name: fieldset - required: false - schema: - enum: - - basic - - detailed - type: string - style: form - - description: List of comma-separated fields for result sorting (minus for - desc sorting). - explode: true - in: query - name: sort - required: false - schema: - type: string - style: form - - description: The page to retrieve. - explode: true - in: query - name: page - required: false - schema: - default: 1 - type: integer - style: form - - description: The size of the page. - explode: true - in: query - name: per_page - required: false - schema: - default: 5 - maximum: 100 - minimum: 1 - type: integer - style: form - - description: Query for filtering the results. - explode: true - in: query - name: q - required: false - schema: - type: string - style: form - responses: - "200": - $ref: "#/components/responses/ListF24Response" - "401": - description: Unauthorized - security: - - OAuth2AuthenticationCodeFlow: - - taxes:r - summary: List F24 - tags: - - Taxes - post: - description: Creates a new F24. - operationId: createF24 - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - requestBody: - content: - application/json: - examples: - example-1: - value: - data: - amount: 840.36 - description: PAGAMENTO IVA 2021 - due_date: 2021-12-31 - status: paid - payment_account: - id: 111 - attachment_token: b19c01da9b1688fb73d0d9e8ad - schema: - $ref: "#/components/schemas/CreateF24Request" - description: The F24 to create - responses: - "200": - $ref: "#/components/responses/CreateF24Response" - "401": - description: Unauthorized - "404": - description: Not Found - security: - - OAuth2AuthenticationCodeFlow: - - taxes:a - summary: Create F24 - tags: - - Taxes - /c/{company_id}/taxes/{document_id}: - delete: - description: Removes the specified F24. - operationId: deleteF24 - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - - description: The ID of the document. - explode: false - in: path - name: document_id - required: true - schema: - type: integer - style: simple - responses: - "200": - description: Document removed. - "401": - description: Unauthorized - "404": - description: Not Found - security: - - OAuth2AuthenticationCodeFlow: - - taxes:a - summary: Delete F24 - tags: - - Taxes - get: - description: Gets the specified F24. - operationId: getF24 - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - - description: The ID of the document. - explode: false - in: path - name: document_id - required: true - schema: - type: integer - style: simple - - description: List of comma-separated fields. - explode: true - in: query - name: fields - required: false - schema: - type: string - style: form - - description: Name of the fieldset. - explode: true - in: query - name: fieldset - required: false - schema: - enum: - - basic - - detailed - type: string - style: form - responses: - "200": - $ref: "#/components/responses/GetF24Response" - "401": - description: Unauthorized - "404": - description: Not Found - security: - - OAuth2AuthenticationCodeFlow: - - taxes:r - summary: Get F24 - tags: - - Taxes - put: - description: Modifies the specified F24. - operationId: modifyF24 - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - - description: The ID of the document. - explode: false - in: path - name: document_id - required: true - schema: - type: integer - style: simple - requestBody: - content: - application/json: - examples: - example-1: - value: - data: - amount: 840.36 - description: PAGAMENTO IVA 2021 - due_date: 2021-12-31 - status: paid - payment_account: - id: 111 - schema: - $ref: "#/components/schemas/ModifyF24Request" - description: The F24 - responses: - "200": - $ref: "#/components/responses/ModifyF24Response" - "401": - description: Unauthorized - "404": - description: Not Found - security: - - OAuth2AuthenticationCodeFlow: - - taxes:a - summary: Modify F24 - tags: - - Taxes - /c/{company_id}/taxes/attachment: - post: - description: "Uploads an attachment destined to a F24. The actual association\ - \ between the document and the attachment must be implemented separately,\ - \ using the returned token." - operationId: uploadF24Attachment - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - requestBody: - content: - multipart/form-data: - examples: - example-1: - value: - filename: F24_IVA21 - attachment: pagamento_f24_31_12_2021.pdf - schema: - $ref: "#/components/schemas/UploadF24AttachmentRequest" - description: Attachment. - responses: - "200": - $ref: "#/components/responses/UploadF24AttachmentResponse" - security: - - OAuth2AuthenticationCodeFlow: - - taxes:a - summary: Upload F24 Attachment - tags: - - Taxes - /c/{company_id}/taxes/{document_id}/attachment: - delete: - description: Removes the attachment of the specified F24. - operationId: deleteF24Attachment - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - - description: The ID of the document. - explode: false - in: path - name: document_id - required: true - schema: - type: integer - style: simple - responses: - "200": - description: File Removed. - "401": - description: Unauthorized - "404": - description: Not Found - security: - - OAuth2AuthenticationCodeFlow: - - taxes:a - summary: Delete F24 Attachment - tags: - - Taxes - /c/{company_id}/archive: - get: - description: Lists the archive documents. - operationId: listArchiveDocuments - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - - description: List of comma-separated fields. - explode: true - in: query - name: fields - required: false - schema: - type: string - style: form - - description: Name of the fieldset. - explode: true - in: query - name: fieldset - required: false - schema: - enum: - - basic - - detailed - type: string - style: form - - description: List of comma-separated fields for result sorting (minus for - desc sorting). - explode: true - in: query - name: sort - required: false - schema: - type: string - style: form - - description: The page to retrieve. - explode: true - in: query - name: page - required: false - schema: - default: 1 - type: integer - style: form - - description: The size of the page. - explode: true - in: query - name: per_page - required: false - schema: - default: 5 - maximum: 100 - minimum: 1 - type: integer - style: form - - description: Query for filtering the results. - explode: true - in: query - name: q - required: false - schema: - type: string - style: form - responses: - "200": - $ref: "#/components/responses/ListArchiveDocumentsResponse" - "401": - description: Unauthorized - "404": - description: Not Found - security: - - OAuth2AuthenticationCodeFlow: - - archive:r - summary: List Archive Documents - tags: - - Archive - post: - description: Creates a new archive document. - operationId: createArchiveDocument - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - requestBody: - content: - application/json: - examples: - example-1: - value: - data: - date: 2021-08-20 - category: Altri documenti - description: spesa 1 - attachment_token: ibfjdbf94ey9w94g3w894qbasrga - schema: - $ref: "#/components/schemas/CreateArchiveDocumentRequest" - description: The Archive Document. - responses: - "200": - $ref: "#/components/responses/CreateArchiveDocumentResponse" - "401": - description: Unauthorized - "404": - description: Not Found - security: - - OAuth2AuthenticationCodeFlow: - - archive:a - summary: Create Archive Document - tags: - - Archive - /c/{company_id}/archive/{document_id}: - delete: - description: Deletes the specified archive document. - operationId: deleteArchiveDocument - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - - description: The ID of the document. - explode: false - in: path - name: document_id - required: true - schema: - type: integer - style: simple - responses: - "200": - description: Document removed. - "401": - description: Unauthorized - "404": - description: Not Found - security: - - OAuth2AuthenticationCodeFlow: - - archive:a - summary: Delete Archive Document - tags: - - Archive - get: - description: Gets the specified archive document. - operationId: getArchiveDocument - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - - description: The ID of the document. - explode: false - in: path - name: document_id - required: true - schema: - type: integer - style: simple - - description: List of comma-separated fields. - explode: true - in: query - name: fields - required: false - schema: - type: string - style: form - - description: Name of the fieldset. - explode: true - in: query - name: fieldset - required: false - schema: - enum: - - basic - - detailed - type: string - style: form - responses: - "200": - $ref: "#/components/responses/GetArchiveDocumentResponse" - "401": - description: Unauthorized - "404": - description: Not Found - security: - - OAuth2AuthenticationCodeFlow: - - archive:r - summary: Get Archive Document - tags: - - Archive - put: - description: Modifies the specified archive document. - operationId: modifyArchiveDocument - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - - description: The ID of the document. - explode: false - in: path - name: document_id - required: true - schema: - type: integer - style: simple - requestBody: - content: - application/json: - examples: - example-1: - value: - data: - date: 2021-08-20 - category: Altri documenti - description: spesa 2 - schema: - $ref: "#/components/schemas/ModifyArchiveDocumentRequest" - description: Modified Archive Document - responses: - "200": - $ref: "#/components/responses/ModifyArchiveDocumentResponse" - "401": - description: Unauthorized - "404": - description: Not Found - security: - - OAuth2AuthenticationCodeFlow: - - archive:a - summary: Modify Archive Document - tags: - - Archive - /c/{company_id}/archive/attachment: - post: - description: "Uploads an attachment destined to an archive document. The actual\ - \ association between the document and the attachment must be implemented\ - \ separately, using the returned token." - operationId: uploadArchiveDocumentAttachment - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - requestBody: - content: - multipart/form-data: - examples: - example-1: - value: - filename: spesa_altro - attachment: spesa_20_08_2020.pdf - schema: - $ref: "#/components/schemas/UploadArchiveDocumentAttachmentRequest" - description: Attachment. - responses: - "200": - $ref: "#/components/responses/UploadArchiveAttachmentResponse" - "401": - description: Unauthorized - "404": - description: Not Found - security: - - OAuth2AuthenticationCodeFlow: - - archive:a - summary: Upload Archive Document Attachment - tags: - - Archive - /c/{company_id}/cashbook: - get: - description: Lists the cashbook entries. - operationId: listCashbookEntries - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - - description: Start date. - explode: true - in: query - name: date_from - required: true - schema: - type: string - style: form - - description: End date. - explode: true - in: query - name: date_to - required: true - schema: - type: string - style: form - - description: Filter cashbook by year. - explode: true - in: query - name: year - required: false - schema: - type: integer - style: form - - description: Filter cashbook by type. - explode: true - in: query - name: type - required: false - schema: - enum: - - all - - in - - out - type: string - style: form - - description: Filter by payment account. - explode: true - in: query - name: payment_account_id - required: false - schema: - type: integer - style: form - responses: - "200": - $ref: "#/components/responses/ListCashbookEntriesResponse" - "401": - description: Unauthorized - "404": - description: Not Found - security: - - OAuth2AuthenticationCodeFlow: - - cashbook:r - summary: List Cashbook Entries - tags: - - Cashbook - post: - description: Creates a new cashbook entry. - operationId: createCashbookEntry - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - requestBody: - content: - application/json: - examples: - example-1: - value: - data: - date: 2021-08-24 - amount_in: 122 - payment_account_in: - id: 333 - description: Fattura n. 201/2021 - entity_name: Rossi S.r.l. - kind: issued_document - document: - id: 54321 - type: in - schema: - $ref: "#/components/schemas/CreateCashbookEntryRequest" - description: | - Cashbook entry. - responses: - "200": - $ref: "#/components/responses/CreateCashbookEntryResponse" - "401": - description: Unauthorized - "404": - description: Not Found - security: - - OAuth2AuthenticationCodeFlow: - - cashbook:a - summary: Create Cashbook Entry - tags: - - Cashbook - /c/{company_id}/cashbook/{document_id}: - delete: - description: Deletes the specified cashbook entry. - operationId: deleteCashbookEntry - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - - description: The ID of the document. - explode: false - in: path - name: document_id - required: true - schema: - type: string - style: simple - responses: - "200": - description: Document removed. - "401": - description: Unauthorized - "404": - description: Not Found - security: - - OAuth2AuthenticationCodeFlow: - - cashbook:a - summary: Delete Cashbook Entry - tags: - - Cashbook - get: - description: Gets the specified cashbook entry. - operationId: getCashbookEntry - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - - description: The ID of the document. - explode: false - in: path - name: document_id - required: true - schema: - type: string - style: simple - - description: List of comma-separated fields. - explode: true - in: query - name: fields - required: false - schema: - type: string - style: form - - description: Name of the fieldset. - explode: true - in: query - name: fieldset - required: false - schema: - enum: - - basic - - detailed - type: string - style: form - responses: - "200": - $ref: "#/components/responses/GetCashbookEntryResponse" - "401": - description: Unauthorized - "404": - description: Not Found - security: - - OAuth2AuthenticationCodeFlow: - - cashbook:r - summary: Get Cashbook Entry - tags: - - Cashbook - put: - description: Modifies the specified cashbook entry. - operationId: modifyCashbookEntry - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - - description: The ID of the document. - explode: false - in: path - name: document_id - required: true - schema: - type: string - style: simple - requestBody: - content: - application/json: - examples: - example-1: - value: - data: - date: 2021-08-24 - amount_in: 122 - payment_account_in: - id: 333 - description: Fattura n. 201/2021 - entity_name: Rossi S.r.l. - schema: - $ref: "#/components/schemas/ModifyCashbookEntryRequest" - description: Cashbook Entry - responses: - "200": - $ref: "#/components/responses/ModifyCashbookEntryResponse" - "401": - description: Unauthorized - "404": - description: Not Found - security: - - OAuth2AuthenticationCodeFlow: - - cashbook:a - summary: Modify Cashbook Entry - tags: - - Cashbook - /info/countries: - get: - description: Lists the supported countries. - operationId: listCountries - parameters: [] - responses: - "200": - $ref: "#/components/responses/ListCountriesResponse" - "401": - description: Unauthorized - security: - - OAuth2AuthenticationCodeFlow: [] - summary: List Countries - tags: - - Info - /info/detailed_countries: - get: - description: Lists the supported countries. - operationId: listDetailedCountries - parameters: [] - responses: - "200": - $ref: "#/components/responses/ListDetailedCountriesResponse" - "401": - description: Unauthorized - security: - - OAuth2AuthenticationCodeFlow: [] - summary: List Detailed Countries - tags: - - Info - /info/cities: - get: - description: Lists the Italian cities. - operationId: listCities - parameters: - - description: Postal code for filtering. - explode: true - in: query - name: postal_code - required: false - schema: - type: string - style: form - - description: City for filtering (ignored if postal_code is passed). - explode: true - in: query - name: city - required: false - schema: - type: string - style: form - responses: - "200": - $ref: "#/components/responses/ListCitiesResponse" - security: - - OAuth2AuthenticationCodeFlow: [] - summary: List Cities - tags: - - Info - /info/languages: - get: - description: Lists the supported languages. - operationId: listLanguages - parameters: [] - responses: - "200": - $ref: "#/components/responses/ListLanguagesResponse" - "401": - description: Unauthorized - security: - - OAuth2AuthenticationCodeFlow: [] - summary: List Languages - tags: - - Info - /info/templates: - get: - description: Lists the available templates. - operationId: listTemplates - parameters: - - description: Type of the templates. - explode: true - in: query - name: type - required: false - schema: - default: all - enum: - - all - - standard - - delivery_note - - accompanying_invoice - type: string - style: form - - description: "[Only if type=all] If true, splits the list in objects, grouping\ - \ templates by type." - explode: true - in: query - name: by_type - required: false - schema: - default: false - type: boolean - style: form - responses: - "200": - $ref: "#/components/responses/ListTemplatesResponse" - "401": - description: Unauthorized - security: - - OAuth2AuthenticationCodeFlow: [] - summary: List Templates - tags: - - Info - /info/currencies: - get: - description: Lists the supported currencies. - operationId: listCurrencies - parameters: [] - responses: - "200": - $ref: "#/components/responses/ListCurrenciesResponse" - "401": - description: Unauthorized - security: - - OAuth2AuthenticationCodeFlow: [] - summary: List Currencies - tags: - - Info - /info/measures: - get: - description: Lists the units of measure. - operationId: listUnitsOfMeasure - parameters: [] - responses: - "200": - $ref: "#/components/responses/ListUnitsOfMeasureResponse" - "401": - description: Unauthorized - security: - - OAuth2AuthenticationCodeFlow: [] - summary: List Units of Measure - tags: - - Info - /info/dn_causals: - get: - description: Lists the delivery note default causals. - operationId: listDeliveryNotesDefaultCausals - parameters: [] - responses: - "200": - $ref: "#/components/responses/ListDeliveryNotesDefaultCausalsResponse" - "401": - description: Unauthorized - security: - - OAuth2AuthenticationCodeFlow: [] - summary: List Delivery Notes Default Causals - tags: - - Info - /c/{company_id}/info/vat_types: - get: - description: Lists the available vat types. - operationId: listVatTypes - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - - description: Name of the fieldset. - explode: true - in: query - name: fieldset - required: false - schema: - enum: - - basic - - detailed - type: string - style: form - responses: - "200": - $ref: "#/components/responses/ListVatTypesResponse" - "401": - description: Unauthorized - "404": - description: Not Found - security: - - OAuth2AuthenticationCodeFlow: - - settings:r - summary: List Vat Types - tags: - - Info - /c/{company_id}/info/payment_methods: - get: - description: Lists the available payment methods. - operationId: listPaymentMethods - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - - description: List of comma-separated fields. - explode: true - in: query - name: fields - required: false - schema: - type: string - style: form - - description: Name of the fieldset. - explode: true - in: query - name: fieldset - required: false - schema: - enum: - - basic - - detailed - type: string - style: form - - description: List of comma-separated fields for result sorting (minus for - desc sorting). - explode: true - in: query - name: sort - required: false - schema: - type: string - style: form - responses: - "200": - $ref: "#/components/responses/ListPaymentMethodsResponse" - "401": - description: Unauthorized - "404": - description: Not Found - security: - - OAuth2AuthenticationCodeFlow: [] - summary: List Payment Methods - tags: - - Info - /c/{company_id}/info/payment_accounts: - get: - description: Lists the available payment accounts. - operationId: listPaymentAccounts - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - - description: List of comma-separated fields. - explode: true - in: query - name: fields - required: false - schema: - type: string - style: form - - description: Name of the fieldset. - explode: true - in: query - name: fieldset - required: false - schema: - enum: - - basic - - detailed - type: string - style: form - - description: List of comma-separated fields for result sorting (minus for - desc sorting). - explode: true - in: query - name: sort - required: false - schema: - type: string - style: form - responses: - "200": - $ref: "#/components/responses/ListPaymentAccountsResponse" - "401": - description: Unauthorized - "404": - description: Not Found - security: - - OAuth2AuthenticationCodeFlow: [] - summary: List Payment Accounts - tags: - - Info - /c/{company_id}/info/revenue_centers: - get: - description: Lists the revenue centers. - operationId: listRevenueCenters - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - responses: - "200": - $ref: "#/components/responses/ListRevenueCentersResponse" - "401": - description: Unauthorized - "404": - description: Not Found - security: - - OAuth2AuthenticationCodeFlow: [] - summary: List Revenue Centers - tags: - - Info - /c/{company_id}/info/cost_centers: - get: - description: Lists the cost centers. - operationId: listCostCenters - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - responses: - "200": - $ref: "#/components/responses/ListCostCentersResponse" - "401": - description: Unauthorized - "404": - description: Not Found - security: - - OAuth2AuthenticationCodeFlow: [] - summary: List Cost Centers - tags: - - Info - /c/{company_id}/info/product_categories: - get: - description: Lists the product categories. - operationId: listProductCategories - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - - description: Categories resource type. - explode: true - in: query - name: context - required: true - schema: - enum: - - products - - issued_documents - - received_documents - type: string - style: form - responses: - "200": - $ref: "#/components/responses/ListProductCategoriesResponse" - "401": - description: Unauthorized - "404": - description: Not Found - security: - - OAuth2AuthenticationCodeFlow: [] - summary: List Product Categories - tags: - - Info - /c/{company_id}/info/received_document_categories: - get: - description: Lists the received document categories. - operationId: listReceivedDocumentCategories - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - responses: - "200": - $ref: "#/components/responses/ListReceivedDocumentCategoriesResponse" - security: - - OAuth2AuthenticationCodeFlow: [] - summary: List Received Document Categories - tags: - - Info - /c/{company_id}/info/archive_categories: - get: - description: Lists the archive categories. - operationId: listArchiveCategories - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - responses: - "200": - $ref: "#/components/responses/ListArchiveCategoriesResponse" - "401": - description: Unauthorized - "404": - description: Not Found - security: - - OAuth2AuthenticationCodeFlow: [] - summary: List Archive Categories - tags: - - Info - /c/{company_id}/settings/payment_methods: - post: - description: Creates a new payment method. - operationId: createPaymentMethod - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - requestBody: - content: - application/json: - examples: - example-1: - value: - data: - id: 386683 - name: Bonifico bancario - is_default: true - type: standard - details: - - title: Banca - description: Sao Paulo - default_payment_account: - id: 12345 - name: conto banca SP - schema: - $ref: "#/components/schemas/CreatePaymentMethodRequest" - responses: - "200": - $ref: "#/components/responses/CreatePaymentMethodResponse" - security: - - OAuth2AuthenticationCodeFlow: - - settings:a - summary: Create Payment Method - tags: - - Settings - /c/{company_id}/settings/payment_methods/{payment_method_id}: - delete: - description: Deletes the specified payment method. - operationId: deletePaymentMethod - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - - description: The Referred Payment Method Id. - explode: false - in: path - name: payment_method_id - required: true - schema: - type: integer - style: simple - responses: - "200": - description: OK - security: - - OAuth2AuthenticationCodeFlow: - - settings:a - summary: Delete Payment Method - tags: - - Settings - get: - description: Gets the specified payment method. - operationId: getPaymentMethod - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - - description: The Referred Payment Method Id. - explode: false - in: path - name: payment_method_id - required: true - schema: - type: integer - style: simple - - description: List of comma-separated fields. - explode: true - in: query - name: fields - required: false - schema: - type: string - style: form - - description: Name of the fieldset. - explode: true - in: query - name: fieldset - required: false - schema: - enum: - - basic - - detailed - type: string - style: form - responses: - "200": - $ref: "#/components/responses/GetPaymentMethodResponse" - security: - - OAuth2AuthenticationCodeFlow: [] - summary: Get Payment Method - tags: - - Settings - put: - description: Modifies the specified payment method. - operationId: modifyPaymentMethod - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - - description: The Referred Payment Method Id. - explode: false - in: path - name: payment_method_id - required: true - schema: - type: integer - style: simple - requestBody: - content: - application/json: - examples: - example-1: - value: - data: - id: 386683 - name: Bonifico bancario - is_default: true - type: standard - details: - - title: Banca - description: Sao Paulo - default_payment_account: - id: 12345 - name: conto banca SP - schema: - $ref: "#/components/schemas/ModifyPaymentMethodRequest" - description: "" - responses: - "200": - $ref: "#/components/responses/ModifyPaymentMethodResponse" - security: - - OAuth2AuthenticationCodeFlow: - - settings:a - summary: Modify Payment Method - tags: - - Settings - /c/{company_id}/settings/payment_accounts: - post: - description: Creates a new payment account. - operationId: createPaymentAccount - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - requestBody: - content: - application/json: - examples: - example-1: - value: - data: - id: 12345 - name: Indesa - type: bank - iban: IT17Q0051343200000003497636 - sia: T1234 - virtual: false - schema: - $ref: "#/components/schemas/CreatePaymentAccountRequest" - responses: - "200": - $ref: "#/components/responses/CreatePaymentAccountResponse" - security: - - OAuth2AuthenticationCodeFlow: - - settings:a - summary: Create Payment Account - tags: - - Settings - /c/{company_id}/settings/tax_profile: - get: - description: Gets the Tax Profile - operationId: getTaxProfile - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - responses: - "200": - $ref: "#/components/responses/GetTaxProfileResponse" - security: - - OAuth2AuthenticationCodeFlow: - - settings:r - summary: Get Tax Profile - tags: - - Settings - /c/{company_id}/settings/payment_accounts/{payment_account_id}: - delete: - description: Deletes the specified payment account. - operationId: deletePaymentAccount - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - - description: The Referred Payment Account Id. - explode: false - in: path - name: payment_account_id - required: true - schema: - type: integer - style: simple - responses: - "200": - description: OK - security: - - OAuth2AuthenticationCodeFlow: - - settings:a - summary: Delete Payment Account - tags: - - Settings - get: - description: Gets the specified payment account. - operationId: getPaymentAccount - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - - description: The Referred Payment Account Id. - explode: false - in: path - name: payment_account_id - required: true - schema: - type: integer - style: simple - - description: List of comma-separated fields. - explode: true - in: query - name: fields - required: false - schema: - type: string - style: form - - description: Name of the fieldset. - explode: true - in: query - name: fieldset - required: false - schema: - enum: - - basic - - detailed - type: string - style: form - responses: - "200": - $ref: "#/components/responses/GetPaymentAccountResponse" - security: - - OAuth2AuthenticationCodeFlow: [] - summary: Get Payment Account - tags: - - Settings - put: - description: Modifies the specified payment account. - operationId: modifyPaymentAccount - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - - description: The Referred Payment Account Id. - explode: false - in: path - name: payment_account_id - required: true - schema: - type: integer - style: simple - requestBody: - content: - application/json: - examples: - example-1: - value: - data: - id: 0 - name: Conto Banca Intesa - type: standard - iban: string - sia: string - cuc: string - virtual: true - schema: - $ref: "#/components/schemas/ModifyPaymentAccountRequest" - responses: - "200": - $ref: "#/components/responses/ModifyPaymentAccountResponse" - security: - - OAuth2AuthenticationCodeFlow: - - settings:a - summary: Modify Payment Account - tags: - - Settings - /c/{company_id}/settings/vat_types: - post: - description: Creates a vat type. - operationId: createVatType - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - requestBody: - content: - application/json: - examples: - example-1: - value: - data: - id: 0 - value: 22 - description: Non imponibile art. 123 - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: 2 - ei_description: string - editable: true - is_disabled: true - schema: - $ref: "#/components/schemas/CreateVatTypeRequest" - description: "" - responses: - "200": - $ref: "#/components/responses/CreateVatTypeResponse" - security: - - OAuth2AuthenticationCodeFlow: - - settings:a - summary: Create Vat Type - tags: - - Settings - /c/{company_id}/settings/vat_types/{vat_type_id}: - delete: - description: Deletes the specified vat type. - operationId: deleteVatType - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - - description: The Referred Vat Type Id. - explode: false - in: path - name: vat_type_id - required: true - schema: - type: integer - style: simple - responses: - "200": - description: OK - security: - - OAuth2AuthenticationCodeFlow: - - settings:a - summary: Delete Vat Type - tags: - - Settings - get: - description: Gets the specified vat type. - operationId: getVatType - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - - description: The Referred Vat Type Id. - explode: false - in: path - name: vat_type_id - required: true - schema: - type: integer - style: simple - responses: - "200": - $ref: "#/components/responses/GetVatTypeResponse" - security: - - OAuth2AuthenticationCodeFlow: [] - summary: Get Vat Type - tags: - - Settings - put: - description: Modifies the specified vat type. - operationId: modifyVatType - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - - description: The Referred Vat Type Id. - explode: false - in: path - name: vat_type_id - required: true - schema: - type: integer - style: simple - requestBody: - content: - application/json: - examples: - example-1: - value: - data: - id: 0 - value: 22 - description: Non imponibile art. 123 - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: 2 - ei_description: string - editable: true - is_disabled: true - schema: - $ref: "#/components/schemas/ModifyVatTypeRequest" - responses: - "200": - $ref: "#/components/responses/ModifyVatTypeResponse" - security: - - OAuth2AuthenticationCodeFlow: - - settings:a - summary: Modify Vat Type - tags: - - Settings - /c/{company_id}/issued_documents/transform: - get: - description: Transforms the document. - operationId: transformIssuedDocument - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - - description: Original document id. - explode: true - in: query - name: original_document_id - required: true - schema: - type: integer - style: form - - description: New document type. - explode: true - in: query - name: new_type - required: true - schema: - type: string - style: form - - description: Current document type. - explode: true - in: query - name: type - required: false - schema: - type: string - style: form - - description: New document e_invoice. - explode: true - in: query - name: e_invoice - required: false - schema: - enum: - - 0 - - 1 - type: integer - style: form - - description: Keep the old document. - explode: true - in: query - name: transform_keep_copy - required: false - schema: - enum: - - 0 - - 1 - type: integer - style: form - responses: - "200": - $ref: "#/components/responses/TransformIssuedDocumentResponse" - security: - - OAuth2AuthenticationCodeFlow: [] - summary: Transform Issued Document - tags: - - Issued Documents - /c/{company_id}/issued_documents/join: - get: - description: Joins issued documents. - operationId: joinIssuedDocuments - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - - description: Ids of the documents. - explode: true - in: query - name: ids - required: true - schema: - example: "1,2,3,4" - type: string - style: form - - description: Group items. - explode: true - in: query - name: group - required: false - schema: - enum: - - 0 - - 1 - type: integer - style: form - - description: Type of the documents to be joined - example: "delivery_notes, orders, quotes, work_reports" - explode: true - in: query - name: type - required: false - schema: - enum: - - delivery_notes - - orders - - quotes - - work_reports - type: string - style: form - responses: - "200": - $ref: "#/components/responses/JoinIssuedDocumentsResponse" - security: - - OAuth2AuthenticationCodeFlow: [] - summary: Join Issued Documents - tags: - - Issued Documents - /c/{company_id}/emails: - get: - description: List Emails. - operationId: listEmails - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - - description: List of comma-separated fields. - explode: true - in: query - name: fields - required: false - schema: - type: string - style: form - - description: Name of the fieldset. - explode: true - in: query - name: fieldset - required: false - schema: - enum: - - basic - - detailed - type: string - style: form - - description: List of comma-separated fields for result sorting (minus for - desc sorting). - explode: true - in: query - name: sort - required: false - schema: - type: string - style: form - - description: The page to retrieve. - explode: true - in: query - name: page - required: false - schema: - default: 1 - type: integer - style: form - - description: The size of the page. - explode: true - in: query - name: per_page - required: false - schema: - default: 5 - maximum: 100 - minimum: 1 - type: integer - style: form - - description: Query for filtering the results. - explode: true - in: query - name: q - required: false - schema: - type: string - style: form - responses: - "200": - $ref: "#/components/responses/ListEmailsResponse" - security: - - OAuth2AuthenticationCodeFlow: [] - summary: List Emails - tags: - - Emails - /c/{company_id}/subscriptions: - get: - description: List active webhooks subscriptions. - operationId: listWebhooksSubscriptions - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - responses: - "200": - $ref: "#/components/responses/ListWebhooksSubscriptionsResponse" - security: - - OAuth2AuthenticationCodeFlow: [] - summary: List Webhooks Subscriptions - tags: - - Webhooks - post: - description: Register some webhooks Subscriptions. - operationId: CreateWebhooksSubscription - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - requestBody: - content: - application/json: - examples: - example-1: - value: - data: - sink: http://www.test.com - types: - - it.fattureincloud.webhooks.entities.create - - it.fattureincloud.webhooks.issued_documents.create - verification_method: header - schema: - $ref: "#/components/schemas/CreateWebhooksSubscriptionRequest" - description: "" - responses: - "200": - $ref: "#/components/responses/CreateWebhooksSubscriptionResponse" - security: - - OAuth2AuthenticationCodeFlow: [] - summary: Create a Webhook Subscription - tags: - - Webhooks - /c/{company_id}/subscriptions/{subscription_id}: - delete: - description: Delete a webhooks subscription. - operationId: deleteWebhooksSubscription - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - - description: The ID of the subscription. - explode: false - in: path - name: subscription_id - required: true - schema: - example: SUB123 - type: string - style: simple - responses: - "200": - description: OK - security: - - OAuth2AuthenticationCodeFlow: [] - summary: Delete Webhooks Subscription - tags: - - Webhooks - get: - description: Get a webhooks subscription. - operationId: getWebhooksSubscription - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - - description: The ID of the subscription. - explode: false - in: path - name: subscription_id - required: true - schema: - example: SUB123 - type: string - style: simple - responses: - "200": - $ref: "#/components/responses/GetWebhooksSubscriptionResponse" - security: - - OAuth2AuthenticationCodeFlow: [] - summary: Get Webhooks Subscription - tags: - - Webhooks - put: - description: Edit a webhooks subscription. - operationId: modifyWebhooksSubscription - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - - description: The ID of the subscription. - explode: false - in: path - name: subscription_id - required: true - schema: - example: SUB123 - type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/ModifyWebhooksSubscriptionRequest" - responses: - "200": - $ref: "#/components/responses/ModifyWebhooksSubscriptionResponse" - security: - - OAuth2AuthenticationCodeFlow: [] - summary: Modify Webhooks Subscription - tags: - - Webhooks - /c/{company_id}/subscriptions/{subscription_id}/verify: - post: - description: Verify a webhook subscription. - operationId: verifyWebhooksSubscription - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - - description: The ID of the subscription. - explode: false - in: path - name: subscription_id - required: true - schema: - example: SUB123 - type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/VerifyWebhooksSubscriptionRequest" - responses: - "200": - description: OK - security: - - OAuth2AuthenticationCodeFlow: [] - summary: Verify Webhooks Subscription - tags: - - Webhooks - /c/{company_id}/bin/issued_documents: - get: - description: Get bin issued documents list - operationId: ListBinIssuedDocuments - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - responses: - "200": - $ref: "#/components/responses/ListBinIssuedDocumentsResponse" - security: - - OAuth2AuthenticationCodeFlow: - - issued_documents.invoices:r - - issued_documents.credit_notes:r - - issued_documents.receipts:r - - issued_documents.orders:r - - issued_documents.quotes:r - - issued_documents.proformas:r - summary: Get Bin Issued Documents List - tags: - - Issued Documents - /c/{company_id}/bin/issued_documents/{document_id}: - delete: - description: Delete Bin Issued Document - operationId: DeleteBinIssuedDocument - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - - description: The ID of the document. - explode: false - in: path - name: document_id - required: true - schema: - type: integer - style: simple - responses: - "200": - description: OK - security: - - OAuth2AuthenticationCodeFlow: [] - summary: Delete Bin Issued Document - tags: - - Issued Documents - get: - description: Get bin issued documents detail - operationId: GetBinIssuedDocument - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - - description: The ID of the document. - explode: false - in: path - name: document_id - required: true - schema: - type: integer - style: simple - responses: - "200": - $ref: "#/components/responses/GetBinIssuedDocumentResponse" - security: - - OAuth2AuthenticationCodeFlow: - - issued_documents.invoices:r - - issued_documents.credit_notes:r - - issued_documents.receipts:r - - issued_documents.orders:r - - issued_documents.quotes:r - - issued_documents.proformas:r - summary: Get Bin Issued Documents List - tags: - - Issued Documents - /c/{company_id}/bin/issued_documents/{document_id}/recover: - post: - description: Recover Issued Document From The Bin - operationId: RecoverBinIssuedDocument - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - - description: The ID of the document. - explode: false - in: path - name: document_id - required: true - schema: - type: integer - style: simple - responses: - "200": - description: OK - security: - - OAuth2AuthenticationCodeFlow: [] - summary: Recover Issued Document From The Bin - tags: - - Issued Documents - /c/{company_id}/bin/received_documents: - get: - description: Get bin Received documents list - operationId: ListBinReceivedDocuments - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - responses: - "200": - $ref: "#/components/responses/ListBinReceivedDocumentsResponse" - security: - - OAuth2AuthenticationCodeFlow: [] - summary: Get Bin Received Documents List - tags: - - Received Documents - /c/{company_id}/bin/received_documents/{document_id}: - delete: - description: Delete Bin Received Document - operationId: DeleteBinReceivedDocument - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - - description: The ID of the document. - explode: false - in: path - name: document_id - required: true - schema: - type: integer - style: simple - responses: - "200": - description: OK - summary: Delete Bin Received Document - tags: - - Received Documents - get: - description: Get bin issued documents detail - operationId: GetBinReceivedDocument - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - - description: The ID of the document. - explode: false - in: path - name: document_id - required: true - schema: - type: integer - style: simple - responses: - "200": - $ref: "#/components/responses/GetBinIssuedDocumentResponse" - security: - - OAuth2AuthenticationCodeFlow: [] - summary: Get Bin Received Documents List - tags: - - Received Documents - /c/{company_id}/bin/received_documents/{document_id}/recover: - post: - description: Recover Received Document From The Bin - operationId: RecoverBinReceivedDocument - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - - description: The ID of the document. - explode: false - in: path - name: document_id - required: true - schema: - type: integer - style: simple - responses: - "200": - description: OK - summary: Recover Received Document From The Bin - tags: - - Received Documents - /c/{company_id}/price_lists: - get: - description: Retrieves all price lists of the company - operationId: getPriceLists - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - responses: - "200": - $ref: "#/components/responses/ListPriceList" - "401": - description: Unauthorized - "404": - description: Not Found - security: - - OAuth2AuthenticationCodeFlow: [] - summary: Get PriceLists - tags: - - PriceLists - /c/{company_id}/price_lists/{price_list_id}/items: - get: - description: Retrieves all the Items of a PriceList - operationId: getPriceListItems - parameters: - - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - - description: The ID of the price - explode: false - in: path - name: price_list_id - required: true - schema: - type: string - style: simple - responses: - "200": - $ref: "#/components/responses/GetPriceListItems" - "401": - description: Unauthorized - "404": - description: Not Found - security: - - OAuth2AuthenticationCodeFlow: [] - summary: Get PriceList Items List - tags: - - PriceLists -components: - parameters: - company_id: - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - fieldset: - description: Name of the fieldset. - explode: true - in: query - name: fieldset - required: false - schema: - enum: - - basic - - detailed - type: string - style: form - sort: - description: List of comma-separated fields for result sorting (minus for desc - sorting). - explode: true - in: query - name: sort - required: false - schema: - type: string - style: form - fields: - description: List of comma-separated fields. - explode: true - in: query - name: fields - required: false - schema: - type: string - style: form - page: - description: The page to retrieve. - explode: true - in: query - name: page - required: false - schema: - default: 1 - type: integer - style: form - client_id: - description: The ID of the client. - explode: false - in: path - name: client_id - required: true - schema: - type: integer - style: simple - supplier_id: - description: The ID of the supplier. - explode: false - in: path - name: supplier_id - required: true - schema: - type: integer - style: simple - product_id: - description: The ID of the product. - explode: false - in: path - name: product_id - required: true - schema: - type: integer - style: simple - issued_document_type: - description: The type of the issued document. - explode: true - in: query - name: type - required: true - schema: - enum: - - invoice - - quote - - proforma - - receipt - - delivery_note - - credit_note - - order - - work_report - - supplier_order - - self_own_invoice - - self_supplier_invoice - type: string - style: form - per_page: - description: The size of the page. - explode: true - in: query - name: per_page - required: false - schema: - default: 5 - maximum: 100 - minimum: 1 - type: integer - style: form - document_id: - description: The ID of the document. - explode: false - in: path - name: document_id - required: true - schema: - type: integer - style: simple - received_document_type: - description: The type of the received document. - explode: true - in: query - name: type - required: true - schema: - enum: - - expense - - passive_credit_note - - passive_delivery_note - - self_invoice - type: string - style: form - q: - description: Query for filtering the results. - explode: true - in: query - name: q - required: false - schema: - type: string - style: form - include_attachment: - description: Include the attachment to the XML e-invoice. - explode: true - in: query - name: include_attachment - required: false - schema: - type: boolean - style: form - subscription_id: - description: The ID of the subscription. - explode: false - in: path - name: subscription_id - required: true - schema: - example: SUB123 - type: string - style: simple - responses: - GetUserInfoResponse: - content: - application/json: - examples: - example-1: - value: - data: - id: 12345 - name: Mario Rossi - first_name: Mario - last_name: Rossi - email: mario.rossi@example.com - hash: 5add29e1234532a1bf2ed7b612043029 - picture: picture.jpg - info: - need_marketing_consents_confirmation: false - need_password_change: false - need_terms_of_service_confirmation: false - email_confirmation_state: - need_confirmation: false - schema: - $ref: "#/components/schemas/GetUserInfoResponse" - description: "" - ListUserCompaniesResponse: - content: - application/json: - examples: - example-1: - value: - data: - companies: - - id: 12345 - name: Studio Commercialista - tax_code: ABCSFN94T17A794K - vat_number: 3881520161 - type: accountant - access_token: 4ff5f0fe5abcd1d7157fa13ca72ab62b6183db0667a576a0e19164801c18c4f7362a848fa32dbb8c3a3f94c34f3df95 - connection_id: 94566 - controlled_companies: - - id: 12246 - name: Studio Commercialista - tax_code: ABCSFN94T17A794K - vat_number: 3881520161 - type: company - access_token: 4ff5f0fe5abcdf1d7157fa13ca72ab62b6183db0667a576a0e19164801c18c4f7362a848fa32dbb8c3a3f94c34f3df95 - connection_id: 94566 - controlled_companies: [] - fic: true - dic: true - fic_plan: premium_plus - fic_license_expire: 2021-12-31 - permissions: - fic_situation: write - fic_clients: write - fic_suppliers: write - fic_products: write - fic_issued_documents: write - fic_received_documents: write - fic_receipts: write - fic_calendar: write - fic_archive: write - fic_taxes: write - fic_stock: write - fic_cashbook: write - fic_settings: write - fic_emails: write - dic_employees: write - dic_timesheet: write - dic_settings: write - - id: 12347 - name: Mario Rossi SRL - tax_code: "57398280214" - type: company - access_token: 86690c98be13592e78b763c52fab2ba0c22faa118708ca5273da2b4dcdc7ad1234517107266d463fd9ae424a78c16cde - connection_id: 94566 - controlled_companies: [] - fic: true - dic: false - fic_plan: trial - fic_license_expire: 2021-12-31 - permissions: - fic_situation: write - fic_clients: write - fic_suppliers: write - fic_products: write - fic_issued_documents: write - fic_received_documents: write - fic_receipts: write - fic_calendar: write - fic_archive: write - fic_taxes: write - fic_stock: write - fic_cashbook: write - fic_settings: write - fic_emails: write - dic_employees: none - dic_timesheet: none - dic_settings: none - schema: - $ref: "#/components/schemas/ListUserCompaniesResponse" - description: User Companies. - GetCompanyInfoResponse: - content: - application/json: - examples: - example-1: - value: - data: - id: 12345 - name: Studio Commercialista - email: mario.rossi@example.com - type: accountant - fic: true - fic_plan_name: premium_plus - fic_signup_date: 2013-11-01 - fic_license_expire: 2030-12-31 - use_fic: true - fic_need_setup: false - fic_license_type: coupon_b - dic: true - dic_plan_name: trial - dic_signup_date: 2018-03-26 - dic_license_expire: 2022-12-31 - use_dic: true - dic_license_type: null - registration_service: fic - can_use_coupon: false - access_info: - role: master - through_accountant: false - permissions: - fic_situation: read - fic_clients: write - fic_suppliers: write - fic_products: write - fic_issued_documents: detailed - fic_issued_documents_detailed: - quotes: write - proformas: write - invoices: write - receipts: write - delivery_notes: write - credit_notes: write - orders: write - work_reports: write - supplier_orders: write - self_invoices: write - fic_received_documents: write - fic_receipts: write - fic_calendar: write - fic_archive: write - fic_taxes: write - fic_stock: write - fic_cashbook: write - fic_settings: write - fic_emails: read - dic_employees: none - dic_timesheet: none - dic_settings: none - fic_invoice_trading: none - fic_export: write - fic_import_clients_suppliers: write - fic_import_products: write - fic_import_issued_documents: none - fic_import_bankstatements: none - fic_recurring: write - fic_riba: write - plan_info: - limits: - clients: 5000 - suppliers: 5000 - products: 5000 - documents: 3000 - functions: - document_attachments: true - archive: true - payment_notifications: true - paypal: true - receipts: true - e_invoice: true - genius: true - stock: true - smtp: true - mail_tracking: true - subaccounts: true - tessera_sanitaria: true - recurring: true - cerved: true - ts_digital: true - ts_pay: true - ts_invoice_trading: true - functions_status: - ts_digital: - active: true - ts_pay: - active: true - is_accountant: true - accountant_id: 12345 - fic_payment_subject: client - dic_payment_subject: client - schema: - $ref: "#/components/schemas/GetCompanyInfoResponse" - description: Company info. - CreateClientResponse: - content: - application/json: - examples: - example-1: - value: - data: - id: 16451 - code: AE86 - name: Avv. Maria Rossi - type: person - first_name: Maria - last_name: Rossi - contact_person: "" - vat_number: IT12345640962 - tax_code: BLTGNI5ABCDA794E - address_street: "Via Roma, 1" - address_postal_code: "20900" - address_city: Milano - address_province: MI - address_extra: "" - country: Italia - email: maria.rossi@example.com - certified_email: maria.rossi@pec.example.com - phone: "1234567890" - fax: "" - notes: "" - created_at: 2021-04-29 08:53:07 - updated_at: 2021-04-29 08:53:07 - default_payment_terms: 1 - default_payment_terms_type: standard - bank_name: Indesa - bank_iban: IT40P123456781000000123456 - bank_swift_code: AK86PCT - shipping_address: Corso Magellano 4 - e_invoice: true - ei_code: "111111" - default_vat: - id: 54321 - value: 45 - description: "" - is_disabled: false - default_payment_method: - id: 386092 - name: Credit card - schema: - $ref: "#/components/schemas/CreateClientResponse" - description: Example response - ListClientsResponse: - content: - application/json: - examples: - example-1: - value: - current_page: 1 - data: - - id: 16451 - code: AE86 - name: Avv. Maria Rossi - type: person - first_name: Maria - last_name: Rossi - contact_person: "" - vat_number: IT12345640962 - tax_code: BLTGNI5ABCDA794E - address_street: "Via Roma, 1" - address_postal_code: "20900" - address_city: Milano - address_province: MI - address_extra: "" - country: Italia - email: maria.rossi@example.com - certified_email: maria.rossi@pec.example.com - phone: "1234567890" - fax: "" - notes: "" - created_at: 2021-04-29 08:53:07 - updated_at: 2021-04-29 08:53:07 - default_payment_terms: 1 - default_payment_terms_type: standard - bank_name: Indesa - bank_iban: IT40P123456781000000123456 - bank_swift_code: AK86PCT - shipping_address: Corso Magellano 4 - e_invoice: true - ei_code: "111111" - default_vat: - id: 54321 - value: 45 - description: "" - is_disabled: false - default_payment_method: - id: 386092 - name: Credit card - - id: 25330696 - code: PD00 - name: Mario Rossi - type: person - first_name: Mario - last_name: Rossi - contact_person: "" - vat_number: IT1234567890 - tax_code: ABCDEF12G34H567I - address_street: Via largo augusto 123 - address_postal_code: "21012" - address_city: Bergamo - address_province: BG - address_extra: "" - country: Italia - email: info@mariorossi.it - certified_email: info@pec.mariorossi.it - phone: "012345678" - fax: "012345678" - notes: "" - created_at: 2021-04-29 08:53:07 - default_payment_terms: 0 - default_payment_terms_type: standard - bank_name: Monte dei Pascoli - bank_iban: IT00P123456781000000123456 - bank_swift_code: APL86PCT - shipping_address: Via Miilano 4 - e_invoice: false - ei_code: "7654321" - default_vat: - id: 66 - value: 22 - description: "" - is_disabled: false - default_payment_method: null - first_page_url: page=1 - from: 1 - last_page: 2 - last_page_url: page=2 - next_page_url: page=2 - path: entities/clients - per_page: 5 - prev_page_url: null - to: 50 - total: 8 - schema: - $ref: "#/components/schemas/ListClientsResponse" - description: Example response - ListSuppliersResponse: - content: - application/json: - examples: - example-1: - value: - first_page_url: page=1 - from: 1 - last_page: 2 - last_page_url: page=2 - next_page_url: page=2 - path: /entities/suppliers - per_page: 50 - prev_page_url: null - to: 55 - total: 55 - data: - - id: 12345 - code: AE86 - name: Mario Rossi S.R.L. - type: company - first_name: Mario - last_name: Rossi - contact_person: "" - vat_number: "111222333" - tax_code: "111122233" - address_street: "Corso Magellano, 46" - address_postal_code: "20146" - address_city: Milano - address_province: MI - address_extra: "" - country: Italia - email: mario.rossi@example.com - certified_email: mario.rossi@pec.example.com - phone: "1234567890" - fax: "123456789" - notes: "" - created_at: 2021-15-08 - updated_at: 2021-15-08 - - id: 12346 - code: GT86 - name: Maria Grossi S.R.L. - type: company - first_name: "" - last_name: "" - contact_person: "" - vat_number: "200020102020" - tax_code: "200020102020" - address_street: "Vicolo stretto, 32" - address_postal_code: "20146" - address_city: Milano - address_province: MI - address_extra: "" - country: Italia - email: maria.grossi@example.com - certified_email: maria.grossi@pec.example.com - phone: "0987654321" - fax: "098765432" - notes: "" - created_at: 2021-15-09 - updated_at: 2021-15-09 - schema: - $ref: "#/components/schemas/ListSuppliersResponse" - description: Example response - CreateSupplierResponse: - content: - application/json: - examples: - example-1: - value: - data: - id: 12345 - code: AE86 - name: Mario Rossi S.R.L. - type: company - first_name: Mario - last_name: Rossi - contact_person: "" - vat_number: "111222333" - tax_code: "111122233" - address_street: "Corso Magellano, 46" - address_postal_code: "20146" - address_city: Milano - address_province: MI - address_extra: "" - country: Italia - email: mario.rossi@example.com - certified_email: mario.rossi@pec.example.com - phone: "1234567890" - fax: "123456789" - notes: "" - created_at: 2021-15-08 - updated_at: 2021-15-08 - schema: - $ref: "#/components/schemas/CreateSupplierResponse" - description: Example response - GetClientResponse: - content: - application/json: - examples: - example-1: - value: - data: - code: AE86 - name: Avv. Maria Rossi - type: person - first_name: Maria - last_name: Rossi - contact_person: "" - vat_number: IT12345640962 - tax_code: BLTGNI5ABCDA794E - address_street: "Via Roma, 1" - address_postal_code: "20900" - address_city: Milano - address_province: MI - address_extra: "" - country: Italia - email: maria.rossi@example.com - certified_email: maria.rossi@pec.example.com - phone: "1234567890" - fax: "" - notes: "" - default_payment_terms: 1 - default_payment_terms_type: standard - bank_name: Indesa - bank_iban: IT40P123456781000000123456 - bank_swift_code: AK86PCT - shipping_address: Corso Magellano 4 - e_invoice: true - ei_code: "111111" - default_vat: - id: 54321 - value: 45 - description: "" - is_disabled: false - price_list_id: "10" - schema: - $ref: "#/components/schemas/GetClientResponse" - description: Client Details. - ModifyClientResponse: - content: - application/json: - examples: - example-1: - value: - data: - code: AE86 - name: Avv. Maria Rossi - type: person - first_name: Maria - last_name: Rossi - contact_person: "" - vat_number: IT12345640962 - tax_code: BLTGNI5ABCDA794E - address_street: "Via Roma, 1" - address_postal_code: "20900" - address_city: Milano - address_province: MI - address_extra: "" - country: Italia - email: maria.rossi@example.com - certified_email: maria.rossi@pec.example.com - phone: "1234567890" - fax: "" - notes: "" - default_payment_terms: 1 - default_payment_terms_type: standard - bank_name: Indesa - bank_iban: IT40P123456781000000123456 - bank_swift_code: AK86PCT - shipping_address: Corso Magellano 4 - e_invoice: true - ei_code: "111111" - default_vat: - id: 54321 - value: 45 - description: "" - is_disabled: false - price_list_id: "10" - schema: - $ref: "#/components/schemas/ModifyClientResponse" - description: Client modified. - GetSupplierResponse: - content: - application/json: - examples: - example-1: - value: - data: - id: 12345 - code: AE86 - name: Mario Rossi S.R.L. - type: company - first_name: Mario - last_name: Rossi - contact_person: "" - vat_number: "111222333" - tax_code: "111122233" - address_street: "Corso Magellano, 46" - address_postal_code: "20146" - address_city: Milano - address_province: MI - address_extra: "" - country: Italia - email: mario.rossi@example.com - certified_email: mario.rossi@pec.example.com - phone: "1234567890" - fax: "123456789" - notes: "" - created_at: 2021-15-08 - updated_at: 2021-15-08 - schema: - $ref: "#/components/schemas/GetSupplierResponse" - description: Example response - ModifySupplierResponse: - content: - application/json: - examples: - example-1: - value: - data: - id: 12345 - code: AE86 - name: Mario Rossi S.R.L. - type: company - first_name: Mario - last_name: Rossi - contact_person: "" - vat_number: "111222333" - tax_code: "111122233" - address_street: "Corso Magellano, 46" - address_postal_code: "20146" - address_city: Milano - address_province: MI - address_extra: "" - country: Italia - email: mario.rossi@example.com - certified_email: mario.rossi@pec.example.com - phone: "1234567890" - fax: "123456789" - notes: "" - created_at: 2021-15-08 - updated_at: 2021-15-08 - schema: - $ref: "#/components/schemas/ModifySupplierResponse" - description: Example response - ListProductsResponse: - content: - application/json: - examples: - example-1: - value: - current_page: 1 - data: - - id: 12345 - name: Tavolo di marmo - code: TAVOLO003 - net_price: 240 - gross_price: 280 - use_gross_price: false - net_cost: 0 - measure: "" - description: Tavolo in marmo pregiato - category: arredamento - in_stock: true - default_vat: - id: 3 - value: 22 - description: Non imponibile art. 123 - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - is_disabled: false - - id: 12346 - name: Tavolo di legno - code: TAVOLO001 - net_price: 120 - gross_price: 160 - use_gross_price: false - net_cost: 0 - measure: "" - description: Tavolo in legno pregiato - category: arredamento - in_stock: true - default_vat: - id: 3 - value: 22 - description: Non imponibile art. 123 - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - is_disabled: false - first_page_url: page=1 - from: 1 - last_page: 1 - last_page_url: page=1 - next_page_url: page=2 - path: products - per_page: 50 - prev_page_url: null - to: 55 - total: 55 - schema: - $ref: "#/components/schemas/ListProductsResponse" - description: Products List. - CreateProductResponse: - content: - application/json: - examples: - example-1: - value: - data: - id: 12345 - name: Tavolo di marmo - code: TAVOLO003 - net_price: 240 - gross_price: 280 - use_gross_price: false - net_cost: 0 - measure: "" - description: Tavolo in marmo pregiato - category: arredamento - in_stock: true - default_vat: - id: 3 - value: 22 - description: Non imponibile art. 123 - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - is_disabled: false - schema: - $ref: "#/components/schemas/CreateProductResponse" - description: Example response - GetProductResponse: - content: - application/json: - examples: - example-1: - value: - data: - id: 12345 - name: Tavolo di marmo - code: TAVOLO003 - net_price: 240 - gross_price: 280 - use_gross_price: false - net_cost: 0 - measure: "" - description: Tavolo in marmo pregiato - category: arredamento - in_stock: true - created_at: 2021-08-09 08:57:14 - updated_at: 2021-08-09 08:57:14 - default_vat: - id: 3 - value: 22 - description: Non imponibile art. 123 - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - is_disabled: false - stock_initial: 123 - stock_current: 123 - schema: - $ref: "#/components/schemas/GetProductResponse" - description: Example response - ModifyProductResponse: - content: - application/json: - examples: - example-1: - value: - data: - id: 12345 - name: Tavolo di marmo - code: TAVOLO003 - net_price: 240 - gross_price: 280 - use_gross_price: false - net_cost: 0 - measure: "" - description: Tavolo in marmo pregiato - category: arredamento - in_stock: true - created_at: 2021-08-09 08:57:14 - updated_at: 2021-08-15 08:57:14 - default_vat: - id: 3 - value: 22 - description: Non imponibile art. 123 - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - is_disabled: false - stock_initial: 123 - stock_current: 123 - schema: - $ref: "#/components/schemas/ModifyProductResponse" - description: Example response - ListIssuedDocumentsResponse: - content: - application/json: - examples: - example-1: - value: - current_page: 1 - data: - - id: 12345 - type: receipt - numeration: rec123 - subject: "" - visible_subject: "" - amount_net: 68.18 - amount_vat: 6.82 - amount_gross: 75 - amount_due_discount: 0 - entity: - id: 54321 - name: Mary Red S.r.L. - vat_number: IT05432181211 - tax_code: IT05432181211 - address_street: "Via Italia, 66" - address_postal_code: "20900" - address_city: Milano - address_province: MI - address_extra: "" - country: Italia - certified_email: mary@pec.red.com - ei_code: ABCXCR1 - date: 2021-08-20 - number: 1 - next_due_date: 2021-12-31 - url: ypbqqe4u8w8bdabcd5fd5b1a4gtqhlof.pdf - items_list: null - payments_list: null - - id: 12346 - type: receipt - numeration: rec124 - subject: "" - visible_subject: "" - amount_net: 168.18 - amount_vat: 16.82 - amount_gross: 175 - amount_due_discount: 0 - entity: - id: 54321 - name: Mary Red S.r.L. - vat_number: IT05432181211 - tax_code: IT05432181211 - address_street: "Via Italia, 66" - address_postal_code: "20900" - address_city: Milano - address_province: MI - address_extra: "" - country: Italia - certified_email: mary@pec.red.com - ei_code: ABCXCR1 - date: 2021-08-28 - number: 1 - next_due_date: 2021-12-31 - url: qwertye4u8w8bdaqrt5fd5b1a4gtqhlof.pdf - items_list: null - payments_list: null - first_page_url: page=1 - from: 1 - last_page: 1 - last_page_url: page=1 - next_page_url: null - path: issued_documents - per_page: 50 - prev_page_url: null - to: 2 - total: 2 - schema: - $ref: "#/components/schemas/ListIssuedDocumentsResponse" - description: Results list. - CreateIssuedDocumentResponse: - content: - application/json: - examples: - example-1: - value: - data: - id: 12345 - type: receipt - year: 2021 - numeration: rec123 - subject: "" - visible_subject: "" - rc_center: "" - ei_cassa_type: null - ei_withholding_tax_causal: null - ei_other_withholding_tax_type: null - ei_other_withholding_tax_causal: null - stamp_duty: 0 - use_gross_prices: false - e_invoice: false - agyo_company_id: null - agyo_id: null - agyo_sent_at: null - delivery_note: false - accompanying_invoice: false - amount_net: 68.18 - amount_vat: 6.82 - amount_gross: 75 - amount_due_discount: 0 - amount_rivalsa: 0 - amount_cassa: 0 - amount_withholding_tax: 0 - amount_other_withholding_tax: 0 - h_margins: 15 - v_margins: 16 - show_payment_method: false - show_payments: true - show_totals: all - show_notification_button: false - is_marked: false - created_at: 2021-08-13 09:30:20 - updated_at: 2021-08-23 05:34:20 - entity: - id: 54321 - name: Mary Red S.r.L. - vat_number: IT05432181211 - tax_code: IT05432181211 - address_street: "Via Italia, 66" - address_postal_code: "20900" - address_city: Milano - address_province: MI - address_extra: "" - country: Italia - certified_email: mary@pec.red.com - ei_code: ABCXCR1 - date: 2021-08-20 - number: 1 - currency: - id: EUR - exchange_rate: "1.00000" - symbol: € - language: - code: it - name: Italiano - notes: "" - rivalsa: 0 - cassa: 0 - withholding_tax: 0 - withholding_tax_taxable: 100 - other_withholding_tax: 0 - payment_method: - id: 4 - name: Credit card - use_split_payment: false - merged_in: null - original_document: null - items_list: - - product_id: 5432 - code: SG3 - name: Soggiorno - measure: "" - net_price: 68.18182 - category: "" - id: 277876033 - gross_price: 75 - apply_withholding_taxes: true - discount: 0 - discount_highlight: false - in_dn: false - qty: 1 - vat: - id: 3 - value: 10 - description: "" - stock: false - description: "" - not_taxable: false - payments_list: - - amount: 75 - due_date: 2020-08-23 - paid_date: null - id: 69078013 - payment_terms: - days: 0 - type: standard - status: not_paid - attachment_url: kdijrnf893hnwkfk45f50f.pdf - seen_date: null - next_due_date: 2020-08-23 - template: - id: 2821 - name: Light Smoke - extra_data: null - url: y12h45rn9yf2mse0p43t7ec90vr.pdf - locked: false - has_ts_pay_pending_payment: false - show_tspay_button: false - schema: - $ref: "#/components/schemas/CreateIssuedDocumentResponse" - description: Document created. - GetIssuedDocumentResponse: - content: - application/json: - examples: - example-1: - value: - data: - id: 12345 - type: receipt - year: 2021 - numeration: rec123 - subject: "" - visible_subject: "" - rc_center: "" - ei_cassa_type: null - ei_withholding_tax_causal: null - ei_other_withholding_tax_type: null - ei_other_withholding_tax_causal: null - stamp_duty: 0 - use_gross_prices: false - e_invoice: false - agyo_company_id: null - agyo_id: null - agyo_sent_at: null - delivery_note: false - accompanying_invoice: false - amount_net: 68.18 - amount_vat: 6.82 - amount_gross: 75 - amount_due_discount: 0 - amount_rivalsa: 0 - amount_cassa: 0 - amount_withholding_tax: 0 - amount_other_withholding_tax: 0 - h_margins: 15 - v_margins: 16 - show_payment_method: false - show_payments: true - show_totals: all - show_notification_button: false - is_marked: false - created_at: 2021-08-13 09:30:20 - updated_at: 2021-08-23 05:34:20 - entity: - id: 54321 - name: Mary Red S.r.L. - vat_number: IT05432181211 - tax_code: IT05432181211 - address_street: "Via Italia, 66" - address_postal_code: "20900" - address_city: Milano - address_province: MI - address_extra: "" - country: Italia - certified_email: mary@pec.red.com - ei_code: ABCXCR1 - date: 2021-08-20 - number: 1 - currency: - id: EUR - exchange_rate: "1.00000" - symbol: € - language: - code: it - name: Italiano - notes: "" - rivalsa: 0 - cassa: 0 - withholding_tax: 0 - withholding_tax_taxable: 100 - other_withholding_tax: 0 - payment_method: - id: 4 - name: Credit card - use_split_payment: false - merged_in: null - original_document: null - items_list: - - product_id: 5432 - code: SG3 - name: Soggiorno - measure: "" - net_price: 68.18182 - category: "" - id: 277876033 - gross_price: 75 - apply_withholding_taxes: true - discount: 0 - discount_highlight: false - in_dn: false - qty: 1 - vat: - id: 3 - value: 10 - description: "" - stock: false - description: "" - not_taxable: false - payments_list: - - amount: 75 - due_date: 2020-08-23 - paid_date: null - id: 69078013 - payment_terms: - days: 0 - type: standard - status: not_paid - attachment_url: kdijrnf893hnwkfk45f50f.pdf - seen_date: null - next_due_date: 2020-08-23 - template: - id: 2821 - name: Light Smoke - extra_data: null - url: y12h45rn9yf2mse0p43t7ec90vr.pdf - locked: false - has_ts_pay_pending_payment: false - show_tspay_button: false - price_list_id: "10" - schema: - $ref: "#/components/schemas/GetIssuedDocumentResponse" - description: Document Details. - ModifyIssuedDocumentResponse: - content: - application/json: - examples: - example-1: - value: - data: - id: 12345 - type: receipt - year: 2021 - numeration: rec123 - subject: "" - visible_subject: "" - rc_center: "" - ei_cassa_type: null - ei_withholding_tax_causal: null - ei_other_withholding_tax_type: null - ei_other_withholding_tax_causal: null - stamp_duty: 0 - use_gross_prices: false - e_invoice: false - agyo_company_id: null - agyo_id: null - agyo_sent_at: null - delivery_note: false - accompanying_invoice: false - amount_net: 68.18 - amount_vat: 6.82 - amount_gross: 75 - amount_due_discount: 0 - amount_rivalsa: 0 - amount_cassa: 0 - amount_withholding_tax: 0 - amount_other_withholding_tax: 0 - h_margins: 15 - v_margins: 16 - show_payment_method: false - show_payments: true - show_totals: all - show_notification_button: false - is_marked: false - created_at: 2021-08-13 09:30:20 - updated_at: 2021-08-23 05:34:20 - entity: - id: 54321 - name: Mary Red S.r.L. - vat_number: IT05432181211 - tax_code: IT05432181211 - address_street: "Via Italia, 66" - address_postal_code: "20900" - address_city: Milano - address_province: MI - address_extra: "" - country: Italia - certified_email: mary@pec.red.com - ei_code: ABCXCR1 - date: 2021-08-20 - number: 1 - currency: - id: EUR - exchange_rate: "1.00000" - symbol: € - language: - code: it - name: Italiano - notes: "" - rivalsa: 0 - cassa: 0 - withholding_tax: 0 - withholding_tax_taxable: 100 - other_withholding_tax: 0 - payment_method: - id: 4 - name: Credit card - use_split_payment: false - merged_in: null - original_document: null - items_list: - - product_id: 5432 - code: SG3 - name: Soggiorno - measure: "" - net_price: 68.18182 - category: "" - id: 277876033 - gross_price: 75 - apply_withholding_taxes: true - discount: 0 - discount_highlight: false - in_dn: false - qty: 1 - vat: - id: 3 - value: 10 - description: "" - stock: false - description: "" - not_taxable: false - payments_list: - - amount: 75 - due_date: 2020-08-23 - paid_date: null - id: 69078013 - payment_terms: - days: 0 - type: standard - status: not_paid - payment_account: null - attachment_url: kdijrnf893hnwkfk45f50f.pdf - seen_date: null - next_due_date: 2020-08-23 - template: - id: 2821 - name: Light Smoke - extra_data: null - url: y12h45rn9yf2mse0p43t7ec90vr.pdf - locked: false - has_ts_pay_pending_payment: false - show_tspay_button: false - schema: - $ref: "#/components/schemas/ModifyIssuedDocumentResponse" - description: Document edited - GetNewIssuedDocumentTotalsResponse: - content: - application/json: - examples: - example-1: - value: - data: - amount_net: 68.18 - taxable_amount: 68.18 - vat_list: - "10": - amount_net: 68.18 - amount_vat: 6.82 - amount_vat: 6.82 - amount_gross: 75 - amount_due: 75 - amount_due_discount: 0 - payments_sum: 75 - schema: - $ref: "#/components/schemas/GetNewIssuedDocumentTotalsResponse" - description: Totals. - GetExistingIssuedDocumentTotalsResponse: - content: - application/json: - examples: - example-1: - value: - data: - amount_net: 68.18 - amount_rivalsa: 13.64 - amount_net_with_rivalsa: 81.82000000000001 - taxable_amount: 81.82 - vat_list: - "10": - amount_net: 81.82 - amount_vat: 8.18 - amount_vat: 8.18 - amount_gross: 90 - amount_due: 90 - amount_due_discount: 0 - payments_sum: 75 - schema: - $ref: "#/components/schemas/GetExistingIssuedDocumentTotalsResponse" - description: Totals. - UploadIssuedDocumentAttachmentResponse: - content: - application/json: - examples: - example-1: - value: - data: - attachment_token: YmMyNWYxYzIwMTU3N2Y4ZGE3ZjZiMzg5OWY0ODNkZDQveXl5LmRvYw - schema: - $ref: "#/components/schemas/UploadIssuedDocumentAttachmentResponse" - description: Attachment Token. - GetIssuedDocumentPreCreateInfoResponse: - content: - application/json: - examples: - example-1: - value: - data: - numerations: - "2018": - AB123: 2 - "2019": - "123": null - "2020": - ABC: 2 - "2021": - rec123: 2 - dn_numerations: - "2017": - ? "" - : 1000 - "2018": - ? "" - : 112 - "2019": - ? "" - : 526 - "2020": - ? "" - : 11 - "2021": - ? "" - : 110 - default_values: - template: - id: 111 - type: standard - name: Light Smoke - dn_template: - id: 222 - type: delivery_note - name: DDT 1 - ai_template: - id: 333 - type: accompanying_invoice - name: FT Accompagnatoria 1 - notes: "" - rivalsa: 0 - cassa: 0 - withholding_tax: 0 - withholding_tax_taxable: 100 - other_withholding_tax: 0 - use_gross_prices: false - payment_method: - id: 123321 - name: Bonifico bancario - is_default: true - details: - - title: Banca - description: Indesa - - title: IBAN - description: IT17QA12345600000003498936 - - title: Intestatario - description: Mario Rossi - bank_iban: IT17QA12345600000003498936 - bank_name: Indesa - bank_beneficiary: Mario Rossi - ei_payment_method: MP05 - show_payment_method: true - ei_cassa_type: null - ei_withholding_tax_causal: B - ei_other_withholding_tax_type: null - ei_other_withholding_tax_causal: null - ei_default_document_type: TD01 - extra_data_default_values: - ts_communication: false - ts_tipo_spesa: SR - ts_flag_tipo_spesa: 0 - ts_pagamento_tracciato: false - items_default_values: - vat: - id: 0 - value: 22 - description: "" - notes: "" - e_invoice: true - ei_type: "0" - ei_description: "" - is_disabled: false - editable: false - default: true - countries_list: - - Italia - - Afghanistan - - Albania - - Algeria - - Andorra - - Angola - - Anguilla - - Antartide - - Antigua e Barbuda - - Antille Olandesi - - Arabia Saudita - - Argentina - - Armenia - - Aruba - - Australia - - Austria - - Azerbaigian - - Bahamas - - Bahrain - - Bangladesh - - Barbados - - Belgio - - Belize - - Benin - - Bermuda - - Bhutan - - Bielorussia - - Bolivia - - Bosnia ed Erzegovina - - Botswana - - Brasile - - Brunei - - Bulgaria - - Burkina Faso - - Burundi - - Cambogia - - Camerun - - Canada - - Capo Verde - - Ciad - - Cile - - Cina - - Cipro - - Città del Vaticano - - Colombia - - Comore - - Corea del Nord - - Corea del Sud - - Costa Rica - - Costa d'Avorio - - Croazia - - Cuba - - Danimarca - - Dominica - - Ecuador - - Egitto - - El Salvador - - Emirati Arabi Uniti - - Eritrea - - Estonia - - Etiopia - - Fiji - - Filippine - - Finlandia - - Francia - - Gabon - - Gambia - - Georgia - - Georgia del Sud e isole Sandwich - - Germania - - Ghana - - Giamaica - - Giappone - - Gibilterra - - Gibuti - - Giordania - - Grecia - - Grenada - - Groenlandia - - Guadalupa - - Guam - - Guatemala - - Guernsey - Channel Islands - - Guinea - - Guinea Equatoriale - - Guinea-Bissau - - Guyana - - Guyana Francese - - Haiti - - Heard Island e McDonald Islands - - Honduras - - Hong Kong - - India - - Indonesia - - Iran - - Iraq - - Irlanda - - Islanda - - Isola Bouvet - - Isola Christmas - - Isola di Man - - Isola Norfolk - - Isole Canarie (Spagna) - - Isole Cayman - - Isole Cocos e Keeling - - Isole Cook - - Isole Falkland - - Isole Fær Øer - - Isole Marianne Settentrionali - - Isole Marshall - - Isole Minori Esterne degli USA - - Isole Pitcairn - - Isole Salomone - - Isole Vergini Americane - - Isole Vergini Britanniche - - Isole Åland - - Israele - - Jersey - Channel Islands - - Kazakistan - - Kenia - - Kirghizistan - - Kiribati - - Kosovo - - Kuwait - - Laos - - Lesotho - - Lettonia - - Libano - - Liberia - - Libia - - Liechtenstein - - Lituania - - Lussemburgo - - Macao - - Macedonia - - Macedonia del Nord - - Madagascar - - Malawi - - Malaysia - - Maldive - - Mali - - Malta - - Marocco - - Martinica - - Mauritania - - Mauritius - - Mayotte - - Messico - - Micronesia - - Moldavia - - Monaco - - Mongolia - - Montenegro - - Montserrat - - Mozambico - - Myanmar - - Namibia - - Nauru - - Nepal - - Nicaragua - - Niger - - Nigeria - - Niue - - Norvegia - - Nuova Caledonia - - Nuova Zelanda - - Oman - - Paesi Bassi - - Pakistan - - Palau - - Panama - - Papua Nuova Guinea - - Paraguay - - Perù - - Polinesia Francese - - Polonia - - Porto Rico - - Portogallo - - Qatar - - Regno Unito - - Repubblica Ceca - - Repubblica Centrafricana - - Repubblica Democratica del Congo - - Repubblica Dominicana - - Repubblica del Congo - - Riunione - - Romania - - Ruanda - - Russia - - Sahara Occidentale - - Saint Barthelemy - - Saint Kitts e Nevis - - Saint Pierre e Miquelon - - Saint Vincent e Grenadine - - Samoa - - Samoa Americane - - San Marino - - Sant'Elena - - Santa Lucia - - Senegal - - Serbia - - Seychelles - - Sierra Leone - - Singapore - - Siria - - Slovacchia - - Slovenia - - Somalia - - Spagna - - Sri Lanka - - Stato di Palestina - - Stati Uniti - - Sudafrica - - Sud Sudan - - Sudan - - Suriname - - Svalbard e Jan Mayen - - Svezia - - Svizzera - - Swaziland - - São Tomé e Príncipe - - Tagikistan - - Taiwan - - Tanzania - - Terre australi e ant. francesi - - Terr. Britannico dell'Oc. Ind. - - Thailandia - - Timor Est - - Togo - - Tokelau - - Tonga - - Trinidad e Tobago - - Tunisia - - Turchia - - Turkmenistan - - Turks e Caicos - - Tuvalu - - Ucraina - - Uganda - - Ungheria - - Uruguay - - Uzbekistan - - Vanuatu - - Venezuela - - Vietnam - - Wallis e Futuna - - Yemen - - Zambia - - Zimbabwe - currencies_list: - - id: AED - symbol: AED - html_symbol: AED - exchange_rate: "4.09500" - - id: ALL - symbol: ALL - html_symbol: ALL - exchange_rate: "121.50000" - - id: AUD - symbol: AUD - html_symbol: AUD - exchange_rate: "1.62094" - - id: AZN - symbol: AZN - html_symbol: AZN - exchange_rate: "2.00130" - - id: BGN - symbol: лв - html_symbol: BGN - exchange_rate: "1.95583" - - id: BRL - symbol: R$ - html_symbol: R$ - exchange_rate: "4.50410" - - id: BYN - symbol: BYN - html_symbol: BYN - exchange_rate: "2.41000" - - id: CAD - symbol: CAD - html_symbol: CAD - exchange_rate: "1.49841" - - id: CFA - symbol: CFA - html_symbol: CFA - exchange_rate: "656.68000" - - id: CHF - symbol: Fr. - html_symbol: Fr. - exchange_rate: "1.12559" - - id: CNY - symbol: CNY - html_symbol: CNY - exchange_rate: "7.70160" - - id: CRC - symbol: ₡ - html_symbol: '₡' - exchange_rate: "659.17000" - - id: CZK - symbol: Kč - html_symbol: CZK - exchange_rate: "25.80600" - - id: DKK - symbol: kr. - html_symbol: kr. - exchange_rate: "7.46750" - - id: DOP - symbol: DOP - html_symbol: DOP - exchange_rate: "56.50000" - - id: DZD - symbol: DZD - html_symbol: DZD - exchange_rate: "134.28300" - - id: EGP - symbol: EGP - html_symbol: EGP - exchange_rate: "18.98030" - - id: EUR - symbol: € - html_symbol: '€' - exchange_rate: "1.00000" - - id: GBP - symbol: £ - html_symbol: '£' - exchange_rate: "0.88096" - - id: GHS - symbol: GHS - html_symbol: GHS - exchange_rate: "5.45834" - - id: HKD - symbol: HK$ - html_symbol: HK$ - exchange_rate: "8.75450" - - id: HRK - symbol: HRK - html_symbol: HRK - exchange_rate: "7.42640" - - id: HUF - symbol: HUF - html_symbol: HUF - exchange_rate: "326.24000" - - id: ILS - symbol: ₪ - html_symbol: '₪' - exchange_rate: "4.02680" - - id: INR - symbol: INR - html_symbol: INR - exchange_rate: "77.76050" - - id: ISK - symbol: ISK - html_symbol: ISK - exchange_rate: "135.94600" - - id: JPY - symbol: ¥ - html_symbol: '¥' - exchange_rate: "123.05800" - - id: KRW - symbol: KRW - html_symbol: KRW - exchange_rate: "1329.20000" - - id: MAD - symbol: MAD - html_symbol: MAD - exchange_rate: "10.78900" - - id: MKD - symbol: MKD - html_symbol: MKD - exchange_rate: "61.36700" - - id: MXN - symbol: Mex$ - html_symbol: Mex$ - exchange_rate: "21.17900" - - id: MYR - symbol: MYR - html_symbol: MYR - exchange_rate: "4.67310" - - id: NGN - symbol: NGN - html_symbol: NGN - exchange_rate: "405.17000" - - id: NIS - symbol: NIS - html_symbol: NIS - exchange_rate: "4020.00000" - - id: NOK - symbol: kr - html_symbol: kr - exchange_rate: "9.76270" - - id: NZD - symbol: NZD - html_symbol: NZD - exchange_rate: "1.71687" - - id: OMR - symbol: OMR - html_symbol: OMR - exchange_rate: "0.42950" - - id: PEN - symbol: PEN - html_symbol: PEN - exchange_rate: "3.73400" - - id: PLN - symbol: zł - html_symbol: PLN - exchange_rate: "4.30330" - - id: QAR - symbol: QAR - html_symbol: QAR - exchange_rate: "4.06270" - - id: RON - symbol: RON - html_symbol: RON - exchange_rate: "4.66891" - - id: RSD - symbol: RSD - html_symbol: RSD - exchange_rate: "117.39414" - - id: RUB - symbol: ₽ - html_symbol: '₽' - exchange_rate: "71.70370" - - id: SAR - symbol: SAR - html_symbol: SAR - exchange_rate: "4.18520" - - id: SEK - symbol: SEK - html_symbol: SEK - exchange_rate: "10.73374" - - id: SGD - symbol: SGD - html_symbol: SGD - exchange_rate: "1.53800" - - id: THB - symbol: THB - html_symbol: THB - exchange_rate: "35.56400" - - id: TND - symbol: TND - html_symbol: TND - exchange_rate: "3.34010" - - id: TRY - symbol: TRY - html_symbol: TRY - exchange_rate: "6.81590" - - id: TWD - symbol: TWD - html_symbol: TWD - exchange_rate: "35.14200" - - id: UAH - symbol: UAH - html_symbol: UAH - exchange_rate: "29.31490" - - id: USD - symbol: $ - html_symbol: '$' - exchange_rate: "1.11570" - - id: VND - symbol: ₫ - html_symbol: '₫' - exchange_rate: "26100.00000" - - id: ZAR - symbol: R - html_symbol: R - exchange_rate: "16.03080" - templates_list: - - id: 10 - name: New Standard S1 - - id: 11 - name: New Standard S2 - - id: 12 - name: New Professionisti P1 - - id: 13 - name: New Buste - - id: 14 - name: New Professionisti P2 - - id: 101 - name: Clear lines - - id: 106 - name: Minimalist - - id: 107 - name: Squared - - id: 108 - name: Modern - - id: 150 - name: Bright Colors - - id: 681 - name: Modern Spese di trasporto - - id: 682 - name: Modern ciao - - id: 2821 - name: Light Smoke - - id: 2823 - name: IDEAVERDE - - id: 2824 - name: LS problem - - id: 2825 - name: Light Smoke 2nd CASSA - - id: 2826 - name: LIGHT NUOVO - - id: 2827 - name: STAND - dn_templates_list: - - id: 660 - name: DDT 1 - - id: 680 - name: DDT Prova - ai_templates_list: - - id: 663 - name: FT Accompagnatoria 1 - payment_methods_list: - - id: 555 - name: Rimessa diretta - is_default: false - details: [] - bank_iban: null - bank_name: null - bank_beneficiary: null - ei_payment_method: null - - id: 123321 - name: Bonifico bancario - is_default: true - details: - - title: Banca - description: Indesa - - title: IBAN - description: IT17QA12345600000003498936 - - title: Intestatario - description: Mario Rossi - bank_iban: IT17QA12345600000003498936 - bank_name: Indesa - bank_beneficiary: Mario Rossi - ei_payment_method: MP05 - payment_accounts_list: - - id: 21 - name: Indesa - Carta conto - - id: 287 - name: Bonifico_Bancario - vat_types_list: - - id: 1409 - value: 15 - description: "ALIQUOTA #1234#" - ei_type: "0" - is_disabled: false - - id: 1332 - value: 0 - description: Non imp. art. 17 c. 6 lett. A TER DPR 633/72 - ei_type: "0" - is_disabled: false - measures_list: - - pezzi - - kg - - litri - - ore - - giorni - - km - - mesi - languages_list: - - code: it - name: Italiano - - code: en - name: Inglese - - code: de - name: Tedesco - - code: fr - name: Francese - - code: es - name: Spagnolo - - code: pt - name: Portoghese - - code: el - name: Greco - - code: pl - name: Polacco - - code: sl - name: Sloveno - ei_structure: - FatturaElettronicaHeader: - idx: 1 - children: - DatiTrasmissione: - idx: 1 - children: - ContattiTrasmittente: - idx: 5 - children: - Telefono: - idx: 1 - type: text - length: - - 5 - - 12 - Email: - idx: 2 - type: text - length: - - 7 - - 256 - CedentePrestatore: - idx: 2 - children: - DatiAnagrafici: - idx: 1 - children: - Anagrafica: - idx: 3 - children: - CodEORI: - idx: 5 - type: text - length: - - 13 - - 17 - AlboProfessionale: - idx: 4 - type: text - length: - - 1 - - 60 - ProvinciaAlbo: - idx: 5 - type: text - length: 2 - NumeroIscrizioneAlbo: - idx: 6 - type: text - length: - - 1 - - 60 - DataIscrizioneAlbo: - idx: 7 - type: date - length: 10 - Sede: - idx: 2 - children: - NumeroCivico: - idx: 2 - type: text - length: - - 1 - - 8 - StabileOrganizzazione: - idx: 3 - children: - Indirizzo: - idx: 1 - type: text - length: - - 1 - - 60 - NumeroCivico: - idx: 2 - type: text - length: - - 1 - - 8 - CAP: - idx: 3 - type: text - length: 5 - Comune: - idx: 4 - type: text - length: - - 1 - - 60 - Provincia: - idx: 5 - type: text - length: 2 - Nazione: - idx: 6 - type: text - length: 2 - Contatti: - idx: 5 - children: - Telefono: - idx: 1 - type: text - length: - - 5 - - 12 - Fax: - idx: 2 - type: text - length: - - 5 - - 12 - Email: - idx: 3 - type: text - length: - - 7 - - 256 - RiferimentoAmministrazione: - idx: 6 - type: text - length: - - 1 - - 20 - CessionarioCommittente: - idx: 4 - children: - DatiAnagrafici: - idx: 1 - children: - Anagrafica: - idx: 3 - children: - Nome: - idx: 2 - type: text - length: - - 2 - - 50 - Cognome: - idx: 3 - type: text - length: - - 2 - - 50 - Titolo: - idx: 4 - type: text - length: - - 2 - - 10 - CodEORI: - idx: 5 - type: text - length: - - 13 - - 17 - StabileOrganizzazione: - idx: 3 - children: - Indirizzo: - idx: 1 - type: text - length: - - 1 - - 60 - NumeroCivico: - idx: 2 - type: text - length: - - 1 - - 8 - CAP: - idx: 3 - type: text - length: 5 - Comune: - idx: 4 - type: text - length: - - 1 - - 60 - Provincia: - idx: 5 - type: text - length: 2 - Nazione: - idx: 6 - type: text - length: 2 - RappresentanteFiscale: - idx: 4 - children: - IdFiscaleIVA: - idx: 1 - children: - IdPaese: - idx: 1 - type: text - length: 2 - IdCodice: - idx: 2 - type: text - length: - - 1 - - 28 - Denominazione: - idx: 2 - type: text - length: - - 1 - - 80 - Nome: - idx: 3 - type: text - length: - - 1 - - 60 - Cognome: - idx: 4 - type: text - length: - - 1 - - 60 - FatturaElettronicaBody: - idx: 2 - children: - DatiGenerali: - idx: 1 - children: - DatiGeneraliDocumento: - idx: 1 - children: - TipoDocumento: - idx: 1 - type: select - options: - TD01: TD01 - fattura - TD02: TD02 - acconto/anticipo su fattura - TD03: TD03 - acconto/anticipo su parcella - TD04: TD04 - nota di credito - TD05: TD05 - nota di debito - TD06: TD06 - parcella - TD16: TD16 - integrazione fattura reverse charge - interno - TD17: TD17 - integrazione/autofattura per acquisto - servizi dall'estero - TD18: TD18 - integrazione per acquisto di beni - intracomunitari - TD19: TD19 - integrazione/autofattura per acquisto - di beni ex art.17 c.2 DPR 633/72 - TD20: TD20 - autofattura per regolarizzazione - e integrazione delle fatture (art.6 c.8 d.lgs. - 471/97 o art.46 c.5 D.L. 331/93) - TD21: TD21 - autofattura per splafonamento - TD22: TD22 - estrazione beni da Deposito IVA - TD23: TD23 - estrazione beni da Deposito IVA con - versamento dell'IVA - TD24: "TD24 - fattura differita di cui all'art.\ - \ 21, comma 4, lett. a)" - TD25: "TD25 - fattura differita di cui all'art.\ - \ 21, comma 4, terzo periodo, lett. b)" - TD26: TD26 - cessione di beni ammortizzabili e - per passaggi interni (ex art.36 DPR 633/72) - TD27: TD27 - fattura per autoconsumo o per cessioni - gratuite senza rivalsa - Arrotondamento: - idx: 10 - type: text - format: decimal - length: - - 4 - - 15 - Causale: - idx: 11 - array: true - type: text - length: - - 1 - - 200 - Art73: - idx: 12 - type: select - options: - SI: Si - DatiOrdineAcquisto: - idx: 2 - array: true - children: - RiferimentoNumeroLinea: - idx: 1 - type: text - array: true - length: - - 1 - - 4 - IdDocumento: - idx: 2 - type: text - length: - - 1 - - 20 - Data: - idx: 3 - type: date - length: 10 - NumItem: - idx: 4 - type: text - length: - - 1 - - 20 - CodiceCommessaConvenzione: - idx: 5 - type: text - length: - - 1 - - 100 - CodiceCUP: - idx: 6 - type: text - length: - - 1 - - 15 - CodiceCIG: - idx: 7 - type: text - length: - - 1 - - 15 - DatiContratto: - idx: 3 - array: true - children: - RiferimentoNumeroLinea: - idx: 1 - type: text - array: true - length: - - 1 - - 4 - IdDocumento: - idx: 2 - type: text - length: - - 1 - - 20 - Data: - idx: 3 - type: date - length: 10 - NumItem: - idx: 4 - type: text - length: - - 1 - - 20 - CodiceCommessaConvenzione: - idx: 5 - type: text - length: - - 1 - - 100 - CodiceCUP: - idx: 6 - type: text - length: - - 1 - - 15 - CodiceCIG: - idx: 7 - type: text - length: - - 1 - - 15 - DatiConvenzione: - idx: 4 - array: true - children: - RiferimentoNumeroLinea: - idx: 1 - type: text - array: true - length: - - 1 - - 4 - IdDocumento: - idx: 2 - type: text - length: - - 1 - - 20 - Data: - idx: 3 - type: date - length: 10 - NumItem: - idx: 4 - type: text - length: - - 1 - - 20 - CodiceCommessaConvenzione: - idx: 5 - type: text - length: - - 1 - - 100 - CodiceCUP: - idx: 6 - type: text - length: - - 1 - - 15 - CodiceCIG: - idx: 7 - type: text - length: - - 1 - - 15 - DatiRicezione: - idx: 5 - array: true - children: - RiferimentoNumeroLinea: - idx: 1 - type: text - array: true - length: - - 1 - - 4 - IdDocumento: - idx: 2 - type: text - length: - - 1 - - 20 - Data: - idx: 3 - type: date - length: 10 - NumItem: - idx: 4 - type: text - length: - - 1 - - 20 - CodiceCommessaConvenzione: - idx: 5 - type: text - length: - - 1 - - 100 - CodiceCUP: - idx: 6 - type: text - length: - - 1 - - 15 - CodiceCIG: - idx: 7 - type: text - length: - - 1 - - 15 - DatiFattureCollegate: - idx: 6 - array: true - children: - RiferimentoNumeroLinea: - idx: 1 - type: text - array: true - length: - - 1 - - 4 - IdDocumento: - idx: 2 - type: text - length: - - 1 - - 20 - Data: - idx: 3 - type: date - length: 10 - NumItem: - idx: 4 - type: text - length: - - 1 - - 20 - CodiceCommessaConvenzione: - idx: 5 - type: text - length: - - 1 - - 100 - CodiceCUP: - idx: 6 - type: text - length: - - 1 - - 15 - CodiceCIG: - idx: 7 - type: text - length: - - 1 - - 15 - DatiSAL: - idx: 7 - array: true - children: - RiferimentoFase: - idx: 1 - type: text - length: - - 1 - - 3 - DatiDDT: - idx: 8 - array: true - children: - NumeroDDT: - idx: 1 - type: text - length: - - 1 - - 20 - DataDDT: - idx: 2 - type: date - length: 10 - RiferimentoNumeroLinea: - idx: 3 - type: text - array: true - length: - - 1 - - 4 - DatiTrasporto: - idx: 9 - children: - DatiAnagraficiVettore: - idx: 1 - children: - IdFiscaleIVA: - idx: 1 - children: - IdPaese: - idx: 1 - type: text - length: 2 - IdCodice: - idx: 2 - type: text - length: - - 1 - - 28 - CodiceFiscale: - idx: 2 - type: text - length: - - 11 - - 16 - Anagrafica: - idx: 3 - children: - Denominazione: - idx: 1 - type: text - length: - - 1 - - 80 - Nome: - idx: 2 - type: text - length: - - 1 - - 60 - Cognome: - idx: 3 - type: text - length: - - 1 - - 60 - Titolo: - idx: 4 - type: text - length: - - 2 - - 10 - CodEORI: - idx: 5 - type: text - length: - - 13 - - 17 - NumeroLicenzaGuida: - idx: 4 - type: text - length: - - 1 - - 20 - MezzoTrasporto: - idx: 2 - type: text - length: - - 1 - - 80 - CausaleTrasporto: - idx: 3 - type: text - length: - - 1 - - 100 - NumeroColli: - idx: 4 - type: text - length: - - 1 - - 4 - DataInizioTrasporto: - idx: 10 - type: date - length: 10 - TipoResa: - idx: 11 - type: text - length: 3 - IndirizzoResa: - idx: 12 - children: - Indirizzo: - idx: 1 - type: text - length: - - 1 - - 60 - NumeroCivico: - idx: 2 - type: text - length: - - 1 - - 8 - CAP: - idx: 3 - type: text - length: 5 - Comune: - idx: 4 - type: text - length: - - 1 - - 60 - Provincia: - idx: 5 - type: text - length: 2 - Nazione: - idx: 6 - type: text - length: 2 - DatiPagamento: - idx: "4" - children: - CondizioniPagamento: - idx: 1 - type: select - options: - TP01: Pagamento a rate - TP02: Pagamento completo - TP03: Anticipo - ei_item_structure: - DettaglioLinee: - idx: 2.2.1 - children: - NumeroLinea: - idx: 1 - type: text - length: - - 1 - - 4 - TipoCessionePrestazione: - idx: 2 - type: select - options: - SC: sconto - PR: premio - AB: abbuono - AC: spesa accessoria - CodiceArticolo: - idx: 3 - array: true - children: - CodiceTipo: - idx: 1 - type: text - length: - - 1 - - 35 - CodiceValore: - idx: 2 - type: text - length: - - 1 - - 35 - DataInizioPeriodo: - idx: 7 - type: date - length: 10 - DataFinePeriodo: - idx: 8 - type: date - length: 10 - RiferimentoAmministrazione: - idx: 15 - type: text - length: - - 1 - - 20 - AltriDatiGestionali: - idx: 16 - array: true - children: - TipoDato: - idx: 1 - type: text - length: - - 1 - - 10 - RiferimentoTesto: - idx: 2 - type: text - length: - - 1 - - 60 - RiferimentoNumero: - idx: 3 - type: text - format: decimal - length: - - 4 - - 21 - RiferimentoData: - idx: 4 - type: date - length: 10 - ei_payment_structure: - DettaglioPagamento: - idx: 2.4.2 - children: - DataRiferimentoTerminiPagamento: - idx: 3 - type: date - length: 10 - GiorniTerminiPagamento: - idx: 4 - type: text - length: - - 1 - - 3 - DataScadenzaPagamento: - idx: 5 - type: date - length: 10 - ABI: - idx: 14 - type: text - length: 5 - CAB: - idx: 15 - type: text - length: 5 - BIC: - idx: 16 - type: text - length: - - 8 - - 11 - DataDecorrenzaPenale: - idx: 20 - type: date - length: 10 - documents_type_info: - TD01: - self_own_invoice: false - self_supplier_invoice: true - description: TD01 - fattura - description_self_invoice: TD01 - fattura in nome e per conto - TD02: - self_own_invoice: true - self_supplier_invoice: true - description: TD02 - acconto/anticipo su fattura - TD03: - self_own_invoice: true - self_supplier_invoice: true - description: TD03 - acconto/anticipo su parcella - TD04: - self_own_invoice: true - self_supplier_invoice: true - description: TD04 - nota di credito - TD05: - self_own_invoice: true - self_supplier_invoice: true - description: TD05 - nota di debito - TD06: - self_own_invoice: true - self_supplier_invoice: true - description: TD06 - parcella - TD16: - self_own_invoice: false - self_supplier_invoice: true - description: TD16 - integrazione fattura reverse charge interno - TD17: - self_own_invoice: false - self_supplier_invoice: true - description: TD17 - integrazione/autofattura per acquisto servizi - dall'estero - TD18: - self_own_invoice: false - self_supplier_invoice: true - description: TD18 - integrazione per acquisto di beni intracomunitari - TD19: - self_own_invoice: false - self_supplier_invoice: true - description: TD19 - integrazione/autofattura per acquisto di - beni ex art.17 c.2 DPR 633/72 - TD20: - self_own_invoice: false - self_supplier_invoice: true - description: TD20 - autofattura per regolarizzazione e integrazione - delle fatture (art.6 c.8 d.lgs. 471/97 o art.46 c.5 D.L. 331/93) - TD21: - self_own_invoice: true - self_supplier_invoice: false - description: TD21 - autofattura per splafonamento - TD22: - self_own_invoice: false - self_supplier_invoice: true - description: TD22 - estrazione beni da Deposito IVA - TD23: - self_own_invoice: false - self_supplier_invoice: true - description: TD23 - estrazione beni da Deposito IVA con versamento - dell'IVA - TD24: - self_own_invoice: true - self_supplier_invoice: true - description: "TD24 - fattura differita di cui all'art. 21, comma\ - \ 4, lett. a)" - TD25: - self_own_invoice: true - self_supplier_invoice: true - description: "TD25 - fattura differita di cui all'art. 21, comma\ - \ 4, terzo periodo, lett. b)" - TD26: - self_own_invoice: true - self_supplier_invoice: true - description: TD26 - cessione di beni ammortizzabili e per passaggi - interni (ex art.36 DPR 633/72) - TD27: - self_own_invoice: true - self_supplier_invoice: true - description: TD27 - fattura per autoconsumo o per cessioni gratuite - senza rivalsa - ei_regime_info: - RF01: Ordinario - RF02: "Contribuenti minimi (art.1, c.96-117, L. 244/07)" - RF04: "Agricoltura e attività connesse e pesca (artt.34 e 34-bis,\ - \ DPR 633/72)" - RF05: "Vendita sali e tabacchi (art.74, c.1, DPR. 633/72)" - RF06: "Commercio fiammiferi (art.74, c.1, DPR 633/72)" - RF07: "Editoria (art.74, c.1, DPR 633/72)" - RF08: "Gestione servizi telefonia pubblica (art.74, c.1, DPR 633/72)" - RF09: "Rivendita documenti di trasporto pubblico e di sosta (art.74,\ - \ c.1, DPR 633/72)" - RF10: "Intrattenimenti, giochi e altre attività di cui alla tariffa\ - \ allegata al DPR 640/72 (art.74, c.6, DPR 633/72)" - RF11: "Agenzie viaggi e turismo (art.74-ter, DPR 633/72)" - RF12: "Agriturismo (art.5, c.2, L. 413/91)" - RF13: "Vendite a domicilio (art.25-bis, c.6, DPR 600/73)" - RF14: "Rivendita beni usati, oggetti d’arte, d’antiquariato o\ - \ da collezione (art.36, DL 41/95)" - RF15: "Agenzie di vendite all’asta di oggetti d'arte, antiquariato\ - \ o da collezione (art.40-bis, DL 41/95)" - RF16: "IVA per cassa P.A. (art.6, c.5, DPR 633/72)" - RF17: "IVA per cassa (art. 32-bis, DL 83/2012)" - RF18: Altro - RF19: "Regime forfettario (art.1, c.54-89, L. 190/2014)" - ei_cassa_type_info: - ? "" - : Nessuna cassa previdenziale - TC01: Cassa nazionale previdenza e assistenza avvocati e procuratori - legali - TC02: Cassa previdenza dottori commercialisti - TC03: Cassa previdenza e assistenza geometri - TC04: Cassa nazionale previdenza e assistenza ingegneri e architetti - liberi professionisti - TC05: Cassa nazionale del notariato - TC06: Cassa nazionale previdenza e assistenza ragionieri e periti - commerciali - TC07: Ente nazionale assistenza agenti e rappresentanti di commercio - (ENASARCO) - TC08: Ente nazionale previdenza e assistenza consulenti del lavoro - (ENPACL) - TC09: Ente nazionale previdenza e assistenza medici (ENPAM) - TC10: Ente nazionale previdenza e assistenza farmacisti (ENPAF) - TC11: Ente nazionale previdenza e assistenza veterinari (ENPAV) - TC12: Ente nazionale previdenza e assistenza impiegati dell'agricoltura - (ENPAIA) - TC13: Fondo previdenza impiegati imprese di spedizione e agenzie - marittime - TC14: Istituto nazionale previdenza giornalisti italiani (INPGI) - TC15: Opera nazionale assistenza orfani sanitari italiani (ONAOSI) - TC16: Cassa autonoma assistenza integrativa giornalisti italiani - (CASAGIT) - TC17: Ente previdenza periti industriali e periti industriali - laureati (EPPI) - TC18: Ente previdenza e assistenza pluricategoriale (EPAP) - TC19: Ente nazionale previdenza e assistenza biologi (ENPAB) - TC20: Ente nazionale previdenza e assistenza professione infermieristica - (ENPAPI) - TC21: Ente nazionale previdenza e assistenza psicologi (ENPAP) - TC22: INPS - ei_causal_payment_info: - ? "" - : Nessuna ritenuta - A: Prestazioni di lavoro autonomo rientranti nell'esercizio di - arte o professione abituale - B: "Utilizzazione economica, da parte dell'autore o dell'inventore,\ - \ di opere dell'ingegno, di brevetti industriali e di processi,\ - \ formule o informazioni relativi ad esperienze acquisite in\ - \ campo industriale, commerciale o scientifico" - C: "Utili derivanti da contratti di associazione in partecipazione\ - \ e da contratti di cointeressenza, quando l'apporto è costituito\ - \ esclusivamente dalla prestazione di lavoro" - D: Utili spettanti ai soci promotori ed ai soci fondatori delle - società di capitali - E: Levata di protesti cambiari da parte dei segretari comunali - G: Indennità corrisposte per la cessazione di attività sportiva - professionale - H: "Indennità corrisposte per la cessazione dei rapporti di agenzia\ - \ delle persone fisiche e delle società di persone con esclusione\ - \ delle somme maturate entro il 31 dicembre 2003, già imputate\ - \ per competenza e tassate come reddito d'impresa" - I: Indennità corrisposte per la cessazione da funzioni notarili - L: "Redditi derivanti dall'utilizzazione economica di opere dell'ingegno,\ - \ di brevetti industriali e di processi, formule e informazioni\ - \ relativi a esperienze acquisite in campo industriale, commerciale\ - \ o scientifico, che sono percepiti dagli aventi causa a titolo\ - \ gratuito (ad es. eredi e legatari dell'autore e inventore)" - L1: "Redditi derivanti dall'utilizzazione economica di opere dell'ingegno,\ - \ di brevetti industriali e di processi, formule e informazioni\ - \ relativi a esperienze acquisite in campo industriale, commerciale\ - \ o scientifico, che sono percepiti da soggetti che abbiano\ - \ acquistato a titolo oneroso i diritti alla loro utilizzazione" - M: Prestazioni di lavoro autonomo non esercitate abitualmente - M1: "Redditi derivanti dall'assunzione di obblighi di fare, di\ - \ non fare o permettere" - M2: Prestazioni di lavoro autonomo non esercitate abitualmente - per le quali sussiste l'obbligo di iscrizione alla Gestione - Separata ENPAPI - "N": "Indennità di trasferta, rimborso forfettario di spese, premi\ - \ e compensi erogati: \x96 nell'esercizio diretto di attività\ - \ sportive dilettantistiche; in relazione a rapporti di collaborazione\ - \ coordinata e continuativa di carattere amministrativo-gestionale\ - \ di natura non professionale resi a favore di società e associazioni\ - \ sportive dilettantistiche e di cori, bande e filodrammatiche\ - \ da parte del direttore e dei collaboratori tecnici;" - O: "Prestazioni di lavoro autonomo non esercitate abitualmente,\ - \ obblighi di fare, di non fare o permettere, per le quali non\ - \ sussiste l'obbligo di iscrizione alla gestione separata (Circ.\ - \ INPS n. 104/2001)" - O1: "Redditi derivanti dall’assunzione di obblighi di fare, di\ - \ non fare o permettere, per le quali non sussiste l'obbligo\ - \ di iscrizione alla gestione separata (Circ. INPS n. 104/2001)" - P: "compensi corrisposti a soggetti non residenti privi di stabile\ - \ organizzazione per l'uso o la concessione in uso di attrezzature\ - \ industriali, commerciali o scientifiche che si trovano nel\ - \ territorio dello Stato ovvero a società svizzere o stabili\ - \ organizzazioni di società svizzere che possiedono i requisiti\ - \ di cui all'art. 15, comma 2 dell'Accordo tra la Comunità europea\ - \ e la Confederazione svizzera del 26 ottobre 2004 (pubblicato\ - \ in G.U.C.E. del 29 dicembre 2004 n. L385/30)" - Q: Provvigioni corrisposte ad agente o rappresentante di commercio - monomandatario - R: Provvigioni corrisposte ad agente o rappresentante di commercio - plurimandatario - S: Provvigioni corrisposte a commissionario - T: Provvigioni corrisposte a mediatore - U: Provvigioni corrisposte a procacciatore di affari - V: "Provvigioni corrisposte a incaricato per le vendite a domicilio;\ - \ provvigioni corrisposte a incaricato per la vendita porta\ - \ a porta e per la vendita ambulante di giornali quotidiani\ - \ e periodici (L. 25 febbraio 1987, n. 67)" - V1: "Redditi derivanti da attività commerciali non esercitate\ - \ abitualmente (ad esempio, provvigioni corrisposte per prestazioni\ - \ occasionali ad agente o rappresentante di commercio, mediatore,\ - \ procacciatore d'affari)" - W: Corrispettivi erogati nell'anno corrente per prestazioni relative - a contratti d'appalto cui si sono resi applicabili le disposizioni - contenute nell'art. 25-ter del D.P.R. n. 600 del 29 settembre - 1973 - X: "Canoni corrisposti nel 2004 da società o enti residenti ovvero\ - \ da stabili organizzazioni di società estere di cui all'art.\ - \ 26-quater, comma 1, lett. a) e b) del D.P.R. 600 del 29 settembre\ - \ 1973, a società o stabili organizzazioni di società, situate\ - \ in altro stato membro dell'Unione Europea in presenza dei\ - \ requisiti di cui al citato art. 26-quater, del D.P.R. 600\ - \ del 29 settembre 1973, per i quali è stato effettuato, nell'anno\ - \ 2006, il rimborso della ritenuta ai sensi dell'art. 4 del\ - \ D.Lgs. 30 maggio 2005 n. 143" - "Y": "Canoni corrisposti dal 1° gennaio 2005 al 26 luglio 2005\ - \ da società o enti residenti ovvero da stabili organizzazioni\ - \ di società estere di cui all'art. 26-quater, comma 1, lett.\ - \ a) e b) del D.P.R. n. 600 del 29 settembre 1973, asocietà\ - \ o stabili organizzazioni di società, situate in altro stato\ - \ membro dell'Unione Europea in presenza dei requisiti di cui\ - \ al citato art. 26-quater, del D.P.R. n. 600 del 29 settembre\ - \ 1973, per i quali è stato effettuato, nell'anno 2006, il rimborso\ - \ della ritenuta ai sensi dell'art. 4 del D.Lgs. 30 maggio 2005\ - \ n. 143" - ZO: Titolo diverso dai precedenti - ei_withholding_type_info: - ? "" - : Nessuna ritenuta - RT01: Ritenuta di acconto persone fisiche - RT02: Ritenuta di acconto persone giuridiche - RT03: Contributo INPS - RT04: Contributo ENASARCO - RT05: Contributo ENPAM - RT06: Altro contributo previdenziale - use_e_invoice: true - price_lists: - - id: "10" - name: Listino 1 - prices_type: net - is_default: true - is_archived: false - valid_from: 2021-08-01 - valid_to: 2025-09-10 - type: sell - schema: - $ref: "#/components/schemas/GetIssuedDocumentPreCreateInfoResponse" - description: Pre-create info. - GetEmailDataResponse: - content: - application/json: - examples: - example-1: - value: - data: - recipient_email: mary.red@example.com - default_sender_email: - id: 0 - email: no-reply@fattureincloud.it - sender_emails_list: - - id: 0 - email: no-reply@fattureincloud.it - - id: 888 - email: mariorossi@fattureincloud.it - cc_email: m.rossi@exxample.com - subject: Nostra pro forma nr. 1 - body: "Gentile Mario Rossi,
per vedere la nostra pro forma di\ - \ o per scaricarne una copia in versione PDF prema sul bottone\ - \ sottoastante.

{{allegati}}

Cordiali saluti,
Mario\ - \ Rossi" - document_exists: true - delivery_note_exists: false - attachment_exists: false - accompanying_invoice_exists: false - schema: - $ref: "#/components/schemas/GetEmailDataResponse" - description: EmailData - SendEInvoiceResponse: - content: - application/json: - examples: - example-1: - value: - data: - name: CARICATO - date: 2021-08-23 10:38:03 - schema: - $ref: "#/components/schemas/SendEInvoiceResponse" - description: Example response - VerifyEInvoiceXmlResponse: - content: - application/json: - examples: - example-1: - value: - data: - success: true - schema: - $ref: "#/components/schemas/VerifyEInvoiceXmlResponse" - description: Example response - VerifyEInvoiceXmlErrorResponse: - content: - application/json: - schema: - $ref: "#/components/schemas/VerifyEInvoiceXmlErrorResponse" - description: Example response - ListReceivedDocumentsResponse: - content: - application/json: - examples: - example-1: - value: - current_page: 1 - data: - - id: 12345 - type: expense - description: Soggiorno di lavoro - amortization: 1 - rc_center: "" - invoice_number: "" - is_marked: false - is_detailed: false - e_invoice: false - created_at: 2021-08-15 14:02:02 - updated_at: 2021-08-15 14:02:02 - entity: - id: 111 - name: Hotel Rubino Palace - date: 2021-08-15 - next_due_date: 2021-08-15 - currency: - id: EUR - exchange_rate: "1.00000" - symbol: € - amount_net: 592 - amount_vat: 0 - amount_gross: 592 - amount_withholding_tax: 0 - amount_other_withholding_tax: 0 - tax_deductibility: 50 - vat_deductibility: 100 - items_list: null - payments_list: - - amount: 592 - due_date: 2021-08-15 - paid_date: 2021-08-15 - id: 777 - payment_terms: - days: 0 - type: standard - status: paid - payment_account: - id: 222 - name: Contanti - virtual: false - attachment_url: spesa_ger5i783t45hu6ti.pdf - attachment_preview_url: null - extra_data: null - - id: 12346 - type: expense - description: Assicurazione RCA - iamortization: 1 - rc_center: "" - invoice_number: "" - is_marked: false - is_detailed: false - e_invoice: false - created_at: 2021-08-09 14:02:02 - updated_at: 2021-08-09 14:02:02 - entity: - id: 89 - name: Indesa Assicurazioni S.P.A. - date: 2021-08-08 - next_due_date: 2021-08-08 - currency: - id: EUR - exchange_rate: "1.00000" - symbol: € - amount_net: 645.69 - amount_vat: 0 - amount_gross: 645.69 - amount_withholding_tax: 0 - amount_other_withholding_tax: 0 - tax_deductibility: 50 - vat_deductibility: 100 - items_list: null - payments_list: - - amount: 645.69 - due_date: 2021-08-08 - paid_date: 2021-08-08 - id: 999 - payment_terms: - days: 0 - type: standard - status: paid - payment_account: - id: 333 - name: Carta conto - virtual: false - attachment_url: spesa_gjsd567e5hu6ti.pdf - attachment_preview_url: null - extra_data: null - first_page_url: page=1 - from: 1 - last_page: 2 - last_page_url: page=2 - next_page_url: page=2 - path: received_documents - per_page: 50 - prev_page_url: null - to: 50 - total: 123 - schema: - $ref: "#/components/schemas/ListReceivedDocumentsResponse" - description: Results list. - CreateReceivedDocumentResponse: - content: - application/json: - examples: - example-1: - value: - data: - id: 12345 - type: expense - description: Soggiorno di lavoro - amortization: 1 - rc_center: "" - invoice_number: "" - is_marked: false - is_detailed: false - e_invoice: false - created_at: 2021-08-15 14:02:02 - updated_at: 2021-08-15 14:02:02 - entity: - id: 111 - name: Hotel Rubino Palace - date: 2021-08-15 - next_due_date: 2021-08-15 - currency: - id: EUR - exchange_rate: "1.00000" - symbol: € - amount_net: 592 - amount_vat: 0 - amount_gross: 592 - amount_withholding_tax: 0 - amount_other_withholding_tax: 0 - tax_deductibility: 50 - vat_deductibility: 100 - items_list: null - payments_list: - - amount: 592 - due_date: 2021-08-15 - paid_date: 2021-08-15 - id: 777 - payment_terms: - days: 0 - type: standard - status: paid - payment_account: - id: 222 - name: Contanti - virtual: false - attachment_url: spesa_ger5i783t45hu6ti.pdf - attachment_preview_url: null - extra_data: null - schema: - $ref: "#/components/schemas/CreateReceivedDocumentResponse" - description: Document created. - GetReceivedDocumentResponse: - content: - application/json: - examples: - example-1: - value: - data: - id: 12345 - type: expense - description: Soggiorno di lavoro - amortization: 1 - rc_center: "" - invoice_number: "" - is_marked: false - is_detailed: false - e_invoice: false - created_at: 2021-08-15 14:02:02 - updated_at: 2021-08-15 14:02:02 - entity: - id: 111 - name: Hotel Rubino Palace - date: 2021-08-15 - next_due_date: 2021-08-15 - currency: - id: EUR - exchange_rate: "1.00000" - symbol: € - amount_net: 592 - amount_vat: 0 - amount_gross: 592 - amount_withholding_tax: 0 - amount_other_withholding_tax: 0 - tax_deductibility: 50 - vat_deductibility: 100 - items_list: null - payments_list: - - amount: 592 - due_date: 2021-08-15 - paid_date: 2021-08-15 - id: 777 - payment_terms: - days: 0 - type: standard - status: paid - payment_account: - id: 222 - name: Contanti - virtual: false - attachment_url: spesa_ger5i783t45hu6ti.pdf - attachment_preview_url: null - extra_data: null - schema: - $ref: "#/components/schemas/GetReceivedDocumentResponse" - description: Document details. - ModifyReceivedDocumentResponse: - content: - application/json: - examples: - example-1: - value: - data: - id: 12345 - type: expense - description: Soggiorno di lavoro - amortization: 1 - rc_center: "" - invoice_number: "" - is_marked: false - is_detailed: false - e_invoice: false - created_at: 2021-08-15 14:02:02 - updated_at: 2021-08-15 14:02:02 - entity: - id: 111 - name: Hotel Rubino Palace - date: 2021-08-15 - next_due_date: 2021-08-15 - currency: - id: EUR - exchange_rate: "1.00000" - symbol: € - amount_net: 592 - amount_vat: 0 - amount_gross: 592 - amount_withholding_tax: 0 - amount_other_withholding_tax: 0 - tax_deductibility: 50 - vat_deductibility: 100 - items_list: null - payments_list: - - amount: 592 - due_date: 2021-08-15 - paid_date: 2021-08-15 - id: 777 - payment_terms: - days: 0 - type: standard - status: paid - payment_account: - id: 222 - name: Contanti - virtual: false - attachment_url: spesa_ger5i783t45hu6ti.pdf - attachment_preview_url: null - extra_data: null - schema: - $ref: "#/components/schemas/ModifyReceivedDocumentResponse" - description: Modified document. - GetNewReceivedDocumentTotalsResponse: - content: - application/json: - examples: - example-1: - value: - data: - amount_net: 592 - amount_vat: 10 - amount_gross: 602 - amount_withholding_tax: 0 - amount_other_withholding_tax: 0 - amount_due: 602 - payments_sum: 592 - schema: - $ref: "#/components/schemas/GetNewReceivedDocumentTotalsResponse" - description: Document Totals. - GetExistingReceivedDocumentTotalsResponse: - content: - application/json: - examples: - example-1: - value: - data: - amount_net: 592 - amount_vat: 20 - amount_gross: 612 - amount_withholding_tax: 0 - amount_other_withholding_tax: 0 - amount_due: 612 - payments_sum: 592 - schema: - $ref: "#/components/schemas/GetExistingReceivedDocumentTotalsResponse" - description: Document Totals. - UploadReceivedDocumentAttachmentResponse: - content: - application/json: - examples: - example-1: - value: - data: - attachment_token: YmMyNWYxYzIwMTU3N212ABCDZjZiMzg5OWY0ODNkZDQveXl5LmRvYw - schema: - $ref: "#/components/schemas/UploadReceivedDocumentAttachmentResponse" - description: Attachment Token. - GetReceivedDocumentPreCreateInfoResponse: - content: - application/json: - examples: - example-1: - value: - data: - default_values: - detailed: false - items_default_values: - vat: null - countries_list: - - Italia - - Afghanistan - - Albania - - Algeria - - Andorra - - Angola - - Anguilla - - Antartide - - Antigua e Barbuda - - Antille Olandesi - - Arabia Saudita - - Argentina - - Armenia - - Aruba - - Australia - - Austria - - Azerbaigian - - Bahamas - - Bahrain - - Bangladesh - - Barbados - - Belgio - - Belize - - Benin - - Bermuda - - Bhutan - - Bielorussia - - Bolivia - - Bosnia ed Erzegovina - - Botswana - - Brasile - - Brunei - - Bulgaria - - Burkina Faso - - Burundi - - Cambogia - - Camerun - - Canada - - Capo Verde - - Ciad - - Cile - - Cina - - Cipro - - Città del Vaticano - - Colombia - - Comore - - Corea del Nord - - Corea del Sud - - Costa Rica - - Costa d'Avorio - - Croazia - - Cuba - - Danimarca - - Dominica - - Ecuador - - Egitto - - El Salvador - - Emirati Arabi Uniti - - Eritrea - - Estonia - - Etiopia - - Fiji - - Filippine - - Finlandia - - Francia - - Gabon - - Gambia - - Georgia - - Georgia del Sud e isole Sandwich - - Germania - - Ghana - - Giamaica - - Giappone - - Gibilterra - - Gibuti - - Giordania - - Grecia - - Grenada - - Groenlandia - - Guadalupa - - Guam - - Guatemala - - Guernsey - Channel Islands - - Guinea - - Guinea Equatoriale - - Guinea-Bissau - - Guyana - - Guyana Francese - - Haiti - - Heard Island e McDonald Islands - - Honduras - - Hong Kong - - India - - Indonesia - - Iran - - Iraq - - Irlanda - - Islanda - - Isola Bouvet - - Isola Christmas - - Isola di Man - - Isola Norfolk - - Isole Canarie (Spagna) - - Isole Cayman - - Isole Cocos e Keeling - - Isole Cook - - Isole Falkland - - Isole Fær Øer - - Isole Marianne Settentrionali - - Isole Marshall - - Isole Minori Esterne degli USA - - Isole Pitcairn - - Isole Salomone - - Isole Vergini Americane - - Isole Vergini Britanniche - - Isole Åland - - Israele - - Jersey - Channel Islands - - Kazakistan - - Kenia - - Kirghizistan - - Kiribati - - Kosovo - - Kuwait - - Laos - - Lesotho - - Lettonia - - Libano - - Liberia - - Libia - - Liechtenstein - - Lituania - - Lussemburgo - - Macao - - Macedonia - - Macedonia del Nord - - Madagascar - - Malawi - - Malaysia - - Maldive - - Mali - - Malta - - Marocco - - Martinica - - Mauritania - - Mauritius - - Mayotte - - Messico - - Micronesia - - Moldavia - - Monaco - - Mongolia - - Montenegro - - Montserrat - - Mozambico - - Myanmar - - Namibia - - Nauru - - Nepal - - Nicaragua - - Niger - - Nigeria - - Niue - - Norvegia - - Nuova Caledonia - - Nuova Zelanda - - Oman - - Paesi Bassi - - Pakistan - - Palau - - Panama - - Papua Nuova Guinea - - Paraguay - - Perù - - Polinesia Francese - - Polonia - - Porto Rico - - Portogallo - - Qatar - - Regno Unito - - Repubblica Ceca - - Repubblica Centrafricana - - Repubblica Democratica del Congo - - Repubblica Dominicana - - Repubblica del Congo - - Riunione - - Romania - - Ruanda - - Russia - - Sahara Occidentale - - Saint Barthelemy - - Saint Kitts e Nevis - - Saint Pierre e Miquelon - - Saint Vincent e Grenadine - - Samoa - - Samoa Americane - - San Marino - - Sant'Elena - - Santa Lucia - - Senegal - - Serbia - - Seychelles - - Sierra Leone - - Singapore - - Siria - - Slovacchia - - Slovenia - - Somalia - - Spagna - - Sri Lanka - - Stato di Palestina - - Stati Uniti - - Sudafrica - - Sud Sudan - - Sudan - - Suriname - - Svalbard e Jan Mayen - - Svezia - - Svizzera - - Swaziland - - São Tomé e Príncipe - - Tagikistan - - Taiwan - - Tanzania - - Terre australi e ant. francesi - - Terr. Britannico dell'Oc. Ind. - - Thailandia - - Timor Est - - Togo - - Tokelau - - Tonga - - Trinidad e Tobago - - Tunisia - - Turchia - - Turkmenistan - - Turks e Caicos - - Tuvalu - - Ucraina - - Uganda - - Ungheria - - Uruguay - - Uzbekistan - - Vanuatu - - Venezuela - - Vietnam - - Wallis e Futuna - - Yemen - - Zambia - - Zimbabwe - currencies_list: - - id: AED - symbol: AED - html_symbol: AED - exchange_rate: "4.09500" - - id: ALL - symbol: ALL - html_symbol: ALL - exchange_rate: "121.50000" - - id: AUD - symbol: AUD - html_symbol: AUD - exchange_rate: "1.62094" - - id: AZN - symbol: AZN - html_symbol: AZN - exchange_rate: "2.00130" - - id: BGN - symbol: лв - html_symbol: BGN - exchange_rate: "1.95583" - - id: BRL - symbol: R$ - html_symbol: R$ - exchange_rate: "4.50410" - - id: BYN - symbol: BYN - html_symbol: BYN - exchange_rate: "2.41000" - - id: CAD - symbol: CAD - html_symbol: CAD - exchange_rate: "1.49841" - - id: CFA - symbol: CFA - html_symbol: CFA - exchange_rate: "656.68000" - - id: CHF - symbol: Fr. - html_symbol: Fr. - exchange_rate: "1.12559" - - id: CNY - symbol: CNY - html_symbol: CNY - exchange_rate: "7.70160" - - id: CRC - symbol: ₡ - html_symbol: '₡' - exchange_rate: "659.17000" - - id: CZK - symbol: Kč - html_symbol: CZK - exchange_rate: "25.80600" - - id: DKK - symbol: kr. - html_symbol: kr. - exchange_rate: "7.46750" - - id: DOP - symbol: DOP - html_symbol: DOP - exchange_rate: "56.50000" - - id: DZD - symbol: DZD - html_symbol: DZD - exchange_rate: "134.28300" - - id: EGP - symbol: EGP - html_symbol: EGP - exchange_rate: "18.98030" - - id: EUR - symbol: € - html_symbol: '€' - exchange_rate: "1.00000" - - id: GBP - symbol: £ - html_symbol: '£' - exchange_rate: "0.88096" - - id: GHS - symbol: GHS - html_symbol: GHS - exchange_rate: "5.45834" - - id: HKD - symbol: HK$ - html_symbol: HK$ - exchange_rate: "8.75450" - - id: HRK - symbol: HRK - html_symbol: HRK - exchange_rate: "7.42640" - - id: HUF - symbol: HUF - html_symbol: HUF - exchange_rate: "326.24000" - - id: ILS - symbol: ₪ - html_symbol: '₪' - exchange_rate: "4.02680" - - id: INR - symbol: INR - html_symbol: INR - exchange_rate: "77.76050" - - id: ISK - symbol: ISK - html_symbol: ISK - exchange_rate: "135.94600" - - id: JPY - symbol: ¥ - html_symbol: '¥' - exchange_rate: "123.05800" - - id: KRW - symbol: KRW - html_symbol: KRW - exchange_rate: "1329.20000" - - id: MAD - symbol: MAD - html_symbol: MAD - exchange_rate: "10.78900" - - id: MKD - symbol: MKD - html_symbol: MKD - exchange_rate: "61.36700" - - id: MXN - symbol: Mex$ - html_symbol: Mex$ - exchange_rate: "21.17900" - - id: MYR - symbol: MYR - html_symbol: MYR - exchange_rate: "4.67310" - - id: NGN - symbol: NGN - html_symbol: NGN - exchange_rate: "405.17000" - - id: NIS - symbol: NIS - html_symbol: NIS - exchange_rate: "4020.00000" - - id: NOK - symbol: kr - html_symbol: kr - exchange_rate: "9.76270" - - id: NZD - symbol: NZD - html_symbol: NZD - exchange_rate: "1.71687" - - id: OMR - symbol: OMR - html_symbol: OMR - exchange_rate: "0.42950" - - id: PEN - symbol: PEN - html_symbol: PEN - exchange_rate: "3.73400" - - id: PLN - symbol: zł - html_symbol: PLN - exchange_rate: "4.30330" - - id: QAR - symbol: QAR - html_symbol: QAR - exchange_rate: "4.06270" - - id: RON - symbol: RON - html_symbol: RON - exchange_rate: "4.66891" - - id: RSD - symbol: RSD - html_symbol: RSD - exchange_rate: "117.39414" - - id: RUB - symbol: ₽ - html_symbol: '₽' - exchange_rate: "71.70370" - - id: SAR - symbol: SAR - html_symbol: SAR - exchange_rate: "4.18520" - - id: SEK - symbol: SEK - html_symbol: SEK - exchange_rate: "10.73374" - - id: SGD - symbol: SGD - html_symbol: SGD - exchange_rate: "1.53800" - - id: THB - symbol: THB - html_symbol: THB - exchange_rate: "35.56400" - - id: TND - symbol: TND - html_symbol: TND - exchange_rate: "3.34010" - - id: TRY - symbol: TRY - html_symbol: TRY - exchange_rate: "6.81590" - - id: TWD - symbol: TWD - html_symbol: TWD - exchange_rate: "35.14200" - - id: UAH - symbol: UAH - html_symbol: UAH - exchange_rate: "29.31490" - - id: USD - symbol: $ - html_symbol: '$' - exchange_rate: "1.11570" - - id: VND - symbol: ₫ - html_symbol: '₫' - exchange_rate: "26100.00000" - - id: ZAR - symbol: R - html_symbol: R - exchange_rate: "16.03080" - categories_list: - - Auto - - Telefono e internet - - Assicurazioni e quote - - Auto ed altri veicoli - - Computer e accessori - - Server e hosting - - merda - - Prva - - Farina etc. - - Cat - - Cibo - - gigi d'asti - - banca d'asti - - Varie - - zzzzz - - ooooo - - aaa - - ffff - - www - - bbb - payment_accounts_list: - - id: 111 - name: Indesa - carta conto - - id: 222 - name: Contanti - - id: 333 - name: Bonifico_Bancario - vat_types_list: - - id: 1334 - value: 0 - description: Non imp. art. 17 c. 6 DPR 633/72 e s.m.i. - is_disabled: false - - id: 1333 - value: 0 - description: Non sogg. art. 74 c. 7 e 8 DPR 633/72 - is_disabled: false - - id: 1332 - value: 0 - description: Non imp. art. 17 c. 6 lett. A TER DPR 633/72 - is_disabled: false - - id: 1020 - value: 0 - description: PA Non imp art. 2 - is_disabled: false - - id: 1018 - value: 0 - description: Aliq. 22% reverse charge - is_disabled: false - - id: 1015 - value: 22 - description: Speciale prova - is_disabled: false - - id: 1014 - value: 0 - description: Ai sensi dellarticolo 123 - is_disabled: false - - id: 1013 - value: 0 - description: Non imponibile art. 8 lett. A DPR 633/72 - is_disabled: false - - id: 1010 - value: 0 - description: NON IMPONIBILE IVA EX ART. 8 COMMA 1 LETT.A - is_disabled: false - - id: 1009 - value: 20 - description: Aliquota 20% - is_disabled: false - - id: 1008 - value: 0 - description: Non imp. art. 41 D.L. 427/93 - is_disabled: false - - id: 1007 - value: 0 - description: Non imp. art. 71 DPR 633/72 - is_disabled: false - - id: 1006 - value: 0 - description: Escl. art. 15 DPR 633/72 - is_disabled: false - - id: 1004 - value: 0 - description: Non imp. art. 1 L. 244/2007 - is_disabled: false - - id: 1003 - value: 0 - description: Non imp. art. 8 DPR 633/72 - is_disabled: false - - id: 1002 - value: 0 - description: Omaggi art. 2 c. 2 n. 4 DPR 633/72 - is_disabled: false - - id: 1000 - value: 0 - description: art.26 COMMA' 3 DPR 633/72 - is_disabled: false - - id: 7 - value: 0 - description: Regime dei minimi - is_disabled: false - - id: 9 - value: 0 - description: Fuori campo IVA - is_disabled: false - - id: 10 - value: 0 - description: "Oper. non soggetta, art.7 ter" - is_disabled: false - - id: 11 - value: 0 - description: "Inversione contabile, art.7 ter" - is_disabled: false - - id: 12 - value: 0 - description: Non Imponibile - is_disabled: false - - id: 13 - value: 0 - description: Non Imp. Art.8 - is_disabled: false - - id: 14 - value: 0 - description: Non Imp. Art.9 1C - is_disabled: false - - id: 15 - value: 0 - description: Non Imp. Art.14 Legge 537/93 - is_disabled: false - - id: 16 - value: 0 - description: Non Imp. Art.41 D.P.R. 331/93 - is_disabled: false - - id: 17 - value: 0 - description: "Non Imp. Art.72, D.P.R. 633/72" - is_disabled: false - - id: 18 - value: 0 - description: Non Imp. Art.74 quotidiani/libri - is_disabled: false - - id: 19 - value: 0 - description: Escluso Art.10 - is_disabled: false - - id: 20 - value: 0 - description: Escluso Art.13 5C DPR 633/72 - is_disabled: false - - id: 21 - value: 0 - description: Escluso Art.15 - is_disabled: false - - id: 23 - value: 0 - description: Escluso Art.74 ter D.P.R. 633/72 - is_disabled: false - - id: 24 - value: 0 - description: Escluso Art.10 comma 1 - is_disabled: false - - id: 25 - value: 0 - description: Escluso Art.10 comma 20 - is_disabled: false - - id: 26 - value: 0 - description: Non Imp. Art.9 - is_disabled: false - - id: 27 - value: 0 - description: Escluso Art.10 n.27 D.P.R 633/72 - is_disabled: false - - id: 30 - value: 0 - description: Regime del margine art.36 41/95 - is_disabled: false - - id: 31 - value: 0 - description: Escluso Art.3 comma 4 D.P.R 633/72 - is_disabled: false - - id: 32 - value: 0 - description: Escluso Art.15/1c D.P.R 633/72 - is_disabled: false - - id: 33 - value: 0 - description: Non imp. Art.8/c D.P.R. 633/72 - is_disabled: false - - id: 34 - value: 0 - description: Non Imp. Art.7 ter - is_disabled: false - - id: 35 - value: 0 - description: Escluso Art.7 D.P.R 633/72 - is_disabled: false - - id: 36 - value: 22 - description: Esigibilita differita Art. 6 comma 5 D.P.R 633/72 - is_disabled: false - - id: 37 - value: 0 - description: Escluso Art.10 comma 9 - is_disabled: false - - id: 38 - value: 0 - description: Non imp. Art.7 quater DPR 633/72 - is_disabled: false - - id: 39 - value: 0 - description: Non Imp. Art.8 comma 1A - is_disabled: false - - id: 44 - value: 0 - description: Fuori Campo IVA Art.7 ter D.P.R 633/72 - is_disabled: false - - id: 45 - value: 0 - description: Non Imp. Art.10 n.18 DPR 633/72 - is_disabled: false - - id: 46 - value: 0 - description: Esente Art.10 DPR 633/72 - is_disabled: false - - id: 48 - value: 0 - description: Non imp. art.40 D.L. 427/93 - is_disabled: false - - id: 49 - value: 0 - description: Non imp. art.41 D.L. 427/93 - is_disabled: false - - id: 51 - value: 0 - description: Non imp. art.8 DPR 633/72 - is_disabled: false - - id: 52 - value: 0 - description: Non imp. art.9 DPR 633/72 - is_disabled: false - - id: 53 - value: 0 - description: Regime minimi 2015 - is_disabled: false - - id: 55 - value: 0 - description: Non soggetta IVA - is_disabled: false - - id: 56 - value: 0 - description: R.C. art. 74/7-8 rottami e metalli ferrosi e non - is_disabled: false - - id: 57 - value: 0 - description: R.C. art. 17/5 materiale oro e argento - is_disabled: false - - id: 58 - value: 0 - description: R.C. art. 17/6/a settore edile subappalto - is_disabled: false - - id: 59 - value: 0 - description: R.C. art. 17/6/a-bis fabbricati - is_disabled: false - - id: 60 - value: 0 - description: R.C. art. 17/6/b telefoni cellulari - is_disabled: false - - id: 61 - value: 0 - description: R.C. art. 17/6/c prodotti elettronici - is_disabled: false - - id: 62 - value: 0 - description: R.C. art. 17/6/a-ter servizi comparto edile e settori - connessi - is_disabled: false - - id: 63 - value: 0 - description: "R.C. art. 17/6/d-bis,d-ter,d-quater gas/energia\ - \ elettrica" - is_disabled: false - - id: 64 - value: 0 - description: Non imp. art.71 DPR 633/72 (Vaticano) - is_disabled: false - - id: 65 - value: 0 - description: Non imp. art.71 DPR 633/72 (RSM) - is_disabled: false - - id: 66 - value: 0 - description: Contribuenti forfettari - is_disabled: false - schema: - $ref: "#/components/schemas/GetReceivedDocumentPreCreateInfoResponse" - description: Pre-create info - ListReceiptsResponse: - content: - application/json: - examples: - example-1: - value: - current_page: 1 - data: - - id: 12345 - date: 2021-08-20 - number: 5 - numeration: REC005 - amount_net: 16.39 - amount_vat: 3.61 - amount_gross: 20 - use_gross_prices: true - type: sales_receipt - description: cassa 1 - rc_center: "" - created_at: 2021-08-20 13:56:56 - updated_at: 2021-08-20 13:56:56 - payment_account: - id: 222 - name: carta di credito - items_list: - - id: 666 - amount_net: 10 - amount_vat: 2.2 - amount_gross: 12.2 - category: altro - vat: - id: 0 - value: 22 - description: iva - - id: 777 - amount_net: 100 - amount_vat: 4 - amount_gross: 104 - category: altro - vat: - id: 0 - value: 22 - description: iva - - id: 12346 - date: 2021-08-19 - number: 6 - numeration: REC006 - amount_net: 8.2 - amount_vat: 1.8 - amount_gross: 10 - use_gross_prices: true - type: sales_receipt - description: cassa 1 - rc_center: "" - created_at: 2021-08-19 17:57:56 - updated_at: 2021-08-19 17:57:56 - payment_account: - id: 555 - name: contanti - items_list: - - id: 888 - amount_net: 8.2 - amount_vat: 1.8 - amount_gross: 10 - category: altro - vat: - id: 0 - value: 22 - description: iva - first_page_url: page=1 - from: 1 - last_page: 4 - last_page_url: page=4 - next_page_url: page=2 - path: receipts - per_page: 50 - prev_page_url: null - to: 50 - total: 65 - schema: - $ref: "#/components/schemas/ListReceiptsResponse" - description: Receipts list. - CreateReceiptResponse: - content: - application/json: - examples: - example-1: - value: - data: - id: 12346 - date: 2021-08-19 - number: 6 - numeration: REC006 - amount_net: 8.2 - amount_vat: 1.8 - amount_gross: 10 - use_gross_prices: true - type: sales_receipt - description: cassa 1 - rc_center: "" - created_at: 2021-08-19 17:57:56 - updated_at: 2021-08-19 17:57:56 - payment_account: - id: 555 - name: contanti - items_list: - - id: 888 - amount_net: 8.2 - amount_vat: 1.8 - amount_gross: 10 - category: altro - vat: - id: 0 - value: 22 - description: iva - schema: - $ref: "#/components/schemas/CreateReceiptResponse" - description: Created Receipt. - GetReceiptResponse: - content: - application/json: - examples: - example-1: - value: - data: - id: 12346 - date: 2021-08-19 - number: 6 - numeration: REC006 - amount_net: 8.2 - amount_vat: 1.8 - amount_gross: 10 - use_gross_prices: true - type: sales_receipt - description: cassa 1 - rc_center: "" - created_at: 2021-08-19 17:57:56 - updated_at: 2021-08-19 17:57:56 - payment_account: - id: 555 - name: contanti - items_list: - - id: 888 - amount_net: 8.2 - amount_vat: 1.8 - amount_gross: 10 - category: altro - vat: - id: 0 - value: 22 - description: iva - schema: - $ref: "#/components/schemas/GetReceiptResponse" - description: Receipt Details. - ModifyReceiptResponse: - content: - application/json: - examples: - example-1: - value: - data: - id: 12346 - date: 2021-08-19 - number: 6 - numeration: REC006 - amount_net: 8.2 - amount_vat: 1.8 - amount_gross: 10 - use_gross_prices: true - type: sales_receipt - description: cassa 1 - rc_center: "" - created_at: 2021-08-19 17:57:56 - updated_at: 2021-08-19 17:57:56 - payment_account: - id: 555 - name: contanti - items_list: - - id: 888 - amount_net: 8.2 - amount_vat: 1.8 - amount_gross: 10 - category: altro - vat: - id: 0 - value: 22 - description: iva - schema: - $ref: "#/components/schemas/ModifyReceiptResponse" - description: Modified receipt. - GetReceiptPreCreateInfoResponse: - content: - application/json: - examples: - example-1: - value: - data: - numerations: - "2016": - sales_receipt: - REC003: 12 - REC002: 5 - REC001: 2 - till_receipt: - REC002: 6 - REC001: 2 - "2017": - sales_receipt: - REC003: 14 - REC002: 7 - REC001: 1 - till_receipt: - REC003: 1 - REC001: 3 - "2018": - sales_receipt: - REC001: 3 - "2019": - sales_receipt: - REC002: 105 - REC001: 22 - till_receipt: - REC003: 21 - REC002: 24 - REC001: 25 - "2020": - sales_receipt: - REC001: 3 - "2021": - sales_receipt: - REC005: 3 - REC004: 2 - REC003: 2 - REC001: 7 - numerations_list: - - REC001 - - REC002 - - REC003 - - REC005 - - REC006 - rc_centers_list: - - Sede generale - - Negozio Bergamo - - Negozio Milano - payment_accounts_list: - - id: 111 - name: Indesa - carta conto - - id: 222 - name: Contanti - - id: 333 - name: Bonifico Bancario - categories_list: - - altro - - arredamento - vat_types_list: - - id: 1334 - value: 0 - description: Non imp. art. 17 c. 6 DPR 633/72 e s.m.i. - is_disabled: false - - id: 1333 - value: 0 - description: Non sogg. art. 74 c. 7 e 8 DPR 633/72 - is_disabled: false - - id: 1332 - value: 0 - description: Non imp. art. 17 c. 6 lett. A TER DPR 633/72 - is_disabled: false - - id: 1331 - value: 22 - description: Pippus - is_disabled: false - - id: 1330 - value: 0 - description: Natura 4 - is_disabled: false - - id: 1020 - value: 0 - description: PA Non imp art. 2 - is_disabled: false - - id: 1018 - value: 0 - description: Aliq. 22% reverse charge - is_disabled: false - - id: 1015 - value: 22 - description: Speciale prova - is_disabled: false - - id: 1014 - value: 0 - description: Ai sensi dellarticolo 123 - is_disabled: false - - id: 1013 - value: 0 - description: Non imponibile art. 8 lett. A DPR 633/72 - is_disabled: false - - id: 1010 - value: 0 - description: NON IMPONIBILE IVA EX ART. 8 COMMA 1 LETT.A - is_disabled: false - - id: 1009 - value: 20 - description: Aliquota 20% - is_disabled: false - - id: 1008 - value: 0 - description: Non imp. art. 41 D.L. 427/93 - is_disabled: false - - id: 1007 - value: 0 - description: Non imp. art. 71 DPR 633/72 - is_disabled: false - - id: 1006 - value: 0 - description: Escl. art. 15 DPR 633/72 - is_disabled: false - - id: 1004 - value: 0 - description: Non imp. art. 1 L. 244/2007 - is_disabled: false - - id: 1003 - value: 0 - description: Non imp. art. 8 DPR 633/72 - is_disabled: false - - id: 1002 - value: 0 - description: Omaggi art. 2 c. 2 n. 4 DPR 633/72 - is_disabled: false - - id: 1000 - value: 0 - description: art.26 COMMA' 3 DPR 633/72 - is_disabled: false - schema: - $ref: "#/components/schemas/GetReceiptPreCreateInfoResponse" - description: Pre-create info. - GetReceiptsMonthlyTotalsResponse: - content: - application/json: - examples: - example-1: - value: - data: - - net: 15000 - gross: 18000 - count: 10 - - net: 18000 - gross: 22000 - count: 20 - - net: 20000 - gross: 24400 - count: 30 - - net: 19000 - gross: 22000 - count: 20 - - net: 17000 - gross: 20000 - count: 10 - - net: 18000 - gross: 24000 - count: 21 - - net: 22000 - gross: 25000 - count: 30 - - net: 17000 - gross: 21000 - count: 21 - - net: 0 - gross: 0 - count: 10 - - net: 0 - gross: 0 - count: 20 - - net: 0 - gross: 0 - count: 30 - - net: 0 - gross: 0 - count: 21 - schema: - $ref: "#/components/schemas/GetReceiptsMonthlyTotalsResponse" - description: Monthly Totals. - ListF24Response: - content: - application/json: - examples: - example-1: - value: - current_page: 1 - data: - - id: 12345 - amount: 840.36 - description: PAGAMENTO IVA 2021 - due_date: 2021-12-31 - status: paid - payment_account: - id: 111 - name: Indesa - carta conto - attachment_url: b19c01da9b1688fb73d0d9e8adae89a8.pdf - - id: 12346 - amount: 810.62 - description: PAGAMENTO IVA 2020 - due_date: 2020-12-31 - status: paid - payment_account: - id: 111 - name: Indesa - carta conto - attachment_url: bb6df8490dad4770353b378ea926d8ba.pdf - first_page_url: page=1 - from: 1 - last_page: 1 - last_page_url: page=1 - next_page_url: null - path: taxes - per_page: 50 - prev_page_url: null - to: 2 - total: 2 - aggregated_data: - amount: "6438.96" - schema: - $ref: "#/components/schemas/ListF24Response" - description: Results list. - CreateF24Response: - content: - application/json: - examples: - example-1: - value: - data: - id: 12345 - amount: 840.36 - description: PAGAMENTO IVA 2021 - due_date: 2021-12-31 - status: paid - payment_account: - id: 111 - name: Indesa - carta conto - attachment_url: b19c01da9b1688fb73d0d9e8adae89a8.pdf - schema: - $ref: "#/components/schemas/CreateF24Response" - description: The created F24 - GetF24Response: - content: - application/json: - examples: - example-1: - value: - data: - id: 12345 - amount: 840.36 - description: PAGAMENTO IVA 2021 - due_date: 2021-12-31 - status: paid - payment_account: - id: 111 - name: Indesa - carta conto - attachment_url: b19c01da9b1688fb73d0d9e8adae89a8.pdf - schema: - $ref: "#/components/schemas/GetF24Response" - description: The F24 - ModifyF24Response: - content: - application/json: - examples: - example-1: - value: - data: - id: 12345 - amount: 840.36 - description: PAGAMENTO IVA 2021 - due_date: 2021-12-31 - status: paid - payment_account: - id: 111 - name: Indesa - carta conto - attachment_url: b19c01da9b1688fb73d0d9e8adae89a8.pdf - schema: - $ref: "#/components/schemas/ModifyF24Response" - description: The modified F24 - UploadF24AttachmentResponse: - content: - application/json: - examples: - example-1: - value: - data: - attachment_token: YmMyNWYxYzIwMTU3N2Y4ZGE3ZjZiMzg5OWY0ODNkZDQveXl5LmRvYw - schema: - $ref: "#/components/schemas/UploadF24AttachmentResponse" - description: Attachment Token. - ListArchiveDocumentsResponse: - content: - application/json: - examples: - example-1: - value: - current_page: 1 - data: - - id: 12345 - date: 2021-08-20 - category: Altri documenti - description: spesa 2 - attachment_url: spesa2.pdf - - id: 12346 - date: 2021-08-19 - category: Altri documenti - description: spesa 1 - attachment_url: spesa1.pdf - first_page_url: page=1 - from: 1 - last_page: 1 - last_page_url: page=1 - next_page_url: null - path: /archive - per_page: 50 - prev_page_url: null - to: 2 - total: 2 - schema: - $ref: "#/components/schemas/ListArchiveDocumentsResponse" - description: Results list. - CreateArchiveDocumentResponse: - content: - application/json: - examples: - example-1: - value: - data: - id: 12345 - date: 2021-08-20 - category: Altri documenti - description: spesa 1 - attachment_url: spesa1.pdf - schema: - $ref: "#/components/schemas/CreateArchiveDocumentResponse" - description: The Archive Document. - GetArchiveDocumentResponse: - content: - application/json: - examples: - example-1: - value: - data: - id: 12345 - date: 2021-08-20 - category: Altri documenti - description: spesa 2 - attachment_url: spesa2.pdf - schema: - $ref: "#/components/schemas/GetArchiveDocumentResponse" - description: Archive Document Details - ModifyArchiveDocumentResponse: - content: - application/json: - examples: - example-1: - value: - data: - id: 12345 - date: 2021-08-20 - category: Altri documenti - description: spesa 2 - attachment_url: spesa2.pdf - schema: - $ref: "#/components/schemas/ModifyArchiveDocumentResponse" - description: The modified Archived Document - ListCashbookEntriesResponse: - content: - application/json: - examples: - example-1: - value: - data: - - date: 2021-08-24 - amount_in: 122 - payment_account_in: - id: 333 - description: Fattura n. 201/2021 - entity_name: Rossi S.r.l. - kind: issued_document - document: - id: 54321 - type: in - - date: 2021-08-29 - amount_out: 211 - payment_account_out: - id: 444 - description: Fattura n. 202/2021 - entity_name: Red S.r.l. - kind: issued_document - document: - id: 12345 - type: out - schema: - $ref: "#/components/schemas/ListCashbookEntriesResponse" - description: Results list. - CreateCashbookEntryResponse: - content: - application/json: - examples: - example-1: - value: - data: - id: 54321 - date: 2021-08-24 - amount_in: 122 - amount_out: 0 - description: Fattura n. 201/2021 - payment_account_in: - id: 21 - name: Indesa - Carta conto - payment_account_out: null - kind: cashbook - schema: - $ref: "#/components/schemas/CreateCashbookEntryResponse" - description: The created Cashbook Entry. - GetCashbookEntryResponse: - content: - application/json: - examples: - example-1: - value: - data: - date: 2021-08-24 - amount_in: 122 - payment_account_in: - id: 333 - description: Fattura n. 201/2021 - entity_name: Rossi S.r.l. - kind: issued_document - document: - id: 54321 - type: in - schema: - $ref: "#/components/schemas/GetCashbookEntryResponse" - description: Cashbook Entry. - ModifyCashbookEntryResponse: - content: - application/json: - examples: - example-1: - value: - data: - date: 2021-08-24 - amount_in: 122 - payment_account_in: - id: 333 - description: Fattura n. 201/2021 - entity_name: Rossi S.r.l. - kind: issued_document - document: - id: 54321 - type: in - schema: - $ref: "#/components/schemas/ModifyCashbookEntryResponse" - description: The modified Cashbook Entry - ListCountriesResponse: - content: - application/json: - examples: - example-1: - value: - data: - - Italia - - Afghanistan - - Albania - - Algeria - - Andorra - - Angola - - Anguilla - - '...' - schema: - $ref: "#/components/schemas/ListCountriesResponse" - description: List of countries - ListCitiesResponse: - content: - application/json: - examples: - example-1: - value: - data: - - postal_code: "89867" - city: Zungri - province: VV - - postal_code: "83020" - city: Aiello del Sabato - province: AV - - postal_code: "83011" - city: Altavilla Irpina - province: AV - schema: - $ref: "#/components/schemas/ListCitiesResponse" - description: Cities List. - ListLanguagesResponse: - content: - application/json: - examples: - example-1: - value: - data: - - code: it - name: Italiano - - code: en - name: Inglese - schema: - $ref: "#/components/schemas/ListLanguagesResponse" - description: LanguagesList - ListTemplatesResponse: - content: - application/json: - examples: - example-1: - value: - data: - - id: 10 - name: New Standard S1 - - id: 106 - name: Minimalist - schema: - $ref: "#/components/schemas/ListTemplatesResponse" - description: Templates list. - ListCurrenciesResponse: - content: - application/json: - examples: - example-1: - value: - data: - - id: AED - symbol: AED - html_symbol: AED - exchange_rate: "4.09500" - - id: EUR - symbol: € - html_symbol: '€' - exchange_rate: "1.00000" - schema: - $ref: "#/components/schemas/ListCurrenciesResponse" - description: Currencies List. - ListUnitsOfMeasureResponse: - content: - application/json: - examples: - example-1: - value: - data: - - pezzi - - kg - - litri - - ore - - giorni - - km - - mesi - schema: - $ref: "#/components/schemas/ListUnitsOfMeasureResponse" - description: Units of measure. - ListDeliveryNotesDefaultCausalsResponse: - content: - application/json: - examples: - example-1: - value: - data: - - Vendita - - Conto visione - - Conto deposito - - Conto vendita - - Tentata vendita - - Prestito d'uso - - Conto lavorazione - - Omaggio - - Riparazione - - Reso per accredito - - Reso per sostituzione - schema: - $ref: "#/components/schemas/ListDeliveryNotesDefaultCausalsResponse" - description: List of Delivery Notes Default Causals - ListVatTypesResponse: - content: - application/json: - examples: - example-1: - value: - data: - - id: 0 - value: 22 - description: Non imponibile art. 123 - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: string - ei_type: 2 - ei_description: string - editable: true - - id: 1010 - value: 0 - description: NON IMPONIBILE IVA EX ART. 8 COMMA 1 LETT.A - notes: "" - e_invoice: false - ei_type: 0 - ei_description: null - is_disabled: false - editable: true - schema: - $ref: "#/components/schemas/ListVatTypesResponse" - description: List of Vat Types. - ListPaymentMethodsResponse: - content: - application/json: - examples: - example-1: - value: - data: - - id: 12345 - name: Carta di credito - is_default: false - default_payment_account: null - - id: 12346 - name: Bonifico bancario - is_default: true - default_payment_account: null - schema: - $ref: "#/components/schemas/ListPaymentMethodsResponse" - description: Payment methods list. - ListPaymentAccountsResponse: - content: - application/json: - examples: - example-1: - value: - data: - - id: 21 - name: Indesa - Carta conto - type: standard - iban: null - sia: null - virtual: false - - id: 109 - name: Indesa - type: bank - iban: IT17A1234563200000003498936 - sia: IN234 - virtual: false - schema: - $ref: "#/components/schemas/ListPaymentAccountsResponse" - description: Payment accounts list. - ListRevenueCentersResponse: - content: - application/json: - examples: - example-1: - value: - data: - - Negozio Bergamo - - Negozio Milano - schema: - $ref: "#/components/schemas/ListRevenueCentersResponse" - description: List of Revenue Centers - ListCostCentersResponse: - content: - application/json: - examples: - example-1: - value: - data: - - Negozio Bergamo - - Negozio Milano - schema: - $ref: "#/components/schemas/ListCostCentersResponse" - description: List of Cost Centers - ListProductCategoriesResponse: - content: - application/json: - examples: - example-1: - value: - data: - - Alimentari - - Arredamento - schema: - $ref: "#/components/schemas/ListProductCategoriesResponse" - description: Product Categories List - ListReceivedDocumentCategoriesResponse: - content: - application/json: - examples: - example-1: - value: - data: - - Telefono e internet - - Assicurazioni e quote - - Auto ed altri veicoli - - Computer e accessori - - Server e hosting - schema: - $ref: "#/components/schemas/ListReceivedDocumentCategoriesResponse" - description: Received Document Categories List - ListArchiveCategoriesResponse: - content: - application/json: - examples: - example-1: - value: - data: - - Altri documenti - - Conferme d'ordine - - Contratti - - Dichiarazioni dei redditi - - Documenti per detrazioni - - Estratti conto bancari - - Estratti conto carte di credito - schema: - $ref: "#/components/schemas/ListArchiveCategoriesResponse" - description: Archive Categories list. - UploadArchiveAttachmentResponse: - content: - application/json: - examples: - example-1: - value: - data: - attachment_token: YmMyNWYxYzIwMTU3N212ABCDZjZiMzg5OWY0ODNkZDQveXl5LmRvYw - schema: - $ref: "#/components/schemas/UploadArchiveAttachmentResponse" - description: Example response - CreatePaymentMethodResponse: - content: - application/json: - examples: - example-1: - value: - data: - id: 386683 - name: Bonifico bancario - is_default: true - type: standard - details: - - title: Banca - description: Sao Paulo - default_payment_account: - id: 12345 - name: conto banca SP - schema: - $ref: "#/components/schemas/CreatePaymentMethodResponse" - description: Example response - GetPaymentMethodResponse: - content: - application/json: - examples: - example-1: - value: - data: - id: 386683 - name: Bonifico bancario - is_default: true - type: standard - details: - - title: Banca - description: Sao Paulo - default_payment_account: - id: 12345 - name: conto banca SP - schema: - $ref: "#/components/schemas/GetPaymentMethodResponse" - description: Example response - ModifyPaymentMethodResponse: - content: - application/json: - examples: - example-1: - value: - data: - id: 386683 - name: Bonifico bancario - is_default: true - type: standard - details: - - title: Banca - description: Sao Paulo - default_payment_account: - id: 12345 - name: conto banca SP - schema: - $ref: "#/components/schemas/ModifyPaymentMethodResponse" - description: Example response - CreatePaymentAccountResponse: - content: - application/json: - examples: - example-1: - value: - data: - id: 12345 - name: Indesa - type: bank - iban: IT17Q0051343200000003497636 - sia: T1234 - virtual: false - schema: - $ref: "#/components/schemas/CreatePaymentAccountResponse" - description: Example response - GetPaymentAccountResponse: - content: - application/json: - examples: - example-1: - value: - data: - id: 12345 - name: Indesa - type: bank - iban: IT17Q0051343200000003497636 - sia: T1234 - virtual: false - schema: - $ref: "#/components/schemas/GetPaymentAccountResponse" - description: Example response - ModifyPaymentAccountResponse: - content: - application/json: - examples: - example-1: - value: - data: - id: 12345 - name: Indesa - type: bank - iban: IT17Q0051343200000003497636 - sia: T1234 - virtual: false - schema: - $ref: "#/components/schemas/ModifyPaymentAccountResponse" - description: Example response - CreateVatTypeResponse: - content: - application/json: - examples: - example-1: - value: - data: - id: 0 - value: 22 - description: Non imponibile art. 123 - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: 2 - ei_description: string - editable: true - is_disabled: true - schema: - $ref: "#/components/schemas/CreateVatTypeResponse" - description: Example response - GetVatTypeResponse: - content: - application/json: - examples: - example-1: - value: - data: - id: 0 - value: 22 - description: Non imponibile art. 123 - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: 2 - ei_description: string - editable: true - is_disabled: true - schema: - $ref: "#/components/schemas/GetVatTypeResponse" - description: Example response - ModifyVatTypeResponse: - content: - application/json: - examples: - example-1: - value: - data: - id: 0 - value: 22 - description: Non imponibile art. 123 - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: 2 - ei_description: string - editable: true - is_disabled: true - schema: - $ref: "#/components/schemas/ModifyVatTypeResponse" - description: Example response - GetEInvoiceXmlResponse: - content: - text/xml: - schema: - $ref: "#/components/schemas/GetEInvoiceXmlResponse" - description: "" - GetEInvoiceRejectionReasonResponse: - content: - application/json: - examples: - example-1: - value: - data: - reason: La Partita IVA della tua azienda risulta sbagliata e/o cessata. - ei_status: rejected - solution: "Puoi correggere la tua Partita IVA in: Impostazioni >\ - \ Azienda > Informazioni di fatturazione." - date: 2023-06-06 - schema: - $ref: "#/components/schemas/GetEInvoiceRejectionReasonResponse" - description: Example response - ListDetailedCountriesResponse: - content: - application/json: - examples: - example-1: - value: - data: - - name: Italia - settings_name: Italia - iso: IT - fiscal_iso: IT - uic: "086" - - name: Afghanistan - settings_name: Afghanistan - iso: AF - fiscal_iso: AF - uic: "002" - - name: Albania - settings_name: Albania - iso: AL - fiscal_iso: AL - uic: "087" - schema: - $ref: "#/components/schemas/ListDetailedCountriesResponse" - description: List of detailed countries - TransformIssuedDocumentResponse: - content: - application/json: - examples: - example-1: - value: - data: - type: invoice - year: 2022 - numeration: "" - subject: "" - visible_subject: "" - rc_center: "" - ei_cassa_type: null - ei_withholding_tax_causal: null - ei_other_withholding_tax_type: null - ei_other_withholding_tax_causal: null - stamp_duty: 0 - use_gross_prices: false - e_invoice: false - agyo_company_id: null - agyo_id: null - agyo_sent_at: null - delivery_note: false - accompanying_invoice: false - amount_net: 68.18 - amount_vat: 6.82 - amount_gross: 75 - amount_due_discount: 0 - amount_rivalsa: 0 - amount_cassa: 0 - amount_withholding_tax: 0 - amount_other_withholding_tax: 0 - h_margins: 15 - v_margins: 16 - show_payment_method: false - show_payments: true - show_totals: all - show_notification_button: false - is_marked: false - created_at: 2022-08-13 09:30:20 - updated_at: 2022-08-23 05:34:20 - entity: - id: 54321 - name: Mary Red S.r.L. - vat_number: IT05432181211 - tax_code: IT05432181211 - address_street: "Via Italia, 66" - address_postal_code: "20900" - address_city: Milano - address_province: MI - address_extra: "" - country: Italia - certified_email: mary@pec.red.com - ei_code: ABCXCR1 - date: 2021-08-20 - number: 1 - currency: - id: EUR - exchange_rate: "1.00000" - symbol: € - language: - code: it - name: Italiano - notes: "" - rivalsa: 0 - cassa: 0 - withholding_tax: 0 - withholding_tax_taxable: 100 - other_withholding_tax: 0 - payment_method: - id: 4 - name: Credit card - use_split_payment: false - merged_in: null - original_document: null - items_list: - - product_id: 5432 - code: SG3 - name: Soggiorno - measure: "" - net_price: 68.18182 - category: "" - id: 277876033 - gross_price: 75 - apply_withholding_taxes: true - discount: 0 - discount_highlight: false - in_dn: false - qty: 1 - vat: - id: 3 - value: 10 - description: "" - stock: false - description: "" - not_taxable: false - payments_list: - - amount: 75 - due_date: 2020-08-23 - paid_date: null - id: 69078013 - payment_terms: - days: 0 - type: standard - status: not_paid - attachment_url: kdijrnf893hnwkfk45f50f.pdf - seen_date: null - next_due_date: 2020-08-23 - template: - id: 2821 - name: Light Smoke - extra_data: null - url: y12h45rn9yf2mse0p43t7ec90vr.pdf - locked: false - has_ts_pay_pending_payment: false - show_tspay_button: false - options: - create_from: - - "82112399" - transform: true - keep_copy: true - schema: - $ref: "#/components/schemas/TransformIssuedDocumentResponse" - description: Example response - JoinIssuedDocumentsResponse: - content: - application/json: - examples: - example-1: - value: - data: - type: invoice - year: 2022 - numeration: "" - subject: "" - visible_subject: "" - rc_center: "" - ei_cassa_type: null - ei_withholding_tax_causal: null - ei_other_withholding_tax_type: null - ei_other_withholding_tax_causal: null - stamp_duty: 0 - use_gross_prices: false - e_invoice: false - agyo_company_id: null - agyo_id: null - agyo_sent_at: null - delivery_note: false - accompanying_invoice: false - amount_net: 68.18 - amount_vat: 6.82 - amount_gross: 75 - amount_due_discount: 0 - amount_rivalsa: 0 - amount_cassa: 0 - amount_withholding_tax: 0 - amount_other_withholding_tax: 0 - h_margins: 15 - v_margins: 16 - show_payment_method: false - show_payments: true - show_totals: all - show_notification_button: false - is_marked: false - created_at: 2022-08-13 09:30:20 - updated_at: 2022-08-23 05:34:20 - entity: - id: 54321 - name: Mary Red S.r.L. - vat_number: IT05432181211 - tax_code: IT05432181211 - address_street: "Via Italia, 66" - address_postal_code: "20900" - address_city: Milano - address_province: MI - address_extra: "" - country: Italia - certified_email: mary@pec.red.com - ei_code: ABCXCR1 - date: 2021-08-20 - number: 1 - currency: - id: EUR - exchange_rate: "1.00000" - symbol: € - language: - code: it - name: Italiano - notes: "" - rivalsa: 0 - cassa: 0 - withholding_tax: 0 - withholding_tax_taxable: 100 - other_withholding_tax: 0 - payment_method: - id: 4 - name: Credit card - use_split_payment: false - merged_in: null - original_document: null - items_list: - - product_id: 5432 - code: SG3 - name: Soggiorno - measure: "" - net_price: 68.18182 - category: "" - id: 277876033 - gross_price: 75 - apply_withholding_taxes: true - discount: 0 - discount_highlight: false - in_dn: false - qty: 1 - vat: - id: 3 - value: 10 - description: "" - stock: false - description: "" - not_taxable: false - payments_list: - - amount: 75 - due_date: 2020-08-23 - paid_date: null - id: 69078013 - payment_terms: - days: 0 - type: standard - status: not_paid - attachment_url: kdijrnf893hnwkfk45f50f.pdf - seen_date: null - next_due_date: 2020-08-23 - template: - id: 2821 - name: Light Smoke - extra_data: null - url: y12h45rn9yf2mse0p43t7ec90vr.pdf - locked: false - has_ts_pay_pending_payment: false - show_tspay_button: false - options: - create_from: - - "82112399" - - "82112400" - schema: - $ref: "#/components/schemas/JoinIssuedDocumentsResponse" - description: Example response - ListEmailsResponse: - content: - application/json: - examples: - example-1: - value: - current_page: 1 - data: - - id: 1 - status: sent - sent_date: 2022-07-17 13:53:12 - errors_count: 0 - error_log: "" - from_email: test@mail.it - from_name: Test mail - to_email: mail@test.it - to_name: Mario - subject: Test - content: Test send email - copy_to: "" - recipient_status: unknown - recipient_date: null - kind: Fatture - attachments: [] - - id: 2 - status: sent - sent_date: 2022-07-18 13:53:12 - errors_count: 0 - error_log: "" - from_email: test@mail.it - from_name: Test mail - to_email: mail@test.it - to_name: Maria - subject: Test - content: Test send email - copy_to: "" - recipient_status: unknown - recipient_date: null - kind: Fatture - attachments: [] - first_page_url: emails?page=1 - from: 1 - last_page: 1 - last_page_url: emails?page=1 - next_page_url: null - path: emails - per_page: 50 - prev_page_url: null - to: 2 - total: 2 - schema: - $ref: "#/components/schemas/ListEmailsResponse" - description: Example response - CreateWebhooksSubscriptionResponse: - content: - application/json: - examples: - example-1: - value: - data: - id: SUB123 - sink: http://www.test.com - verified: true - types: - - it.fattureincloud.webhooks.entities.create - - it.fattureincloud.webhooks.issued_documents.create - warnings: The 'it.fattureincloud.webhooks.entities.clients.delete' - event is already registered for this application - schema: - $ref: "#/components/schemas/CreateWebhooksSubscriptionResponse" - description: Example response - ListWebhooksSubscriptionsResponse: - content: - application/json: - examples: - example-1: - value: - data: - - id: SUB12345 - sink: https://www.testurl.com/endpoint - verified: true - types: - - it.fattureincloud.webhooks.issued_documents.create - - it.fattureincloud.webhooks.issued_documents.update - - id: SUB12346 - sink: https://www.testurl.com/endpoint2 - verified: true - types: - - it.fattureincloud.webhooks.issued_documents.delete - schema: - $ref: "#/components/schemas/ListWebhooksSubscriptionsResponse" - description: Example response - GetWebhooksSubscriptionResponse: - content: - application/json: - examples: - example-1: - value: - data: - id: SUB123 - sink: https://test.url - verified: true - types: - - it.fattureincloud.webhooks.issued_documents.invoices.create - schema: - $ref: "#/components/schemas/GetWebhooksSubscriptionResponse" - description: Example response - ModifyWebhooksSubscriptionResponse: - content: - application/json: - examples: - example-1: - value: - data: - id: SUB12345 - sink: http://www.test.com - verified: true - types: - - it.fattureincloud.webhooks.entities.create - - it.fattureincloud.webhooks.issued_documents.create - warnings: The 'it.fattureincloud.webhooks.entities.clients.delete' - event is already registered for this application - schema: - $ref: "#/components/schemas/ModifyWebhooksSubscriptionResponse" - description: Example response - GetCompanyPlanUsageResponse: - content: - application/json: - examples: - example-1: - value: - data: - limit: 3000 - usage: 100 - schema: - $ref: "#/components/schemas/GetCompanyPlanUsageResponse" - description: Example response - GetTaxProfileResponse: - content: - application/json: - examples: - example-1: - value: - data: - company_type: individual - company_subtype: artigiani - profession: null - regime: forfettario_5 - rivalsa_name: "" - default_rivalsa: 0 - cassa_name: "" - default_cassa: 0 - default_cassa_taxable: 100 - cassa2_name: "" - default_cassa2: 0 - default_cassa2_taxable: 0 - default_withholding_tax: 0 - default_withholding_tax_taxable: 100 - default_other_withholding_tax: 0 - enasarco: false - enasarco_type: null - contributions_percentage: 0 - med: false - default_vat: - id: 66 - value: 0 - description: Contribuenti forfettari - notes: "Operazione non soggetta a IVA ai sensi dell'art. 1, commi\ - \ 54-89, Legge n. 190\\/2014 e succ. modifiche\\/integrazioni" - e_invoice: true - ei_type: 2.2 - ei_description: Non soggetta art. 1\/54-89 L. 190\/2014 e succ. - modifiche\/integrazioni - editable: false - is_disabled: false - default: true - schema: - $ref: "#/components/schemas/GetTaxProfileResponse" - description: Example response - ListBinIssuedDocumentsResponse: - content: - application/json: - examples: - example-1: - value: - data: - - id: 12345 - type: receipt - numeration: rec123 - subject: "" - visible_subject: "" - amount_net: 68.18 - amount_vat: 6.82 - amount_gross: 75 - amount_due_discount: 0 - entity: - id: 54321 - name: Mary Red S.r.L. - vat_number: IT05432181211 - tax_code: IT05432181211 - address_street: "Via Italia, 66" - address_postal_code: "20900" - address_city: Milano - address_province: MI - address_extra: "" - country: Italia - certified_email: mary@pec.red.com - ei_code: ABCXCR1 - date: 2021-08-20 - number: 1 - next_due_date: 2021-12-31 - url: ypbqqe4u8w8bdabcd5fd5b1a4gtqhlof.pdf - items_list: null - payments_list: null - - id: 12346 - type: receipt - numeration: rec124 - subject: "" - visible_subject: "" - amount_net: 168.18 - amount_vat: 16.82 - amount_gross: 175 - amount_due_discount: 0 - entity: - id: 54321 - name: Mary Red S.r.L. - vat_number: IT05432181211 - tax_code: IT05432181211 - address_street: "Via Italia, 66" - address_postal_code: "20900" - address_city: Milano - address_province: MI - address_extra: "" - country: Italia - certified_email: mary@pec.red.com - ei_code: ABCXCR1 - date: 2021-08-28 - number: 1 - next_due_date: 2021-12-31 - url: qwertye4u8w8bdaqrt5fd5b1a4gtqhlof.pdf - items_list: null - payments_list: null - schema: - $ref: "#/components/schemas/ListBinIssuedDocuments" - description: Bin Issued Documents List - GetBinIssuedDocumentResponse: - content: - application/json: - examples: - example-1: - value: - data: - id: 12345 - type: receipt - year: 2021 - numeration: rec123 - subject: "" - visible_subject: "" - rc_center: "" - ei_cassa_type: null - ei_withholding_tax_causal: null - ei_other_withholding_tax_type: null - ei_other_withholding_tax_causal: null - stamp_duty: 0 - use_gross_prices: false - e_invoice: false - agyo_company_id: null - agyo_id: null - agyo_sent_at: null - delivery_note: false - accompanying_invoice: false - amount_net: 68.18 - amount_vat: 6.82 - amount_gross: 75 - amount_due_discount: 0 - amount_rivalsa: 0 - amount_cassa: 0 - amount_withholding_tax: 0 - amount_other_withholding_tax: 0 - h_margins: 15 - v_margins: 16 - show_payment_method: false - show_payments: true - show_totals: all - show_notification_button: false - is_marked: false - created_at: 2021-08-13 09:30:20 - updated_at: 2021-08-23 05:34:20 - entity: - id: 54321 - name: Mary Red S.r.L. - vat_number: IT05432181211 - tax_code: IT05432181211 - address_street: "Via Italia, 66" - address_postal_code: "20900" - address_city: Milano - address_province: MI - address_extra: "" - country: Italia - certified_email: mary@pec.red.com - ei_code: ABCXCR1 - date: 2021-08-20 - number: 1 - currency: - id: EUR - exchange_rate: "1.00000" - symbol: € - language: - code: it - name: Italiano - notes: "" - rivalsa: 0 - cassa: 0 - withholding_tax: 0 - withholding_tax_taxable: 100 - other_withholding_tax: 0 - payment_method: - id: 4 - name: Credit card - use_split_payment: false - merged_in: null - original_document: null - items_list: - - product_id: 5432 - code: SG3 - name: Soggiorno - measure: "" - net_price: 68.18182 - category: "" - id: 277876033 - gross_price: 75 - apply_withholding_taxes: true - discount: 0 - discount_highlight: false - in_dn: false - qty: 1 - vat: - id: 3 - value: 10 - description: "" - stock: false - description: "" - not_taxable: false - payments_list: - - amount: 75 - due_date: 2020-08-23 - paid_date: null - id: 69078013 - payment_terms: - days: 0 - type: standard - status: not_paid - attachment_url: kdijrnf893hnwkfk45f50f.pdf - seen_date: null - next_due_date: 2020-08-23 - template: - id: 2821 - name: Light Smoke - extra_data: null - url: y12h45rn9yf2mse0p43t7ec90vr.pdf - locked: false - has_ts_pay_pending_payment: false - show_tspay_button: false - schema: - $ref: "#/components/schemas/GetBinIssuedDocumentResponse" - description: Bin issued document details - ListBinReceivedDocumentsResponse: - content: - application/json: - examples: - example-1: - value: - data: - - id: 12345 - type: expense - description: Soggiorno di lavoro - amortization: 1 - rc_center: "" - invoice_number: "" - is_marked: false - is_detailed: false - e_invoice: false - created_at: 2021-08-15 14:02:02 - updated_at: 2021-08-15 14:02:02 - entity: - id: 111 - name: Hotel Rubino Palace - date: 2021-08-15 - next_due_date: 2021-08-15 - currency: - id: EUR - exchange_rate: "1.00000" - symbol: € - amount_net: 592 - amount_vat: 0 - amount_gross: 592 - amount_withholding_tax: 0 - amount_other_withholding_tax: 0 - tax_deductibility: 50 - vat_deductibility: 100 - items_list: null - payments_list: - - amount: 592 - due_date: 2021-08-15 - paid_date: 2021-08-15 - id: 777 - payment_terms: - days: 0 - type: standard - status: paid - payment_account: - id: 222 - name: Contanti - virtual: false - attachment_url: spesa_ger5i783t45hu6ti.pdf - attachment_preview_url: null - extra_data: null - - id: 12346 - type: expense - description: Assicurazione RCA - iamortization: 1 - rc_center: "" - invoice_number: "" - is_marked: false - is_detailed: false - e_invoice: false - created_at: 2021-08-09 14:02:02 - updated_at: 2021-08-09 14:02:02 - entity: - id: 89 - name: Indesa Assicurazioni S.P.A. - date: 2021-08-08 - next_due_date: 2021-08-08 - currency: - id: EUR - exchange_rate: "1.00000" - symbol: € - amount_net: 645.69 - amount_vat: 0 - amount_gross: 645.69 - amount_withholding_tax: 0 - amount_other_withholding_tax: 0 - tax_deductibility: 50 - vat_deductibility: 100 - items_list: null - payments_list: - - amount: 645.69 - due_date: 2021-08-08 - paid_date: 2021-08-08 - id: 999 - payment_terms: - days: 0 - type: standard - status: paid - payment_account: - id: 333 - name: Carta conto - virtual: false - attachment_url: spesa_gjsd567e5hu6ti.pdf - attachment_preview_url: null - extra_data: null - schema: - $ref: "#/components/schemas/ListBinReceivedDocuments" - description: Example response - GetBinReceivedDocumentResponse: - content: - application/json: - examples: - example-1: - value: - data: - id: 12345 - type: expense - description: Soggiorno di lavoro - amortization: 1 - rc_center: "" - invoice_number: "" - is_marked: false - is_detailed: false - e_invoice: false - created_at: 2021-08-15 14:02:02 - updated_at: 2021-08-15 14:02:02 - entity: - id: 111 - name: Hotel Rubino Palace - date: 2021-08-15 - next_due_date: 2021-08-15 - currency: - id: EUR - exchange_rate: "1.00000" - symbol: € - amount_net: 592 - amount_vat: 0 - amount_gross: 592 - amount_withholding_tax: 0 - amount_other_withholding_tax: 0 - tax_deductibility: 50 - vat_deductibility: 100 - items_list: null - payments_list: - - amount: 592 - due_date: 2021-08-15 - paid_date: 2021-08-15 - id: 777 - payment_terms: - days: 0 - type: standard - status: paid - payment_account: - id: 222 - name: Contanti - virtual: false - attachment_url: spesa_ger5i783t45hu6ti.pdf - attachment_preview_url: null - extra_data: null - schema: - $ref: "#/components/schemas/GetBinReceivedDocumentResponse" - description: Bin received document details - GetEntityClientsInfoResponse: - content: - application/json: - examples: - example-1: - value: - data: - countries_list: - - Italy - payment_methods_list: - - id: 555 - name: Rimessa diretta - is_default: false - details: [] - bank_iban: null - bank_name: null - bank_beneficiary: null - ei_payment_method: null - payment_accounts_list: - - id: 0 - name: Conto Banca Intesa - type: standard - iban: string - sia: string - cuc: string - virtual: true - vat_types_list: - - id: 0 - value: 22 - description: Non imponibile art. 123 - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: 2 - ei_description: string - editable: true - is_disabled: true - default: true - price_lists: - - id: string - name: "123" - prices_type: net - is_default: true - valid_from: string - valid_to: string - type: sell - limit: 0 - usage: 0 - schema: - $ref: "#/components/schemas/GetEntityClientPreCreateInfoResponse" - description: Example response - ListPriceList: - content: - application/json: - examples: - example-1: - value: - data: - - id: "10" - name: listino - prices_type: net - is_default: true - valid_from: 2025-01-01 - valid_to: 2025-12-01 - type: sell - - id: "11" - name: listino-test - prices_type: gross - is_default: true - valid_from: 2025-01-01 - valid_to: 2025-01-01 - type: purchase - schema: - $ref: "#/components/schemas/ListPriceListsResponse" - description: Example response - GetPriceListItems: - content: - application/json: - examples: - example-1: - value: - data: - "1": - price: 3.5 - "2": - price: 5 - schema: - $ref: "#/components/schemas/GetPriceListItemsResponse" - description: Example response - schemas: - CreateClientRequest: - example: - data: - country: Italia - code: "123" - notes: notes - ei_code: ei_code - default_payment_terms_type: standard - discount_highlight: true - vat_number: IT01234567890 - created_at: created_at - type: company - address_extra: address_extra - bank_swift_code: bank_swift_code - default_discount: 4.145608029883936 - default_vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - address_province: BG - updated_at: updated_at - bank_name: bank_name - id: 7 - shipping_address: shipping_address - fax: fax - first_name: first_name - bank_iban: bank_iban - country_iso: Italia - email: mario.rossi@example.it - contact_person: contact_person - address_postal_code: "24010" - default_payment_method: - default_payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - name: name - bank_name: bank_name - details: - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - bank_beneficiary: bank_beneficiary - id: 3 - type: standard - is_default: true - ei_payment_method: ei_payment_method - bank_iban: bank_iban - last_name: last_name - price_list_id: price_list_id - address_city: Bergamo - tax_code: RSSMRA44A12E890Q - intent_declaration_protocol_number: intent_declaration_protocol_number - phone: phone - address_street: "Via dei tigli, 12" - e_invoice: true - name: Rossi S.r.l. - default_payment_terms: 30 - certified_email: mario.rossi@pec.example.it - has_intent_declaration: true - intent_declaration_protocol_date: 2000-01-23 - properties: - data: - $ref: "#/components/schemas/Client" - title: CreateClientRequest - type: object - ModifyClientRequest: - description: "" - example: - data: - country: Italia - code: "123" - notes: notes - ei_code: ei_code - default_payment_terms_type: standard - discount_highlight: true - vat_number: IT01234567890 - created_at: created_at - type: company - address_extra: address_extra - bank_swift_code: bank_swift_code - default_discount: 4.145608029883936 - default_vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - address_province: BG - updated_at: updated_at - bank_name: bank_name - id: 7 - shipping_address: shipping_address - fax: fax - first_name: first_name - bank_iban: bank_iban - country_iso: Italia - email: mario.rossi@example.it - contact_person: contact_person - address_postal_code: "24010" - default_payment_method: - default_payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - name: name - bank_name: bank_name - details: - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - bank_beneficiary: bank_beneficiary - id: 3 - type: standard - is_default: true - ei_payment_method: ei_payment_method - bank_iban: bank_iban - last_name: last_name - price_list_id: price_list_id - address_city: Bergamo - tax_code: RSSMRA44A12E890Q - intent_declaration_protocol_number: intent_declaration_protocol_number - phone: phone - address_street: "Via dei tigli, 12" - e_invoice: true - name: Rossi S.r.l. - default_payment_terms: 30 - certified_email: mario.rossi@pec.example.it - has_intent_declaration: true - intent_declaration_protocol_date: 2000-01-23 - properties: - data: - $ref: "#/components/schemas/Client" - title: ModifyClientRequest - type: object - CreateSupplierRequest: - example: - data: - country: Italia - code: "123" - notes: notes - contact_person: contact_person - address_postal_code: "24010" - vat_number: IT01234567890 - last_name: last_name - created_at: created_at - type: company - address_extra: address_extra - address_city: Bergamo - tax_code: RSSMRA44A12E890Q - address_province: BG - updated_at: updated_at - phone: phone - address_street: "Via dei tigli, 12" - name: Rossi S.r.l. - id: 7 - certified_email: mario.rossi@pec.example.it - fax: fax - first_name: first_name - bank_iban: bank_iban - country_iso: Italia - email: mario.rossi@example.it - properties: - data: - $ref: "#/components/schemas/Supplier" - title: CreateSupplierRequest - type: object - ModifySupplierRequest: - example: - data: - country: Italia - code: "123" - notes: notes - contact_person: contact_person - address_postal_code: "24010" - vat_number: IT01234567890 - last_name: last_name - created_at: created_at - type: company - address_extra: address_extra - address_city: Bergamo - tax_code: RSSMRA44A12E890Q - address_province: BG - updated_at: updated_at - phone: phone - address_street: "Via dei tigli, 12" - name: Rossi S.r.l. - id: 7 - certified_email: mario.rossi@pec.example.it - fax: fax - first_name: first_name - bank_iban: bank_iban - country_iso: Italia - email: mario.rossi@example.it - properties: - data: - $ref: "#/components/schemas/Supplier" - title: ModifySupplierRequest - type: object - CreateProductRequest: - example: - data: - code: code - notes: notes - average_price: 1.0246457001441578 - description: description - created_at: created_at - net_price: 9.301444243932576 - in_stock: true - average_cost: 1.2315135367772556 - use_gross_price: true - stock_initial: 4.145608029883936 - stock_current: 7.386281948385884 - default_vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - measure: measure - updated_at: updated_at - name: name - gross_price: 3.616076749251911 - id: 7 - category: category - net_cost: 2.027123023002322 - properties: - data: - $ref: "#/components/schemas/Product" - title: CreateProductRequest - type: object - ModifyProductRequest: - example: - data: - code: code - notes: notes - average_price: 1.0246457001441578 - description: description - created_at: created_at - net_price: 9.301444243932576 - in_stock: true - average_cost: 1.2315135367772556 - use_gross_price: true - stock_initial: 4.145608029883936 - stock_current: 7.386281948385884 - default_vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - measure: measure - updated_at: updated_at - name: name - gross_price: 3.616076749251911 - id: 7 - category: category - net_cost: 2.027123023002322 - properties: - data: - $ref: "#/components/schemas/Product" - title: ModifyProductRequest - type: object - CreateIssuedDocumentRequest: - example: - data: - date: 2000-01-23 - numeration: /A - notes: notes - year: 3 - subject: subject - rivalsa: 2.027123023002322 - dn_ai_causal: dn_ai_causal - language: - code: code - name: name - type: invoice - show_payments: true - ei_data: - original_document_type: ordine - cig: cig - bank_name: bank_name - od_number: od_number - od_date: 2000-01-23 - bank_beneficiary: bank_beneficiary - vat_kind: null - bank_iban: bank_iban - invoice_number: invoice_number - payment_method: payment_method - cup: cup - invoice_date: 2000-01-23 - dn_ai_weight: dn_ai_weight - number: 1 - rc_center: rc_center - items_list: - - code: "239874892374982" - ei_raw: "{}" - discount_highlight: true - vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - description: description - not_taxable: true - discount: 3.5571952270680973 - net_price: 1.23 - apply_withholding_taxes: true - measure: measure - product_id: 1234 - qty: 6.438423552598547 - name: Water bottle - gross_price: 1.45 - id: 9 - category: category - stock: true - in_dn: true - - code: "239874892374982" - ei_raw: "{}" - discount_highlight: true - vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - description: description - not_taxable: true - discount: 3.5571952270680973 - net_price: 1.23 - apply_withholding_taxes: true - measure: measure - product_id: 1234 - qty: 6.438423552598547 - name: Water bottle - gross_price: 1.45 - id: 9 - category: category - stock: true - in_dn: true - dn_ai_notes: dn_ai_notes - acc_inv_template: - name: Light Smoke - id: 123 - type: type - id: 7 - delivery_note_template: - name: Light Smoke - id: 123 - type: type - locked: true - show_tspay_button: true - payment_method: - default_payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - name: name - bank_name: bank_name - details: - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - bank_beneficiary: bank_beneficiary - id: 3 - type: standard - is_default: true - ei_payment_method: ei_payment_method - bank_iban: bank_iban - attachment_token: attachment_token - amount_net: 5.944895607614016 - dn_ai_destination: dn_ai_destination - ai_url: ai_url - amount_cassa: 7.386281948385884 - cassa2_taxable: 7.457744773683766 - v_margins: 6 - amount_cassa2: 6.84685269835264 - accompanying_invoice: true - amount_rivalsa_taxable: 0.8851374739011653 - amount_rivalsa: 7.143538047012306 - show_totals: all - stamp_duty: 8.762042012749001 - use_gross_prices: true - global_cassa_taxable: 4.965218492984954 - e_invoice: true - dn_ai_packages_number: dn_ai_packages_number - withholding_tax: 9.965781217890562 - amount_withholding_tax_taxable: 6.519180951018382 - other_withholding_tax: 6.683562403749608 - ei_other_withholding_tax_type: ei_other_withholding_tax_type - template: - name: Light Smoke - id: 123 - type: type - cassa: 4.145608029883936 - ei_raw: "{}" - amount_global_cassa_taxable: 5.025004791520295 - amount_due_discount: 3.0937452626664474 - amount_enasarco_taxable: 8.969578798196912 - created_at: created_at - visible_subject: visible_subject - use_split_payment: true - payments_list: - - amount: 1.45 - payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - ei_raw: "{}" - due_date: 2018-04-03 - id: 6 - payment_terms: - days: 1 - type: null - paid_date: 2018-04-03 - status: not_paid - - amount: 1.45 - payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - ei_raw: "{}" - due_date: 2018-04-03 - id: 6 - payment_terms: - days: 1 - type: null - paid_date: 2018-04-03 - status: not_paid - h_margins: 2 - dn_date: 2000-01-23 - ei_other_withholding_tax_causal: ei_other_withholding_tax_causal - next_due_date: 2000-01-23 - cassa2: 1.4894159098541704 - withholding_tax_taxable: 9.369310271410669 - is_marked: true - updated_at: updated_at - amount_vat: 6.704019297950036 - amount_other_withholding_tax_taxable: 4.652396432933246 - currency: - symbol: € - exchange_rate: "1" - html_symbol: EUR - id: EUR - dn_number: 6 - amount_other_withholding_tax: 0.10263654006109402 - ei_cassa_type: ei_cassa_type - dn_ai_transporter: dn_ai_transporter - show_notification_button: true - dn_url: dn_url - show_payment_method: true - price_list_id: price_list_id - delivery_note: true - url: url - attachment_url: attachment_url - amount_withholding_tax: 7.058770351582356 - extra_data: - ts_file_id: ts_file_id - ts_flag_tipo_spesa: 3.0205796992916243 - ts_pagamento_tracciato: true - ts_status: 3 - ts_opposizione: true - ts_communication: true - ts_full_amount: true - ts_tipo_spesa: ts_tipo_spesa - multifatture_sent: 7 - imported_by: imported_by - ts_sent_date: 2000-01-23 - ei_status: attempt - seen_date: 2000-01-23 - ei_cassa2_type: ei_cassa2_type - ei_withholding_tax_causal: ei_withholding_tax_causal - cassa_taxable: 1.2315135367772556 - amount_gross: 3.353193347011243 - entity: - country: Italia - code: "123" - notes: notes - ei_code: ei_code - default_payment_terms_type: standard - vat_number: IT01234567890 - created_at: created_at - type: company - address_extra: address_extra - bank_swift_code: bank_swift_code - default_vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - address_province: BG - updated_at: updated_at - bank_name: bank_name - id: 9 - shipping_address: shipping_address - fax: fax - first_name: first_name - bank_iban: bank_iban - country_iso: Italia - email: mario.rossi@example.it - contact_person: contact_person - address_postal_code: "24010" - default_payment_method: - default_payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - name: name - bank_name: bank_name - details: - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - bank_beneficiary: bank_beneficiary - id: 3 - type: standard - is_default: true - ei_payment_method: ei_payment_method - bank_iban: bank_iban - last_name: last_name - address_city: Bergamo - tax_code: RSSMRA44A12E890Q - intent_declaration_protocol_number: intent_declaration_protocol_number - phone: phone - address_street: "Via dei tigli, 12" - e_invoice: true - name: Rossi S.r.l. - default_payment_terms: 30 - certified_email: mario.rossi@pec.example.it - has_intent_declaration: true - intent_declaration_protocol_date: 2000-01-23 - amount_cassa_taxable: 1.0246457001441578 - amount_cassa2_taxable: 1.1730742509559433 - options: - keep_copy: true - transform: true - join_type: join_type - create_from: - - create_from - - create_from - fix_payments: true - properties: - data: - $ref: "#/components/schemas/IssuedDocument" - options: - $ref: "#/components/schemas/IssuedDocumentOptions" - title: CreateIssuedDocumentRequest - type: object - ModifyIssuedDocumentRequest: - description: "" - example: - data: - date: 2000-01-23 - numeration: /A - notes: notes - year: 3 - subject: subject - rivalsa: 2.027123023002322 - dn_ai_causal: dn_ai_causal - language: - code: code - name: name - type: invoice - show_payments: true - ei_data: - original_document_type: ordine - cig: cig - bank_name: bank_name - od_number: od_number - od_date: 2000-01-23 - bank_beneficiary: bank_beneficiary - vat_kind: null - bank_iban: bank_iban - invoice_number: invoice_number - payment_method: payment_method - cup: cup - invoice_date: 2000-01-23 - dn_ai_weight: dn_ai_weight - number: 1 - rc_center: rc_center - items_list: - - code: "239874892374982" - ei_raw: "{}" - discount_highlight: true - vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - description: description - not_taxable: true - discount: 3.5571952270680973 - net_price: 1.23 - apply_withholding_taxes: true - measure: measure - product_id: 1234 - qty: 6.438423552598547 - name: Water bottle - gross_price: 1.45 - id: 9 - category: category - stock: true - in_dn: true - - code: "239874892374982" - ei_raw: "{}" - discount_highlight: true - vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - description: description - not_taxable: true - discount: 3.5571952270680973 - net_price: 1.23 - apply_withholding_taxes: true - measure: measure - product_id: 1234 - qty: 6.438423552598547 - name: Water bottle - gross_price: 1.45 - id: 9 - category: category - stock: true - in_dn: true - dn_ai_notes: dn_ai_notes - acc_inv_template: - name: Light Smoke - id: 123 - type: type - id: 7 - delivery_note_template: - name: Light Smoke - id: 123 - type: type - locked: true - show_tspay_button: true - payment_method: - default_payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - name: name - bank_name: bank_name - details: - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - bank_beneficiary: bank_beneficiary - id: 3 - type: standard - is_default: true - ei_payment_method: ei_payment_method - bank_iban: bank_iban - attachment_token: attachment_token - amount_net: 5.944895607614016 - dn_ai_destination: dn_ai_destination - ai_url: ai_url - amount_cassa: 7.386281948385884 - cassa2_taxable: 7.457744773683766 - v_margins: 6 - amount_cassa2: 6.84685269835264 - accompanying_invoice: true - amount_rivalsa_taxable: 0.8851374739011653 - amount_rivalsa: 7.143538047012306 - show_totals: all - stamp_duty: 8.762042012749001 - use_gross_prices: true - global_cassa_taxable: 4.965218492984954 - e_invoice: true - dn_ai_packages_number: dn_ai_packages_number - withholding_tax: 9.965781217890562 - amount_withholding_tax_taxable: 6.519180951018382 - other_withholding_tax: 6.683562403749608 - ei_other_withholding_tax_type: ei_other_withholding_tax_type - template: - name: Light Smoke - id: 123 - type: type - cassa: 4.145608029883936 - ei_raw: "{}" - amount_global_cassa_taxable: 5.025004791520295 - amount_due_discount: 3.0937452626664474 - amount_enasarco_taxable: 8.969578798196912 - created_at: created_at - visible_subject: visible_subject - use_split_payment: true - payments_list: - - amount: 1.45 - payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - ei_raw: "{}" - due_date: 2018-04-03 - id: 6 - payment_terms: - days: 1 - type: null - paid_date: 2018-04-03 - status: not_paid - - amount: 1.45 - payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - ei_raw: "{}" - due_date: 2018-04-03 - id: 6 - payment_terms: - days: 1 - type: null - paid_date: 2018-04-03 - status: not_paid - h_margins: 2 - dn_date: 2000-01-23 - ei_other_withholding_tax_causal: ei_other_withholding_tax_causal - next_due_date: 2000-01-23 - cassa2: 1.4894159098541704 - withholding_tax_taxable: 9.369310271410669 - is_marked: true - updated_at: updated_at - amount_vat: 6.704019297950036 - amount_other_withholding_tax_taxable: 4.652396432933246 - currency: - symbol: € - exchange_rate: "1" - html_symbol: EUR - id: EUR - dn_number: 6 - amount_other_withholding_tax: 0.10263654006109402 - ei_cassa_type: ei_cassa_type - dn_ai_transporter: dn_ai_transporter - show_notification_button: true - dn_url: dn_url - show_payment_method: true - price_list_id: price_list_id - delivery_note: true - url: url - attachment_url: attachment_url - amount_withholding_tax: 7.058770351582356 - extra_data: - ts_file_id: ts_file_id - ts_flag_tipo_spesa: 3.0205796992916243 - ts_pagamento_tracciato: true - ts_status: 3 - ts_opposizione: true - ts_communication: true - ts_full_amount: true - ts_tipo_spesa: ts_tipo_spesa - multifatture_sent: 7 - imported_by: imported_by - ts_sent_date: 2000-01-23 - ei_status: attempt - seen_date: 2000-01-23 - ei_cassa2_type: ei_cassa2_type - ei_withholding_tax_causal: ei_withholding_tax_causal - cassa_taxable: 1.2315135367772556 - amount_gross: 3.353193347011243 - entity: - country: Italia - code: "123" - notes: notes - ei_code: ei_code - default_payment_terms_type: standard - vat_number: IT01234567890 - created_at: created_at - type: company - address_extra: address_extra - bank_swift_code: bank_swift_code - default_vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - address_province: BG - updated_at: updated_at - bank_name: bank_name - id: 9 - shipping_address: shipping_address - fax: fax - first_name: first_name - bank_iban: bank_iban - country_iso: Italia - email: mario.rossi@example.it - contact_person: contact_person - address_postal_code: "24010" - default_payment_method: - default_payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - name: name - bank_name: bank_name - details: - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - bank_beneficiary: bank_beneficiary - id: 3 - type: standard - is_default: true - ei_payment_method: ei_payment_method - bank_iban: bank_iban - last_name: last_name - address_city: Bergamo - tax_code: RSSMRA44A12E890Q - intent_declaration_protocol_number: intent_declaration_protocol_number - phone: phone - address_street: "Via dei tigli, 12" - e_invoice: true - name: Rossi S.r.l. - default_payment_terms: 30 - certified_email: mario.rossi@pec.example.it - has_intent_declaration: true - intent_declaration_protocol_date: 2000-01-23 - amount_cassa_taxable: 1.0246457001441578 - amount_cassa2_taxable: 1.1730742509559433 - options: - keep_copy: true - transform: true - join_type: join_type - create_from: - - create_from - - create_from - fix_payments: true - properties: - data: - $ref: "#/components/schemas/IssuedDocument" - options: - $ref: "#/components/schemas/IssuedDocumentOptions" - title: ModifyIssuedDocumentRequest - type: object - GetNewIssuedDocumentTotalsRequest: - example: - data: - date: 2000-01-23 - numeration: /A - notes: notes - year: 3 - subject: subject - rivalsa: 2.027123023002322 - dn_ai_causal: dn_ai_causal - language: - code: code - name: name - type: invoice - show_payments: true - ei_data: - original_document_type: ordine - cig: cig - bank_name: bank_name - od_number: od_number - od_date: 2000-01-23 - bank_beneficiary: bank_beneficiary - vat_kind: null - bank_iban: bank_iban - invoice_number: invoice_number - payment_method: payment_method - cup: cup - invoice_date: 2000-01-23 - dn_ai_weight: dn_ai_weight - number: 1 - rc_center: rc_center - items_list: - - code: "239874892374982" - ei_raw: "{}" - discount_highlight: true - vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - description: description - not_taxable: true - discount: 3.5571952270680973 - net_price: 1.23 - apply_withholding_taxes: true - measure: measure - product_id: 1234 - qty: 6.438423552598547 - name: Water bottle - gross_price: 1.45 - id: 9 - category: category - stock: true - in_dn: true - - code: "239874892374982" - ei_raw: "{}" - discount_highlight: true - vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - description: description - not_taxable: true - discount: 3.5571952270680973 - net_price: 1.23 - apply_withholding_taxes: true - measure: measure - product_id: 1234 - qty: 6.438423552598547 - name: Water bottle - gross_price: 1.45 - id: 9 - category: category - stock: true - in_dn: true - dn_ai_notes: dn_ai_notes - acc_inv_template: - name: Light Smoke - id: 123 - type: type - id: 7 - delivery_note_template: - name: Light Smoke - id: 123 - type: type - locked: true - show_tspay_button: true - payment_method: - default_payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - name: name - bank_name: bank_name - details: - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - bank_beneficiary: bank_beneficiary - id: 3 - type: standard - is_default: true - ei_payment_method: ei_payment_method - bank_iban: bank_iban - attachment_token: attachment_token - amount_net: 5.944895607614016 - dn_ai_destination: dn_ai_destination - ai_url: ai_url - amount_cassa: 7.386281948385884 - cassa2_taxable: 7.457744773683766 - v_margins: 6 - amount_cassa2: 6.84685269835264 - accompanying_invoice: true - amount_rivalsa_taxable: 0.8851374739011653 - amount_rivalsa: 7.143538047012306 - show_totals: all - stamp_duty: 8.762042012749001 - use_gross_prices: true - global_cassa_taxable: 4.965218492984954 - e_invoice: true - dn_ai_packages_number: dn_ai_packages_number - withholding_tax: 9.965781217890562 - amount_withholding_tax_taxable: 6.519180951018382 - other_withholding_tax: 6.683562403749608 - ei_other_withholding_tax_type: ei_other_withholding_tax_type - template: - name: Light Smoke - id: 123 - type: type - cassa: 4.145608029883936 - ei_raw: "{}" - amount_global_cassa_taxable: 5.025004791520295 - amount_due_discount: 3.0937452626664474 - amount_enasarco_taxable: 8.969578798196912 - created_at: created_at - visible_subject: visible_subject - use_split_payment: true - payments_list: - - amount: 1.45 - payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - ei_raw: "{}" - due_date: 2018-04-03 - id: 6 - payment_terms: - days: 1 - type: null - paid_date: 2018-04-03 - status: not_paid - - amount: 1.45 - payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - ei_raw: "{}" - due_date: 2018-04-03 - id: 6 - payment_terms: - days: 1 - type: null - paid_date: 2018-04-03 - status: not_paid - h_margins: 2 - dn_date: 2000-01-23 - ei_other_withholding_tax_causal: ei_other_withholding_tax_causal - next_due_date: 2000-01-23 - cassa2: 1.4894159098541704 - withholding_tax_taxable: 9.369310271410669 - is_marked: true - updated_at: updated_at - amount_vat: 6.704019297950036 - amount_other_withholding_tax_taxable: 4.652396432933246 - currency: - symbol: € - exchange_rate: "1" - html_symbol: EUR - id: EUR - dn_number: 6 - amount_other_withholding_tax: 0.10263654006109402 - ei_cassa_type: ei_cassa_type - dn_ai_transporter: dn_ai_transporter - show_notification_button: true - dn_url: dn_url - show_payment_method: true - price_list_id: price_list_id - delivery_note: true - url: url - attachment_url: attachment_url - amount_withholding_tax: 7.058770351582356 - extra_data: - ts_file_id: ts_file_id - ts_flag_tipo_spesa: 3.0205796992916243 - ts_pagamento_tracciato: true - ts_status: 3 - ts_opposizione: true - ts_communication: true - ts_full_amount: true - ts_tipo_spesa: ts_tipo_spesa - multifatture_sent: 7 - imported_by: imported_by - ts_sent_date: 2000-01-23 - ei_status: attempt - seen_date: 2000-01-23 - ei_cassa2_type: ei_cassa2_type - ei_withholding_tax_causal: ei_withholding_tax_causal - cassa_taxable: 1.2315135367772556 - amount_gross: 3.353193347011243 - entity: - country: Italia - code: "123" - notes: notes - ei_code: ei_code - default_payment_terms_type: standard - vat_number: IT01234567890 - created_at: created_at - type: company - address_extra: address_extra - bank_swift_code: bank_swift_code - default_vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - address_province: BG - updated_at: updated_at - bank_name: bank_name - id: 9 - shipping_address: shipping_address - fax: fax - first_name: first_name - bank_iban: bank_iban - country_iso: Italia - email: mario.rossi@example.it - contact_person: contact_person - address_postal_code: "24010" - default_payment_method: - default_payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - name: name - bank_name: bank_name - details: - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - bank_beneficiary: bank_beneficiary - id: 3 - type: standard - is_default: true - ei_payment_method: ei_payment_method - bank_iban: bank_iban - last_name: last_name - address_city: Bergamo - tax_code: RSSMRA44A12E890Q - intent_declaration_protocol_number: intent_declaration_protocol_number - phone: phone - address_street: "Via dei tigli, 12" - e_invoice: true - name: Rossi S.r.l. - default_payment_terms: 30 - certified_email: mario.rossi@pec.example.it - has_intent_declaration: true - intent_declaration_protocol_date: 2000-01-23 - amount_cassa_taxable: 1.0246457001441578 - amount_cassa2_taxable: 1.1730742509559433 - properties: - data: - $ref: "#/components/schemas/IssuedDocument" - title: GetNewIssuedDocumentTotalsRequest - type: object - GetExistingIssuedDocumentTotalsRequest: - example: - data: - date: 2000-01-23 - numeration: /A - notes: notes - year: 3 - subject: subject - rivalsa: 2.027123023002322 - dn_ai_causal: dn_ai_causal - language: - code: code - name: name - type: invoice - show_payments: true - ei_data: - original_document_type: ordine - cig: cig - bank_name: bank_name - od_number: od_number - od_date: 2000-01-23 - bank_beneficiary: bank_beneficiary - vat_kind: null - bank_iban: bank_iban - invoice_number: invoice_number - payment_method: payment_method - cup: cup - invoice_date: 2000-01-23 - dn_ai_weight: dn_ai_weight - number: 1 - rc_center: rc_center - items_list: - - code: "239874892374982" - ei_raw: "{}" - discount_highlight: true - vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - description: description - not_taxable: true - discount: 3.5571952270680973 - net_price: 1.23 - apply_withholding_taxes: true - measure: measure - product_id: 1234 - qty: 6.438423552598547 - name: Water bottle - gross_price: 1.45 - id: 9 - category: category - stock: true - in_dn: true - - code: "239874892374982" - ei_raw: "{}" - discount_highlight: true - vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - description: description - not_taxable: true - discount: 3.5571952270680973 - net_price: 1.23 - apply_withholding_taxes: true - measure: measure - product_id: 1234 - qty: 6.438423552598547 - name: Water bottle - gross_price: 1.45 - id: 9 - category: category - stock: true - in_dn: true - dn_ai_notes: dn_ai_notes - acc_inv_template: - name: Light Smoke - id: 123 - type: type - id: 7 - delivery_note_template: - name: Light Smoke - id: 123 - type: type - locked: true - show_tspay_button: true - payment_method: - default_payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - name: name - bank_name: bank_name - details: - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - bank_beneficiary: bank_beneficiary - id: 3 - type: standard - is_default: true - ei_payment_method: ei_payment_method - bank_iban: bank_iban - attachment_token: attachment_token - amount_net: 5.944895607614016 - dn_ai_destination: dn_ai_destination - ai_url: ai_url - amount_cassa: 7.386281948385884 - cassa2_taxable: 7.457744773683766 - v_margins: 6 - amount_cassa2: 6.84685269835264 - accompanying_invoice: true - amount_rivalsa_taxable: 0.8851374739011653 - amount_rivalsa: 7.143538047012306 - show_totals: all - stamp_duty: 8.762042012749001 - use_gross_prices: true - global_cassa_taxable: 4.965218492984954 - e_invoice: true - dn_ai_packages_number: dn_ai_packages_number - withholding_tax: 9.965781217890562 - amount_withholding_tax_taxable: 6.519180951018382 - other_withholding_tax: 6.683562403749608 - ei_other_withholding_tax_type: ei_other_withholding_tax_type - template: - name: Light Smoke - id: 123 - type: type - cassa: 4.145608029883936 - ei_raw: "{}" - amount_global_cassa_taxable: 5.025004791520295 - amount_due_discount: 3.0937452626664474 - amount_enasarco_taxable: 8.969578798196912 - created_at: created_at - visible_subject: visible_subject - use_split_payment: true - payments_list: - - amount: 1.45 - payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - ei_raw: "{}" - due_date: 2018-04-03 - id: 6 - payment_terms: - days: 1 - type: null - paid_date: 2018-04-03 - status: not_paid - - amount: 1.45 - payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - ei_raw: "{}" - due_date: 2018-04-03 - id: 6 - payment_terms: - days: 1 - type: null - paid_date: 2018-04-03 - status: not_paid - h_margins: 2 - dn_date: 2000-01-23 - ei_other_withholding_tax_causal: ei_other_withholding_tax_causal - next_due_date: 2000-01-23 - cassa2: 1.4894159098541704 - withholding_tax_taxable: 9.369310271410669 - is_marked: true - updated_at: updated_at - amount_vat: 6.704019297950036 - amount_other_withholding_tax_taxable: 4.652396432933246 - currency: - symbol: € - exchange_rate: "1" - html_symbol: EUR - id: EUR - dn_number: 6 - amount_other_withholding_tax: 0.10263654006109402 - ei_cassa_type: ei_cassa_type - dn_ai_transporter: dn_ai_transporter - show_notification_button: true - dn_url: dn_url - show_payment_method: true - price_list_id: price_list_id - delivery_note: true - url: url - attachment_url: attachment_url - amount_withholding_tax: 7.058770351582356 - extra_data: - ts_file_id: ts_file_id - ts_flag_tipo_spesa: 3.0205796992916243 - ts_pagamento_tracciato: true - ts_status: 3 - ts_opposizione: true - ts_communication: true - ts_full_amount: true - ts_tipo_spesa: ts_tipo_spesa - multifatture_sent: 7 - imported_by: imported_by - ts_sent_date: 2000-01-23 - ei_status: attempt - seen_date: 2000-01-23 - ei_cassa2_type: ei_cassa2_type - ei_withholding_tax_causal: ei_withholding_tax_causal - cassa_taxable: 1.2315135367772556 - amount_gross: 3.353193347011243 - entity: - country: Italia - code: "123" - notes: notes - ei_code: ei_code - default_payment_terms_type: standard - vat_number: IT01234567890 - created_at: created_at - type: company - address_extra: address_extra - bank_swift_code: bank_swift_code - default_vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - address_province: BG - updated_at: updated_at - bank_name: bank_name - id: 9 - shipping_address: shipping_address - fax: fax - first_name: first_name - bank_iban: bank_iban - country_iso: Italia - email: mario.rossi@example.it - contact_person: contact_person - address_postal_code: "24010" - default_payment_method: - default_payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - name: name - bank_name: bank_name - details: - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - bank_beneficiary: bank_beneficiary - id: 3 - type: standard - is_default: true - ei_payment_method: ei_payment_method - bank_iban: bank_iban - last_name: last_name - address_city: Bergamo - tax_code: RSSMRA44A12E890Q - intent_declaration_protocol_number: intent_declaration_protocol_number - phone: phone - address_street: "Via dei tigli, 12" - e_invoice: true - name: Rossi S.r.l. - default_payment_terms: 30 - certified_email: mario.rossi@pec.example.it - has_intent_declaration: true - intent_declaration_protocol_date: 2000-01-23 - amount_cassa_taxable: 1.0246457001441578 - amount_cassa2_taxable: 1.1730742509559433 - properties: - data: - $ref: "#/components/schemas/IssuedDocument" - title: GetExistingIssuedDocumentTotalsRequest - type: object - UploadIssuedDocumentAttachmentRequest: - $ref: "#/components/schemas/Attachment" - Attachment: - properties: - filename: - description: Attachment file name - example: attachment.pdf - nullable: true - type: string - attachment: - description: "Attachment file [.png, .jpg, .gif, .pdf, .zip, .xls, .xlsx,\ - \ .doc, .docx]" - format: binary - type: string - title: Attachment - type: object - ScheduleEmailRequest: - description: "" - example: - data: - include: - attachment: true - document: true - accompanying_invoice: true - delivery_note: true - subject: subject - recipient_email: recipient_email - attach_pdf: true - body: body - send_copy: true - sender_id: 0 - sender_email: sender_email - properties: - data: - $ref: "#/components/schemas/EmailSchedule" - title: ScheduleEmailRequest - type: object - SendEInvoiceRequest: - example: - data: - withholding_tax_causal: withholding_tax_causal - cassa_type: cassa_type - options: - dry_run: true - properties: - data: - $ref: "#/components/schemas/SendEInvoiceRequest_data" - options: - $ref: "#/components/schemas/SendEInvoiceRequest_options" - title: SendEInvoiceRequest - type: object - CreateReceivedDocumentRequest: - description: "" - example: - data: - date: 2000-01-23 - attachment_preview_url: attachment_preview_url - auto_calculate: true - tax_deductibility: 1.0246457001441578 - description: description - created_at: created_at - amortization: 1.2315135367772556 - type: expense - payments_list: - - amount: 9.369310271410669 - payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - due_date: 2000-01-23 - id: 9 - payment_terms: - days: 6 - type: standard - paid_date: 2000-01-23 - status: status - - amount: 9.369310271410669 - payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - due_date: 2000-01-23 - id: 9 - payment_terms: - days: 6 - type: standard - paid_date: 2000-01-23 - status: status - is_detailed: true - next_due_date: 2000-01-23 - rc_center: rc_center - is_marked: true - updated_at: updated_at - amount_vat: 3.616076749251911 - items_list: - - code: code - measure: measure - product_id: 7 - qty: 4.965218492984954 - name: name - vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - net_price: 1.1730742509559433 - id: 6 - category: category - stock: 5.025004791520295 - - code: code - measure: measure - product_id: 7 - qty: 4.965218492984954 - name: name - vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - net_price: 1.1730742509559433 - id: 6 - category: category - stock: 5.025004791520295 - currency: - symbol: € - exchange_rate: "1" - html_symbol: EUR - id: EUR - id: 7 - amount_other_withholding_tax: 4.145608029883936 - locked: true - invoice_number: invoice_number - vat_deductibility: 1.4894159098541704 - attachment_token: attachment_token - amount_net: 9.301444243932576 - attachment_url: attachment_url - amount_withholding_tax: 2.027123023002322 - e_invoice: true - category: category - amount_gross: 7.386281948385884 - entity: - country: Italia - code: "123" - notes: notes - ei_code: ei_code - default_payment_terms_type: standard - vat_number: IT01234567890 - created_at: created_at - type: company - address_extra: address_extra - bank_swift_code: bank_swift_code - default_vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - address_province: BG - updated_at: updated_at - bank_name: bank_name - id: 9 - shipping_address: shipping_address - fax: fax - first_name: first_name - bank_iban: bank_iban - country_iso: Italia - email: mario.rossi@example.it - contact_person: contact_person - address_postal_code: "24010" - default_payment_method: - default_payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - name: name - bank_name: bank_name - details: - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - bank_beneficiary: bank_beneficiary - id: 3 - type: standard - is_default: true - ei_payment_method: ei_payment_method - bank_iban: bank_iban - last_name: last_name - address_city: Bergamo - tax_code: RSSMRA44A12E890Q - intent_declaration_protocol_number: intent_declaration_protocol_number - phone: phone - address_street: "Via dei tigli, 12" - e_invoice: true - name: Rossi S.r.l. - default_payment_terms: 30 - certified_email: mario.rossi@pec.example.it - has_intent_declaration: true - intent_declaration_protocol_date: 2000-01-23 - pending_id: 0 - properties: - pending_id: - description: Pending received document id of the document from which the - new document is created. - nullable: true - type: integer - data: - $ref: "#/components/schemas/ReceivedDocument" - title: CreateReceivedDocumentRequest - type: object - ModifyReceivedDocumentRequest: - description: "" - example: - data: - date: 2000-01-23 - attachment_preview_url: attachment_preview_url - auto_calculate: true - tax_deductibility: 1.0246457001441578 - description: description - created_at: created_at - amortization: 1.2315135367772556 - type: expense - payments_list: - - amount: 9.369310271410669 - payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - due_date: 2000-01-23 - id: 9 - payment_terms: - days: 6 - type: standard - paid_date: 2000-01-23 - status: status - - amount: 9.369310271410669 - payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - due_date: 2000-01-23 - id: 9 - payment_terms: - days: 6 - type: standard - paid_date: 2000-01-23 - status: status - is_detailed: true - next_due_date: 2000-01-23 - rc_center: rc_center - is_marked: true - updated_at: updated_at - amount_vat: 3.616076749251911 - items_list: - - code: code - measure: measure - product_id: 7 - qty: 4.965218492984954 - name: name - vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - net_price: 1.1730742509559433 - id: 6 - category: category - stock: 5.025004791520295 - - code: code - measure: measure - product_id: 7 - qty: 4.965218492984954 - name: name - vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - net_price: 1.1730742509559433 - id: 6 - category: category - stock: 5.025004791520295 - currency: - symbol: € - exchange_rate: "1" - html_symbol: EUR - id: EUR - id: 7 - amount_other_withholding_tax: 4.145608029883936 - locked: true - invoice_number: invoice_number - vat_deductibility: 1.4894159098541704 - attachment_token: attachment_token - amount_net: 9.301444243932576 - attachment_url: attachment_url - amount_withholding_tax: 2.027123023002322 - e_invoice: true - category: category - amount_gross: 7.386281948385884 - entity: - country: Italia - code: "123" - notes: notes - ei_code: ei_code - default_payment_terms_type: standard - vat_number: IT01234567890 - created_at: created_at - type: company - address_extra: address_extra - bank_swift_code: bank_swift_code - default_vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - address_province: BG - updated_at: updated_at - bank_name: bank_name - id: 9 - shipping_address: shipping_address - fax: fax - first_name: first_name - bank_iban: bank_iban - country_iso: Italia - email: mario.rossi@example.it - contact_person: contact_person - address_postal_code: "24010" - default_payment_method: - default_payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - name: name - bank_name: bank_name - details: - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - bank_beneficiary: bank_beneficiary - id: 3 - type: standard - is_default: true - ei_payment_method: ei_payment_method - bank_iban: bank_iban - last_name: last_name - address_city: Bergamo - tax_code: RSSMRA44A12E890Q - intent_declaration_protocol_number: intent_declaration_protocol_number - phone: phone - address_street: "Via dei tigli, 12" - e_invoice: true - name: Rossi S.r.l. - default_payment_terms: 30 - certified_email: mario.rossi@pec.example.it - has_intent_declaration: true - intent_declaration_protocol_date: 2000-01-23 - properties: - data: - $ref: "#/components/schemas/ReceivedDocument" - title: ModifyReceivedDocumentRequest - type: object - GetNewReceivedDocumentTotalsRequest: - description: "" - example: - data: - date: 2000-01-23 - attachment_preview_url: attachment_preview_url - auto_calculate: true - tax_deductibility: 1.0246457001441578 - description: description - created_at: created_at - amortization: 1.2315135367772556 - type: expense - payments_list: - - amount: 9.369310271410669 - payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - due_date: 2000-01-23 - id: 9 - payment_terms: - days: 6 - type: standard - paid_date: 2000-01-23 - status: status - - amount: 9.369310271410669 - payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - due_date: 2000-01-23 - id: 9 - payment_terms: - days: 6 - type: standard - paid_date: 2000-01-23 - status: status - is_detailed: true - next_due_date: 2000-01-23 - rc_center: rc_center - is_marked: true - updated_at: updated_at - amount_vat: 3.616076749251911 - items_list: - - code: code - measure: measure - product_id: 7 - qty: 4.965218492984954 - name: name - vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - net_price: 1.1730742509559433 - id: 6 - category: category - stock: 5.025004791520295 - - code: code - measure: measure - product_id: 7 - qty: 4.965218492984954 - name: name - vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - net_price: 1.1730742509559433 - id: 6 - category: category - stock: 5.025004791520295 - currency: - symbol: € - exchange_rate: "1" - html_symbol: EUR - id: EUR - id: 7 - amount_other_withholding_tax: 4.145608029883936 - locked: true - invoice_number: invoice_number - vat_deductibility: 1.4894159098541704 - attachment_token: attachment_token - amount_net: 9.301444243932576 - attachment_url: attachment_url - amount_withholding_tax: 2.027123023002322 - e_invoice: true - category: category - amount_gross: 7.386281948385884 - entity: - country: Italia - code: "123" - notes: notes - ei_code: ei_code - default_payment_terms_type: standard - vat_number: IT01234567890 - created_at: created_at - type: company - address_extra: address_extra - bank_swift_code: bank_swift_code - default_vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - address_province: BG - updated_at: updated_at - bank_name: bank_name - id: 9 - shipping_address: shipping_address - fax: fax - first_name: first_name - bank_iban: bank_iban - country_iso: Italia - email: mario.rossi@example.it - contact_person: contact_person - address_postal_code: "24010" - default_payment_method: - default_payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - name: name - bank_name: bank_name - details: - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - bank_beneficiary: bank_beneficiary - id: 3 - type: standard - is_default: true - ei_payment_method: ei_payment_method - bank_iban: bank_iban - last_name: last_name - address_city: Bergamo - tax_code: RSSMRA44A12E890Q - intent_declaration_protocol_number: intent_declaration_protocol_number - phone: phone - address_street: "Via dei tigli, 12" - e_invoice: true - name: Rossi S.r.l. - default_payment_terms: 30 - certified_email: mario.rossi@pec.example.it - has_intent_declaration: true - intent_declaration_protocol_date: 2000-01-23 - properties: - data: - $ref: "#/components/schemas/ReceivedDocument" - title: GetNewReceivedDocumentTotalsRequest - type: object - GetExistingReceivedDocumentTotalsRequest: - description: "" - example: - data: - date: 2000-01-23 - attachment_preview_url: attachment_preview_url - auto_calculate: true - tax_deductibility: 1.0246457001441578 - description: description - created_at: created_at - amortization: 1.2315135367772556 - type: expense - payments_list: - - amount: 9.369310271410669 - payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - due_date: 2000-01-23 - id: 9 - payment_terms: - days: 6 - type: standard - paid_date: 2000-01-23 - status: status - - amount: 9.369310271410669 - payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - due_date: 2000-01-23 - id: 9 - payment_terms: - days: 6 - type: standard - paid_date: 2000-01-23 - status: status - is_detailed: true - next_due_date: 2000-01-23 - rc_center: rc_center - is_marked: true - updated_at: updated_at - amount_vat: 3.616076749251911 - items_list: - - code: code - measure: measure - product_id: 7 - qty: 4.965218492984954 - name: name - vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - net_price: 1.1730742509559433 - id: 6 - category: category - stock: 5.025004791520295 - - code: code - measure: measure - product_id: 7 - qty: 4.965218492984954 - name: name - vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - net_price: 1.1730742509559433 - id: 6 - category: category - stock: 5.025004791520295 - currency: - symbol: € - exchange_rate: "1" - html_symbol: EUR - id: EUR - id: 7 - amount_other_withholding_tax: 4.145608029883936 - locked: true - invoice_number: invoice_number - vat_deductibility: 1.4894159098541704 - attachment_token: attachment_token - amount_net: 9.301444243932576 - attachment_url: attachment_url - amount_withholding_tax: 2.027123023002322 - e_invoice: true - category: category - amount_gross: 7.386281948385884 - entity: - country: Italia - code: "123" - notes: notes - ei_code: ei_code - default_payment_terms_type: standard - vat_number: IT01234567890 - created_at: created_at - type: company - address_extra: address_extra - bank_swift_code: bank_swift_code - default_vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - address_province: BG - updated_at: updated_at - bank_name: bank_name - id: 9 - shipping_address: shipping_address - fax: fax - first_name: first_name - bank_iban: bank_iban - country_iso: Italia - email: mario.rossi@example.it - contact_person: contact_person - address_postal_code: "24010" - default_payment_method: - default_payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - name: name - bank_name: bank_name - details: - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - bank_beneficiary: bank_beneficiary - id: 3 - type: standard - is_default: true - ei_payment_method: ei_payment_method - bank_iban: bank_iban - last_name: last_name - address_city: Bergamo - tax_code: RSSMRA44A12E890Q - intent_declaration_protocol_number: intent_declaration_protocol_number - phone: phone - address_street: "Via dei tigli, 12" - e_invoice: true - name: Rossi S.r.l. - default_payment_terms: 30 - certified_email: mario.rossi@pec.example.it - has_intent_declaration: true - intent_declaration_protocol_date: 2000-01-23 - properties: - data: - $ref: "#/components/schemas/ReceivedDocument" - title: GetExistingReceivedDocumentTotals - type: object - UploadReceivedDocumentAttachmentRequest: - $ref: "#/components/schemas/Attachment" - CreateReceiptRequest: - description: "" - example: - autocomplete_number: true - data: - date: 2000-01-23 - amount_net: 3.616076749251911 - numeration: numeration - description: description - created_at: created_at - type: till_receipt - number: 9.301444243932576 - use_gross_prices: true - rc_center: rc_center - payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - updated_at: updated_at - amount_vat: 2.027123023002322 - items_list: - - amount_net: 1.2315135367772556 - vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - id: 7 - category: category - amount_gross: 1.0246457001441578 - - amount_net: 1.2315135367772556 - vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - id: 7 - category: category - amount_gross: 1.0246457001441578 - id: 7 - amount_gross: 4.145608029883936 - properties: - data: - $ref: "#/components/schemas/Receipt" - autocomplete_number: - description: "If true, the number is autocompleted progressively." - nullable: true - type: boolean - title: CreateReceiptRequest - type: object - ModifyReceiptRequest: - description: "" - example: - data: - date: 2000-01-23 - amount_net: 3.616076749251911 - numeration: numeration - description: description - created_at: created_at - type: till_receipt - number: 9.301444243932576 - use_gross_prices: true - rc_center: rc_center - payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - updated_at: updated_at - amount_vat: 2.027123023002322 - items_list: - - amount_net: 1.2315135367772556 - vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - id: 7 - category: category - amount_gross: 1.0246457001441578 - - amount_net: 1.2315135367772556 - vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - id: 7 - category: category - amount_gross: 1.0246457001441578 - id: 7 - amount_gross: 4.145608029883936 - properties: - data: - $ref: "#/components/schemas/Receipt" - title: ModifyReceiptRequest - type: object - CreateF24Request: - description: "" - example: - data: - attachment_token: attachment_token - amount: 300 - payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - due_date: 2018-02-12 - description: description - id: 7 - attachment_url: attachment_url - status: paid - properties: - data: - $ref: "#/components/schemas/F24" - title: CreateF24Request - type: object - ModifyF24Request: - description: "" - example: - data: - attachment_token: attachment_token - amount: 300 - payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - due_date: 2018-02-12 - description: description - id: 7 - attachment_url: attachment_url - status: paid - properties: - data: - $ref: "#/components/schemas/F24" - title: ModifyF24Request - type: object - UploadF24AttachmentRequest: - $ref: "#/components/schemas/Attachment" - CreateArchiveDocumentRequest: - description: "" - example: - data: - date: 2000-01-23 - attachment_token: attachment_token - description: description - id: 7 - category: category - attachment_url: attachment_url - properties: - data: - $ref: "#/components/schemas/ArchiveDocument" - title: CreateArchiveDocumentRequest - type: object - ModifyArchiveDocumentRequest: - description: "" - example: - data: - date: 2000-01-23 - attachment_token: attachment_token - description: description - id: 7 - category: category - attachment_url: attachment_url - properties: - data: - $ref: "#/components/schemas/ArchiveDocument" - title: ModifyArchiveDocumentRequest - type: object - UploadArchiveDocumentAttachmentRequest: - $ref: "#/components/schemas/Attachment" - CreateCashbookEntryRequest: - description: "" - example: - data: - date: 2000-01-23 - amount_out: 1.4658129805029452 - amount_in: 6.027456183070403 - entity_name: entity_name - kind: cashbook - payment_account_in: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - payment_account_out: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - document: - path: path - id: 0 - type: type - description: description - id: id - type: in - properties: - data: - $ref: "#/components/schemas/CashbookEntry" - title: CreateCashbookEntryRequest - type: object - ModifyCashbookEntryRequest: - description: "" - example: - data: - date: 2000-01-23 - amount_out: 1.4658129805029452 - amount_in: 6.027456183070403 - entity_name: entity_name - kind: cashbook - payment_account_in: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - payment_account_out: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - document: - path: path - id: 0 - type: type - description: description - id: id - type: in - properties: - data: - $ref: "#/components/schemas/CashbookEntry" - title: ModifyCashbookEntryRequest - type: object - CreatePaymentMethodRequest: - example: - data: - default_payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - name: name - bank_name: bank_name - details: - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - bank_beneficiary: bank_beneficiary - id: 3 - type: standard - is_default: true - ei_payment_method: ei_payment_method - bank_iban: bank_iban - properties: - data: - $ref: "#/components/schemas/PaymentMethod" - title: CreatePaymentMethodRequest - type: object - ModifyPaymentMethodRequest: - example: - data: - default_payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - name: name - bank_name: bank_name - details: - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - bank_beneficiary: bank_beneficiary - id: 3 - type: standard - is_default: true - ei_payment_method: ei_payment_method - bank_iban: bank_iban - properties: - data: - $ref: "#/components/schemas/PaymentMethod" - title: ModifyPaymentMethodRequest - type: object - CreatePaymentAccountRequest: - example: - data: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - properties: - data: - $ref: "#/components/schemas/PaymentAccount" - title: CreatePaymentAccountRequest - type: object - ModifyPaymentAccountRequest: - example: - data: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - properties: - data: - $ref: "#/components/schemas/PaymentAccount" - title: ModifyPaymentAccountRequest - type: object - CreateVatTypeRequest: - example: - data: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - properties: - data: - $ref: "#/components/schemas/VatType" - title: CreateVatTypeRequest - type: object - ModifyVatTypeRequest: - example: - data: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - properties: - data: - $ref: "#/components/schemas/VatType" - type: object - CreateWebhooksSubscriptionRequest: - example: - data: - types: - - it.fattureincloud.webhooks.issued_documents.invoices.create - - it.fattureincloud.webhooks.issued_documents.invoices.create - sink: sink - verification_method: header - verified: true - id: id - config: - mapping: binary - properties: - data: - $ref: "#/components/schemas/WebhooksSubscription" - title: CreateWebhooksSubscriptionRequest - type: object - ModifyWebhooksSubscriptionRequest: - example: - data: - types: - - it.fattureincloud.webhooks.issued_documents.invoices.create - - it.fattureincloud.webhooks.issued_documents.invoices.create - sink: sink - verification_method: header - verified: true - id: id - config: - mapping: binary - properties: - data: - $ref: "#/components/schemas/WebhooksSubscription" - title: ModifyWebhooksSubscriptionRequest - type: object - VerifyWebhooksSubscriptionRequest: - example: - data: - verification_method: header - id: id - properties: - data: - $ref: "#/components/schemas/VerifyWebhooksSubscription" - title: VerifyWebhooksSubscriptionRequest - type: object - GetUserInfoResponse: - description: "" - example: - email_confirmation_state: - need_confirmation: true - data: - name: Mario Rossi - last_name: Rossi - id: 12345 - first_name: Mario - email: mario.rossi@example.com - hash: 5add29e1234532a1bf2ed7b612043029 - picture: picture.jpg - info: - need_password_change: true - need_marketing_consents_confirmation: true - need_terms_of_service_confirmation: true - properties: - data: - $ref: "#/components/schemas/User" - info: - $ref: "#/components/schemas/GetUserInfoResponse_info" - email_confirmation_state: - $ref: "#/components/schemas/GetUserInfoResponse_email_confirmation_state" - title: GetUserInfoResponse - type: object - ListUserCompaniesResponse: - description: "" - example: - data: - companies: - - access_token: fd015011d2dbf8a9d38e810b325b11b56d02e51688e5261a245933b8e677b8b44ff5f0fe5ccaaf1d7157fa13ca72ab62b6183db0667a576a0e19164801c18c4fd81273fc1f95bf460b869015cf99acba - tax_code: tax_code - fic_license_expire: 2000-01-23 - connection_id: 6 - vat_number: vat_number - name: Rossi S.r.l. - id: 12345 - type: company - fic_plan: null - controlled_companies: - - access_token: fd015011d2dbf8a9d38e810b325b11b56d02e51688e5261a245933b8e677b8b44ff5f0fe5ccaaf1d7157fa13ca72ab62b6183db0667a576a0e19164801c18c4fd81273fc1f95bf460b869015cf99acba - tax_code: tax_code - fic_license_expire: 2000-01-23 - connection_id: 0.8008281904610115 - name: Rossi S.r.l. - id: 12345 - type: null - fic_plan: trial - - access_token: fd015011d2dbf8a9d38e810b325b11b56d02e51688e5261a245933b8e677b8b44ff5f0fe5ccaaf1d7157fa13ca72ab62b6183db0667a576a0e19164801c18c4fd81273fc1f95bf460b869015cf99acba - tax_code: tax_code - fic_license_expire: 2000-01-23 - connection_id: 0.8008281904610115 - name: Rossi S.r.l. - id: 12345 - type: null - fic_plan: trial - - access_token: fd015011d2dbf8a9d38e810b325b11b56d02e51688e5261a245933b8e677b8b44ff5f0fe5ccaaf1d7157fa13ca72ab62b6183db0667a576a0e19164801c18c4fd81273fc1f95bf460b869015cf99acba - tax_code: tax_code - fic_license_expire: 2000-01-23 - connection_id: 6 - vat_number: vat_number - name: Rossi S.r.l. - id: 12345 - type: company - fic_plan: null - controlled_companies: - - access_token: fd015011d2dbf8a9d38e810b325b11b56d02e51688e5261a245933b8e677b8b44ff5f0fe5ccaaf1d7157fa13ca72ab62b6183db0667a576a0e19164801c18c4fd81273fc1f95bf460b869015cf99acba - tax_code: tax_code - fic_license_expire: 2000-01-23 - connection_id: 0.8008281904610115 - name: Rossi S.r.l. - id: 12345 - type: null - fic_plan: trial - - access_token: fd015011d2dbf8a9d38e810b325b11b56d02e51688e5261a245933b8e677b8b44ff5f0fe5ccaaf1d7157fa13ca72ab62b6183db0667a576a0e19164801c18c4fd81273fc1f95bf460b869015cf99acba - tax_code: tax_code - fic_license_expire: 2000-01-23 - connection_id: 0.8008281904610115 - name: Rossi S.r.l. - id: 12345 - type: null - fic_plan: trial - properties: - data: - $ref: "#/components/schemas/ListUserCompaniesResponse_data" - title: ListUserCompaniesResponse - type: object - GetCompanyInfoResponse: - description: "" - example: - data: - fic_plan_name: trial - fic_license_expire: 2000-01-23 - accountant_id: 5 - name: Mario Rossi S.r.l. - is_accountant: true - plan_info: - functions: - smtp: true - recurring: true - ts_invoice_trading: true - archive: true - payment_notifications: true - receipts: true - cerved: true - document_attachments: true - genius: true - ts_digital: true - e_invoice: true - subaccounts: true - ts_pay: true - stock: true - paypal: true - mail_tracking: true - tessera_sanitaria: true - functions_status: - ts_digital: - active: true - ts_pay: - active: true - limits: - clients: 0 - suppliers: 6 - documents: 5 - products: 1 - id: 12345 - access_info: - role: master - through_accountant: true - permissions: - dic_settings: null - fic_import_bankstatements: null - fic_suppliers: null - fic_products: null - fic_taxes: null - fic_export: null - fic_import_clients_suppliers: null - fic_riba: null - fic_emails: null - fic_stock: null - fic_import_issued_documents: null - fic_clients: null - fic_situation: none - fic_calendar: null - fic_issued_documents: null - fic_settings: null - fic_recurring: null - fic_received_documents: null - fic_cashbook: null - fic_archive: null - dic_timesheet: null - dic_employees: null - fic_receipts: null - fic_issued_documents_detailed: - receipts: null - supplier_orders: null - delivery_notes: null - invoices: null - credit_notes: null - proformas: null - orders: null - work_reports: null - self_invoices: null - quotes: null - fic_import_products: null - type: company - email: mario@rossi-example.it - properties: - data: - $ref: "#/components/schemas/CompanyInfo" - title: GetCompanyInfoResponse - type: object - CreateClientResponse: - example: - data: - country: Italia - code: "123" - notes: notes - ei_code: ei_code - default_payment_terms_type: standard - discount_highlight: true - vat_number: IT01234567890 - created_at: created_at - type: company - address_extra: address_extra - bank_swift_code: bank_swift_code - default_discount: 4.145608029883936 - default_vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - address_province: BG - updated_at: updated_at - bank_name: bank_name - id: 7 - shipping_address: shipping_address - fax: fax - first_name: first_name - bank_iban: bank_iban - country_iso: Italia - email: mario.rossi@example.it - contact_person: contact_person - address_postal_code: "24010" - default_payment_method: - default_payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - name: name - bank_name: bank_name - details: - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - bank_beneficiary: bank_beneficiary - id: 3 - type: standard - is_default: true - ei_payment_method: ei_payment_method - bank_iban: bank_iban - last_name: last_name - price_list_id: price_list_id - address_city: Bergamo - tax_code: RSSMRA44A12E890Q - intent_declaration_protocol_number: intent_declaration_protocol_number - phone: phone - address_street: "Via dei tigli, 12" - e_invoice: true - name: Rossi S.r.l. - default_payment_terms: 30 - certified_email: mario.rossi@pec.example.it - has_intent_declaration: true - intent_declaration_protocol_date: 2000-01-23 - properties: - data: - $ref: "#/components/schemas/Client" - title: CreateClientResponse - type: object - ListClientsResponse: - allOf: - - $ref: "#/components/schemas/Pagination" - - $ref: "#/components/schemas/ListClientsResponsePage" - example: - first_page_url: https://openapi-generator.tech - path: https://openapi-generator.tech - per_page: 5 - total: 2 - data: - - country: Italia - code: "123" - notes: notes - ei_code: ei_code - default_payment_terms_type: standard - discount_highlight: true - vat_number: IT01234567890 - created_at: created_at - type: company - address_extra: address_extra - bank_swift_code: bank_swift_code - default_discount: 4.145608029883936 - default_vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - address_province: BG - updated_at: updated_at - bank_name: bank_name - id: 7 - shipping_address: shipping_address - fax: fax - first_name: first_name - bank_iban: bank_iban - country_iso: Italia - email: mario.rossi@example.it - contact_person: contact_person - address_postal_code: "24010" - default_payment_method: - default_payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - name: name - bank_name: bank_name - details: - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - bank_beneficiary: bank_beneficiary - id: 3 - type: standard - is_default: true - ei_payment_method: ei_payment_method - bank_iban: bank_iban - last_name: last_name - price_list_id: price_list_id - address_city: Bergamo - tax_code: RSSMRA44A12E890Q - intent_declaration_protocol_number: intent_declaration_protocol_number - phone: phone - address_street: "Via dei tigli, 12" - e_invoice: true - name: Rossi S.r.l. - default_payment_terms: 30 - certified_email: mario.rossi@pec.example.it - has_intent_declaration: true - intent_declaration_protocol_date: 2000-01-23 - - country: Italia - code: "123" - notes: notes - ei_code: ei_code - default_payment_terms_type: standard - discount_highlight: true - vat_number: IT01234567890 - created_at: created_at - type: company - address_extra: address_extra - bank_swift_code: bank_swift_code - default_discount: 4.145608029883936 - default_vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - address_province: BG - updated_at: updated_at - bank_name: bank_name - id: 7 - shipping_address: shipping_address - fax: fax - first_name: first_name - bank_iban: bank_iban - country_iso: Italia - email: mario.rossi@example.it - contact_person: contact_person - address_postal_code: "24010" - default_payment_method: - default_payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - name: name - bank_name: bank_name - details: - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - bank_beneficiary: bank_beneficiary - id: 3 - type: standard - is_default: true - ei_payment_method: ei_payment_method - bank_iban: bank_iban - last_name: last_name - price_list_id: price_list_id - address_city: Bergamo - tax_code: RSSMRA44A12E890Q - intent_declaration_protocol_number: intent_declaration_protocol_number - phone: phone - address_street: "Via dei tigli, 12" - e_invoice: true - name: Rossi S.r.l. - default_payment_terms: 30 - certified_email: mario.rossi@pec.example.it - has_intent_declaration: true - intent_declaration_protocol_date: 2000-01-23 - last_page: 1 - last_page_url: https://openapi-generator.tech - next_page_url: https://openapi-generator.tech - from: 6 - to: 5 - prev_page_url: https://openapi-generator.tech - current_page: 0 - title: ListClientsResponse - ListSuppliersResponse: - allOf: - - $ref: "#/components/schemas/Pagination" - - $ref: "#/components/schemas/ListSuppliersResponsePage" - example: - first_page_url: https://openapi-generator.tech - path: https://openapi-generator.tech - per_page: 5 - total: 2 - data: - - country: Italia - code: "123" - notes: notes - contact_person: contact_person - address_postal_code: "24010" - vat_number: IT01234567890 - last_name: last_name - created_at: created_at - type: company - address_extra: address_extra - address_city: Bergamo - tax_code: RSSMRA44A12E890Q - address_province: BG - updated_at: updated_at - phone: phone - address_street: "Via dei tigli, 12" - name: Rossi S.r.l. - id: 7 - certified_email: mario.rossi@pec.example.it - fax: fax - first_name: first_name - bank_iban: bank_iban - country_iso: Italia - email: mario.rossi@example.it - - country: Italia - code: "123" - notes: notes - contact_person: contact_person - address_postal_code: "24010" - vat_number: IT01234567890 - last_name: last_name - created_at: created_at - type: company - address_extra: address_extra - address_city: Bergamo - tax_code: RSSMRA44A12E890Q - address_province: BG - updated_at: updated_at - phone: phone - address_street: "Via dei tigli, 12" - name: Rossi S.r.l. - id: 7 - certified_email: mario.rossi@pec.example.it - fax: fax - first_name: first_name - bank_iban: bank_iban - country_iso: Italia - email: mario.rossi@example.it - last_page: 1 - last_page_url: https://openapi-generator.tech - next_page_url: https://openapi-generator.tech - from: 6 - to: 5 - prev_page_url: https://openapi-generator.tech - current_page: 0 - title: ListSuppliersResponse - CreateSupplierResponse: - example: - data: - country: Italia - code: "123" - notes: notes - contact_person: contact_person - address_postal_code: "24010" - vat_number: IT01234567890 - last_name: last_name - created_at: created_at - type: company - address_extra: address_extra - address_city: Bergamo - tax_code: RSSMRA44A12E890Q - address_province: BG - updated_at: updated_at - phone: phone - address_street: "Via dei tigli, 12" - name: Rossi S.r.l. - id: 7 - certified_email: mario.rossi@pec.example.it - fax: fax - first_name: first_name - bank_iban: bank_iban - country_iso: Italia - email: mario.rossi@example.it - properties: - data: - $ref: "#/components/schemas/Supplier" - title: CreateSupplierResponse - type: object - GetClientResponse: - example: - data: - country: Italia - code: "123" - notes: notes - ei_code: ei_code - default_payment_terms_type: standard - discount_highlight: true - vat_number: IT01234567890 - created_at: created_at - type: company - address_extra: address_extra - bank_swift_code: bank_swift_code - default_discount: 4.145608029883936 - default_vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - address_province: BG - updated_at: updated_at - bank_name: bank_name - id: 7 - shipping_address: shipping_address - fax: fax - first_name: first_name - bank_iban: bank_iban - country_iso: Italia - email: mario.rossi@example.it - contact_person: contact_person - address_postal_code: "24010" - default_payment_method: - default_payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - name: name - bank_name: bank_name - details: - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - bank_beneficiary: bank_beneficiary - id: 3 - type: standard - is_default: true - ei_payment_method: ei_payment_method - bank_iban: bank_iban - last_name: last_name - price_list_id: price_list_id - address_city: Bergamo - tax_code: RSSMRA44A12E890Q - intent_declaration_protocol_number: intent_declaration_protocol_number - phone: phone - address_street: "Via dei tigli, 12" - e_invoice: true - name: Rossi S.r.l. - default_payment_terms: 30 - certified_email: mario.rossi@pec.example.it - has_intent_declaration: true - intent_declaration_protocol_date: 2000-01-23 - properties: - data: - $ref: "#/components/schemas/Client" - title: GetClientResponse - type: object - ModifyClientResponse: - example: - data: - country: Italia - code: "123" - notes: notes - ei_code: ei_code - default_payment_terms_type: standard - discount_highlight: true - vat_number: IT01234567890 - created_at: created_at - type: company - address_extra: address_extra - bank_swift_code: bank_swift_code - default_discount: 4.145608029883936 - default_vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - address_province: BG - updated_at: updated_at - bank_name: bank_name - id: 7 - shipping_address: shipping_address - fax: fax - first_name: first_name - bank_iban: bank_iban - country_iso: Italia - email: mario.rossi@example.it - contact_person: contact_person - address_postal_code: "24010" - default_payment_method: - default_payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - name: name - bank_name: bank_name - details: - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - bank_beneficiary: bank_beneficiary - id: 3 - type: standard - is_default: true - ei_payment_method: ei_payment_method - bank_iban: bank_iban - last_name: last_name - price_list_id: price_list_id - address_city: Bergamo - tax_code: RSSMRA44A12E890Q - intent_declaration_protocol_number: intent_declaration_protocol_number - phone: phone - address_street: "Via dei tigli, 12" - e_invoice: true - name: Rossi S.r.l. - default_payment_terms: 30 - certified_email: mario.rossi@pec.example.it - has_intent_declaration: true - intent_declaration_protocol_date: 2000-01-23 - properties: - data: - $ref: "#/components/schemas/Client" - title: ModifyClientResponse - type: object - GetSupplierResponse: - example: - data: - country: Italia - code: "123" - notes: notes - contact_person: contact_person - address_postal_code: "24010" - vat_number: IT01234567890 - last_name: last_name - created_at: created_at - type: company - address_extra: address_extra - address_city: Bergamo - tax_code: RSSMRA44A12E890Q - address_province: BG - updated_at: updated_at - phone: phone - address_street: "Via dei tigli, 12" - name: Rossi S.r.l. - id: 7 - certified_email: mario.rossi@pec.example.it - fax: fax - first_name: first_name - bank_iban: bank_iban - country_iso: Italia - email: mario.rossi@example.it - properties: - data: - $ref: "#/components/schemas/Supplier" - title: GetSupplierResponse - type: object - ModifySupplierResponse: - example: - data: - country: Italia - code: "123" - notes: notes - contact_person: contact_person - address_postal_code: "24010" - vat_number: IT01234567890 - last_name: last_name - created_at: created_at - type: company - address_extra: address_extra - address_city: Bergamo - tax_code: RSSMRA44A12E890Q - address_province: BG - updated_at: updated_at - phone: phone - address_street: "Via dei tigli, 12" - name: Rossi S.r.l. - id: 7 - certified_email: mario.rossi@pec.example.it - fax: fax - first_name: first_name - bank_iban: bank_iban - country_iso: Italia - email: mario.rossi@example.it - properties: - data: - $ref: "#/components/schemas/Supplier" - title: ModifySupplierResponse - type: object - ListProductsResponse: - allOf: - - $ref: "#/components/schemas/Pagination" - - $ref: "#/components/schemas/ListProductsResponsePage" - example: - first_page_url: https://openapi-generator.tech - path: https://openapi-generator.tech - per_page: 5 - total: 2 - data: - - code: code - notes: notes - average_price: 1.0246457001441578 - description: description - created_at: created_at - net_price: 9.301444243932576 - in_stock: true - average_cost: 1.2315135367772556 - use_gross_price: true - stock_initial: 4.145608029883936 - stock_current: 7.386281948385884 - default_vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - measure: measure - updated_at: updated_at - name: name - gross_price: 3.616076749251911 - id: 7 - category: category - net_cost: 2.027123023002322 - - code: code - notes: notes - average_price: 1.0246457001441578 - description: description - created_at: created_at - net_price: 9.301444243932576 - in_stock: true - average_cost: 1.2315135367772556 - use_gross_price: true - stock_initial: 4.145608029883936 - stock_current: 7.386281948385884 - default_vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - measure: measure - updated_at: updated_at - name: name - gross_price: 3.616076749251911 - id: 7 - category: category - net_cost: 2.027123023002322 - last_page: 1 - last_page_url: https://openapi-generator.tech - next_page_url: https://openapi-generator.tech - from: 6 - to: 5 - prev_page_url: https://openapi-generator.tech - current_page: 0 - title: ListProductsResponse - CreateProductResponse: - example: - data: - code: code - notes: notes - average_price: 1.0246457001441578 - description: description - created_at: created_at - net_price: 9.301444243932576 - in_stock: true - average_cost: 1.2315135367772556 - use_gross_price: true - stock_initial: 4.145608029883936 - stock_current: 7.386281948385884 - default_vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - measure: measure - updated_at: updated_at - name: name - gross_price: 3.616076749251911 - id: 7 - category: category - net_cost: 2.027123023002322 - properties: - data: - $ref: "#/components/schemas/Product" - title: CreateProductResponse - type: object - GetProductResponse: - example: - data: - code: code - notes: notes - average_price: 1.0246457001441578 - description: description - created_at: created_at - net_price: 9.301444243932576 - in_stock: true - average_cost: 1.2315135367772556 - use_gross_price: true - stock_initial: 4.145608029883936 - stock_current: 7.386281948385884 - default_vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - measure: measure - updated_at: updated_at - name: name - gross_price: 3.616076749251911 - id: 7 - category: category - net_cost: 2.027123023002322 - properties: - data: - $ref: "#/components/schemas/Product" - title: GetProductResponse - type: object - ModifyProductResponse: - example: - data: - code: code - notes: notes - average_price: 1.0246457001441578 - description: description - created_at: created_at - net_price: 9.301444243932576 - in_stock: true - average_cost: 1.2315135367772556 - use_gross_price: true - stock_initial: 4.145608029883936 - stock_current: 7.386281948385884 - default_vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - measure: measure - updated_at: updated_at - name: name - gross_price: 3.616076749251911 - id: 7 - category: category - net_cost: 2.027123023002322 - properties: - data: - $ref: "#/components/schemas/Product" - title: ModifyProductResponse - type: object - ListIssuedDocumentsResponse: - allOf: - - $ref: "#/components/schemas/Pagination" - - $ref: "#/components/schemas/ListIssuedDocumentsResponsePage" - example: - first_page_url: https://openapi-generator.tech - path: https://openapi-generator.tech - per_page: 5 - total: 2 - data: - - date: 2000-01-23 - numeration: /A - notes: notes - year: 3 - subject: subject - rivalsa: 2.027123023002322 - dn_ai_causal: dn_ai_causal - language: - code: code - name: name - type: invoice - show_payments: true - ei_data: - original_document_type: ordine - cig: cig - bank_name: bank_name - od_number: od_number - od_date: 2000-01-23 - bank_beneficiary: bank_beneficiary - vat_kind: null - bank_iban: bank_iban - invoice_number: invoice_number - payment_method: payment_method - cup: cup - invoice_date: 2000-01-23 - dn_ai_weight: dn_ai_weight - number: 1 - rc_center: rc_center - items_list: - - code: "239874892374982" - ei_raw: "{}" - discount_highlight: true - vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - description: description - not_taxable: true - discount: 3.5571952270680973 - net_price: 1.23 - apply_withholding_taxes: true - measure: measure - product_id: 1234 - qty: 6.438423552598547 - name: Water bottle - gross_price: 1.45 - id: 9 - category: category - stock: true - in_dn: true - - code: "239874892374982" - ei_raw: "{}" - discount_highlight: true - vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - description: description - not_taxable: true - discount: 3.5571952270680973 - net_price: 1.23 - apply_withholding_taxes: true - measure: measure - product_id: 1234 - qty: 6.438423552598547 - name: Water bottle - gross_price: 1.45 - id: 9 - category: category - stock: true - in_dn: true - dn_ai_notes: dn_ai_notes - acc_inv_template: - name: Light Smoke - id: 123 - type: type - id: 7 - delivery_note_template: - name: Light Smoke - id: 123 - type: type - locked: true - show_tspay_button: true - payment_method: - default_payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - name: name - bank_name: bank_name - details: - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - bank_beneficiary: bank_beneficiary - id: 3 - type: standard - is_default: true - ei_payment_method: ei_payment_method - bank_iban: bank_iban - attachment_token: attachment_token - amount_net: 5.944895607614016 - dn_ai_destination: dn_ai_destination - ai_url: ai_url - amount_cassa: 7.386281948385884 - cassa2_taxable: 7.457744773683766 - v_margins: 6 - amount_cassa2: 6.84685269835264 - accompanying_invoice: true - amount_rivalsa_taxable: 0.8851374739011653 - amount_rivalsa: 7.143538047012306 - show_totals: all - stamp_duty: 8.762042012749001 - use_gross_prices: true - global_cassa_taxable: 4.965218492984954 - e_invoice: true - dn_ai_packages_number: dn_ai_packages_number - withholding_tax: 9.965781217890562 - amount_withholding_tax_taxable: 6.519180951018382 - other_withholding_tax: 6.683562403749608 - ei_other_withholding_tax_type: ei_other_withholding_tax_type - template: - name: Light Smoke - id: 123 - type: type - cassa: 4.145608029883936 - ei_raw: "{}" - amount_global_cassa_taxable: 5.025004791520295 - amount_due_discount: 3.0937452626664474 - amount_enasarco_taxable: 8.969578798196912 - created_at: created_at - visible_subject: visible_subject - use_split_payment: true - payments_list: - - amount: 1.45 - payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - ei_raw: "{}" - due_date: 2018-04-03 - id: 6 - payment_terms: - days: 1 - type: null - paid_date: 2018-04-03 - status: not_paid - - amount: 1.45 - payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - ei_raw: "{}" - due_date: 2018-04-03 - id: 6 - payment_terms: - days: 1 - type: null - paid_date: 2018-04-03 - status: not_paid - h_margins: 2 - dn_date: 2000-01-23 - ei_other_withholding_tax_causal: ei_other_withholding_tax_causal - next_due_date: 2000-01-23 - cassa2: 1.4894159098541704 - withholding_tax_taxable: 9.369310271410669 - is_marked: true - updated_at: updated_at - amount_vat: 6.704019297950036 - amount_other_withholding_tax_taxable: 4.652396432933246 - currency: - symbol: € - exchange_rate: "1" - html_symbol: EUR - id: EUR - dn_number: 6 - amount_other_withholding_tax: 0.10263654006109402 - ei_cassa_type: ei_cassa_type - dn_ai_transporter: dn_ai_transporter - show_notification_button: true - dn_url: dn_url - show_payment_method: true - price_list_id: price_list_id - delivery_note: true - url: url - attachment_url: attachment_url - amount_withholding_tax: 7.058770351582356 - extra_data: - ts_file_id: ts_file_id - ts_flag_tipo_spesa: 3.0205796992916243 - ts_pagamento_tracciato: true - ts_status: 3 - ts_opposizione: true - ts_communication: true - ts_full_amount: true - ts_tipo_spesa: ts_tipo_spesa - multifatture_sent: 7 - imported_by: imported_by - ts_sent_date: 2000-01-23 - ei_status: attempt - seen_date: 2000-01-23 - ei_cassa2_type: ei_cassa2_type - ei_withholding_tax_causal: ei_withholding_tax_causal - cassa_taxable: 1.2315135367772556 - amount_gross: 3.353193347011243 - entity: - country: Italia - code: "123" - notes: notes - ei_code: ei_code - default_payment_terms_type: standard - vat_number: IT01234567890 - created_at: created_at - type: company - address_extra: address_extra - bank_swift_code: bank_swift_code - default_vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - address_province: BG - updated_at: updated_at - bank_name: bank_name - id: 9 - shipping_address: shipping_address - fax: fax - first_name: first_name - bank_iban: bank_iban - country_iso: Italia - email: mario.rossi@example.it - contact_person: contact_person - address_postal_code: "24010" - default_payment_method: - default_payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - name: name - bank_name: bank_name - details: - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - bank_beneficiary: bank_beneficiary - id: 3 - type: standard - is_default: true - ei_payment_method: ei_payment_method - bank_iban: bank_iban - last_name: last_name - address_city: Bergamo - tax_code: RSSMRA44A12E890Q - intent_declaration_protocol_number: intent_declaration_protocol_number - phone: phone - address_street: "Via dei tigli, 12" - e_invoice: true - name: Rossi S.r.l. - default_payment_terms: 30 - certified_email: mario.rossi@pec.example.it - has_intent_declaration: true - intent_declaration_protocol_date: 2000-01-23 - amount_cassa_taxable: 1.0246457001441578 - amount_cassa2_taxable: 1.1730742509559433 - - date: 2000-01-23 - numeration: /A - notes: notes - year: 3 - subject: subject - rivalsa: 2.027123023002322 - dn_ai_causal: dn_ai_causal - language: - code: code - name: name - type: invoice - show_payments: true - ei_data: - original_document_type: ordine - cig: cig - bank_name: bank_name - od_number: od_number - od_date: 2000-01-23 - bank_beneficiary: bank_beneficiary - vat_kind: null - bank_iban: bank_iban - invoice_number: invoice_number - payment_method: payment_method - cup: cup - invoice_date: 2000-01-23 - dn_ai_weight: dn_ai_weight - number: 1 - rc_center: rc_center - items_list: - - code: "239874892374982" - ei_raw: "{}" - discount_highlight: true - vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - description: description - not_taxable: true - discount: 3.5571952270680973 - net_price: 1.23 - apply_withholding_taxes: true - measure: measure - product_id: 1234 - qty: 6.438423552598547 - name: Water bottle - gross_price: 1.45 - id: 9 - category: category - stock: true - in_dn: true - - code: "239874892374982" - ei_raw: "{}" - discount_highlight: true - vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - description: description - not_taxable: true - discount: 3.5571952270680973 - net_price: 1.23 - apply_withholding_taxes: true - measure: measure - product_id: 1234 - qty: 6.438423552598547 - name: Water bottle - gross_price: 1.45 - id: 9 - category: category - stock: true - in_dn: true - dn_ai_notes: dn_ai_notes - acc_inv_template: - name: Light Smoke - id: 123 - type: type - id: 7 - delivery_note_template: - name: Light Smoke - id: 123 - type: type - locked: true - show_tspay_button: true - payment_method: - default_payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - name: name - bank_name: bank_name - details: - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - bank_beneficiary: bank_beneficiary - id: 3 - type: standard - is_default: true - ei_payment_method: ei_payment_method - bank_iban: bank_iban - attachment_token: attachment_token - amount_net: 5.944895607614016 - dn_ai_destination: dn_ai_destination - ai_url: ai_url - amount_cassa: 7.386281948385884 - cassa2_taxable: 7.457744773683766 - v_margins: 6 - amount_cassa2: 6.84685269835264 - accompanying_invoice: true - amount_rivalsa_taxable: 0.8851374739011653 - amount_rivalsa: 7.143538047012306 - show_totals: all - stamp_duty: 8.762042012749001 - use_gross_prices: true - global_cassa_taxable: 4.965218492984954 - e_invoice: true - dn_ai_packages_number: dn_ai_packages_number - withholding_tax: 9.965781217890562 - amount_withholding_tax_taxable: 6.519180951018382 - other_withholding_tax: 6.683562403749608 - ei_other_withholding_tax_type: ei_other_withholding_tax_type - template: - name: Light Smoke - id: 123 - type: type - cassa: 4.145608029883936 - ei_raw: "{}" - amount_global_cassa_taxable: 5.025004791520295 - amount_due_discount: 3.0937452626664474 - amount_enasarco_taxable: 8.969578798196912 - created_at: created_at - visible_subject: visible_subject - use_split_payment: true - payments_list: - - amount: 1.45 - payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - ei_raw: "{}" - due_date: 2018-04-03 - id: 6 - payment_terms: - days: 1 + content: + application/json: + examples: + example-1: + value: + data: + numerations: + "2018": + AB123: 2 + "2019": + "123": null + "2020": + ABC: 2 + "2021": + rec123: 2 + dn_numerations: + "2017": + ? "" + : 1000 + "2018": + ? "" + : 112 + "2019": + ? "" + : 526 + "2020": + ? "" + : 11 + "2021": + ? "" + : 110 + default_values: + template: + id: 111 + type: standard + name: Light Smoke + dn_template: + id: 222 + type: delivery_note + name: DDT 1 + ai_template: + id: 333 + type: accompanying_invoice + name: FT Accompagnatoria 1 + notes: "" + rivalsa: 0 + cassa: 0 + withholding_tax: 0 + withholding_tax_taxable: 100 + other_withholding_tax: 0 + use_gross_prices: false + payment_method: + id: 123321 + name: Bonifico bancario + is_default: true + details: + - title: Banca + description: Indesa + - title: IBAN + description: IT17QA12345600000003498936 + - title: Intestatario + description: Mario Rossi + bank_iban: IT17QA12345600000003498936 + bank_name: Indesa + bank_beneficiary: Mario Rossi + ei_payment_method: MP05 + show_payment_method: true + ei_cassa_type: null + ei_withholding_tax_causal: B + ei_other_withholding_tax_type: null + ei_other_withholding_tax_causal: null + ei_default_document_type: TD01 + extra_data_default_values: + ts_communication: false + ts_tipo_spesa: SR + ts_flag_tipo_spesa: 0 + ts_pagamento_tracciato: false + items_default_values: + vat: + id: 0 + value: 22 + description: "" + notes: "" + e_invoice: true + ei_type: "0" + ei_description: "" + is_disabled: false + editable: false + default: true + countries_list: + - Italia + - Afghanistan + - Albania + - Algeria + - Andorra + - Angola + - Anguilla + - Antartide + - Antigua e Barbuda + - Antille Olandesi + - Arabia Saudita + - Argentina + - Armenia + - Aruba + - Australia + - Austria + - Azerbaigian + - Bahamas + - Bahrain + - Bangladesh + - Barbados + - Belgio + - Belize + - Benin + - Bermuda + - Bhutan + - Bielorussia + - Bolivia + - Bosnia ed Erzegovina + - Botswana + - Brasile + - Brunei + - Bulgaria + - Burkina Faso + - Burundi + - Cambogia + - Camerun + - Canada + - Capo Verde + - Ciad + - Cile + - Cina + - Cipro + - Città del Vaticano + - Colombia + - Comore + - Corea del Nord + - Corea del Sud + - Costa Rica + - Costa d'Avorio + - Croazia + - Cuba + - Danimarca + - Dominica + - Ecuador + - Egitto + - El Salvador + - Emirati Arabi Uniti + - Eritrea + - Estonia + - Etiopia + - Fiji + - Filippine + - Finlandia + - Francia + - Gabon + - Gambia + - Georgia + - Georgia del Sud e isole Sandwich + - Germania + - Ghana + - Giamaica + - Giappone + - Gibilterra + - Gibuti + - Giordania + - Grecia + - Grenada + - Groenlandia + - Guadalupa + - Guam + - Guatemala + - Guernsey - Channel Islands + - Guinea + - Guinea Equatoriale + - Guinea-Bissau + - Guyana + - Guyana Francese + - Haiti + - Heard Island e McDonald Islands + - Honduras + - Hong Kong + - India + - Indonesia + - Iran + - Iraq + - Irlanda + - Islanda + - Isola Bouvet + - Isola Christmas + - Isola di Man + - Isola Norfolk + - Isole Canarie (Spagna) + - Isole Cayman + - Isole Cocos e Keeling + - Isole Cook + - Isole Falkland + - Isole Fær Øer + - Isole Marianne Settentrionali + - Isole Marshall + - Isole Minori Esterne degli USA + - Isole Pitcairn + - Isole Salomone + - Isole Vergini Americane + - Isole Vergini Britanniche + - Isole Åland + - Israele + - Jersey - Channel Islands + - Kazakistan + - Kenia + - Kirghizistan + - Kiribati + - Kosovo + - Kuwait + - Laos + - Lesotho + - Lettonia + - Libano + - Liberia + - Libia + - Liechtenstein + - Lituania + - Lussemburgo + - Macao + - Macedonia + - Macedonia del Nord + - Madagascar + - Malawi + - Malaysia + - Maldive + - Mali + - Malta + - Marocco + - Martinica + - Mauritania + - Mauritius + - Mayotte + - Messico + - Micronesia + - Moldavia + - Monaco + - Mongolia + - Montenegro + - Montserrat + - Mozambico + - Myanmar + - Namibia + - Nauru + - Nepal + - Nicaragua + - Niger + - Nigeria + - Niue + - Norvegia + - Nuova Caledonia + - Nuova Zelanda + - Oman + - Paesi Bassi + - Pakistan + - Palau + - Panama + - Papua Nuova Guinea + - Paraguay + - Perù + - Polinesia Francese + - Polonia + - Porto Rico + - Portogallo + - Qatar + - Regno Unito + - Repubblica Ceca + - Repubblica Centrafricana + - Repubblica Democratica del Congo + - Repubblica Dominicana + - Repubblica del Congo + - Riunione + - Romania + - Ruanda + - Russia + - Sahara Occidentale + - Saint Barthelemy + - Saint Kitts e Nevis + - Saint Pierre e Miquelon + - Saint Vincent e Grenadine + - Samoa + - Samoa Americane + - San Marino + - Sant'Elena + - Santa Lucia + - Senegal + - Serbia + - Seychelles + - Sierra Leone + - Singapore + - Siria + - Slovacchia + - Slovenia + - Somalia + - Spagna + - Sri Lanka + - Stato di Palestina + - Stati Uniti + - Sudafrica + - Sud Sudan + - Sudan + - Suriname + - Svalbard e Jan Mayen + - Svezia + - Svizzera + - Swaziland + - São Tomé e Príncipe + - Tagikistan + - Taiwan + - Tanzania + - Terre australi e ant. francesi + - Terr. Britannico dell'Oc. Ind. + - Thailandia + - Timor Est + - Togo + - Tokelau + - Tonga + - Trinidad e Tobago + - Tunisia + - Turchia + - Turkmenistan + - Turks e Caicos + - Tuvalu + - Ucraina + - Uganda + - Ungheria + - Uruguay + - Uzbekistan + - Vanuatu + - Venezuela + - Vietnam + - Wallis e Futuna + - Yemen + - Zambia + - Zimbabwe + currencies_list: + - id: AED + symbol: AED + html_symbol: AED + exchange_rate: "4.09500" + - id: ALL + symbol: ALL + html_symbol: ALL + exchange_rate: "121.50000" + - id: AUD + symbol: AUD + html_symbol: AUD + exchange_rate: "1.62094" + - id: AZN + symbol: AZN + html_symbol: AZN + exchange_rate: "2.00130" + - id: BGN + symbol: лв + html_symbol: BGN + exchange_rate: "1.95583" + - id: BRL + symbol: R$ + html_symbol: R$ + exchange_rate: "4.50410" + - id: BYN + symbol: BYN + html_symbol: BYN + exchange_rate: "2.41000" + - id: CAD + symbol: CAD + html_symbol: CAD + exchange_rate: "1.49841" + - id: CFA + symbol: CFA + html_symbol: CFA + exchange_rate: "656.68000" + - id: CHF + symbol: Fr. + html_symbol: Fr. + exchange_rate: "1.12559" + - id: CNY + symbol: CNY + html_symbol: CNY + exchange_rate: "7.70160" + - id: CRC + symbol: ₡ + html_symbol: '₡' + exchange_rate: "659.17000" + - id: CZK + symbol: Kč + html_symbol: CZK + exchange_rate: "25.80600" + - id: DKK + symbol: kr. + html_symbol: kr. + exchange_rate: "7.46750" + - id: DOP + symbol: DOP + html_symbol: DOP + exchange_rate: "56.50000" + - id: DZD + symbol: DZD + html_symbol: DZD + exchange_rate: "134.28300" + - id: EGP + symbol: EGP + html_symbol: EGP + exchange_rate: "18.98030" + - id: EUR + symbol: € + html_symbol: '€' + exchange_rate: "1.00000" + - id: GBP + symbol: £ + html_symbol: '£' + exchange_rate: "0.88096" + - id: GHS + symbol: GHS + html_symbol: GHS + exchange_rate: "5.45834" + - id: HKD + symbol: HK$ + html_symbol: HK$ + exchange_rate: "8.75450" + - id: HRK + symbol: HRK + html_symbol: HRK + exchange_rate: "7.42640" + - id: HUF + symbol: HUF + html_symbol: HUF + exchange_rate: "326.24000" + - id: ILS + symbol: ₪ + html_symbol: '₪' + exchange_rate: "4.02680" + - id: INR + symbol: INR + html_symbol: INR + exchange_rate: "77.76050" + - id: ISK + symbol: ISK + html_symbol: ISK + exchange_rate: "135.94600" + - id: JPY + symbol: ¥ + html_symbol: '¥' + exchange_rate: "123.05800" + - id: KRW + symbol: KRW + html_symbol: KRW + exchange_rate: "1329.20000" + - id: MAD + symbol: MAD + html_symbol: MAD + exchange_rate: "10.78900" + - id: MKD + symbol: MKD + html_symbol: MKD + exchange_rate: "61.36700" + - id: MXN + symbol: Mex$ + html_symbol: Mex$ + exchange_rate: "21.17900" + - id: MYR + symbol: MYR + html_symbol: MYR + exchange_rate: "4.67310" + - id: NGN + symbol: NGN + html_symbol: NGN + exchange_rate: "405.17000" + - id: NIS + symbol: NIS + html_symbol: NIS + exchange_rate: "4020.00000" + - id: NOK + symbol: kr + html_symbol: kr + exchange_rate: "9.76270" + - id: NZD + symbol: NZD + html_symbol: NZD + exchange_rate: "1.71687" + - id: OMR + symbol: OMR + html_symbol: OMR + exchange_rate: "0.42950" + - id: PEN + symbol: PEN + html_symbol: PEN + exchange_rate: "3.73400" + - id: PLN + symbol: zł + html_symbol: PLN + exchange_rate: "4.30330" + - id: QAR + symbol: QAR + html_symbol: QAR + exchange_rate: "4.06270" + - id: RON + symbol: RON + html_symbol: RON + exchange_rate: "4.66891" + - id: RSD + symbol: RSD + html_symbol: RSD + exchange_rate: "117.39414" + - id: RUB + symbol: ₽ + html_symbol: '₽' + exchange_rate: "71.70370" + - id: SAR + symbol: SAR + html_symbol: SAR + exchange_rate: "4.18520" + - id: SEK + symbol: SEK + html_symbol: SEK + exchange_rate: "10.73374" + - id: SGD + symbol: SGD + html_symbol: SGD + exchange_rate: "1.53800" + - id: THB + symbol: THB + html_symbol: THB + exchange_rate: "35.56400" + - id: TND + symbol: TND + html_symbol: TND + exchange_rate: "3.34010" + - id: TRY + symbol: TRY + html_symbol: TRY + exchange_rate: "6.81590" + - id: TWD + symbol: TWD + html_symbol: TWD + exchange_rate: "35.14200" + - id: UAH + symbol: UAH + html_symbol: UAH + exchange_rate: "29.31490" + - id: USD + symbol: $ + html_symbol: '$' + exchange_rate: "1.11570" + - id: VND + symbol: ₫ + html_symbol: '₫' + exchange_rate: "26100.00000" + - id: ZAR + symbol: R + html_symbol: R + exchange_rate: "16.03080" + templates_list: + - id: 10 + name: New Standard S1 + - id: 11 + name: New Standard S2 + - id: 12 + name: New Professionisti P1 + - id: 13 + name: New Buste + - id: 14 + name: New Professionisti P2 + - id: 101 + name: Clear lines + - id: 106 + name: Minimalist + - id: 107 + name: Squared + - id: 108 + name: Modern + - id: 150 + name: Bright Colors + - id: 681 + name: Modern Spese di trasporto + - id: 682 + name: Modern ciao + - id: 2821 + name: Light Smoke + - id: 2823 + name: IDEAVERDE + - id: 2824 + name: LS problem + - id: 2825 + name: Light Smoke 2nd CASSA + - id: 2826 + name: LIGHT NUOVO + - id: 2827 + name: STAND + dn_templates_list: + - id: 660 + name: DDT 1 + - id: 680 + name: DDT Prova + ai_templates_list: + - id: 663 + name: FT Accompagnatoria 1 + payment_methods_list: + - id: 555 + name: Rimessa diretta + is_default: false + details: [] + bank_iban: null + bank_name: null + bank_beneficiary: null + ei_payment_method: null + - id: 123321 + name: Bonifico bancario + is_default: true + details: + - title: Banca + description: Indesa + - title: IBAN + description: IT17QA12345600000003498936 + - title: Intestatario + description: Mario Rossi + bank_iban: IT17QA12345600000003498936 + bank_name: Indesa + bank_beneficiary: Mario Rossi + ei_payment_method: MP05 + payment_accounts_list: + - id: 21 + name: Indesa - Carta conto + - id: 287 + name: Bonifico_Bancario + vat_types_list: + - id: 1409 + value: 15 + description: "ALIQUOTA #1234#" + ei_type: "0" + is_disabled: false + - id: 1332 + value: 0 + description: Non imp. art. 17 c. 6 lett. A TER DPR 633/72 + ei_type: "0" + is_disabled: false + measures_list: + - pezzi + - kg + - litri + - ore + - giorni + - km + - mesi + languages_list: + - code: it + name: Italiano + - code: en + name: Inglese + - code: de + name: Tedesco + - code: fr + name: Francese + - code: es + name: Spagnolo + - code: pt + name: Portoghese + - code: el + name: Greco + - code: pl + name: Polacco + - code: sl + name: Sloveno + ei_structure: + FatturaElettronicaHeader: + idx: 1 + children: + DatiTrasmissione: + idx: 1 + children: + ContattiTrasmittente: + idx: 5 + children: + Telefono: + idx: 1 + type: text + length: + - 5 + - 12 + Email: + idx: 2 + type: text + length: + - 7 + - 256 + CedentePrestatore: + idx: 2 + children: + DatiAnagrafici: + idx: 1 + children: + Anagrafica: + idx: 3 + children: + CodEORI: + idx: 5 + type: text + length: + - 13 + - 17 + AlboProfessionale: + idx: 4 + type: text + length: + - 1 + - 60 + ProvinciaAlbo: + idx: 5 + type: text + length: 2 + NumeroIscrizioneAlbo: + idx: 6 + type: text + length: + - 1 + - 60 + DataIscrizioneAlbo: + idx: 7 + type: date + length: 10 + Sede: + idx: 2 + children: + NumeroCivico: + idx: 2 + type: text + length: + - 1 + - 8 + StabileOrganizzazione: + idx: 3 + children: + Indirizzo: + idx: 1 + type: text + length: + - 1 + - 60 + NumeroCivico: + idx: 2 + type: text + length: + - 1 + - 8 + CAP: + idx: 3 + type: text + length: 5 + Comune: + idx: 4 + type: text + length: + - 1 + - 60 + Provincia: + idx: 5 + type: text + length: 2 + Nazione: + idx: 6 + type: text + length: 2 + Contatti: + idx: 5 + children: + Telefono: + idx: 1 + type: text + length: + - 5 + - 12 + Fax: + idx: 2 + type: text + length: + - 5 + - 12 + Email: + idx: 3 + type: text + length: + - 7 + - 256 + RiferimentoAmministrazione: + idx: 6 + type: text + length: + - 1 + - 20 + CessionarioCommittente: + idx: 4 + children: + DatiAnagrafici: + idx: 1 + children: + Anagrafica: + idx: 3 + children: + Nome: + idx: 2 + type: text + length: + - 2 + - 50 + Cognome: + idx: 3 + type: text + length: + - 2 + - 50 + Titolo: + idx: 4 + type: text + length: + - 2 + - 10 + CodEORI: + idx: 5 + type: text + length: + - 13 + - 17 + StabileOrganizzazione: + idx: 3 + children: + Indirizzo: + idx: 1 + type: text + length: + - 1 + - 60 + NumeroCivico: + idx: 2 + type: text + length: + - 1 + - 8 + CAP: + idx: 3 + type: text + length: 5 + Comune: + idx: 4 + type: text + length: + - 1 + - 60 + Provincia: + idx: 5 + type: text + length: 2 + Nazione: + idx: 6 + type: text + length: 2 + RappresentanteFiscale: + idx: 4 + children: + IdFiscaleIVA: + idx: 1 + children: + IdPaese: + idx: 1 + type: text + length: 2 + IdCodice: + idx: 2 + type: text + length: + - 1 + - 28 + Denominazione: + idx: 2 + type: text + length: + - 1 + - 80 + Nome: + idx: 3 + type: text + length: + - 1 + - 60 + Cognome: + idx: 4 + type: text + length: + - 1 + - 60 + FatturaElettronicaBody: + idx: 2 + children: + DatiGenerali: + idx: 1 + children: + DatiGeneraliDocumento: + idx: 1 + children: + TipoDocumento: + idx: 1 + type: select + options: + TD01: TD01 - fattura + TD02: TD02 - acconto/anticipo su fattura + TD03: TD03 - acconto/anticipo su parcella + TD04: TD04 - nota di credito + TD05: TD05 - nota di debito + TD06: TD06 - parcella + TD16: TD16 - integrazione fattura reverse + charge interno + TD17: TD17 - integrazione/autofattura per + acquisto servizi dall'estero + TD18: TD18 - integrazione per acquisto di + beni intracomunitari + TD19: TD19 - integrazione/autofattura per + acquisto di beni ex art.17 c.2 DPR 633/72 + TD20: TD20 - autofattura per regolarizzazione + e integrazione delle fatture (art.6 c.8 + d.lgs. 471/97 o art.46 c.5 D.L. 331/93) + TD21: TD21 - autofattura per splafonamento + TD22: TD22 - estrazione beni da Deposito IVA + TD23: TD23 - estrazione beni da Deposito IVA + con versamento dell'IVA + TD24: "TD24 - fattura differita di cui all'art.\ + \ 21, comma 4, lett. a)" + TD25: "TD25 - fattura differita di cui all'art.\ + \ 21, comma 4, terzo periodo, lett. b)" + TD26: TD26 - cessione di beni ammortizzabili + e per passaggi interni (ex art.36 DPR 633/72) + TD27: TD27 - fattura per autoconsumo o per + cessioni gratuite senza rivalsa + Arrotondamento: + idx: 10 + type: text + format: decimal + length: + - 4 + - 15 + Causale: + idx: 11 + array: true + type: text + length: + - 1 + - 200 + Art73: + idx: 12 + type: select + options: + SI: Si + DatiOrdineAcquisto: + idx: 2 + array: true + children: + RiferimentoNumeroLinea: + idx: 1 + type: text + array: true + length: + - 1 + - 4 + IdDocumento: + idx: 2 + type: text + length: + - 1 + - 20 + Data: + idx: 3 + type: date + length: 10 + NumItem: + idx: 4 + type: text + length: + - 1 + - 20 + CodiceCommessaConvenzione: + idx: 5 + type: text + length: + - 1 + - 100 + CodiceCUP: + idx: 6 + type: text + length: + - 1 + - 15 + CodiceCIG: + idx: 7 + type: text + length: + - 1 + - 15 + DatiContratto: + idx: 3 + array: true + children: + RiferimentoNumeroLinea: + idx: 1 + type: text + array: true + length: + - 1 + - 4 + IdDocumento: + idx: 2 + type: text + length: + - 1 + - 20 + Data: + idx: 3 + type: date + length: 10 + NumItem: + idx: 4 + type: text + length: + - 1 + - 20 + CodiceCommessaConvenzione: + idx: 5 + type: text + length: + - 1 + - 100 + CodiceCUP: + idx: 6 + type: text + length: + - 1 + - 15 + CodiceCIG: + idx: 7 + type: text + length: + - 1 + - 15 + DatiConvenzione: + idx: 4 + array: true + children: + RiferimentoNumeroLinea: + idx: 1 + type: text + array: true + length: + - 1 + - 4 + IdDocumento: + idx: 2 + type: text + length: + - 1 + - 20 + Data: + idx: 3 + type: date + length: 10 + NumItem: + idx: 4 + type: text + length: + - 1 + - 20 + CodiceCommessaConvenzione: + idx: 5 + type: text + length: + - 1 + - 100 + CodiceCUP: + idx: 6 + type: text + length: + - 1 + - 15 + CodiceCIG: + idx: 7 + type: text + length: + - 1 + - 15 + DatiRicezione: + idx: 5 + array: true + children: + RiferimentoNumeroLinea: + idx: 1 + type: text + array: true + length: + - 1 + - 4 + IdDocumento: + idx: 2 + type: text + length: + - 1 + - 20 + Data: + idx: 3 + type: date + length: 10 + NumItem: + idx: 4 + type: text + length: + - 1 + - 20 + CodiceCommessaConvenzione: + idx: 5 + type: text + length: + - 1 + - 100 + CodiceCUP: + idx: 6 + type: text + length: + - 1 + - 15 + CodiceCIG: + idx: 7 + type: text + length: + - 1 + - 15 + DatiFattureCollegate: + idx: 6 + array: true + children: + RiferimentoNumeroLinea: + idx: 1 + type: text + array: true + length: + - 1 + - 4 + IdDocumento: + idx: 2 + type: text + length: + - 1 + - 20 + Data: + idx: 3 + type: date + length: 10 + NumItem: + idx: 4 + type: text + length: + - 1 + - 20 + CodiceCommessaConvenzione: + idx: 5 + type: text + length: + - 1 + - 100 + CodiceCUP: + idx: 6 + type: text + length: + - 1 + - 15 + CodiceCIG: + idx: 7 + type: text + length: + - 1 + - 15 + DatiSAL: + idx: 7 + array: true + children: + RiferimentoFase: + idx: 1 + type: text + length: + - 1 + - 3 + DatiDDT: + idx: 8 + array: true + children: + NumeroDDT: + idx: 1 + type: text + length: + - 1 + - 20 + DataDDT: + idx: 2 + type: date + length: 10 + RiferimentoNumeroLinea: + idx: 3 + type: text + array: true + length: + - 1 + - 4 + DatiTrasporto: + idx: 9 + children: + DatiAnagraficiVettore: + idx: 1 + children: + IdFiscaleIVA: + idx: 1 + children: + IdPaese: + idx: 1 + type: text + length: 2 + IdCodice: + idx: 2 + type: text + length: + - 1 + - 28 + CodiceFiscale: + idx: 2 + type: text + length: + - 11 + - 16 + Anagrafica: + idx: 3 + children: + Denominazione: + idx: 1 + type: text + length: + - 1 + - 80 + Nome: + idx: 2 + type: text + length: + - 1 + - 60 + Cognome: + idx: 3 + type: text + length: + - 1 + - 60 + Titolo: + idx: 4 + type: text + length: + - 2 + - 10 + CodEORI: + idx: 5 + type: text + length: + - 13 + - 17 + NumeroLicenzaGuida: + idx: 4 + type: text + length: + - 1 + - 20 + MezzoTrasporto: + idx: 2 + type: text + length: + - 1 + - 80 + CausaleTrasporto: + idx: 3 + type: text + length: + - 1 + - 100 + NumeroColli: + idx: 4 + type: text + length: + - 1 + - 4 + DataInizioTrasporto: + idx: 10 + type: date + length: 10 + TipoResa: + idx: 11 + type: text + length: 3 + IndirizzoResa: + idx: 12 + children: + Indirizzo: + idx: 1 + type: text + length: + - 1 + - 60 + NumeroCivico: + idx: 2 + type: text + length: + - 1 + - 8 + CAP: + idx: 3 + type: text + length: 5 + Comune: + idx: 4 + type: text + length: + - 1 + - 60 + Provincia: + idx: 5 + type: text + length: 2 + Nazione: + idx: 6 + type: text + length: 2 + DatiPagamento: + idx: "4" + children: + CondizioniPagamento: + idx: 1 + type: select + options: + TP01: Pagamento a rate + TP02: Pagamento completo + TP03: Anticipo + ei_item_structure: + DettaglioLinee: + idx: 2.2.1 + children: + NumeroLinea: + idx: 1 + type: text + length: + - 1 + - 4 + TipoCessionePrestazione: + idx: 2 + type: select + options: + SC: sconto + PR: premio + AB: abbuono + AC: spesa accessoria + CodiceArticolo: + idx: 3 + array: true + children: + CodiceTipo: + idx: 1 + type: text + length: + - 1 + - 35 + CodiceValore: + idx: 2 + type: text + length: + - 1 + - 35 + DataInizioPeriodo: + idx: 7 + type: date + length: 10 + DataFinePeriodo: + idx: 8 + type: date + length: 10 + RiferimentoAmministrazione: + idx: 15 + type: text + length: + - 1 + - 20 + AltriDatiGestionali: + idx: 16 + array: true + children: + TipoDato: + idx: 1 + type: text + length: + - 1 + - 10 + RiferimentoTesto: + idx: 2 + type: text + length: + - 1 + - 60 + RiferimentoNumero: + idx: 3 + type: text + format: decimal + length: + - 4 + - 21 + RiferimentoData: + idx: 4 + type: date + length: 10 + ei_payment_structure: + DettaglioPagamento: + idx: 2.4.2 + children: + DataRiferimentoTerminiPagamento: + idx: 3 + type: date + length: 10 + GiorniTerminiPagamento: + idx: 4 + type: text + length: + - 1 + - 3 + DataScadenzaPagamento: + idx: 5 + type: date + length: 10 + ABI: + idx: 14 + type: text + length: 5 + CAB: + idx: 15 + type: text + length: 5 + BIC: + idx: 16 + type: text + length: + - 8 + - 11 + DataDecorrenzaPenale: + idx: 20 + type: date + length: 10 + documents_type_info: + TD01: + self_own_invoice: false + self_supplier_invoice: true + description: TD01 - fattura + description_self_invoice: TD01 - fattura in nome e per conto + TD02: + self_own_invoice: true + self_supplier_invoice: true + description: TD02 - acconto/anticipo su fattura + TD03: + self_own_invoice: true + self_supplier_invoice: true + description: TD03 - acconto/anticipo su parcella + TD04: + self_own_invoice: true + self_supplier_invoice: true + description: TD04 - nota di credito + TD05: + self_own_invoice: true + self_supplier_invoice: true + description: TD05 - nota di debito + TD06: + self_own_invoice: true + self_supplier_invoice: true + description: TD06 - parcella + TD16: + self_own_invoice: false + self_supplier_invoice: true + description: TD16 - integrazione fattura reverse charge + interno + TD17: + self_own_invoice: false + self_supplier_invoice: true + description: TD17 - integrazione/autofattura per acquisto + servizi dall'estero + TD18: + self_own_invoice: false + self_supplier_invoice: true + description: TD18 - integrazione per acquisto di beni intracomunitari + TD19: + self_own_invoice: false + self_supplier_invoice: true + description: TD19 - integrazione/autofattura per acquisto + di beni ex art.17 c.2 DPR 633/72 + TD20: + self_own_invoice: false + self_supplier_invoice: true + description: TD20 - autofattura per regolarizzazione e integrazione + delle fatture (art.6 c.8 d.lgs. 471/97 o art.46 c.5 D.L. + 331/93) + TD21: + self_own_invoice: true + self_supplier_invoice: false + description: TD21 - autofattura per splafonamento + TD22: + self_own_invoice: false + self_supplier_invoice: true + description: TD22 - estrazione beni da Deposito IVA + TD23: + self_own_invoice: false + self_supplier_invoice: true + description: TD23 - estrazione beni da Deposito IVA con + versamento dell'IVA + TD24: + self_own_invoice: true + self_supplier_invoice: true + description: "TD24 - fattura differita di cui all'art. 21,\ + \ comma 4, lett. a)" + TD25: + self_own_invoice: true + self_supplier_invoice: true + description: "TD25 - fattura differita di cui all'art. 21,\ + \ comma 4, terzo periodo, lett. b)" + TD26: + self_own_invoice: true + self_supplier_invoice: true + description: TD26 - cessione di beni ammortizzabili e per + passaggi interni (ex art.36 DPR 633/72) + TD27: + self_own_invoice: true + self_supplier_invoice: true + description: TD27 - fattura per autoconsumo o per cessioni + gratuite senza rivalsa + ei_regime_info: + RF01: Ordinario + RF02: "Contribuenti minimi (art.1, c.96-117, L. 244/07)" + RF04: "Agricoltura e attività connesse e pesca (artt.34 e\ + \ 34-bis, DPR 633/72)" + RF05: "Vendita sali e tabacchi (art.74, c.1, DPR. 633/72)" + RF06: "Commercio fiammiferi (art.74, c.1, DPR 633/72)" + RF07: "Editoria (art.74, c.1, DPR 633/72)" + RF08: "Gestione servizi telefonia pubblica (art.74, c.1, DPR\ + \ 633/72)" + RF09: "Rivendita documenti di trasporto pubblico e di sosta\ + \ (art.74, c.1, DPR 633/72)" + RF10: "Intrattenimenti, giochi e altre attività di cui alla\ + \ tariffa allegata al DPR 640/72 (art.74, c.6, DPR 633/72)" + RF11: "Agenzie viaggi e turismo (art.74-ter, DPR 633/72)" + RF12: "Agriturismo (art.5, c.2, L. 413/91)" + RF13: "Vendite a domicilio (art.25-bis, c.6, DPR 600/73)" + RF14: "Rivendita beni usati, oggetti d’arte, d’antiquariato\ + \ o da collezione (art.36, DL 41/95)" + RF15: "Agenzie di vendite all’asta di oggetti d'arte, antiquariato\ + \ o da collezione (art.40-bis, DL 41/95)" + RF16: "IVA per cassa P.A. (art.6, c.5, DPR 633/72)" + RF17: "IVA per cassa (art. 32-bis, DL 83/2012)" + RF18: Altro + RF19: "Regime forfettario (art.1, c.54-89, L. 190/2014)" + ei_cassa_type_info: + ? "" + : Nessuna cassa previdenziale + TC01: Cassa nazionale previdenza e assistenza avvocati e procuratori + legali + TC02: Cassa previdenza dottori commercialisti + TC03: Cassa previdenza e assistenza geometri + TC04: Cassa nazionale previdenza e assistenza ingegneri e + architetti liberi professionisti + TC05: Cassa nazionale del notariato + TC06: Cassa nazionale previdenza e assistenza ragionieri e + periti commerciali + TC07: Ente nazionale assistenza agenti e rappresentanti di + commercio (ENASARCO) + TC08: Ente nazionale previdenza e assistenza consulenti del + lavoro (ENPACL) + TC09: Ente nazionale previdenza e assistenza medici (ENPAM) + TC10: Ente nazionale previdenza e assistenza farmacisti (ENPAF) + TC11: Ente nazionale previdenza e assistenza veterinari (ENPAV) + TC12: Ente nazionale previdenza e assistenza impiegati dell'agricoltura + (ENPAIA) + TC13: Fondo previdenza impiegati imprese di spedizione e agenzie + marittime + TC14: Istituto nazionale previdenza giornalisti italiani (INPGI) + TC15: Opera nazionale assistenza orfani sanitari italiani + (ONAOSI) + TC16: Cassa autonoma assistenza integrativa giornalisti italiani + (CASAGIT) + TC17: Ente previdenza periti industriali e periti industriali + laureati (EPPI) + TC18: Ente previdenza e assistenza pluricategoriale (EPAP) + TC19: Ente nazionale previdenza e assistenza biologi (ENPAB) + TC20: Ente nazionale previdenza e assistenza professione infermieristica + (ENPAPI) + TC21: Ente nazionale previdenza e assistenza psicologi (ENPAP) + TC22: INPS + ei_causal_payment_info: + ? "" + : Nessuna ritenuta + A: Prestazioni di lavoro autonomo rientranti nell'esercizio + di arte o professione abituale + B: "Utilizzazione economica, da parte dell'autore o dell'inventore,\ + \ di opere dell'ingegno, di brevetti industriali e di processi,\ + \ formule o informazioni relativi ad esperienze acquisite\ + \ in campo industriale, commerciale o scientifico" + C: "Utili derivanti da contratti di associazione in partecipazione\ + \ e da contratti di cointeressenza, quando l'apporto è costituito\ + \ esclusivamente dalla prestazione di lavoro" + D: Utili spettanti ai soci promotori ed ai soci fondatori + delle società di capitali + E: Levata di protesti cambiari da parte dei segretari comunali + G: Indennità corrisposte per la cessazione di attività sportiva + professionale + H: "Indennità corrisposte per la cessazione dei rapporti di\ + \ agenzia delle persone fisiche e delle società di persone\ + \ con esclusione delle somme maturate entro il 31 dicembre\ + \ 2003, già imputate per competenza e tassate come reddito\ + \ d'impresa" + I: Indennità corrisposte per la cessazione da funzioni notarili + L: "Redditi derivanti dall'utilizzazione economica di opere\ + \ dell'ingegno, di brevetti industriali e di processi, formule\ + \ e informazioni relativi a esperienze acquisite in campo\ + \ industriale, commerciale o scientifico, che sono percepiti\ + \ dagli aventi causa a titolo gratuito (ad es. eredi e legatari\ + \ dell'autore e inventore)" + L1: "Redditi derivanti dall'utilizzazione economica di opere\ + \ dell'ingegno, di brevetti industriali e di processi, formule\ + \ e informazioni relativi a esperienze acquisite in campo\ + \ industriale, commerciale o scientifico, che sono percepiti\ + \ da soggetti che abbiano acquistato a titolo oneroso i\ + \ diritti alla loro utilizzazione" + M: Prestazioni di lavoro autonomo non esercitate abitualmente + M1: "Redditi derivanti dall'assunzione di obblighi di fare,\ + \ di non fare o permettere" + M2: Prestazioni di lavoro autonomo non esercitate abitualmente + per le quali sussiste l'obbligo di iscrizione alla Gestione + Separata ENPAPI + "N": "Indennità di trasferta, rimborso forfettario di spese,\ + \ premi e compensi erogati: \x96 nell'esercizio diretto\ + \ di attività sportive dilettantistiche; in relazione a\ + \ rapporti di collaborazione coordinata e continuativa di\ + \ carattere amministrativo-gestionale di natura non professionale\ + \ resi a favore di società e associazioni sportive dilettantistiche\ + \ e di cori, bande e filodrammatiche da parte del direttore\ + \ e dei collaboratori tecnici;" + O: "Prestazioni di lavoro autonomo non esercitate abitualmente,\ + \ obblighi di fare, di non fare o permettere, per le quali\ + \ non sussiste l'obbligo di iscrizione alla gestione separata\ + \ (Circ. INPS n. 104/2001)" + O1: "Redditi derivanti dall’assunzione di obblighi di fare,\ + \ di non fare o permettere, per le quali non sussiste l'obbligo\ + \ di iscrizione alla gestione separata (Circ. INPS n. 104/2001)" + P: "compensi corrisposti a soggetti non residenti privi di\ + \ stabile organizzazione per l'uso o la concessione in uso\ + \ di attrezzature industriali, commerciali o scientifiche\ + \ che si trovano nel territorio dello Stato ovvero a società\ + \ svizzere o stabili organizzazioni di società svizzere\ + \ che possiedono i requisiti di cui all'art. 15, comma 2\ + \ dell'Accordo tra la Comunità europea e la Confederazione\ + \ svizzera del 26 ottobre 2004 (pubblicato in G.U.C.E. del\ + \ 29 dicembre 2004 n. L385/30)" + Q: Provvigioni corrisposte ad agente o rappresentante di commercio + monomandatario + R: Provvigioni corrisposte ad agente o rappresentante di commercio + plurimandatario + S: Provvigioni corrisposte a commissionario + T: Provvigioni corrisposte a mediatore + U: Provvigioni corrisposte a procacciatore di affari + V: "Provvigioni corrisposte a incaricato per le vendite a\ + \ domicilio; provvigioni corrisposte a incaricato per la\ + \ vendita porta a porta e per la vendita ambulante di giornali\ + \ quotidiani e periodici (L. 25 febbraio 1987, n. 67)" + V1: "Redditi derivanti da attività commerciali non esercitate\ + \ abitualmente (ad esempio, provvigioni corrisposte per\ + \ prestazioni occasionali ad agente o rappresentante di\ + \ commercio, mediatore, procacciatore d'affari)" + W: Corrispettivi erogati nell'anno corrente per prestazioni + relative a contratti d'appalto cui si sono resi applicabili + le disposizioni contenute nell'art. 25-ter del D.P.R. n. + 600 del 29 settembre 1973 + X: "Canoni corrisposti nel 2004 da società o enti residenti\ + \ ovvero da stabili organizzazioni di società estere di\ + \ cui all'art. 26-quater, comma 1, lett. a) e b) del D.P.R.\ + \ 600 del 29 settembre 1973, a società o stabili organizzazioni\ + \ di società, situate in altro stato membro dell'Unione\ + \ Europea in presenza dei requisiti di cui al citato art.\ + \ 26-quater, del D.P.R. 600 del 29 settembre 1973, per i\ + \ quali è stato effettuato, nell'anno 2006, il rimborso\ + \ della ritenuta ai sensi dell'art. 4 del D.Lgs. 30 maggio\ + \ 2005 n. 143" + "Y": "Canoni corrisposti dal 1° gennaio 2005 al 26 luglio\ + \ 2005 da società o enti residenti ovvero da stabili organizzazioni\ + \ di società estere di cui all'art. 26-quater, comma 1,\ + \ lett. a) e b) del D.P.R. n. 600 del 29 settembre 1973,\ + \ asocietà o stabili organizzazioni di società, situate\ + \ in altro stato membro dell'Unione Europea in presenza\ + \ dei requisiti di cui al citato art. 26-quater, del D.P.R.\ + \ n. 600 del 29 settembre 1973, per i quali è stato effettuato,\ + \ nell'anno 2006, il rimborso della ritenuta ai sensi dell'art.\ + \ 4 del D.Lgs. 30 maggio 2005 n. 143" + ZO: Titolo diverso dai precedenti + ei_withholding_type_info: + ? "" + : Nessuna ritenuta + RT01: Ritenuta di acconto persone fisiche + RT02: Ritenuta di acconto persone giuridiche + RT03: Contributo INPS + RT04: Contributo ENASARCO + RT05: Contributo ENPAM + RT06: Altro contributo previdenziale + use_e_invoice: true + price_lists: + - id: "10" + name: Listino 1 + prices_type: net + is_default: true + is_archived: false + valid_from: 2021-08-01 + valid_to: 2025-09-10 + type: sell + schema: + $ref: "#/components/schemas/GetIssuedDocumentPreCreateInfoResponse" + description: Pre-create info. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: [] + summary: Get Issued Document Pre-Create Info + tags: + - Issued Documents + /c/{company_id}/issued_documents/{document_id}/email: + get: + description: Gets the pre-compiled email details. + operationId: getEmailData + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + - description: The ID of the document. + explode: false + in: path + name: document_id + required: true + schema: + type: integer + style: simple + responses: + "200": + content: + application/json: + examples: + example-1: + value: + data: + recipient_email: mary.red@example.com + default_sender_email: + id: 0 + email: no-reply@fattureincloud.it + sender_emails_list: + - id: 0 + email: no-reply@fattureincloud.it + - id: 888 + email: mariorossi@fattureincloud.it + cc_email: m.rossi@exxample.com + subject: Nostra pro forma nr. 1 + body: "Gentile Mario Rossi,
per vedere la nostra pro forma\ + \ di o per scaricarne una copia in versione PDF prema sul\ + \ bottone sottoastante.

{{allegati}}

Cordiali\ + \ saluti,
Mario Rossi" + document_exists: true + delivery_note_exists: false + attachment_exists: false + accompanying_invoice_exists: false + schema: + $ref: "#/components/schemas/GetEmailDataResponse" + description: EmailData + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: + - issued_documents.invoices:r + - issued_documents.credit_notes:r + - issued_documents.receipts:r + - issued_documents.orders:r + - issued_documents.quotes:r + - issued_documents.proformas:r + - issued_documents.delivery_notes:r + summary: Get Email Data + tags: + - Issued Documents + post: + description: Schedules the sending of a document by email. + operationId: scheduleEmail + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + - description: The ID of the document. + explode: false + in: path + name: document_id + required: true + schema: + type: integer + style: simple + requestBody: + content: + application/json: + examples: + example-1: + value: + data: + sender_email: mariorossi@fattureincloud.it + recipient_email: mary.red@example.com + subject: Nostra pro forma nr. 1 + body: "Gentile Mario Rossi,
per vedere la nostra pro forma\ + \ di o per scaricarne una copia in versione PDF prema sul bottone\ + \ sottostante.

{{allegati}}

Cordiali saluti,
Mario\ + \ Rossi" + include: + document: false + delivery_note: false + attachment: false + accompanying_invoice: false + attach_pdf: true + send_copy: false + schema: + $ref: "#/components/schemas/ScheduleEmailRequest" + description: Email Schedule + responses: + "200": + description: OK + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: + - issued_documents.invoices:r + - issued_documents.credit_notes:r + - issued_documents.receipts:r + - issued_documents.orders:r + - issued_documents.quotes:r + - issued_documents.proformas:r + - issued_documents.delivery_notes:r + summary: Schedule Email + tags: + - Issued Documents + /c/{company_id}/issued_documents/{document_id}/e_invoice/send: + post: + description: Sends the e-invoice to SDI. + operationId: sendEInvoice + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + - description: The ID of the document. + explode: false + in: path + name: document_id + required: true + schema: + type: integer + style: simple + requestBody: + content: + application/json: + examples: + example-1: + value: + data: + withholding_tax_causal: causale + schema: + $ref: "#/components/schemas/SendEInvoiceRequest" + description: "" + responses: + "200": + content: + application/json: + examples: + example-1: + value: + data: + name: CARICATO + date: 2021-08-23 10:38:03 + schema: + $ref: "#/components/schemas/SendEInvoiceResponse" + description: Example response + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: [] + summary: Send E-Invoice + tags: + - Issued e-invoices + /c/{company_id}/issued_documents/{document_id}/e_invoice/xml_verify: + get: + description: Verifies the e-invoice XML format. Checks if all of the mandatory + fields are filled and compliant to the right format. + operationId: verifyEInvoiceXml + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + - description: The ID of the document. + explode: false + in: path + name: document_id + required: true + schema: + type: integer + style: simple + responses: + "200": + content: + application/json: + examples: + example-1: + value: + data: + success: true + schema: + $ref: "#/components/schemas/VerifyEInvoiceXmlResponse" + description: Example response + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/VerifyEInvoiceXmlErrorResponse" + description: Example response + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: [] + summary: Verify E-Invoice XML + tags: + - Issued e-invoices + /c/{company_id}/issued_documents/{document_id}/e_invoice/xml: + get: + description: Downloads the e-invoice in XML format. + operationId: getEInvoiceXml + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + - description: The ID of the document. + explode: false + in: path + name: document_id + required: true + schema: + type: integer + style: simple + - description: Include the attachment to the XML e-invoice. + explode: true + in: query + name: include_attachment + required: false + schema: + type: boolean + style: form + responses: + "200": + content: + text/xml: + schema: + $ref: "#/components/schemas/GetEInvoiceXmlResponse" + description: "" + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: [] + summary: Get E-Invoice XML + tags: + - Issued e-invoices + /c/{company_id}/issued_documents/{document_id}/e_invoice/error_reason: + get: + description: Get e-invoice rejection reason + operationId: getEInvoiceRejectionReason + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + - description: The ID of the document. + explode: false + in: path + name: document_id + required: true + schema: + type: integer + style: simple + responses: + "200": + content: + application/json: + examples: + example-1: + value: + data: + reason: La Partita IVA della tua azienda risulta sbagliata e/o + cessata. + ei_status: rejected + solution: "Puoi correggere la tua Partita IVA in: Impostazioni\ + \ > Azienda > Informazioni di fatturazione." + date: 2023-06-06 + schema: + $ref: "#/components/schemas/GetEInvoiceRejectionReasonResponse" + description: Example response + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: [] + summary: Get E-Invoice Rejection Reason + tags: + - Issued e-invoices + /c/{company_id}/received_documents: + get: + description: Lists the received documents. + operationId: listReceivedDocuments + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + - description: The type of the received document. + explode: true + in: query + name: type + required: true + schema: + enum: + - expense + - passive_credit_note + - passive_delivery_note + - self_invoice + type: string + style: form + - description: List of comma-separated fields. + explode: true + in: query + name: fields + required: false + schema: + type: string + style: form + - description: Name of the fieldset. + explode: true + in: query + name: fieldset + required: false + schema: + enum: + - basic + - detailed + - fic_view + type: string + style: form + - description: List of comma-separated fields for result sorting (minus for + desc sorting). + explode: true + in: query + name: sort + required: false + schema: + type: string + style: form + - description: The page to retrieve. + explode: true + in: query + name: page + required: false + schema: + default: 1 + type: integer + style: form + - description: The size of the page. + explode: true + in: query + name: per_page + required: false + schema: + default: 5 + maximum: 100 + minimum: 1 + type: integer + style: form + - description: Query for filtering the results. + explode: true + in: query + name: q + required: false + schema: + type: string + style: form + responses: + "200": + content: + application/json: + examples: + example-1: + value: + current_page: 1 + data: + - id: 12345 + type: expense + description: Soggiorno di lavoro + amortization: 1 + rc_center: "" + invoice_number: "" + is_marked: false + is_detailed: false + e_invoice: false + created_at: 2021-08-15 14:02:02 + updated_at: 2021-08-15 14:02:02 + entity: + id: 111 + name: Hotel Rubino Palace + date: 2021-08-15 + next_due_date: 2021-08-15 + currency: + id: EUR + exchange_rate: "1.00000" + symbol: € + amount_net: 592 + amount_vat: 0 + amount_gross: 592 + amount_withholding_tax: 0 + amount_other_withholding_tax: 0 + tax_deductibility: 50 + vat_deductibility: 100 + items_list: null + payments_list: + - amount: 592 + due_date: 2021-08-15 + paid_date: 2021-08-15 + id: 777 + payment_terms: + days: 0 + type: standard + status: paid + payment_account: + id: 222 + name: Contanti + virtual: false + attachment_url: spesa_ger5i783t45hu6ti.pdf + attachment_preview_url: null + extra_data: null + - id: 12346 + type: expense + description: Assicurazione RCA + iamortization: 1 + rc_center: "" + invoice_number: "" + is_marked: false + is_detailed: false + e_invoice: false + created_at: 2021-08-09 14:02:02 + updated_at: 2021-08-09 14:02:02 + entity: + id: 89 + name: Indesa Assicurazioni S.P.A. + date: 2021-08-08 + next_due_date: 2021-08-08 + currency: + id: EUR + exchange_rate: "1.00000" + symbol: € + amount_net: 645.69 + amount_vat: 0 + amount_gross: 645.69 + amount_withholding_tax: 0 + amount_other_withholding_tax: 0 + tax_deductibility: 50 + vat_deductibility: 100 + items_list: null + payments_list: + - amount: 645.69 + due_date: 2021-08-08 + paid_date: 2021-08-08 + id: 999 + payment_terms: + days: 0 + type: standard + status: paid + payment_account: + id: 333 + name: Carta conto + virtual: false + attachment_url: spesa_gjsd567e5hu6ti.pdf + attachment_preview_url: null + extra_data: null + first_page_url: page=1 + from: 1 + last_page: 2 + last_page_url: page=2 + next_page_url: page=2 + path: received_documents + per_page: 50 + prev_page_url: null + to: 50 + total: 123 + schema: + $ref: "#/components/schemas/ListReceivedDocumentsResponse" + description: Results list. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: + - received_documents:r + - stock:r + summary: List Received Documents + tags: + - Received Documents + post: + description: Creates a new document. + operationId: createReceivedDocument + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + requestBody: + content: + application/json: + examples: + example-1: + value: + data: + type: expense + description: Soggiorno di lavoro + amortization: 1 + rc_center: "" + invoice_number: "" + is_marked: false + is_detailed: false + e_invoice: false + entity: + id: 111 + name: Hotel Rubino Palace + date: 2021-08-15 + next_due_date: 2021-08-15 + currency: + id: EUR + exchange_rate: "1.00000" + symbol: € + amount_net: 592 + amount_vat: 0 + amount_gross: 592 + amount_withholding_tax: 0 + amount_other_withholding_tax: 0 + tax_deductibility: 50 + vat_deductibility: 100 + payments_list: + - amount: 592 + due_date: 2021-08-15 + paid_date: 2021-08-15 + id: 777 + payment_terms: + days: 0 + type: standard + status: paid + payment_account: + id: 222 + name: Contanti + virtual: false + attachment_token: bnopjao8gvydtgnewgiovs74yrfqwefEF + schema: + $ref: "#/components/schemas/CreateReceivedDocumentRequest" + description: Document to create + responses: + "200": + content: + application/json: + examples: + example-1: + value: + data: + id: 12345 + type: expense + description: Soggiorno di lavoro + amortization: 1 + rc_center: "" + invoice_number: "" + is_marked: false + is_detailed: false + e_invoice: false + created_at: 2021-08-15 14:02:02 + updated_at: 2021-08-15 14:02:02 + entity: + id: 111 + name: Hotel Rubino Palace + date: 2021-08-15 + next_due_date: 2021-08-15 + currency: + id: EUR + exchange_rate: "1.00000" + symbol: € + amount_net: 592 + amount_vat: 0 + amount_gross: 592 + amount_withholding_tax: 0 + amount_other_withholding_tax: 0 + tax_deductibility: 50 + vat_deductibility: 100 + items_list: null + payments_list: + - amount: 592 + due_date: 2021-08-15 + paid_date: 2021-08-15 + id: 777 + payment_terms: + days: 0 + type: standard + status: paid + payment_account: + id: 222 + name: Contanti + virtual: false + attachment_url: spesa_ger5i783t45hu6ti.pdf + attachment_preview_url: null + extra_data: null + schema: + $ref: "#/components/schemas/CreateReceivedDocumentResponse" + description: Document created. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: + - received_documents:a + - stock:a + summary: Create Received Document + tags: + - Received Documents + /c/{company_id}/received_documents/{document_id}: + delete: + description: Deletes the specified document. + operationId: deleteReceivedDocument + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + - description: The ID of the document. + explode: false + in: path + name: document_id + required: true + schema: + type: integer + style: simple + responses: + "200": + description: Document removed. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: + - received_documents:a + - stock:a + summary: Delete Received Document + tags: + - Received Documents + get: + description: Gets the specified document. + operationId: getReceivedDocument + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + - description: The ID of the document. + explode: false + in: path + name: document_id + required: true + schema: + type: integer + style: simple + - description: List of comma-separated fields. + explode: true + in: query + name: fields + required: false + schema: + type: string + style: form + - description: Name of the fieldset. + explode: true + in: query + name: fieldset + required: false + schema: + enum: + - basic + - detailed + - fic_view + type: string + style: form + responses: + "200": + content: + application/json: + examples: + example-1: + value: + data: + id: 12345 + type: expense + description: Soggiorno di lavoro + amortization: 1 + rc_center: "" + invoice_number: "" + is_marked: false + is_detailed: false + e_invoice: false + created_at: 2021-08-15 14:02:02 + updated_at: 2021-08-15 14:02:02 + entity: + id: 111 + name: Hotel Rubino Palace + date: 2021-08-15 + next_due_date: 2021-08-15 + currency: + id: EUR + exchange_rate: "1.00000" + symbol: € + amount_net: 592 + amount_vat: 0 + amount_gross: 592 + amount_withholding_tax: 0 + amount_other_withholding_tax: 0 + tax_deductibility: 50 + vat_deductibility: 100 + items_list: null + payments_list: + - amount: 592 + due_date: 2021-08-15 + paid_date: 2021-08-15 + id: 777 + payment_terms: + days: 0 + type: standard + status: paid + payment_account: + id: 222 + name: Contanti + virtual: false + attachment_url: spesa_ger5i783t45hu6ti.pdf + attachment_preview_url: null + extra_data: null + schema: + $ref: "#/components/schemas/GetReceivedDocumentResponse" + description: Document details. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: + - received_documents:r + - stock:r + summary: Get Received Document + tags: + - Received Documents + put: + description: Modifies the specified document. + operationId: modifyReceivedDocument + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + - description: The ID of the document. + explode: false + in: path + name: document_id + required: true + schema: + type: integer + style: simple + requestBody: + content: + application/json: + examples: + example-1: + value: + data: + type: expense + description: Soggiorno di lavoro + amortization: 1 + rc_center: "" + invoice_number: "" + is_marked: false + is_detailed: false + e_invoice: false + entity: + id: 111 + name: Hotel Rubino Palace + date: 2021-08-15 + next_due_date: 2021-08-15 + currency: + id: EUR + exchange_rate: "1.00000" + symbol: € + amount_net: 592 + amount_vat: 0 + amount_gross: 592 + amount_withholding_tax: 0 + amount_other_withholding_tax: 0 + tax_deductibility: 50 + vat_deductibility: 100 + payments_list: + - amount: 592 + due_date: 2021-08-15 + paid_date: 2021-08-15 + id: 777 + payment_terms: + days: 0 + type: standard + status: paid + payment_account: + id: 222 + name: Contanti + virtual: false + schema: + $ref: "#/components/schemas/ModifyReceivedDocumentRequest" + description: Modified document. + responses: + "200": + content: + application/json: + examples: + example-1: + value: + data: + id: 12345 + type: expense + description: Soggiorno di lavoro + amortization: 1 + rc_center: "" + invoice_number: "" + is_marked: false + is_detailed: false + e_invoice: false + created_at: 2021-08-15 14:02:02 + updated_at: 2021-08-15 14:02:02 + entity: + id: 111 + name: Hotel Rubino Palace + date: 2021-08-15 + next_due_date: 2021-08-15 + currency: + id: EUR + exchange_rate: "1.00000" + symbol: € + amount_net: 592 + amount_vat: 0 + amount_gross: 592 + amount_withholding_tax: 0 + amount_other_withholding_tax: 0 + tax_deductibility: 50 + vat_deductibility: 100 + items_list: null + payments_list: + - amount: 592 + due_date: 2021-08-15 + paid_date: 2021-08-15 + id: 777 + payment_terms: + days: 0 + type: standard + status: paid + payment_account: + id: 222 + name: Contanti + virtual: false + attachment_url: spesa_ger5i783t45hu6ti.pdf + attachment_preview_url: null + extra_data: null + schema: + $ref: "#/components/schemas/ModifyReceivedDocumentResponse" + description: Modified document. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: + - received_documents:a + - stock:a + summary: Modify Received Document + tags: + - Received Documents + /c/{company_id}/received_documents/pending: + get: + description: Lists the pending received documents. + operationId: listPendingReceivedDocuments + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + - description: The type of the pending received document. + explode: true + in: query + name: type + required: true + schema: + enum: + - agyo + - mail + - browser + type: string + style: form + - description: List of comma-separated fields. + explode: true + in: query + name: fields + required: false + schema: + type: string + style: form + - description: Name of the fieldset. + explode: true + in: query + name: fieldset + required: false + schema: + enum: + - basic + - detailed + - fic_view + type: string + style: form + - description: List of comma-separated fields for result sorting (minus for + desc sorting). + explode: true + in: query + name: sort + required: false + schema: + type: string + style: form + - description: The page to retrieve. + explode: true + in: query + name: page + required: false + schema: + default: 1 + type: integer + style: form + - description: The size of the page. + explode: true + in: query + name: per_page + required: false + schema: + default: 5 + maximum: 100 + minimum: 1 + type: integer + style: form + - description: Query for filtering the results. + explode: true + in: query + name: q + required: false + schema: + type: string + style: form + responses: + "200": + content: + application/json: + examples: + example-1: + value: + current_page: 1 + data: + - type: agyo + document_type: expense + description: Soggiorno di lavoro + amortization: 1 + rc_center: "" + invoice_number: "" + is_marked: false + is_detailed: false + e_invoice: false + created_at: 2021-08-15 14:02:02 + updated_at: 2021-08-15 14:02:02 + entity: + id: 111 + name: Hotel Rubino Palace + date: 2021-08-15 + next_due_date: 2021-08-15 + currency: + id: EUR + exchange_rate: "1.00000" + symbol: € + amount_net: 592 + amount_vat: 0 + amount_gross: 592 + amount_withholding_tax: 0 + amount_other_withholding_tax: 0 + tax_deductibility: 50 + vat_deductibility: 100 + items_list: null + payments_list: + - amount: 592 + due_date: 2021-08-15 + paid_date: 2021-08-15 + id: 777 + payment_terms: + days: 0 + type: standard + status: paid + payment_account: + id: 222 + name: Contanti + virtual: false + attachment_url: spesa_ger5i783t45hu6ti.pdf + attachment_preview_url: null + extra_data: null + - type: expense + description: Assicurazione RCA + iamortization: 1 + rc_center: "" + invoice_number: "" + is_marked: false + is_detailed: false + e_invoice: false + created_at: 2021-08-09 14:02:02 + updated_at: 2021-08-09 14:02:02 + entity: + id: 89 + name: Indesa Assicurazioni S.P.A. + date: 2021-08-08 + next_due_date: 2021-08-08 + currency: + id: EUR + exchange_rate: "1.00000" + symbol: € + amount_net: 645.69 + amount_vat: 0 + amount_gross: 645.69 + amount_withholding_tax: 0 + amount_other_withholding_tax: 0 + tax_deductibility: 50 + vat_deductibility: 100 + items_list: null + payments_list: + - amount: 645.69 + due_date: 2021-08-08 + paid_date: 2021-08-08 + id: 999 + payment_terms: + days: 0 + type: standard + status: paid + payment_account: + id: 333 + name: Carta conto + virtual: false + attachment_url: spesa_gjsd567e5hu6ti.pdf + attachment_preview_url: null + extra_data: null + first_page_url: page=1 + from: 1 + last_page: 2 + last_page_url: page=2 + next_page_url: page=2 + path: received_documents + per_page: 50 + prev_page_url: null + to: 50 + total: 123 + schema: + $ref: "#/components/schemas/ListPendingReceivedDocumentsResponse" + description: Results list. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: + - received_documents:r + summary: List Pending Received Documents + tags: + - Received Documents + /c/{company_id}/received_documents/pending/{document_id}: + get: + description: Gets the specified pending received document. + operationId: getPendingReceivedDocument + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + - description: The ID of the document. + explode: false + in: path + name: document_id + required: true + schema: + type: integer + style: simple + - description: List of comma-separated fields. + explode: true + in: query + name: fields + required: false + schema: + type: string + style: form + - description: Name of the fieldset. + explode: true + in: query + name: fieldset + required: false + schema: + enum: + - basic + - detailed + - fic_view + type: string + style: form + responses: + "200": + content: + application/json: + examples: + example-1: + value: + data: + date: 2021-08-15 + type: agyo + subject: Soggiorno di lavoro + filename: fatturaHotel.xml + amortization: 1 + rc_center: "" + invoice_number: "" + is_marked: false + is_detailed: false + e_invoice: false + document_type: expense + created_at: 2021-08-15 14:02:02 + updated_at: 2021-08-15 14:02:02 + entity: + id: 111 + name: Hotel Rubino Palace + next_due_date: 2021-08-15 + currency: + id: EUR + exchange_rate: "1.00000" + symbol: € + amount_net: 592 + amount_vat: 0 + amount_gross: 592 + amount_withholding_tax: 0 + amount_other_withholding_tax: 0 + tax_deductibility: 50 + vat_deductibility: 100 + items_list: null + payments_list: + - amount: 592 + due_date: 2021-08-15 + paid_date: 2021-08-15 + id: 777 + payment_terms: + days: 0 + type: standard + status: paid + payment_account: + id: 222 + name: Contanti + virtual: false + attachment_url: spesa_ger5i783t45hu6ti.pdf + attachment_preview_url: null + extra_data: null + schema: + $ref: "#/components/schemas/GetPendingReceivedDocumentResponse" + description: Document details. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: + - received_documents:r + summary: Get Pending Received Document + tags: + - Received Documents + /c/{company_id}/received_documents/totals: + post: + description: Returns the totals for a new document. + operationId: getNewReceivedDocumentTotals + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + requestBody: + content: + application/json: + examples: + example-1: + value: + data: + type: expense + description: Soggiorno di lavoro + amortization: 1 + rc_center: "" + invoice_number: "" + is_marked: false + is_detailed: false + e_invoice: false + created_at: 2021-08-15 14:02:02 + updated_at: 2021-08-15 14:02:02 + entity: + id: 111 + name: Hotel Rubino Palace + date: 2021-08-15 + next_due_date: 2021-08-15 + currency: + id: EUR + exchange_rate: "1.00000" + symbol: € + amount_net: 592 + amount_vat: 10 + amount_withholding_tax: 0 + amount_other_withholding_tax: 0 + tax_deductibility: 50 + vat_deductibility: 100 + payments_list: + - amount: 592 + due_date: 2021-08-15 + paid_date: 2021-08-15 + id: 777 + payment_terms: + days: 0 + type: standard + status: paid + schema: + $ref: "#/components/schemas/GetNewReceivedDocumentTotalsRequest" + description: Received document. + responses: + "200": + content: + application/json: + examples: + example-1: + value: + data: + amount_net: 592 + amount_vat: 10 + amount_gross: 602 + amount_withholding_tax: 0 + amount_other_withholding_tax: 0 + amount_due: 602 + payments_sum: 592 + schema: + $ref: "#/components/schemas/GetNewReceivedDocumentTotalsResponse" + description: Document Totals. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: + - received_documents:a + - stock:a + summary: Get New Received Document Totals + tags: + - Received Documents + /c/{company_id}/received_documents/{document_id}/totals: + post: + description: Returns the totals for the specified document. + operationId: getExistingReceivedDocumentTotals + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + - description: The ID of the document. + explode: false + in: path + name: document_id + required: true + schema: + type: integer + style: simple + requestBody: + content: + application/json: + examples: + example-1: + value: + data: + amount_vat: 20 + schema: + $ref: "#/components/schemas/GetExistingReceivedDocumentTotalsRequest" + description: Received document. + responses: + "200": + content: + application/json: + examples: + example-1: + value: + data: + amount_net: 592 + amount_vat: 20 + amount_gross: 612 + amount_withholding_tax: 0 + amount_other_withholding_tax: 0 + amount_due: 612 + payments_sum: 592 + schema: + $ref: "#/components/schemas/GetExistingReceivedDocumentTotalsResponse" + description: Document Totals. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: + - received_documents:a + - stock:a + summary: Get Existing Received Document Totals + tags: + - Received Documents + /c/{company_id}/received_documents/attachment: + post: + description: "Uploads an attachment destined to a received document. The actual\ + \ association between the document and the attachment must be implemented\ + \ separately, using the returned token." + operationId: uploadReceivedDocumentAttachment + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + requestBody: + content: + multipart/form-data: + examples: + example-1: + value: + filename: spesa_HotelRubino + attachment: spesa_08_08_2020.pdf + schema: + $ref: "#/components/schemas/UploadReceivedDocumentAttachmentRequest" + description: Attachment. + responses: + "200": + content: + application/json: + examples: + example-1: + value: + data: + attachment_token: YmMyNWYxYzIwMTU3N212ABCDZjZiMzg5OWY0ODNkZDQveXl5LmRvYw + schema: + $ref: "#/components/schemas/UploadReceivedDocumentAttachmentResponse" + description: Attachment Token. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: + - received_documents:a + - stock:a + summary: Upload Received Document Attachment + tags: + - Received Documents + /c/{company_id}/received_documents/{document_id}/attachment: + delete: + description: Removes the attachment of the specified document. + operationId: deleteReceivedDocumentAttachment + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + - description: The ID of the document. + explode: false + in: path + name: document_id + required: true + schema: + type: integer + style: simple + responses: + "200": + description: File removed + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: + - received_documents:a + - stock:a + summary: Delete Received Document Attachment + tags: + - Received Documents + /c/{company_id}/received_documents/info: + get: + description: Retrieves the information useful while creating a new document. + operationId: getReceivedDocumentPreCreateInfo + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + - description: The type of the received document. + explode: true + in: query + name: type + required: true + schema: + enum: + - expense + - passive_credit_note + - passive_delivery_note + - self_invoice + type: string + style: form + responses: + "200": + content: + application/json: + examples: + example-1: + value: + data: + default_values: + detailed: false + items_default_values: + vat: null + countries_list: + - Italia + - Afghanistan + - Albania + - Algeria + - Andorra + - Angola + - Anguilla + - Antartide + - Antigua e Barbuda + - Antille Olandesi + - Arabia Saudita + - Argentina + - Armenia + - Aruba + - Australia + - Austria + - Azerbaigian + - Bahamas + - Bahrain + - Bangladesh + - Barbados + - Belgio + - Belize + - Benin + - Bermuda + - Bhutan + - Bielorussia + - Bolivia + - Bosnia ed Erzegovina + - Botswana + - Brasile + - Brunei + - Bulgaria + - Burkina Faso + - Burundi + - Cambogia + - Camerun + - Canada + - Capo Verde + - Ciad + - Cile + - Cina + - Cipro + - Città del Vaticano + - Colombia + - Comore + - Corea del Nord + - Corea del Sud + - Costa Rica + - Costa d'Avorio + - Croazia + - Cuba + - Danimarca + - Dominica + - Ecuador + - Egitto + - El Salvador + - Emirati Arabi Uniti + - Eritrea + - Estonia + - Etiopia + - Fiji + - Filippine + - Finlandia + - Francia + - Gabon + - Gambia + - Georgia + - Georgia del Sud e isole Sandwich + - Germania + - Ghana + - Giamaica + - Giappone + - Gibilterra + - Gibuti + - Giordania + - Grecia + - Grenada + - Groenlandia + - Guadalupa + - Guam + - Guatemala + - Guernsey - Channel Islands + - Guinea + - Guinea Equatoriale + - Guinea-Bissau + - Guyana + - Guyana Francese + - Haiti + - Heard Island e McDonald Islands + - Honduras + - Hong Kong + - India + - Indonesia + - Iran + - Iraq + - Irlanda + - Islanda + - Isola Bouvet + - Isola Christmas + - Isola di Man + - Isola Norfolk + - Isole Canarie (Spagna) + - Isole Cayman + - Isole Cocos e Keeling + - Isole Cook + - Isole Falkland + - Isole Fær Øer + - Isole Marianne Settentrionali + - Isole Marshall + - Isole Minori Esterne degli USA + - Isole Pitcairn + - Isole Salomone + - Isole Vergini Americane + - Isole Vergini Britanniche + - Isole Åland + - Israele + - Jersey - Channel Islands + - Kazakistan + - Kenia + - Kirghizistan + - Kiribati + - Kosovo + - Kuwait + - Laos + - Lesotho + - Lettonia + - Libano + - Liberia + - Libia + - Liechtenstein + - Lituania + - Lussemburgo + - Macao + - Macedonia + - Macedonia del Nord + - Madagascar + - Malawi + - Malaysia + - Maldive + - Mali + - Malta + - Marocco + - Martinica + - Mauritania + - Mauritius + - Mayotte + - Messico + - Micronesia + - Moldavia + - Monaco + - Mongolia + - Montenegro + - Montserrat + - Mozambico + - Myanmar + - Namibia + - Nauru + - Nepal + - Nicaragua + - Niger + - Nigeria + - Niue + - Norvegia + - Nuova Caledonia + - Nuova Zelanda + - Oman + - Paesi Bassi + - Pakistan + - Palau + - Panama + - Papua Nuova Guinea + - Paraguay + - Perù + - Polinesia Francese + - Polonia + - Porto Rico + - Portogallo + - Qatar + - Regno Unito + - Repubblica Ceca + - Repubblica Centrafricana + - Repubblica Democratica del Congo + - Repubblica Dominicana + - Repubblica del Congo + - Riunione + - Romania + - Ruanda + - Russia + - Sahara Occidentale + - Saint Barthelemy + - Saint Kitts e Nevis + - Saint Pierre e Miquelon + - Saint Vincent e Grenadine + - Samoa + - Samoa Americane + - San Marino + - Sant'Elena + - Santa Lucia + - Senegal + - Serbia + - Seychelles + - Sierra Leone + - Singapore + - Siria + - Slovacchia + - Slovenia + - Somalia + - Spagna + - Sri Lanka + - Stato di Palestina + - Stati Uniti + - Sudafrica + - Sud Sudan + - Sudan + - Suriname + - Svalbard e Jan Mayen + - Svezia + - Svizzera + - Swaziland + - São Tomé e Príncipe + - Tagikistan + - Taiwan + - Tanzania + - Terre australi e ant. francesi + - Terr. Britannico dell'Oc. Ind. + - Thailandia + - Timor Est + - Togo + - Tokelau + - Tonga + - Trinidad e Tobago + - Tunisia + - Turchia + - Turkmenistan + - Turks e Caicos + - Tuvalu + - Ucraina + - Uganda + - Ungheria + - Uruguay + - Uzbekistan + - Vanuatu + - Venezuela + - Vietnam + - Wallis e Futuna + - Yemen + - Zambia + - Zimbabwe + currencies_list: + - id: AED + symbol: AED + html_symbol: AED + exchange_rate: "4.09500" + - id: ALL + symbol: ALL + html_symbol: ALL + exchange_rate: "121.50000" + - id: AUD + symbol: AUD + html_symbol: AUD + exchange_rate: "1.62094" + - id: AZN + symbol: AZN + html_symbol: AZN + exchange_rate: "2.00130" + - id: BGN + symbol: лв + html_symbol: BGN + exchange_rate: "1.95583" + - id: BRL + symbol: R$ + html_symbol: R$ + exchange_rate: "4.50410" + - id: BYN + symbol: BYN + html_symbol: BYN + exchange_rate: "2.41000" + - id: CAD + symbol: CAD + html_symbol: CAD + exchange_rate: "1.49841" + - id: CFA + symbol: CFA + html_symbol: CFA + exchange_rate: "656.68000" + - id: CHF + symbol: Fr. + html_symbol: Fr. + exchange_rate: "1.12559" + - id: CNY + symbol: CNY + html_symbol: CNY + exchange_rate: "7.70160" + - id: CRC + symbol: ₡ + html_symbol: '₡' + exchange_rate: "659.17000" + - id: CZK + symbol: Kč + html_symbol: CZK + exchange_rate: "25.80600" + - id: DKK + symbol: kr. + html_symbol: kr. + exchange_rate: "7.46750" + - id: DOP + symbol: DOP + html_symbol: DOP + exchange_rate: "56.50000" + - id: DZD + symbol: DZD + html_symbol: DZD + exchange_rate: "134.28300" + - id: EGP + symbol: EGP + html_symbol: EGP + exchange_rate: "18.98030" + - id: EUR + symbol: € + html_symbol: '€' + exchange_rate: "1.00000" + - id: GBP + symbol: £ + html_symbol: '£' + exchange_rate: "0.88096" + - id: GHS + symbol: GHS + html_symbol: GHS + exchange_rate: "5.45834" + - id: HKD + symbol: HK$ + html_symbol: HK$ + exchange_rate: "8.75450" + - id: HRK + symbol: HRK + html_symbol: HRK + exchange_rate: "7.42640" + - id: HUF + symbol: HUF + html_symbol: HUF + exchange_rate: "326.24000" + - id: ILS + symbol: ₪ + html_symbol: '₪' + exchange_rate: "4.02680" + - id: INR + symbol: INR + html_symbol: INR + exchange_rate: "77.76050" + - id: ISK + symbol: ISK + html_symbol: ISK + exchange_rate: "135.94600" + - id: JPY + symbol: ¥ + html_symbol: '¥' + exchange_rate: "123.05800" + - id: KRW + symbol: KRW + html_symbol: KRW + exchange_rate: "1329.20000" + - id: MAD + symbol: MAD + html_symbol: MAD + exchange_rate: "10.78900" + - id: MKD + symbol: MKD + html_symbol: MKD + exchange_rate: "61.36700" + - id: MXN + symbol: Mex$ + html_symbol: Mex$ + exchange_rate: "21.17900" + - id: MYR + symbol: MYR + html_symbol: MYR + exchange_rate: "4.67310" + - id: NGN + symbol: NGN + html_symbol: NGN + exchange_rate: "405.17000" + - id: NIS + symbol: NIS + html_symbol: NIS + exchange_rate: "4020.00000" + - id: NOK + symbol: kr + html_symbol: kr + exchange_rate: "9.76270" + - id: NZD + symbol: NZD + html_symbol: NZD + exchange_rate: "1.71687" + - id: OMR + symbol: OMR + html_symbol: OMR + exchange_rate: "0.42950" + - id: PEN + symbol: PEN + html_symbol: PEN + exchange_rate: "3.73400" + - id: PLN + symbol: zł + html_symbol: PLN + exchange_rate: "4.30330" + - id: QAR + symbol: QAR + html_symbol: QAR + exchange_rate: "4.06270" + - id: RON + symbol: RON + html_symbol: RON + exchange_rate: "4.66891" + - id: RSD + symbol: RSD + html_symbol: RSD + exchange_rate: "117.39414" + - id: RUB + symbol: ₽ + html_symbol: '₽' + exchange_rate: "71.70370" + - id: SAR + symbol: SAR + html_symbol: SAR + exchange_rate: "4.18520" + - id: SEK + symbol: SEK + html_symbol: SEK + exchange_rate: "10.73374" + - id: SGD + symbol: SGD + html_symbol: SGD + exchange_rate: "1.53800" + - id: THB + symbol: THB + html_symbol: THB + exchange_rate: "35.56400" + - id: TND + symbol: TND + html_symbol: TND + exchange_rate: "3.34010" + - id: TRY + symbol: TRY + html_symbol: TRY + exchange_rate: "6.81590" + - id: TWD + symbol: TWD + html_symbol: TWD + exchange_rate: "35.14200" + - id: UAH + symbol: UAH + html_symbol: UAH + exchange_rate: "29.31490" + - id: USD + symbol: $ + html_symbol: '$' + exchange_rate: "1.11570" + - id: VND + symbol: ₫ + html_symbol: '₫' + exchange_rate: "26100.00000" + - id: ZAR + symbol: R + html_symbol: R + exchange_rate: "16.03080" + categories_list: + - Auto + - Telefono e internet + - Assicurazioni e quote + - Auto ed altri veicoli + - Computer e accessori + - Server e hosting + - merda + - Prva + - Farina etc. + - Cat + - Cibo + - gigi d'asti + - banca d'asti + - Varie + - zzzzz + - ooooo + - aaa + - ffff + - www + - bbb + payment_accounts_list: + - id: 111 + name: Indesa - carta conto + - id: 222 + name: Contanti + - id: 333 + name: Bonifico_Bancario + vat_types_list: + - id: 1334 + value: 0 + description: Non imp. art. 17 c. 6 DPR 633/72 e s.m.i. + is_disabled: false + - id: 1333 + value: 0 + description: Non sogg. art. 74 c. 7 e 8 DPR 633/72 + is_disabled: false + - id: 1332 + value: 0 + description: Non imp. art. 17 c. 6 lett. A TER DPR 633/72 + is_disabled: false + - id: 1020 + value: 0 + description: PA Non imp art. 2 + is_disabled: false + - id: 1018 + value: 0 + description: Aliq. 22% reverse charge + is_disabled: false + - id: 1015 + value: 22 + description: Speciale prova + is_disabled: false + - id: 1014 + value: 0 + description: Ai sensi dellarticolo 123 + is_disabled: false + - id: 1013 + value: 0 + description: Non imponibile art. 8 lett. A DPR 633/72 + is_disabled: false + - id: 1010 + value: 0 + description: NON IMPONIBILE IVA EX ART. 8 COMMA 1 LETT.A + is_disabled: false + - id: 1009 + value: 20 + description: Aliquota 20% + is_disabled: false + - id: 1008 + value: 0 + description: Non imp. art. 41 D.L. 427/93 + is_disabled: false + - id: 1007 + value: 0 + description: Non imp. art. 71 DPR 633/72 + is_disabled: false + - id: 1006 + value: 0 + description: Escl. art. 15 DPR 633/72 + is_disabled: false + - id: 1004 + value: 0 + description: Non imp. art. 1 L. 244/2007 + is_disabled: false + - id: 1003 + value: 0 + description: Non imp. art. 8 DPR 633/72 + is_disabled: false + - id: 1002 + value: 0 + description: Omaggi art. 2 c. 2 n. 4 DPR 633/72 + is_disabled: false + - id: 1000 + value: 0 + description: art.26 COMMA' 3 DPR 633/72 + is_disabled: false + - id: 7 + value: 0 + description: Regime dei minimi + is_disabled: false + - id: 9 + value: 0 + description: Fuori campo IVA + is_disabled: false + - id: 10 + value: 0 + description: "Oper. non soggetta, art.7 ter" + is_disabled: false + - id: 11 + value: 0 + description: "Inversione contabile, art.7 ter" + is_disabled: false + - id: 12 + value: 0 + description: Non Imponibile + is_disabled: false + - id: 13 + value: 0 + description: Non Imp. Art.8 + is_disabled: false + - id: 14 + value: 0 + description: Non Imp. Art.9 1C + is_disabled: false + - id: 15 + value: 0 + description: Non Imp. Art.14 Legge 537/93 + is_disabled: false + - id: 16 + value: 0 + description: Non Imp. Art.41 D.P.R. 331/93 + is_disabled: false + - id: 17 + value: 0 + description: "Non Imp. Art.72, D.P.R. 633/72" + is_disabled: false + - id: 18 + value: 0 + description: Non Imp. Art.74 quotidiani/libri + is_disabled: false + - id: 19 + value: 0 + description: Escluso Art.10 + is_disabled: false + - id: 20 + value: 0 + description: Escluso Art.13 5C DPR 633/72 + is_disabled: false + - id: 21 + value: 0 + description: Escluso Art.15 + is_disabled: false + - id: 23 + value: 0 + description: Escluso Art.74 ter D.P.R. 633/72 + is_disabled: false + - id: 24 + value: 0 + description: Escluso Art.10 comma 1 + is_disabled: false + - id: 25 + value: 0 + description: Escluso Art.10 comma 20 + is_disabled: false + - id: 26 + value: 0 + description: Non Imp. Art.9 + is_disabled: false + - id: 27 + value: 0 + description: Escluso Art.10 n.27 D.P.R 633/72 + is_disabled: false + - id: 30 + value: 0 + description: Regime del margine art.36 41/95 + is_disabled: false + - id: 31 + value: 0 + description: Escluso Art.3 comma 4 D.P.R 633/72 + is_disabled: false + - id: 32 + value: 0 + description: Escluso Art.15/1c D.P.R 633/72 + is_disabled: false + - id: 33 + value: 0 + description: Non imp. Art.8/c D.P.R. 633/72 + is_disabled: false + - id: 34 + value: 0 + description: Non Imp. Art.7 ter + is_disabled: false + - id: 35 + value: 0 + description: Escluso Art.7 D.P.R 633/72 + is_disabled: false + - id: 36 + value: 22 + description: Esigibilita differita Art. 6 comma 5 D.P.R 633/72 + is_disabled: false + - id: 37 + value: 0 + description: Escluso Art.10 comma 9 + is_disabled: false + - id: 38 + value: 0 + description: Non imp. Art.7 quater DPR 633/72 + is_disabled: false + - id: 39 + value: 0 + description: Non Imp. Art.8 comma 1A + is_disabled: false + - id: 44 + value: 0 + description: Fuori Campo IVA Art.7 ter D.P.R 633/72 + is_disabled: false + - id: 45 + value: 0 + description: Non Imp. Art.10 n.18 DPR 633/72 + is_disabled: false + - id: 46 + value: 0 + description: Esente Art.10 DPR 633/72 + is_disabled: false + - id: 48 + value: 0 + description: Non imp. art.40 D.L. 427/93 + is_disabled: false + - id: 49 + value: 0 + description: Non imp. art.41 D.L. 427/93 + is_disabled: false + - id: 51 + value: 0 + description: Non imp. art.8 DPR 633/72 + is_disabled: false + - id: 52 + value: 0 + description: Non imp. art.9 DPR 633/72 + is_disabled: false + - id: 53 + value: 0 + description: Regime minimi 2015 + is_disabled: false + - id: 55 + value: 0 + description: Non soggetta IVA + is_disabled: false + - id: 56 + value: 0 + description: R.C. art. 74/7-8 rottami e metalli ferrosi e + non + is_disabled: false + - id: 57 + value: 0 + description: R.C. art. 17/5 materiale oro e argento + is_disabled: false + - id: 58 + value: 0 + description: R.C. art. 17/6/a settore edile subappalto + is_disabled: false + - id: 59 + value: 0 + description: R.C. art. 17/6/a-bis fabbricati + is_disabled: false + - id: 60 + value: 0 + description: R.C. art. 17/6/b telefoni cellulari + is_disabled: false + - id: 61 + value: 0 + description: R.C. art. 17/6/c prodotti elettronici + is_disabled: false + - id: 62 + value: 0 + description: R.C. art. 17/6/a-ter servizi comparto edile e + settori connessi + is_disabled: false + - id: 63 + value: 0 + description: "R.C. art. 17/6/d-bis,d-ter,d-quater gas/energia\ + \ elettrica" + is_disabled: false + - id: 64 + value: 0 + description: Non imp. art.71 DPR 633/72 (Vaticano) + is_disabled: false + - id: 65 + value: 0 + description: Non imp. art.71 DPR 633/72 (RSM) + is_disabled: false + - id: 66 + value: 0 + description: Contribuenti forfettari + is_disabled: false + schema: + $ref: "#/components/schemas/GetReceivedDocumentPreCreateInfoResponse" + description: Pre-create info + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: + - received_documents:r + summary: Get Received Document Pre-Create Info + tags: + - Received Documents + /c/{company_id}/receipts: + get: + description: Lists the receipts. + operationId: listReceipts + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + - description: List of comma-separated fields. + explode: true + in: query + name: fields + required: false + schema: + type: string + style: form + - description: Name of the fieldset. + explode: true + in: query + name: fieldset + required: false + schema: + enum: + - basic + - detailed + - fic_view + type: string + style: form + - description: The page to retrieve. + explode: true + in: query + name: page + required: false + schema: + default: 1 + type: integer + style: form + - description: The size of the page. + explode: true + in: query + name: per_page + required: false + schema: + default: 5 + maximum: 100 + minimum: 1 + type: integer + style: form + - description: List of comma-separated fields for result sorting (minus for + desc sorting). + explode: true + in: query + name: sort + required: false + schema: + type: string + style: form + - description: Query for filtering the results. + explode: true + in: query + name: q + required: false + schema: + type: string + style: form + responses: + "200": + content: + application/json: + examples: + example-1: + value: + current_page: 1 + data: + - id: 12345 + date: 2021-08-20 + number: 5 + numeration: REC005 + amount_net: 16.39 + amount_vat: 3.61 + amount_gross: 20 + use_gross_prices: true + type: sales_receipt + description: cassa 1 + rc_center: "" + created_at: 2021-08-20 13:56:56 + updated_at: 2021-08-20 13:56:56 + payment_account: + id: 222 + name: carta di credito + items_list: + - id: 666 + amount_net: 10 + amount_vat: 2.2 + amount_gross: 12.2 + category: altro + vat: + id: 0 + value: 22 + description: iva + - id: 777 + amount_net: 100 + amount_vat: 4 + amount_gross: 104 + category: altro + vat: + id: 0 + value: 22 + description: iva + - id: 12346 + date: 2021-08-19 + number: 6 + numeration: REC006 + amount_net: 8.2 + amount_vat: 1.8 + amount_gross: 10 + use_gross_prices: true + type: sales_receipt + description: cassa 1 + rc_center: "" + created_at: 2021-08-19 17:57:56 + updated_at: 2021-08-19 17:57:56 + payment_account: + id: 555 + name: contanti + items_list: + - id: 888 + amount_net: 8.2 + amount_vat: 1.8 + amount_gross: 10 + category: altro + vat: + id: 0 + value: 22 + description: iva + first_page_url: page=1 + from: 1 + last_page: 4 + last_page_url: page=4 + next_page_url: page=2 + path: receipts + per_page: 50 + prev_page_url: null + to: 50 + total: 65 + schema: + $ref: "#/components/schemas/ListReceiptsResponse" + description: Receipts list. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: + - receipts:r + summary: List Receipts + tags: + - Receipts + post: + description: Creates a new receipt. + operationId: createReceipt + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + requestBody: + content: + application/json: + examples: + example-1: + value: + data: + date: 2021-08-19 + number: 6 + numeration: REC006 + amount_net: 8.2 + amount_vat: 1.8 + type: sales_receipt + description: cassa 1 + rc_center: "" + payment_account: + id: 555 + name: contanti + items_list: + - id: 888 + amount_net: 8.2 + amount_vat: 1.8 + category: altro + vat: + id: 0 + value: 22 + description: iva + schema: + $ref: "#/components/schemas/CreateReceiptRequest" + description: The Receipt to create. + responses: + "200": + content: + application/json: + examples: + example-1: + value: + data: + id: 12346 + date: 2021-08-19 + number: 6 + numeration: REC006 + amount_net: 8.2 + amount_vat: 1.8 + amount_gross: 10 + use_gross_prices: true + type: sales_receipt + description: cassa 1 + rc_center: "" + created_at: 2021-08-19 17:57:56 + updated_at: 2021-08-19 17:57:56 + payment_account: + id: 555 + name: contanti + items_list: + - id: 888 + amount_net: 8.2 + amount_vat: 1.8 + amount_gross: 10 + category: altro + vat: + id: 0 + value: 22 + description: iva + schema: + $ref: "#/components/schemas/CreateReceiptResponse" + description: Created Receipt. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: + - receipts:a + summary: Create Receipt + tags: + - Receipts + /c/{company_id}/receipts/{document_id}: + delete: + description: Deletes the specified receipt. + operationId: deleteReceipt + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + - description: The ID of the document. + explode: false + in: path + name: document_id + required: true + schema: + type: integer + style: simple + responses: + "200": + description: Document removed. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: + - receipts:a + summary: Delete Receipt + tags: + - Receipts + get: + description: Gets the specified receipt. + operationId: getReceipt + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + - description: The ID of the document. + explode: false + in: path + name: document_id + required: true + schema: + type: integer + style: simple + - description: List of comma-separated fields. + explode: true + in: query + name: fields + required: false + schema: + type: string + style: form + - description: Name of the fieldset. + explode: true + in: query + name: fieldset + required: false + schema: + enum: + - basic + - detailed + - fic_view + type: string + style: form + responses: + "200": + content: + application/json: + examples: + example-1: + value: + data: + id: 12346 + date: 2021-08-19 + number: 6 + numeration: REC006 + amount_net: 8.2 + amount_vat: 1.8 + amount_gross: 10 + use_gross_prices: true + type: sales_receipt + description: cassa 1 + rc_center: "" + created_at: 2021-08-19 17:57:56 + updated_at: 2021-08-19 17:57:56 + payment_account: + id: 555 + name: contanti + items_list: + - id: 888 + amount_net: 8.2 + amount_vat: 1.8 + amount_gross: 10 + category: altro + vat: + id: 0 + value: 22 + description: iva + schema: + $ref: "#/components/schemas/GetReceiptResponse" + description: Receipt Details. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: + - receipts:r + summary: Get Receipt + tags: + - Receipts + put: + description: Modifies the specified receipt. + operationId: modifyReceipt + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + - description: The ID of the document. + explode: false + in: path + name: document_id + required: true + schema: + type: integer + style: simple + requestBody: + content: + application/json: + examples: + example-1: + value: + data: + date: 2021-08-19 + number: 6 + numeration: REC006 + amount_net: 8.2 + amount_vat: 1.8 + type: sales_receipt + description: cassa 1 + rc_center: "" + payment_account: + id: 555 + name: contanti + items_list: + - id: 888 + amount_net: 8.2 + amount_vat: 1.8 + category: altro + vat: + id: 0 + value: 22 + description: iva + schema: + $ref: "#/components/schemas/ModifyReceiptRequest" + description: Modified receipt. + responses: + "200": + content: + application/json: + examples: + example-1: + value: + data: + id: 12346 + date: 2021-08-19 + number: 6 + numeration: REC006 + amount_net: 8.2 + amount_vat: 1.8 + amount_gross: 10 + use_gross_prices: true + type: sales_receipt + description: cassa 1 + rc_center: "" + created_at: 2021-08-19 17:57:56 + updated_at: 2021-08-19 17:57:56 + payment_account: + id: 555 + name: contanti + items_list: + - id: 888 + amount_net: 8.2 + amount_vat: 1.8 + amount_gross: 10 + category: altro + vat: + id: 0 + value: 22 + description: iva + schema: + $ref: "#/components/schemas/ModifyReceiptResponse" + description: Modified receipt. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: + - receipts:a + summary: Modify Receipt + tags: + - Receipts + /c/{company_id}/receipts/info: + get: + description: Retrieves the information useful while creating a new receipt. + operationId: getReceiptPreCreateInfo + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + responses: + "200": + content: + application/json: + examples: + example-1: + value: + data: + numerations: + "2016": + sales_receipt: + REC003: 12 + REC002: 5 + REC001: 2 + till_receipt: + REC002: 6 + REC001: 2 + "2017": + sales_receipt: + REC003: 14 + REC002: 7 + REC001: 1 + till_receipt: + REC003: 1 + REC001: 3 + "2018": + sales_receipt: + REC001: 3 + "2019": + sales_receipt: + REC002: 105 + REC001: 22 + till_receipt: + REC003: 21 + REC002: 24 + REC001: 25 + "2020": + sales_receipt: + REC001: 3 + "2021": + sales_receipt: + REC005: 3 + REC004: 2 + REC003: 2 + REC001: 7 + numerations_list: + - REC001 + - REC002 + - REC003 + - REC005 + - REC006 + rc_centers_list: + - Sede generale + - Negozio Bergamo + - Negozio Milano + payment_accounts_list: + - id: 111 + name: Indesa - carta conto + - id: 222 + name: Contanti + - id: 333 + name: Bonifico Bancario + categories_list: + - altro + - arredamento + vat_types_list: + - id: 1334 + value: 0 + description: Non imp. art. 17 c. 6 DPR 633/72 e s.m.i. + is_disabled: false + - id: 1333 + value: 0 + description: Non sogg. art. 74 c. 7 e 8 DPR 633/72 + is_disabled: false + - id: 1332 + value: 0 + description: Non imp. art. 17 c. 6 lett. A TER DPR 633/72 + is_disabled: false + - id: 1331 + value: 22 + description: Pippus + is_disabled: false + - id: 1330 + value: 0 + description: Natura 4 + is_disabled: false + - id: 1020 + value: 0 + description: PA Non imp art. 2 + is_disabled: false + - id: 1018 + value: 0 + description: Aliq. 22% reverse charge + is_disabled: false + - id: 1015 + value: 22 + description: Speciale prova + is_disabled: false + - id: 1014 + value: 0 + description: Ai sensi dellarticolo 123 + is_disabled: false + - id: 1013 + value: 0 + description: Non imponibile art. 8 lett. A DPR 633/72 + is_disabled: false + - id: 1010 + value: 0 + description: NON IMPONIBILE IVA EX ART. 8 COMMA 1 LETT.A + is_disabled: false + - id: 1009 + value: 20 + description: Aliquota 20% + is_disabled: false + - id: 1008 + value: 0 + description: Non imp. art. 41 D.L. 427/93 + is_disabled: false + - id: 1007 + value: 0 + description: Non imp. art. 71 DPR 633/72 + is_disabled: false + - id: 1006 + value: 0 + description: Escl. art. 15 DPR 633/72 + is_disabled: false + - id: 1004 + value: 0 + description: Non imp. art. 1 L. 244/2007 + is_disabled: false + - id: 1003 + value: 0 + description: Non imp. art. 8 DPR 633/72 + is_disabled: false + - id: 1002 + value: 0 + description: Omaggi art. 2 c. 2 n. 4 DPR 633/72 + is_disabled: false + - id: 1000 + value: 0 + description: art.26 COMMA' 3 DPR 633/72 + is_disabled: false + schema: + $ref: "#/components/schemas/GetReceiptPreCreateInfoResponse" + description: Pre-create info. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: + - receipts:r + summary: Get Receipt Pre-Create Info + tags: + - Receipts + /c/{company_id}/receipts/monthly_totals: + get: + description: Returns the monthly totals by year and receipt type. + operationId: getReceiptsMonthlyTotals + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + - description: Receipt Type + explode: true + in: query + name: type + required: true + schema: + enum: + - sales_receipt + - till_receipt + type: string + style: form + - description: Year for which you want monthly totals + explode: true + in: query + name: year + required: true + schema: + type: string + style: form + responses: + "200": + content: + application/json: + examples: + example-1: + value: + data: + - net: 15000 + gross: 18000 + count: 10 + - net: 18000 + gross: 22000 + count: 20 + - net: 20000 + gross: 24400 + count: 30 + - net: 19000 + gross: 22000 + count: 20 + - net: 17000 + gross: 20000 + count: 10 + - net: 18000 + gross: 24000 + count: 21 + - net: 22000 + gross: 25000 + count: 30 + - net: 17000 + gross: 21000 + count: 21 + - net: 0 + gross: 0 + count: 10 + - net: 0 + gross: 0 + count: 20 + - net: 0 + gross: 0 + count: 30 + - net: 0 + gross: 0 + count: 21 + schema: + $ref: "#/components/schemas/GetReceiptsMonthlyTotalsResponse" + description: Monthly Totals. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: + - receipts:r + summary: Get Receipts Monthly Totals + tags: + - Receipts + /c/{company_id}/taxes: + get: + description: Lists the F24s. + operationId: listF24 + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + - description: List of comma-separated fields. + explode: true + in: query + name: fields + required: false + schema: + type: string + style: form + - description: Name of the fieldset. + explode: true + in: query + name: fieldset + required: false + schema: + enum: + - basic + - detailed + - fic_view + type: string + style: form + - description: List of comma-separated fields for result sorting (minus for + desc sorting). + explode: true + in: query + name: sort + required: false + schema: + type: string + style: form + - description: The page to retrieve. + explode: true + in: query + name: page + required: false + schema: + default: 1 + type: integer + style: form + - description: The size of the page. + explode: true + in: query + name: per_page + required: false + schema: + default: 5 + maximum: 100 + minimum: 1 + type: integer + style: form + - description: Query for filtering the results. + explode: true + in: query + name: q + required: false + schema: + type: string + style: form + responses: + "200": + content: + application/json: + examples: + example-1: + value: + current_page: 1 + data: + - id: 12345 + amount: 840.36 + description: PAGAMENTO IVA 2021 + due_date: 2021-12-31 + status: paid + payment_account: + id: 111 + name: Indesa - carta conto + attachment_url: b19c01da9b1688fb73d0d9e8adae89a8.pdf + - id: 12346 + amount: 810.62 + description: PAGAMENTO IVA 2020 + due_date: 2020-12-31 + status: paid + payment_account: + id: 111 + name: Indesa - carta conto + attachment_url: bb6df8490dad4770353b378ea926d8ba.pdf + first_page_url: page=1 + from: 1 + last_page: 1 + last_page_url: page=1 + next_page_url: null + path: taxes + per_page: 50 + prev_page_url: null + to: 2 + total: 2 + aggregated_data: + amount: "6438.96" + schema: + $ref: "#/components/schemas/ListF24Response" + description: Results list. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: + - taxes:r + summary: List F24 + tags: + - Taxes + post: + description: Creates a new F24. + operationId: createF24 + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + requestBody: + content: + application/json: + examples: + example-1: + value: + data: + amount: 840.36 + description: PAGAMENTO IVA 2021 + due_date: 2021-12-31 + status: paid + payment_account: + id: 111 + attachment_token: b19c01da9b1688fb73d0d9e8ad + schema: + $ref: "#/components/schemas/CreateF24Request" + description: The F24 to create + responses: + "200": + content: + application/json: + examples: + example-1: + value: + data: + id: 12345 + amount: 840.36 + description: PAGAMENTO IVA 2021 + due_date: 2021-12-31 + status: paid + payment_account: + id: 111 + name: Indesa - carta conto + attachment_url: b19c01da9b1688fb73d0d9e8adae89a8.pdf + schema: + $ref: "#/components/schemas/CreateF24Response" + description: The created F24 + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: + - taxes:a + summary: Create F24 + tags: + - Taxes + /c/{company_id}/taxes/{document_id}: + delete: + description: Removes the specified F24. + operationId: deleteF24 + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + - description: The ID of the document. + explode: false + in: path + name: document_id + required: true + schema: + type: integer + style: simple + responses: + "200": + description: Document removed. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: + - taxes:a + summary: Delete F24 + tags: + - Taxes + get: + description: Gets the specified F24. + operationId: getF24 + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + - description: The ID of the document. + explode: false + in: path + name: document_id + required: true + schema: + type: integer + style: simple + - description: List of comma-separated fields. + explode: true + in: query + name: fields + required: false + schema: + type: string + style: form + - description: Name of the fieldset. + explode: true + in: query + name: fieldset + required: false + schema: + enum: + - basic + - detailed + - fic_view + type: string + style: form + responses: + "200": + content: + application/json: + examples: + example-1: + value: + data: + id: 12345 + amount: 840.36 + description: PAGAMENTO IVA 2021 + due_date: 2021-12-31 + status: paid + payment_account: + id: 111 + name: Indesa - carta conto + attachment_url: b19c01da9b1688fb73d0d9e8adae89a8.pdf + schema: + $ref: "#/components/schemas/GetF24Response" + description: The F24 + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: + - taxes:r + summary: Get F24 + tags: + - Taxes + put: + description: Modifies the specified F24. + operationId: modifyF24 + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + - description: The ID of the document. + explode: false + in: path + name: document_id + required: true + schema: + type: integer + style: simple + requestBody: + content: + application/json: + examples: + example-1: + value: + data: + amount: 840.36 + description: PAGAMENTO IVA 2021 + due_date: 2021-12-31 + status: paid + payment_account: + id: 111 + schema: + $ref: "#/components/schemas/ModifyF24Request" + description: The F24 + responses: + "200": + content: + application/json: + examples: + example-1: + value: + data: + id: 12345 + amount: 840.36 + description: PAGAMENTO IVA 2021 + due_date: 2021-12-31 + status: paid + payment_account: + id: 111 + name: Indesa - carta conto + attachment_url: b19c01da9b1688fb73d0d9e8adae89a8.pdf + schema: + $ref: "#/components/schemas/ModifyF24Response" + description: The modified F24 + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: + - taxes:a + summary: Modify F24 + tags: + - Taxes + /c/{company_id}/taxes/attachment: + post: + description: "Uploads an attachment destined to a F24. The actual association\ + \ between the document and the attachment must be implemented separately,\ + \ using the returned token." + operationId: uploadF24Attachment + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + requestBody: + content: + multipart/form-data: + examples: + example-1: + value: + filename: F24_IVA21 + attachment: pagamento_f24_31_12_2021.pdf + schema: + $ref: "#/components/schemas/UploadF24AttachmentRequest" + description: Attachment. + responses: + "200": + content: + application/json: + examples: + example-1: + value: + data: + attachment_token: YmMyNWYxYzIwMTU3N2Y4ZGE3ZjZiMzg5OWY0ODNkZDQveXl5LmRvYw + schema: + $ref: "#/components/schemas/UploadF24AttachmentResponse" + description: Attachment Token. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: + - taxes:a + summary: Upload F24 Attachment + tags: + - Taxes + /c/{company_id}/taxes/{document_id}/attachment: + delete: + description: Removes the attachment of the specified F24. + operationId: deleteF24Attachment + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + - description: The ID of the document. + explode: false + in: path + name: document_id + required: true + schema: + type: integer + style: simple + responses: + "200": + description: File Removed. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: + - taxes:a + summary: Delete F24 Attachment + tags: + - Taxes + /c/{company_id}/archive: + get: + description: Lists the archive documents. + operationId: listArchiveDocuments + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + - description: List of comma-separated fields. + explode: true + in: query + name: fields + required: false + schema: + type: string + style: form + - description: Name of the fieldset. + explode: true + in: query + name: fieldset + required: false + schema: + enum: + - basic + - detailed + - fic_view + type: string + style: form + - description: List of comma-separated fields for result sorting (minus for + desc sorting). + explode: true + in: query + name: sort + required: false + schema: + type: string + style: form + - description: The page to retrieve. + explode: true + in: query + name: page + required: false + schema: + default: 1 + type: integer + style: form + - description: The size of the page. + explode: true + in: query + name: per_page + required: false + schema: + default: 5 + maximum: 100 + minimum: 1 + type: integer + style: form + - description: Query for filtering the results. + explode: true + in: query + name: q + required: false + schema: + type: string + style: form + responses: + "200": + content: + application/json: + examples: + example-1: + value: + current_page: 1 + data: + - id: 12345 + date: 2021-08-20 + category: Altri documenti + description: spesa 2 + attachment_url: spesa2.pdf + - id: 12346 + date: 2021-08-19 + category: Altri documenti + description: spesa 1 + attachment_url: spesa1.pdf + first_page_url: page=1 + from: 1 + last_page: 1 + last_page_url: page=1 + next_page_url: null + path: /archive + per_page: 50 + prev_page_url: null + to: 2 + total: 2 + schema: + $ref: "#/components/schemas/ListArchiveDocumentsResponse" + description: Results list. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: + - archive:r + summary: List Archive Documents + tags: + - Archive + post: + description: Creates a new archive document. + operationId: createArchiveDocument + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + requestBody: + content: + application/json: + examples: + example-1: + value: + data: + date: 2021-08-20 + category: Altri documenti + description: spesa 1 + attachment_token: ibfjdbf94ey9w94g3w894qbasrga + schema: + $ref: "#/components/schemas/CreateArchiveDocumentRequest" + description: The Archive Document. + responses: + "200": + content: + application/json: + examples: + example-1: + value: + data: + id: 12345 + date: 2021-08-20 + category: Altri documenti + description: spesa 1 + attachment_url: spesa1.pdf + schema: + $ref: "#/components/schemas/CreateArchiveDocumentResponse" + description: The Archive Document. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: + - archive:a + summary: Create Archive Document + tags: + - Archive + /c/{company_id}/archive/{document_id}: + delete: + description: Deletes the specified archive document. + operationId: deleteArchiveDocument + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + - description: The ID of the document. + explode: false + in: path + name: document_id + required: true + schema: + type: integer + style: simple + responses: + "200": + description: Document removed. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: + - archive:a + summary: Delete Archive Document + tags: + - Archive + get: + description: Gets the specified archive document. + operationId: getArchiveDocument + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + - description: The ID of the document. + explode: false + in: path + name: document_id + required: true + schema: + type: integer + style: simple + - description: List of comma-separated fields. + explode: true + in: query + name: fields + required: false + schema: + type: string + style: form + - description: Name of the fieldset. + explode: true + in: query + name: fieldset + required: false + schema: + enum: + - basic + - detailed + - fic_view + type: string + style: form + responses: + "200": + content: + application/json: + examples: + example-1: + value: + data: + id: 12345 + date: 2021-08-20 + category: Altri documenti + description: spesa 2 + attachment_url: spesa2.pdf + schema: + $ref: "#/components/schemas/GetArchiveDocumentResponse" + description: Archive Document Details + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: + - archive:r + summary: Get Archive Document + tags: + - Archive + put: + description: Modifies the specified archive document. + operationId: modifyArchiveDocument + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + - description: The ID of the document. + explode: false + in: path + name: document_id + required: true + schema: + type: integer + style: simple + requestBody: + content: + application/json: + examples: + example-1: + value: + data: + date: 2021-08-20 + category: Altri documenti + description: spesa 2 + schema: + $ref: "#/components/schemas/ModifyArchiveDocumentRequest" + description: Modified Archive Document + responses: + "200": + content: + application/json: + examples: + example-1: + value: + data: + id: 12345 + date: 2021-08-20 + category: Altri documenti + description: spesa 2 + attachment_url: spesa2.pdf + schema: + $ref: "#/components/schemas/ModifyArchiveDocumentResponse" + description: The modified Archived Document + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: + - archive:a + summary: Modify Archive Document + tags: + - Archive + /c/{company_id}/archive/attachment: + post: + description: "Uploads an attachment destined to an archive document. The actual\ + \ association between the document and the attachment must be implemented\ + \ separately, using the returned token." + operationId: uploadArchiveDocumentAttachment + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + requestBody: + content: + multipart/form-data: + examples: + example-1: + value: + filename: spesa_altro + attachment: spesa_20_08_2020.pdf + schema: + $ref: "#/components/schemas/UploadArchiveDocumentAttachmentRequest" + description: Attachment. + responses: + "200": + content: + application/json: + examples: + example-1: + value: + data: + attachment_token: YmMyNWYxYzIwMTU3N212ABCDZjZiMzg5OWY0ODNkZDQveXl5LmRvYw + schema: + $ref: "#/components/schemas/UploadArchiveAttachmentResponse" + description: Example response + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: + - archive:a + summary: Upload Archive Document Attachment + tags: + - Archive + /c/{company_id}/cashbook: + get: + description: Lists the cashbook entries. + operationId: listCashbookEntries + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + - description: Start date. + explode: true + in: query + name: date_from + required: true + schema: + type: string + style: form + - description: End date. + explode: true + in: query + name: date_to + required: true + schema: + type: string + style: form + - description: Filter cashbook by year. + explode: true + in: query + name: year + required: false + schema: + type: integer + style: form + - description: Filter cashbook by type. + explode: true + in: query + name: type + required: false + schema: + enum: + - all + - in + - out + type: string + style: form + - description: Filter by payment account. + explode: true + in: query + name: payment_account_id + required: false + schema: + type: integer + style: form + responses: + "200": + content: + application/json: + examples: + example-1: + value: + data: + - date: 2021-08-24 + amount_in: 122 + payment_account_in: + id: 333 + description: Fattura n. 201/2021 + entity_name: Rossi S.r.l. + kind: issued_document + document: + id: 54321 + type: in + - date: 2021-08-29 + amount_out: 211 + payment_account_out: + id: 444 + description: Fattura n. 202/2021 + entity_name: Red S.r.l. + kind: issued_document + document: + id: 12345 + type: out + schema: + $ref: "#/components/schemas/ListCashbookEntriesResponse" + description: Results list. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: + - cashbook:r + summary: List Cashbook Entries + tags: + - Cashbook + post: + description: Creates a new cashbook entry. + operationId: createCashbookEntry + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + requestBody: + content: + application/json: + examples: + example-1: + value: + data: + date: 2021-08-24 + amount_in: 122 + payment_account_in: + id: 333 + description: Fattura n. 201/2021 + entity_name: Rossi S.r.l. + kind: issued_document + document: + id: 54321 + type: in + schema: + $ref: "#/components/schemas/CreateCashbookEntryRequest" + description: | + Cashbook entry. + responses: + "200": + content: + application/json: + examples: + example-1: + value: + data: + id: 54321 + date: 2021-08-24 + amount_in: 122 + amount_out: 0 + description: Fattura n. 201/2021 + payment_account_in: + id: 21 + name: Indesa - Carta conto + payment_account_out: null + kind: cashbook + schema: + $ref: "#/components/schemas/CreateCashbookEntryResponse" + description: The created Cashbook Entry. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: + - cashbook:a + summary: Create Cashbook Entry + tags: + - Cashbook + /c/{company_id}/cashbook/{document_id}: + delete: + description: Deletes the specified cashbook entry. + operationId: deleteCashbookEntry + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + - description: The ID of the document. + explode: false + in: path + name: document_id + required: true + schema: + type: string + style: simple + responses: + "200": + description: Document removed. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: + - cashbook:a + summary: Delete Cashbook Entry + tags: + - Cashbook + get: + description: Gets the specified cashbook entry. + operationId: getCashbookEntry + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + - description: The ID of the document. + explode: false + in: path + name: document_id + required: true + schema: + type: string + style: simple + - description: List of comma-separated fields. + explode: true + in: query + name: fields + required: false + schema: + type: string + style: form + - description: Name of the fieldset. + explode: true + in: query + name: fieldset + required: false + schema: + enum: + - basic + - detailed + - fic_view + type: string + style: form + responses: + "200": + content: + application/json: + examples: + example-1: + value: + data: + date: 2021-08-24 + amount_in: 122 + payment_account_in: + id: 333 + description: Fattura n. 201/2021 + entity_name: Rossi S.r.l. + kind: issued_document + document: + id: 54321 + type: in + schema: + $ref: "#/components/schemas/GetCashbookEntryResponse" + description: Cashbook Entry. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: + - cashbook:r + summary: Get Cashbook Entry + tags: + - Cashbook + put: + description: Modifies the specified cashbook entry. + operationId: modifyCashbookEntry + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + - description: The ID of the document. + explode: false + in: path + name: document_id + required: true + schema: + type: string + style: simple + requestBody: + content: + application/json: + examples: + example-1: + value: + data: + date: 2021-08-24 + amount_in: 122 + payment_account_in: + id: 333 + description: Fattura n. 201/2021 + entity_name: Rossi S.r.l. + schema: + $ref: "#/components/schemas/ModifyCashbookEntryRequest" + description: Cashbook Entry + responses: + "200": + content: + application/json: + examples: + example-1: + value: + data: + date: 2021-08-24 + amount_in: 122 + payment_account_in: + id: 333 + description: Fattura n. 201/2021 + entity_name: Rossi S.r.l. + kind: issued_document + document: + id: 54321 + type: in + schema: + $ref: "#/components/schemas/ModifyCashbookEntryResponse" + description: The modified Cashbook Entry + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: + - cashbook:a + summary: Modify Cashbook Entry + tags: + - Cashbook + /info/countries: + get: + description: Lists the supported countries. + operationId: listCountries + parameters: [] + responses: + "200": + content: + application/json: + examples: + example-1: + value: + data: + - Italia + - Afghanistan + - Albania + - Algeria + - Andorra + - Angola + - Anguilla + - '...' + schema: + $ref: "#/components/schemas/ListCountriesResponse" + description: List of countries + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: [] + summary: List Countries + tags: + - Info + /info/detailed_countries: + get: + description: Lists the supported countries. + operationId: listDetailedCountries + parameters: [] + responses: + "200": + content: + application/json: + examples: + example-1: + value: + data: + - name: Italia + settings_name: Italia + iso: IT + fiscal_iso: IT + uic: "086" + - name: Afghanistan + settings_name: Afghanistan + iso: AF + fiscal_iso: AF + uic: "002" + - name: Albania + settings_name: Albania + iso: AL + fiscal_iso: AL + uic: "087" + schema: + $ref: "#/components/schemas/ListDetailedCountriesResponse" + description: List of detailed countries + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: [] + summary: List Detailed Countries + tags: + - Info + /info/cities: + get: + description: Lists the Italian cities. + operationId: listCities + parameters: + - description: Postal code for filtering. + explode: true + in: query + name: postal_code + required: false + schema: + type: string + style: form + - description: City for filtering (ignored if postal_code is passed). + explode: true + in: query + name: city + required: false + schema: + type: string + style: form + responses: + "200": + content: + application/json: + examples: + example-1: + value: + data: + - postal_code: "89867" + city: Zungri + province: VV + - postal_code: "83020" + city: Aiello del Sabato + province: AV + - postal_code: "83011" + city: Altavilla Irpina + province: AV + schema: + $ref: "#/components/schemas/ListCitiesResponse" + description: Cities List. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: [] + summary: List Cities + tags: + - Info + /info/languages: + get: + description: Lists the supported languages. + operationId: listLanguages + parameters: [] + responses: + "200": + content: + application/json: + examples: + example-1: + value: + data: + - code: it + name: Italiano + - code: en + name: Inglese + schema: + $ref: "#/components/schemas/ListLanguagesResponse" + description: LanguagesList + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: [] + summary: List Languages + tags: + - Info + /info/templates: + get: + description: Lists the default available templates. + operationId: listDefaultTemplates + parameters: + - description: Type of the templates. + explode: true + in: query + name: type + required: false + schema: + default: all + enum: + - all + - standard + - delivery_note + - accompanying_invoice + type: string + style: form + - description: "[Only if type=all] If true, splits the list in objects, grouping\ + \ templates by type." + explode: true + in: query + name: by_type + required: false + schema: + default: false + type: boolean + style: form + responses: + "200": + content: + application/json: + examples: + example-1: + value: + data: + - id: 10 + name: New Standard S1 + - id: 106 + name: Minimalist + schema: + $ref: "#/components/schemas/ListTemplatesResponse" + description: Templates list. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: [] + summary: List Default Templates + tags: + - Info + /info/currencies: + get: + description: Lists the supported currencies. + operationId: listCurrencies + parameters: [] + responses: + "200": + content: + application/json: + examples: + example-1: + value: + data: + - id: AED + symbol: AED + html_symbol: AED + exchange_rate: "4.09500" + - id: EUR + symbol: € + html_symbol: '€' + exchange_rate: "1.00000" + schema: + $ref: "#/components/schemas/ListCurrenciesResponse" + description: Currencies List. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: [] + summary: List Currencies + tags: + - Info + /info/measures: + get: + description: Lists the units of measure. + operationId: listUnitsOfMeasure + parameters: [] + responses: + "200": + content: + application/json: + examples: + example-1: + value: + data: + - pezzi + - kg + - litri + - ore + - giorni + - km + - mesi + schema: + $ref: "#/components/schemas/ListUnitsOfMeasureResponse" + description: Units of measure. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: [] + summary: List Units of Measure + tags: + - Info + /info/dn_causals: + get: + description: Lists the delivery note default causals. + operationId: listDeliveryNotesDefaultCausals + parameters: [] + responses: + "200": + content: + application/json: + examples: + example-1: + value: + data: + - Vendita + - Conto visione + - Conto deposito + - Conto vendita + - Tentata vendita + - Prestito d'uso + - Conto lavorazione + - Omaggio + - Riparazione + - Reso per accredito + - Reso per sostituzione + schema: + $ref: "#/components/schemas/ListDeliveryNotesDefaultCausalsResponse" + description: List of Delivery Notes Default Causals + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: [] + summary: List Delivery Notes Default Causals + tags: + - Info + /c/{company_id}/info/vat_types: + get: + description: Lists the available vat types. + operationId: listVatTypes + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + - description: Name of the fieldset. + explode: true + in: query + name: fieldset + required: false + schema: + enum: + - basic + - detailed + - fic_view + type: string + style: form + responses: + "200": + content: + application/json: + examples: + example-1: + value: + data: + - id: 0 + value: 22 + description: Non imponibile art. 123 + notes: "IVA non imponibile ai sensi dell'articolo 123, comma\ + \ 2" + e_invoice: string + ei_type: 2 + ei_description: string + editable: true + - id: 1010 + value: 0 + description: NON IMPONIBILE IVA EX ART. 8 COMMA 1 LETT.A + notes: "" + e_invoice: false + ei_type: 0 + ei_description: null + is_disabled: false + editable: true + schema: + $ref: "#/components/schemas/ListVatTypesResponse" + description: List of Vat Types. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: + - settings:r + summary: List Vat Types + tags: + - Info + /c/{company_id}/info/payment_methods: + get: + description: Lists the available payment methods. + operationId: listPaymentMethods + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + - description: List of comma-separated fields. + explode: true + in: query + name: fields + required: false + schema: + type: string + style: form + - description: Name of the fieldset. + explode: true + in: query + name: fieldset + required: false + schema: + enum: + - basic + - detailed + - fic_view + type: string + style: form + - description: List of comma-separated fields for result sorting (minus for + desc sorting). + explode: true + in: query + name: sort + required: false + schema: + type: string + style: form + responses: + "200": + content: + application/json: + examples: + example-1: + value: + data: + - id: 12345 + name: Carta di credito + is_default: false + default_payment_account: null + - id: 12346 + name: Bonifico bancario + is_default: true + default_payment_account: null + schema: + $ref: "#/components/schemas/ListPaymentMethodsResponse" + description: Payment methods list. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: [] + summary: List Payment Methods + tags: + - Info + /c/{company_id}/info/payment_accounts: + get: + description: Lists the available payment accounts. + operationId: listPaymentAccounts + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + - description: List of comma-separated fields. + explode: true + in: query + name: fields + required: false + schema: + type: string + style: form + - description: Name of the fieldset. + explode: true + in: query + name: fieldset + required: false + schema: + enum: + - basic + - detailed + - fic_view + type: string + style: form + - description: List of comma-separated fields for result sorting (minus for + desc sorting). + explode: true + in: query + name: sort + required: false + schema: + type: string + style: form + responses: + "200": + content: + application/json: + examples: + example-1: + value: + data: + - id: 21 + name: Indesa - Carta conto + type: standard + iban: null + sia: null + virtual: false + - id: 109 + name: Indesa + type: bank + iban: IT17A1234563200000003498936 + sia: IN234 + virtual: false + schema: + $ref: "#/components/schemas/ListPaymentAccountsResponse" + description: Payment accounts list. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: [] + summary: List Payment Accounts + tags: + - Info + /c/{company_id}/info/revenue_centers: + get: + description: Lists the revenue centers. + operationId: listRevenueCenters + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + responses: + "200": + content: + application/json: + examples: + example-1: + value: + data: + - Negozio Bergamo + - Negozio Milano + schema: + $ref: "#/components/schemas/ListRevenueCentersResponse" + description: List of Revenue Centers + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: [] + summary: List Revenue Centers + tags: + - Info + /c/{company_id}/info/cost_centers: + get: + description: Lists the cost centers. + operationId: listCostCenters + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + responses: + "200": + content: + application/json: + examples: + example-1: + value: + data: + - Negozio Bergamo + - Negozio Milano + schema: + $ref: "#/components/schemas/ListCostCentersResponse" + description: List of Cost Centers + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: [] + summary: List Cost Centers + tags: + - Info + /c/{company_id}/info/product_categories: + get: + description: Lists the product categories. + operationId: listProductCategories + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + - description: Categories resource type. + explode: true + in: query + name: context + required: true + schema: + enum: + - products + - issued_documents + - received_documents + type: string + style: form + responses: + "200": + content: + application/json: + examples: + example-1: + value: + data: + - Alimentari + - Arredamento + schema: + $ref: "#/components/schemas/ListProductCategoriesResponse" + description: Product Categories List + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: [] + summary: List Product Categories + tags: + - Info + /c/{company_id}/info/received_document_categories: + get: + description: Lists the received document categories. + operationId: listReceivedDocumentCategories + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + responses: + "200": + content: + application/json: + examples: + example-1: + value: + data: + - Telefono e internet + - Assicurazioni e quote + - Auto ed altri veicoli + - Computer e accessori + - Server e hosting + schema: + $ref: "#/components/schemas/ListReceivedDocumentCategoriesResponse" + description: Received Document Categories List + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: [] + summary: List Received Document Categories + tags: + - Info + /c/{company_id}/info/archive_categories: + get: + description: Lists the archive categories. + operationId: listArchiveCategories + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + responses: + "200": + content: + application/json: + examples: + example-1: + value: + data: + - Altri documenti + - Conferme d'ordine + - Contratti + - Dichiarazioni dei redditi + - Documenti per detrazioni + - Estratti conto bancari + - Estratti conto carte di credito + schema: + $ref: "#/components/schemas/ListArchiveCategoriesResponse" + description: Archive Categories list. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: [] + summary: List Archive Categories + tags: + - Info + /c/{company_id}/settings/payment_methods: + post: + description: Creates a new payment method. + operationId: createPaymentMethod + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + requestBody: + content: + application/json: + examples: + example-1: + value: + data: + id: 386683 + name: Bonifico bancario + is_default: true + type: standard + details: + - title: Banca + description: Sao Paulo + default_payment_account: + id: 12345 + name: conto banca SP + schema: + $ref: "#/components/schemas/CreatePaymentMethodRequest" + responses: + "200": + content: + application/json: + examples: + example-1: + value: + data: + id: 386683 + name: Bonifico bancario + is_default: true + type: standard + details: + - title: Banca + description: Sao Paulo + default_payment_account: + id: 12345 + name: conto banca SP + schema: + $ref: "#/components/schemas/CreatePaymentMethodResponse" + description: Example response + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: + - settings:a + summary: Create Payment Method + tags: + - Settings + /c/{company_id}/settings/payment_methods/{payment_method_id}: + delete: + description: Deletes the specified payment method. + operationId: deletePaymentMethod + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + - description: The Referred Payment Method Id. + explode: false + in: path + name: payment_method_id + required: true + schema: + type: integer + style: simple + responses: + "200": + description: OK + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: + - settings:a + summary: Delete Payment Method + tags: + - Settings + get: + description: Gets the specified payment method. + operationId: getPaymentMethod + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + - description: The Referred Payment Method Id. + explode: false + in: path + name: payment_method_id + required: true + schema: + type: integer + style: simple + - description: List of comma-separated fields. + explode: true + in: query + name: fields + required: false + schema: + type: string + style: form + - description: Name of the fieldset. + explode: true + in: query + name: fieldset + required: false + schema: + enum: + - basic + - detailed + - fic_view + type: string + style: form + responses: + "200": + content: + application/json: + examples: + example-1: + value: + data: + id: 386683 + name: Bonifico bancario + is_default: true + type: standard + details: + - title: Banca + description: Sao Paulo + default_payment_account: + id: 12345 + name: conto banca SP + schema: + $ref: "#/components/schemas/GetPaymentMethodResponse" + description: Example response + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: [] + summary: Get Payment Method + tags: + - Settings + put: + description: Modifies the specified payment method. + operationId: modifyPaymentMethod + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + - description: The Referred Payment Method Id. + explode: false + in: path + name: payment_method_id + required: true + schema: + type: integer + style: simple + requestBody: + content: + application/json: + examples: + example-1: + value: + data: + id: 386683 + name: Bonifico bancario + is_default: true + type: standard + details: + - title: Banca + description: Sao Paulo + default_payment_account: + id: 12345 + name: conto banca SP + schema: + $ref: "#/components/schemas/ModifyPaymentMethodRequest" + description: "" + responses: + "200": + content: + application/json: + examples: + example-1: + value: + data: + id: 386683 + name: Bonifico bancario + is_default: true + type: standard + details: + - title: Banca + description: Sao Paulo + default_payment_account: + id: 12345 + name: conto banca SP + schema: + $ref: "#/components/schemas/ModifyPaymentMethodResponse" + description: Example response + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: + - settings:a + summary: Modify Payment Method + tags: + - Settings + /c/{company_id}/settings/payment_accounts: + post: + description: Creates a new payment account. + operationId: createPaymentAccount + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + requestBody: + content: + application/json: + examples: + example-1: + value: + data: + id: 12345 + name: Indesa + type: bank + iban: IT17Q0051343200000003497636 + sia: T1234 + virtual: false + schema: + $ref: "#/components/schemas/CreatePaymentAccountRequest" + responses: + "200": + content: + application/json: + examples: + example-1: + value: + data: + id: 12345 + name: Indesa + type: bank + iban: IT17Q0051343200000003497636 + sia: T1234 + virtual: false + schema: + $ref: "#/components/schemas/CreatePaymentAccountResponse" + description: Example response + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: + - settings:a + summary: Create Payment Account + tags: + - Settings + /c/{company_id}/settings/tax_profile: + get: + description: Gets the Tax Profile + operationId: getTaxProfile + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + responses: + "200": + content: + application/json: + examples: + example-1: + value: + data: + company_type: individual + company_subtype: artigiani + profession: null + regime: forfettario_5 + rivalsa_name: "" + default_rivalsa: 0 + cassa_name: "" + default_cassa: 0 + default_cassa_taxable: 100 + cassa2_name: "" + default_cassa2: 0 + default_cassa2_taxable: 0 + default_withholding_tax: 0 + default_withholding_tax_taxable: 100 + default_other_withholding_tax: 0 + enasarco: false + enasarco_type: null + contributions_percentage: 0 + med: false + default_vat: + id: 66 + value: 0 + description: Contribuenti forfettari + notes: "Operazione non soggetta a IVA ai sensi dell'art. 1,\ + \ commi 54-89, Legge n. 190\\/2014 e succ. modifiche\\/integrazioni" + e_invoice: true + ei_type: 2.2 + ei_description: Non soggetta art. 1\/54-89 L. 190\/2014 e + succ. modifiche\/integrazioni + editable: false + is_disabled: false + default: true + schema: + $ref: "#/components/schemas/GetTaxProfileResponse" + description: Example response + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: + - settings:r + summary: Get Tax Profile + tags: + - Settings + /c/{company_id}/settings/payment_accounts/{payment_account_id}: + delete: + description: Deletes the specified payment account. + operationId: deletePaymentAccount + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + - description: The Referred Payment Account Id. + explode: false + in: path + name: payment_account_id + required: true + schema: + type: integer + style: simple + responses: + "200": + description: OK + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: + - settings:a + summary: Delete Payment Account + tags: + - Settings + get: + description: Gets the specified payment account. + operationId: getPaymentAccount + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + - description: The Referred Payment Account Id. + explode: false + in: path + name: payment_account_id + required: true + schema: + type: integer + style: simple + - description: List of comma-separated fields. + explode: true + in: query + name: fields + required: false + schema: + type: string + style: form + - description: Name of the fieldset. + explode: true + in: query + name: fieldset + required: false + schema: + enum: + - basic + - detailed + - fic_view + type: string + style: form + responses: + "200": + content: + application/json: + examples: + example-1: + value: + data: + id: 12345 + name: Indesa + type: bank + iban: IT17Q0051343200000003497636 + sia: T1234 + virtual: false + schema: + $ref: "#/components/schemas/GetPaymentAccountResponse" + description: Example response + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: [] + summary: Get Payment Account + tags: + - Settings + put: + description: Modifies the specified payment account. + operationId: modifyPaymentAccount + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + - description: The Referred Payment Account Id. + explode: false + in: path + name: payment_account_id + required: true + schema: + type: integer + style: simple + requestBody: + content: + application/json: + examples: + example-1: + value: + data: + id: 0 + name: Conto Banca Intesa + type: standard + iban: string + sia: string + cuc: string + virtual: true + schema: + $ref: "#/components/schemas/ModifyPaymentAccountRequest" + responses: + "200": + content: + application/json: + examples: + example-1: + value: + data: + id: 12345 + name: Indesa + type: bank + iban: IT17Q0051343200000003497636 + sia: T1234 + virtual: false + schema: + $ref: "#/components/schemas/ModifyPaymentAccountResponse" + description: Example response + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: + - settings:a + summary: Modify Payment Account + tags: + - Settings + /c/{company_id}/settings/vat_types: + post: + description: Creates a vat type. + operationId: createVatType + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + requestBody: + content: + application/json: + examples: + example-1: + value: + data: + id: 0 + value: 22 + description: Non imponibile art. 123 + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: 2 + ei_description: string + editable: true + is_disabled: true + schema: + $ref: "#/components/schemas/CreateVatTypeRequest" + description: "" + responses: + "200": + content: + application/json: + examples: + example-1: + value: + data: + id: 0 + value: 22 + description: Non imponibile art. 123 + notes: "IVA non imponibile ai sensi dell'articolo 123, comma\ + \ 2" + e_invoice: true + ei_type: 2 + ei_description: string + editable: true + is_disabled: true + schema: + $ref: "#/components/schemas/CreateVatTypeResponse" + description: Example response + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: + - settings:a + summary: Create Vat Type + tags: + - Settings + /c/{company_id}/settings/templates: + get: + description: Gets all the standard and private templates. + operationId: listTemplates + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + - description: List of comma-separated fields. + explode: true + in: query + name: fields + required: false + schema: + type: string + style: form + - description: Name of the fieldset. + explode: true + in: query + name: fieldset + required: false + schema: + enum: + - basic + - detailed + - fic_view + type: string + style: form + responses: + "200": + content: + application/json: + examples: + example-1: + value: + data: + - id: 10 + name: New Standard S1 + - id: 106 + name: Minimalist + schema: + $ref: "#/components/schemas/ListTemplatesResponse" + description: Templates list. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: [] + summary: List Templates + tags: + - Settings + /c/{company_id}/settings/templates/{template_id}: + get: + description: Gets a specified template. + operationId: getTemplate + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + - description: The Referred Template Id. + explode: false + in: path + name: template_id + required: true + schema: + type: integer + style: simple + - description: List of comma-separated fields. + explode: true + in: query + name: fields + required: false + schema: + type: string + style: form + - description: Name of the fieldset. + explode: true + in: query + name: fieldset + required: false + schema: + enum: + - basic + - detailed + - fic_view + type: string + style: form + responses: + "200": + content: + application/json: + examples: + example-1: + value: + data: + id: 10 + privacy: gallery_all + name: New Standard S1 + type: standard + can_disable_watermark: false + schema: + $ref: "#/components/schemas/GetTemplatesResponse" + description: Example response + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: [] + summary: Get Template + tags: + - Settings + /c/{company_id}/settings/vat_types/{vat_type_id}: + delete: + description: Deletes the specified vat type. + operationId: deleteVatType + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + - description: The Referred Vat Type Id. + explode: false + in: path + name: vat_type_id + required: true + schema: + type: integer + style: simple + responses: + "200": + description: OK + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: + - settings:a + summary: Delete Vat Type + tags: + - Settings + get: + description: Gets the specified vat type. + operationId: getVatType + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + - description: The Referred Vat Type Id. + explode: false + in: path + name: vat_type_id + required: true + schema: + type: integer + style: simple + responses: + "200": + content: + application/json: + examples: + example-1: + value: + data: + id: 0 + value: 22 + description: Non imponibile art. 123 + notes: "IVA non imponibile ai sensi dell'articolo 123, comma\ + \ 2" + e_invoice: true + ei_type: 2 + ei_description: string + editable: true + is_disabled: true + schema: + $ref: "#/components/schemas/GetVatTypeResponse" + description: Example response + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: [] + summary: Get Vat Type + tags: + - Settings + put: + description: Modifies the specified vat type. + operationId: modifyVatType + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + - description: The Referred Vat Type Id. + explode: false + in: path + name: vat_type_id + required: true + schema: + type: integer + style: simple + requestBody: + content: + application/json: + examples: + example-1: + value: + data: + id: 0 + value: 22 + description: Non imponibile art. 123 + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: 2 + ei_description: string + editable: true + is_disabled: true + schema: + $ref: "#/components/schemas/ModifyVatTypeRequest" + responses: + "200": + content: + application/json: + examples: + example-1: + value: + data: + id: 0 + value: 22 + description: Non imponibile art. 123 + notes: "IVA non imponibile ai sensi dell'articolo 123, comma\ + \ 2" + e_invoice: true + ei_type: 2 + ei_description: string + editable: true + is_disabled: true + schema: + $ref: "#/components/schemas/ModifyVatTypeResponse" + description: Example response + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: + - settings:a + summary: Modify Vat Type + tags: + - Settings + /c/{company_id}/issued_documents/transform: + get: + description: Transforms the document. + operationId: transformIssuedDocument + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + - description: Original document id. + explode: true + in: query + name: original_document_id + required: true + schema: + type: integer + style: form + - description: New document type. + explode: true + in: query + name: new_type + required: true + schema: + type: string + style: form + - description: Current document type. + explode: true + in: query + name: type + required: false + schema: + type: string + style: form + - description: New document e_invoice. + explode: true + in: query + name: e_invoice + required: false + schema: + enum: + - 0 + - 1 + type: integer + style: form + - description: Keep the old document. + explode: true + in: query + name: transform_keep_copy + required: false + schema: + enum: + - 0 + - 1 + type: integer + style: form + responses: + "200": + content: + application/json: + examples: + example-1: + value: + data: + type: invoice + year: 2022 + numeration: "" + subject: "" + visible_subject: "" + rc_center: "" + ei_cassa_type: null + ei_withholding_tax_causal: null + ei_other_withholding_tax_type: null + ei_other_withholding_tax_causal: null + stamp_duty: 0 + use_gross_prices: false + e_invoice: false + agyo_company_id: null + agyo_id: null + agyo_sent_at: null + delivery_note: false + accompanying_invoice: false + amount_net: 68.18 + amount_vat: 6.82 + amount_gross: 75 + amount_due_discount: 0 + amount_rivalsa: 0 + amount_cassa: 0 + amount_withholding_tax: 0 + amount_other_withholding_tax: 0 + h_margins: 15 + v_margins: 16 + show_payment_method: false + show_payments: true + show_totals: all + show_notification_button: false + is_marked: false + created_at: 2022-08-13 09:30:20 + updated_at: 2022-08-23 05:34:20 + entity: + id: 54321 + name: Mary Red S.r.L. + vat_number: IT05432181211 + tax_code: IT05432181211 + address_street: "Via Italia, 66" + address_postal_code: "20900" + address_city: Milano + address_province: MI + address_extra: "" + country: Italia + certified_email: mary@pec.red.com + ei_code: ABCXCR1 + date: 2021-08-20 + number: 1 + currency: + id: EUR + exchange_rate: "1.00000" + symbol: € + language: + code: it + name: Italiano + notes: "" + rivalsa: 0 + cassa: 0 + withholding_tax: 0 + withholding_tax_taxable: 100 + other_withholding_tax: 0 + payment_method: + id: 4 + name: Credit card + use_split_payment: false + merged_in: null + original_document: null + items_list: + - product_id: 5432 + code: SG3 + name: Soggiorno + measure: "" + net_price: 68.18182 + category: "" + id: 277876033 + gross_price: 75 + apply_withholding_taxes: true + discount: 0 + discount_highlight: false + in_dn: false + qty: 1 + vat: + id: 3 + value: 10 + description: "" + stock: false + description: "" + not_taxable: false + payments_list: + - amount: 75 + due_date: 2020-08-23 + paid_date: null + id: 69078013 + payment_terms: + days: 0 + type: standard + status: not_paid + attachment_url: kdijrnf893hnwkfk45f50f.pdf + seen_date: null + next_due_date: 2020-08-23 + template: + id: 2821 + name: Light Smoke + extra_data: null + url: y12h45rn9yf2mse0p43t7ec90vr.pdf + locked: false + has_ts_pay_pending_payment: false + show_tspay_button: false + options: + create_from: + - "82112399" + transform: true + keep_copy: true + schema: + $ref: "#/components/schemas/TransformIssuedDocumentResponse" + description: Example response + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: [] + summary: Transform Issued Document + tags: + - Issued Documents + /c/{company_id}/issued_documents/join: + get: + description: Joins issued documents. + operationId: joinIssuedDocuments + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + - description: Ids of the documents. + explode: true + in: query + name: ids + required: true + schema: + example: "1,2,3,4" + type: string + style: form + - description: Group items. + explode: true + in: query + name: group + required: false + schema: + enum: + - 0 + - 1 + type: integer + style: form + - description: Type of the documents to be joined + example: "delivery_notes, orders, quotes, work_reports" + explode: true + in: query + name: type + required: false + schema: + enum: + - delivery_notes + - orders + - quotes + - work_reports + type: string + style: form + responses: + "200": + content: + application/json: + examples: + example-1: + value: + data: + type: invoice + year: 2022 + numeration: "" + subject: "" + visible_subject: "" + rc_center: "" + ei_cassa_type: null + ei_withholding_tax_causal: null + ei_other_withholding_tax_type: null + ei_other_withholding_tax_causal: null + stamp_duty: 0 + use_gross_prices: false + e_invoice: false + agyo_company_id: null + agyo_id: null + agyo_sent_at: null + delivery_note: false + accompanying_invoice: false + amount_net: 68.18 + amount_vat: 6.82 + amount_gross: 75 + amount_due_discount: 0 + amount_rivalsa: 0 + amount_cassa: 0 + amount_withholding_tax: 0 + amount_other_withholding_tax: 0 + h_margins: 15 + v_margins: 16 + show_payment_method: false + show_payments: true + show_totals: all + show_notification_button: false + is_marked: false + created_at: 2022-08-13 09:30:20 + updated_at: 2022-08-23 05:34:20 + entity: + id: 54321 + name: Mary Red S.r.L. + vat_number: IT05432181211 + tax_code: IT05432181211 + address_street: "Via Italia, 66" + address_postal_code: "20900" + address_city: Milano + address_province: MI + address_extra: "" + country: Italia + certified_email: mary@pec.red.com + ei_code: ABCXCR1 + date: 2021-08-20 + number: 1 + currency: + id: EUR + exchange_rate: "1.00000" + symbol: € + language: + code: it + name: Italiano + notes: "" + rivalsa: 0 + cassa: 0 + withholding_tax: 0 + withholding_tax_taxable: 100 + other_withholding_tax: 0 + payment_method: + id: 4 + name: Credit card + use_split_payment: false + merged_in: null + original_document: null + items_list: + - product_id: 5432 + code: SG3 + name: Soggiorno + measure: "" + net_price: 68.18182 + category: "" + id: 277876033 + gross_price: 75 + apply_withholding_taxes: true + discount: 0 + discount_highlight: false + in_dn: false + qty: 1 + vat: + id: 3 + value: 10 + description: "" + stock: false + description: "" + not_taxable: false + payments_list: + - amount: 75 + due_date: 2020-08-23 + paid_date: null + id: 69078013 + payment_terms: + days: 0 + type: standard + status: not_paid + attachment_url: kdijrnf893hnwkfk45f50f.pdf + seen_date: null + next_due_date: 2020-08-23 + template: + id: 2821 + name: Light Smoke + extra_data: null + url: y12h45rn9yf2mse0p43t7ec90vr.pdf + locked: false + has_ts_pay_pending_payment: false + show_tspay_button: false + options: + create_from: + - "82112399" + - "82112400" + schema: + $ref: "#/components/schemas/JoinIssuedDocumentsResponse" + description: Example response + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: [] + summary: Join Issued Documents + tags: + - Issued Documents + /c/{company_id}/emails: + get: + description: List Emails. + operationId: listEmails + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + - description: List of comma-separated fields. + explode: true + in: query + name: fields + required: false + schema: + type: string + style: form + - description: Name of the fieldset. + explode: true + in: query + name: fieldset + required: false + schema: + enum: + - basic + - detailed + - fic_view + type: string + style: form + - description: List of comma-separated fields for result sorting (minus for + desc sorting). + explode: true + in: query + name: sort + required: false + schema: + type: string + style: form + - description: The page to retrieve. + explode: true + in: query + name: page + required: false + schema: + default: 1 + type: integer + style: form + - description: The size of the page. + explode: true + in: query + name: per_page + required: false + schema: + default: 5 + maximum: 100 + minimum: 1 + type: integer + style: form + - description: Query for filtering the results. + explode: true + in: query + name: q + required: false + schema: + type: string + style: form + responses: + "200": + content: + application/json: + examples: + example-1: + value: + current_page: 1 + data: + - id: 1 + status: sent + sent_date: 2022-07-17 13:53:12 + errors_count: 0 + error_log: "" + from_email: test@mail.it + from_name: Test mail + to_email: mail@test.it + to_name: Mario + subject: Test + content: Test send email + copy_to: "" + recipient_status: unknown + recipient_date: null + kind: Fatture + attachments: [] + - id: 2 + status: sent + sent_date: 2022-07-18 13:53:12 + errors_count: 0 + error_log: "" + from_email: test@mail.it + from_name: Test mail + to_email: mail@test.it + to_name: Maria + subject: Test + content: Test send email + copy_to: "" + recipient_status: unknown + recipient_date: null + kind: Fatture + attachments: [] + first_page_url: emails?page=1 + from: 1 + last_page: 1 + last_page_url: emails?page=1 + next_page_url: null + path: emails + per_page: 50 + prev_page_url: null + to: 2 + total: 2 + schema: + $ref: "#/components/schemas/ListEmailsResponse" + description: Example response + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: [] + summary: List Emails + tags: + - Emails + /c/{company_id}/subscriptions: + get: + description: List active webhooks subscriptions. + operationId: listWebhooksSubscriptions + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + responses: + "200": + content: + application/json: + examples: + example-1: + value: + data: + - id: SUB12345 + sink: https://www.testurl.com/endpoint + verified: true + types: + - it.fattureincloud.webhooks.issued_documents.create + - it.fattureincloud.webhooks.issued_documents.update + - id: SUB12346 + sink: https://www.testurl.com/endpoint2 + verified: true + types: + - it.fattureincloud.webhooks.issued_documents.delete + schema: + $ref: "#/components/schemas/ListWebhooksSubscriptionsResponse" + description: Example response + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: [] + summary: List Webhooks Subscriptions + tags: + - Webhooks + post: + description: Register some webhooks Subscriptions. + operationId: CreateWebhooksSubscription + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + requestBody: + content: + application/json: + examples: + example-1: + value: + data: + sink: http://www.test.com + types: + - it.fattureincloud.webhooks.entities.create + - it.fattureincloud.webhooks.issued_documents.create + verification_method: header + schema: + $ref: "#/components/schemas/CreateWebhooksSubscriptionRequest" + description: "" + responses: + "200": + content: + application/json: + examples: + example-1: + value: + data: + id: SUB123 + sink: http://www.test.com + verified: true + types: + - it.fattureincloud.webhooks.entities.create + - it.fattureincloud.webhooks.issued_documents.create + warnings: The 'it.fattureincloud.webhooks.entities.clients.delete' + event is already registered for this application + schema: + $ref: "#/components/schemas/CreateWebhooksSubscriptionResponse" + description: Example response + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: [] + summary: Create a Webhook Subscription + tags: + - Webhooks + /c/{company_id}/subscriptions/{subscription_id}: + delete: + description: Delete a webhooks subscription. + operationId: deleteWebhooksSubscription + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + - description: The ID of the subscription. + explode: false + in: path + name: subscription_id + required: true + schema: + example: SUB123 + type: string + style: simple + responses: + "200": + description: OK + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: [] + summary: Delete Webhooks Subscription + tags: + - Webhooks + get: + description: Get a webhooks subscription. + operationId: getWebhooksSubscription + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + - description: The ID of the subscription. + explode: false + in: path + name: subscription_id + required: true + schema: + example: SUB123 + type: string + style: simple + responses: + "200": + content: + application/json: + examples: + example-1: + value: + data: + id: SUB123 + sink: https://test.url + verified: true + types: + - it.fattureincloud.webhooks.issued_documents.invoices.create + schema: + $ref: "#/components/schemas/GetWebhooksSubscriptionResponse" + description: Example response + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: [] + summary: Get Webhooks Subscription + tags: + - Webhooks + put: + description: Edit a webhooks subscription. + operationId: modifyWebhooksSubscription + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + - description: The ID of the subscription. + explode: false + in: path + name: subscription_id + required: true + schema: + example: SUB123 + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/ModifyWebhooksSubscriptionRequest" + responses: + "200": + content: + application/json: + examples: + example-1: + value: + data: + id: SUB12345 + sink: http://www.test.com + verified: true + types: + - it.fattureincloud.webhooks.entities.create + - it.fattureincloud.webhooks.issued_documents.create + warnings: The 'it.fattureincloud.webhooks.entities.clients.delete' + event is already registered for this application + schema: + $ref: "#/components/schemas/ModifyWebhooksSubscriptionResponse" + description: Example response + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: [] + summary: Modify Webhooks Subscription + tags: + - Webhooks + /c/{company_id}/subscriptions/{subscription_id}/verify: + post: + description: Verify a webhook subscription. + operationId: verifyWebhooksSubscription + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + - description: The ID of the subscription. + explode: false + in: path + name: subscription_id + required: true + schema: + example: SUB123 + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/VerifyWebhooksSubscriptionRequest" + responses: + "200": + description: OK + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: [] + summary: Verify Webhooks Subscription + tags: + - Webhooks + /c/{company_id}/bin/issued_documents: + get: + description: Get bin issued documents list + operationId: ListBinIssuedDocuments + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + responses: + "200": + content: + application/json: + examples: + example-1: + value: + data: + - id: 12345 + type: receipt + numeration: rec123 + subject: "" + visible_subject: "" + amount_net: 68.18 + amount_vat: 6.82 + amount_gross: 75 + amount_due_discount: 0 + entity: + id: 54321 + name: Mary Red S.r.L. + vat_number: IT05432181211 + tax_code: IT05432181211 + address_street: "Via Italia, 66" + address_postal_code: "20900" + address_city: Milano + address_province: MI + address_extra: "" + country: Italia + certified_email: mary@pec.red.com + ei_code: ABCXCR1 + date: 2021-08-20 + number: 1 + next_due_date: 2021-12-31 + url: ypbqqe4u8w8bdabcd5fd5b1a4gtqhlof.pdf + items_list: null + payments_list: null + - id: 12346 + type: receipt + numeration: rec124 + subject: "" + visible_subject: "" + amount_net: 168.18 + amount_vat: 16.82 + amount_gross: 175 + amount_due_discount: 0 + entity: + id: 54321 + name: Mary Red S.r.L. + vat_number: IT05432181211 + tax_code: IT05432181211 + address_street: "Via Italia, 66" + address_postal_code: "20900" + address_city: Milano + address_province: MI + address_extra: "" + country: Italia + certified_email: mary@pec.red.com + ei_code: ABCXCR1 + date: 2021-08-28 + number: 1 + next_due_date: 2021-12-31 + url: qwertye4u8w8bdaqrt5fd5b1a4gtqhlof.pdf + items_list: null + payments_list: null + schema: + $ref: "#/components/schemas/ListBinIssuedDocuments" + description: Bin Issued Documents List + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: + - issued_documents.invoices:r + - issued_documents.credit_notes:r + - issued_documents.receipts:r + - issued_documents.orders:r + - issued_documents.quotes:r + - issued_documents.proformas:r + summary: Get Bin Issued Documents List + tags: + - Issued Documents + /c/{company_id}/bin/issued_documents/{document_id}: + delete: + description: Delete Bin Issued Document + operationId: DeleteBinIssuedDocument + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + - description: The ID of the document. + explode: false + in: path + name: document_id + required: true + schema: + type: integer + style: simple + responses: + "200": + description: OK + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: [] + summary: Delete Bin Issued Document + tags: + - Issued Documents + get: + description: Get bin issued documents detail + operationId: GetBinIssuedDocument + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + - description: The ID of the document. + explode: false + in: path + name: document_id + required: true + schema: + type: integer + style: simple + responses: + "200": + content: + application/json: + examples: + example-1: + value: + data: + id: 12345 + type: receipt + year: 2021 + numeration: rec123 + subject: "" + visible_subject: "" + rc_center: "" + ei_cassa_type: null + ei_withholding_tax_causal: null + ei_other_withholding_tax_type: null + ei_other_withholding_tax_causal: null + stamp_duty: 0 + use_gross_prices: false + e_invoice: false + agyo_company_id: null + agyo_id: null + agyo_sent_at: null + delivery_note: false + accompanying_invoice: false + amount_net: 68.18 + amount_vat: 6.82 + amount_gross: 75 + amount_due_discount: 0 + amount_rivalsa: 0 + amount_cassa: 0 + amount_withholding_tax: 0 + amount_other_withholding_tax: 0 + h_margins: 15 + v_margins: 16 + show_payment_method: false + show_payments: true + show_totals: all + show_notification_button: false + is_marked: false + created_at: 2021-08-13 09:30:20 + updated_at: 2021-08-23 05:34:20 + entity: + id: 54321 + name: Mary Red S.r.L. + vat_number: IT05432181211 + tax_code: IT05432181211 + address_street: "Via Italia, 66" + address_postal_code: "20900" + address_city: Milano + address_province: MI + address_extra: "" + country: Italia + certified_email: mary@pec.red.com + ei_code: ABCXCR1 + date: 2021-08-20 + number: 1 + currency: + id: EUR + exchange_rate: "1.00000" + symbol: € + language: + code: it + name: Italiano + notes: "" + rivalsa: 0 + cassa: 0 + withholding_tax: 0 + withholding_tax_taxable: 100 + other_withholding_tax: 0 + payment_method: + id: 4 + name: Credit card + use_split_payment: false + merged_in: null + original_document: null + items_list: + - product_id: 5432 + code: SG3 + name: Soggiorno + measure: "" + net_price: 68.18182 + category: "" + id: 277876033 + gross_price: 75 + apply_withholding_taxes: true + discount: 0 + discount_highlight: false + in_dn: false + qty: 1 + vat: + id: 3 + value: 10 + description: "" + stock: false + description: "" + not_taxable: false + payments_list: + - amount: 75 + due_date: 2020-08-23 + paid_date: null + id: 69078013 + payment_terms: + days: 0 + type: standard + status: not_paid + attachment_url: kdijrnf893hnwkfk45f50f.pdf + seen_date: null + next_due_date: 2020-08-23 + template: + id: 2821 + name: Light Smoke + extra_data: null + url: y12h45rn9yf2mse0p43t7ec90vr.pdf + locked: false + has_ts_pay_pending_payment: false + show_tspay_button: false + schema: + $ref: "#/components/schemas/GetBinIssuedDocumentResponse" + description: Bin issued document details + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: + - issued_documents.invoices:r + - issued_documents.credit_notes:r + - issued_documents.receipts:r + - issued_documents.orders:r + - issued_documents.quotes:r + - issued_documents.proformas:r + summary: Get Bin Issued Documents List + tags: + - Issued Documents + /c/{company_id}/bin/issued_documents/{document_id}/recover: + post: + description: Recover Issued Document From The Bin + operationId: RecoverBinIssuedDocument + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + - description: The ID of the document. + explode: false + in: path + name: document_id + required: true + schema: + type: integer + style: simple + responses: + "200": + description: OK + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: [] + summary: Recover Issued Document From The Bin + tags: + - Issued Documents + /c/{company_id}/bin/received_documents: + get: + description: Get bin Received documents list + operationId: ListBinReceivedDocuments + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + responses: + "200": + content: + application/json: + examples: + example-1: + value: + data: + - id: 12345 + type: expense + description: Soggiorno di lavoro + amortization: 1 + rc_center: "" + invoice_number: "" + is_marked: false + is_detailed: false + e_invoice: false + created_at: 2021-08-15 14:02:02 + updated_at: 2021-08-15 14:02:02 + entity: + id: 111 + name: Hotel Rubino Palace + date: 2021-08-15 + next_due_date: 2021-08-15 + currency: + id: EUR + exchange_rate: "1.00000" + symbol: € + amount_net: 592 + amount_vat: 0 + amount_gross: 592 + amount_withholding_tax: 0 + amount_other_withholding_tax: 0 + tax_deductibility: 50 + vat_deductibility: 100 + items_list: null + payments_list: + - amount: 592 + due_date: 2021-08-15 + paid_date: 2021-08-15 + id: 777 + payment_terms: + days: 0 + type: standard + status: paid + payment_account: + id: 222 + name: Contanti + virtual: false + attachment_url: spesa_ger5i783t45hu6ti.pdf + attachment_preview_url: null + extra_data: null + - id: 12346 + type: expense + description: Assicurazione RCA + iamortization: 1 + rc_center: "" + invoice_number: "" + is_marked: false + is_detailed: false + e_invoice: false + created_at: 2021-08-09 14:02:02 + updated_at: 2021-08-09 14:02:02 + entity: + id: 89 + name: Indesa Assicurazioni S.P.A. + date: 2021-08-08 + next_due_date: 2021-08-08 + currency: + id: EUR + exchange_rate: "1.00000" + symbol: € + amount_net: 645.69 + amount_vat: 0 + amount_gross: 645.69 + amount_withholding_tax: 0 + amount_other_withholding_tax: 0 + tax_deductibility: 50 + vat_deductibility: 100 + items_list: null + payments_list: + - amount: 645.69 + due_date: 2021-08-08 + paid_date: 2021-08-08 + id: 999 + payment_terms: + days: 0 + type: standard + status: paid + payment_account: + id: 333 + name: Carta conto + virtual: false + attachment_url: spesa_gjsd567e5hu6ti.pdf + attachment_preview_url: null + extra_data: null + schema: + $ref: "#/components/schemas/ListBinReceivedDocuments" + description: Example response + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: [] + summary: Get Bin Received Documents List + tags: + - Received Documents + /c/{company_id}/bin/received_documents/{document_id}: + delete: + description: Delete Bin Received Document + operationId: DeleteBinReceivedDocument + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + - description: The ID of the document. + explode: false + in: path + name: document_id + required: true + schema: + type: integer + style: simple + responses: + "200": + description: OK + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + summary: Delete Bin Received Document + tags: + - Received Documents + get: + description: Get bin issued documents detail + operationId: GetBinReceivedDocument + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + - description: The ID of the document. + explode: false + in: path + name: document_id + required: true + schema: + type: integer + style: simple + responses: + "200": + content: + application/json: + examples: + example-1: + value: + data: + id: 12345 + type: expense + description: Soggiorno di lavoro + amortization: 1 + rc_center: "" + invoice_number: "" + is_marked: false + is_detailed: false + e_invoice: false + created_at: 2021-08-15 14:02:02 + updated_at: 2021-08-15 14:02:02 + entity: + id: 111 + name: Hotel Rubino Palace + date: 2021-08-15 + next_due_date: 2021-08-15 + currency: + id: EUR + exchange_rate: "1.00000" + symbol: € + amount_net: 592 + amount_vat: 0 + amount_gross: 592 + amount_withholding_tax: 0 + amount_other_withholding_tax: 0 + tax_deductibility: 50 + vat_deductibility: 100 + items_list: null + payments_list: + - amount: 592 + due_date: 2021-08-15 + paid_date: 2021-08-15 + id: 777 + payment_terms: + days: 0 + type: standard + status: paid + payment_account: + id: 222 + name: Contanti + virtual: false + attachment_url: spesa_ger5i783t45hu6ti.pdf + attachment_preview_url: null + extra_data: null + schema: + $ref: "#/components/schemas/GetBinReceivedDocumentResponse" + description: Bin received document details + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: [] + summary: Get Bin Received Documents List + tags: + - Received Documents + /c/{company_id}/bin/received_documents/{document_id}/recover: + post: + description: Recover Received Document From The Bin + operationId: RecoverBinReceivedDocument + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + - description: The ID of the document. + explode: false + in: path + name: document_id + required: true + schema: + type: integer + style: simple + responses: + "200": + description: OK + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + summary: Recover Received Document From The Bin + tags: + - Received Documents + /c/{company_id}/price_lists: + get: + description: Retrieves all price lists of the company + operationId: getPriceLists + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + responses: + "200": + content: + application/json: + examples: + example-1: + value: + data: + - id: "10" + name: listino + prices_type: net + is_default: true + valid_from: 2025-01-01 + valid_to: 2025-12-01 + type: sell + - id: "11" + name: listino-test + prices_type: gross + is_default: true + valid_from: 2025-01-01 + valid_to: 2025-01-01 + type: purchase + schema: + $ref: "#/components/schemas/ListPriceListsResponse" + description: Example response + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: [] + summary: Get PriceLists + tags: + - PriceLists + /c/{company_id}/price_lists/{price_list_id}/items: + get: + description: Retrieves all the Items of a PriceList + operationId: getPriceListItems + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + - description: The ID of the price + explode: false + in: path + name: price_list_id + required: true + schema: + type: string + style: simple + responses: + "200": + content: + application/json: + examples: + example-1: + value: + data: + "1": + price: 3.5 + "2": + price: 5 + schema: + $ref: "#/components/schemas/GetPriceListItemsResponse" + description: Example response + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + "400": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "401": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "403": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "404": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "405": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "409": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "422": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "429": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + "500": + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da + pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type + is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + security: + - OAuth2AuthenticationCodeFlow: [] + summary: Get PriceList Items List + tags: + - PriceLists +components: + headers: + RateLimitHourlyRemaining: + description: The number of requests remaining for the current hour + explode: false + schema: + example: 840 + type: integer + style: simple + RateLimitHourlyLimit: + description: The maximum number of requests you are permitted to make per hour + explode: false + schema: + example: 1000 + type: integer + style: simple + RateLimitMonthlyRemaining: + description: The number of requests remaining for the current month + explode: false + schema: + example: 1430 + type: integer + style: simple + RateLimitMonthlyLimit: + description: The maximum number of requests you are permitted to make per month + explode: false + schema: + example: 40000 + type: integer + style: simple + RetryAfter: + description: Number of seconds to wait before retrying the request + explode: false + schema: + example: 60 + type: integer + style: simple + parameters: + company_id: + description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + fieldset: + description: Name of the fieldset. + explode: true + in: query + name: fieldset + required: false + schema: + enum: + - basic + - detailed + - fic_view + type: string + style: form + sort: + description: List of comma-separated fields for result sorting (minus for desc + sorting). + explode: true + in: query + name: sort + required: false + schema: + type: string + style: form + fields: + description: List of comma-separated fields. + explode: true + in: query + name: fields + required: false + schema: + type: string + style: form + page: + description: The page to retrieve. + explode: true + in: query + name: page + required: false + schema: + default: 1 + type: integer + style: form + client_id: + description: The ID of the client. + explode: false + in: path + name: client_id + required: true + schema: + type: integer + style: simple + supplier_id: + description: The ID of the supplier. + explode: false + in: path + name: supplier_id + required: true + schema: + type: integer + style: simple + product_id: + description: The ID of the product. + explode: false + in: path + name: product_id + required: true + schema: + type: integer + style: simple + issued_document_type: + description: The type of the issued document. + explode: true + in: query + name: type + required: true + schema: + enum: + - invoice + - quote + - proforma + - receipt + - delivery_note + - credit_note + - order + - work_report + - supplier_order + - self_own_invoice + - self_supplier_invoice + type: string + style: form + per_page: + description: The size of the page. + explode: true + in: query + name: per_page + required: false + schema: + default: 5 + maximum: 100 + minimum: 1 + type: integer + style: form + document_id: + description: The ID of the document. + explode: false + in: path + name: document_id + required: true + schema: + type: integer + style: simple + received_document_type: + description: The type of the received document. + explode: true + in: query + name: type + required: true + schema: + enum: + - expense + - passive_credit_note + - passive_delivery_note + - self_invoice + type: string + style: form + pending_received_document_type: + description: The type of the pending received document. + explode: true + in: query + name: type + required: true + schema: + enum: + - agyo + - mail + - browser + type: string + style: form + q: + description: Query for filtering the results. + explode: true + in: query + name: q + required: false + schema: + type: string + style: form + include_attachment: + description: Include the attachment to the XML e-invoice. + explode: true + in: query + name: include_attachment + required: false + schema: + type: boolean + style: form + subscription_id: + description: The ID of the subscription. + explode: false + in: path + name: subscription_id + required: true + schema: + example: SUB123 + type: string + style: simple + responses: + ApiErrorResponse: + content: + application/json: + examples: + validation_error: + value: + error: + message: Il totale dei pagamenti non corrisponde al totale da pagare. + validation_result: null + extra: + totals: + amount_net: 500 + amount_global_cassa_taxable: 500 + taxable_amount: 500 + vat_list: + "22": + amount_net: 500 + amount_vat: 110 + amount_vat: 110 + amount_gross: 610 + amount_enasarco_taxable: 0 + amount_due: 610 + amount_due_discount: null + payments_sum: 579.5 + oauth_error: + value: + error: invalid_request + error_description: The code field is required when grant type is authorization_code. + schema: + $ref: "#/components/schemas/ApiErrorResponse" + description: ErrorResponse + headers: + Retry-After: + $ref: "#/components/headers/RetryAfter" + GetUserInfoResponse: + content: + application/json: + examples: + example-1: + value: + data: + id: 12345 + name: Mario Rossi + first_name: Mario + last_name: Rossi + email: mario.rossi@example.com + hash: 5add29e1234532a1bf2ed7b612043029 + picture: picture.jpg + info: + need_marketing_consents_confirmation: false + need_password_change: false + need_terms_of_service_confirmation: false + email_confirmation_state: + need_confirmation: false + schema: + $ref: "#/components/schemas/GetUserInfoResponse" + description: "" + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + ListUserCompaniesResponse: + content: + application/json: + examples: + example-1: + value: + data: + companies: + - id: 12345 + name: Studio Commercialista + tax_code: ABCSFN94T17A794K + vat_number: 3881520161 + type: accountant + access_token: 4ff5f0fe5abcd1d7157fa13ca72ab62b6183db0667a576a0e19164801c18c4f7362a848fa32dbb8c3a3f94c34f3df95 + connection_id: 94566 + controlled_companies: + - id: 12246 + name: Studio Commercialista + tax_code: ABCSFN94T17A794K + vat_number: 3881520161 + type: company + access_token: 4ff5f0fe5abcdf1d7157fa13ca72ab62b6183db0667a576a0e19164801c18c4f7362a848fa32dbb8c3a3f94c34f3df95 + connection_id: 94566 + controlled_companies: [] + fic: true + dic: true + fic_plan: premium_plus + fic_license_expire: 2021-12-31 + permissions: + fic_situation: write + fic_clients: write + fic_suppliers: write + fic_products: write + fic_issued_documents: write + fic_received_documents: write + fic_receipts: write + fic_calendar: write + fic_archive: write + fic_taxes: write + fic_stock: write + fic_cashbook: write + fic_settings: write + fic_emails: write + dic_employees: write + dic_timesheet: write + dic_settings: write + - id: 12347 + name: Mario Rossi SRL + tax_code: "57398280214" + type: company + access_token: 86690c98be13592e78b763c52fab2ba0c22faa118708ca5273da2b4dcdc7ad1234517107266d463fd9ae424a78c16cde + connection_id: 94566 + controlled_companies: [] + fic: true + dic: false + fic_plan: trial + fic_license_expire: 2021-12-31 + permissions: + fic_situation: write + fic_clients: write + fic_suppliers: write + fic_products: write + fic_issued_documents: write + fic_received_documents: write + fic_receipts: write + fic_calendar: write + fic_archive: write + fic_taxes: write + fic_stock: write + fic_cashbook: write + fic_settings: write + fic_emails: write + dic_employees: none + dic_timesheet: none + dic_settings: none + schema: + $ref: "#/components/schemas/ListUserCompaniesResponse" + description: User Companies. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + GetCompanyInfoResponse: + content: + application/json: + examples: + example-1: + value: + data: + id: 12345 + name: Studio Commercialista + email: mario.rossi@example.com + type: accountant + fic: true + fic_plan_name: premium_plus + fic_signup_date: 2013-11-01 + fic_license_expire: 2030-12-31 + use_fic: true + fic_need_setup: false + fic_license_type: coupon_b + dic: true + dic_plan_name: trial + dic_signup_date: 2018-03-26 + dic_license_expire: 2022-12-31 + use_dic: true + dic_license_type: null + registration_service: fic + can_use_coupon: false + access_info: + role: master + through_accountant: false + permissions: + fic_situation: read + fic_clients: write + fic_suppliers: write + fic_products: write + fic_issued_documents: detailed + fic_issued_documents_detailed: + quotes: write + proformas: write + invoices: write + receipts: write + delivery_notes: write + credit_notes: write + orders: write + work_reports: write + supplier_orders: write + self_invoices: write + fic_received_documents: write + fic_receipts: write + fic_calendar: write + fic_archive: write + fic_taxes: write + fic_stock: write + fic_cashbook: write + fic_settings: write + fic_emails: read + dic_employees: none + dic_timesheet: none + dic_settings: none + fic_invoice_trading: none + fic_export: write + fic_import_clients_suppliers: write + fic_import_products: write + fic_import_issued_documents: none + fic_import_bankstatements: none + fic_recurring: write + fic_riba: write + plan_info: + limits: + clients: 5000 + suppliers: 5000 + products: 5000 + documents: 3000 + functions: + document_attachments: true + archive: true + payment_notifications: true + paypal: true + receipts: true + e_invoice: true + genius: true + stock: true + smtp: true + mail_tracking: true + subaccounts: true + tessera_sanitaria: true + recurring: true + cerved: true + ts_digital: true + ts_pay: true + ts_invoice_trading: true + functions_status: + ts_digital: + active: true + ts_pay: + active: true + is_accountant: true + accountant_id: 12345 + fic_payment_subject: client + dic_payment_subject: client + schema: + $ref: "#/components/schemas/GetCompanyInfoResponse" + description: Company info. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + CreateClientResponse: + content: + application/json: + examples: + example-1: + value: + data: + id: 16451 + code: AE86 + name: Avv. Maria Rossi + type: person + first_name: Maria + last_name: Rossi + contact_person: "" + vat_number: IT12345640962 + tax_code: BLTGNI5ABCDA794E + address_street: "Via Roma, 1" + address_postal_code: "20900" + address_city: Milano + address_province: MI + address_extra: "" + country: Italia + email: maria.rossi@example.com + certified_email: maria.rossi@pec.example.com + phone: "1234567890" + fax: "" + notes: "" + created_at: 2021-04-29 08:53:07 + updated_at: 2021-04-29 08:53:07 + default_payment_terms: 1 + default_payment_terms_type: standard + bank_name: Indesa + bank_iban: IT40P123456781000000123456 + bank_swift_code: AK86PCT + shipping_address: Corso Magellano 4 + e_invoice: true + ei_code: "111111" + default_vat: + id: 54321 + value: 45 + description: "" + is_disabled: false + default_payment_method: + id: 386092 + name: Credit card + schema: + $ref: "#/components/schemas/CreateClientResponse" + description: Example response + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + ListClientsResponse: + content: + application/json: + examples: + example-1: + value: + current_page: 1 + data: + - id: 16451 + code: AE86 + name: Avv. Maria Rossi + type: person + first_name: Maria + last_name: Rossi + contact_person: "" + vat_number: IT12345640962 + tax_code: BLTGNI5ABCDA794E + address_street: "Via Roma, 1" + address_postal_code: "20900" + address_city: Milano + address_province: MI + address_extra: "" + country: Italia + email: maria.rossi@example.com + certified_email: maria.rossi@pec.example.com + phone: "1234567890" + fax: "" + notes: "" + created_at: 2021-04-29 08:53:07 + updated_at: 2021-04-29 08:53:07 + default_payment_terms: 1 + default_payment_terms_type: standard + bank_name: Indesa + bank_iban: IT40P123456781000000123456 + bank_swift_code: AK86PCT + shipping_address: Corso Magellano 4 + e_invoice: true + ei_code: "111111" + default_vat: + id: 54321 + value: 45 + description: "" + is_disabled: false + default_payment_method: + id: 386092 + name: Credit card + - id: 25330696 + code: PD00 + name: Mario Rossi + type: person + first_name: Mario + last_name: Rossi + contact_person: "" + vat_number: IT1234567890 + tax_code: ABCDEF12G34H567I + address_street: Via largo augusto 123 + address_postal_code: "21012" + address_city: Bergamo + address_province: BG + address_extra: "" + country: Italia + email: info@mariorossi.it + certified_email: info@pec.mariorossi.it + phone: "012345678" + fax: "012345678" + notes: "" + created_at: 2021-04-29 08:53:07 + default_payment_terms: 0 + default_payment_terms_type: standard + bank_name: Monte dei Pascoli + bank_iban: IT00P123456781000000123456 + bank_swift_code: APL86PCT + shipping_address: Via Miilano 4 + e_invoice: false + ei_code: "7654321" + default_vat: + id: 66 + value: 22 + description: "" + is_disabled: false + default_payment_method: null + first_page_url: page=1 + from: 1 + last_page: 2 + last_page_url: page=2 + next_page_url: page=2 + path: entities/clients + per_page: 5 + prev_page_url: null + to: 50 + total: 8 + schema: + $ref: "#/components/schemas/ListClientsResponse" + description: Example response + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + ListSuppliersResponse: + content: + application/json: + examples: + example-1: + value: + first_page_url: page=1 + from: 1 + last_page: 2 + last_page_url: page=2 + next_page_url: page=2 + path: /entities/suppliers + per_page: 50 + prev_page_url: null + to: 55 + total: 55 + data: + - id: 12345 + code: AE86 + name: Mario Rossi S.R.L. + type: company + first_name: Mario + last_name: Rossi + contact_person: "" + vat_number: "111222333" + tax_code: "111122233" + address_street: "Corso Magellano, 46" + address_postal_code: "20146" + address_city: Milano + address_province: MI + address_extra: "" + country: Italia + email: mario.rossi@example.com + certified_email: mario.rossi@pec.example.com + phone: "1234567890" + fax: "123456789" + notes: "" + created_at: 2021-15-08 + updated_at: 2021-15-08 + - id: 12346 + code: GT86 + name: Maria Grossi S.R.L. + type: company + first_name: "" + last_name: "" + contact_person: "" + vat_number: "200020102020" + tax_code: "200020102020" + address_street: "Vicolo stretto, 32" + address_postal_code: "20146" + address_city: Milano + address_province: MI + address_extra: "" + country: Italia + email: maria.grossi@example.com + certified_email: maria.grossi@pec.example.com + phone: "0987654321" + fax: "098765432" + notes: "" + created_at: 2021-15-09 + updated_at: 2021-15-09 + schema: + $ref: "#/components/schemas/ListSuppliersResponse" + description: Example response + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + CreateSupplierResponse: + content: + application/json: + examples: + example-1: + value: + data: + id: 12345 + code: AE86 + name: Mario Rossi S.R.L. + type: company + first_name: Mario + last_name: Rossi + contact_person: "" + vat_number: "111222333" + tax_code: "111122233" + address_street: "Corso Magellano, 46" + address_postal_code: "20146" + address_city: Milano + address_province: MI + address_extra: "" + country: Italia + email: mario.rossi@example.com + certified_email: mario.rossi@pec.example.com + phone: "1234567890" + fax: "123456789" + notes: "" + created_at: 2021-15-08 + updated_at: 2021-15-08 + schema: + $ref: "#/components/schemas/CreateSupplierResponse" + description: Example response + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + GetClientResponse: + content: + application/json: + examples: + example-1: + value: + data: + code: AE86 + name: Avv. Maria Rossi + type: person + first_name: Maria + last_name: Rossi + contact_person: "" + vat_number: IT12345640962 + tax_code: BLTGNI5ABCDA794E + address_street: "Via Roma, 1" + address_postal_code: "20900" + address_city: Milano + address_province: MI + address_extra: "" + country: Italia + email: maria.rossi@example.com + certified_email: maria.rossi@pec.example.com + phone: "1234567890" + fax: "" + notes: "" + default_payment_terms: 1 + default_payment_terms_type: standard + bank_name: Indesa + bank_iban: IT40P123456781000000123456 + bank_swift_code: AK86PCT + shipping_address: Corso Magellano 4 + e_invoice: true + ei_code: "111111" + default_vat: + id: 54321 + value: 45 + description: "" + is_disabled: false + price_list_id: "10" + schema: + $ref: "#/components/schemas/GetClientResponse" + description: Client Details. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + ModifyClientResponse: + content: + application/json: + examples: + example-1: + value: + data: + code: AE86 + name: Avv. Maria Rossi + type: person + first_name: Maria + last_name: Rossi + contact_person: "" + vat_number: IT12345640962 + tax_code: BLTGNI5ABCDA794E + address_street: "Via Roma, 1" + address_postal_code: "20900" + address_city: Milano + address_province: MI + address_extra: "" + country: Italia + email: maria.rossi@example.com + certified_email: maria.rossi@pec.example.com + phone: "1234567890" + fax: "" + notes: "" + default_payment_terms: 1 + default_payment_terms_type: standard + bank_name: Indesa + bank_iban: IT40P123456781000000123456 + bank_swift_code: AK86PCT + shipping_address: Corso Magellano 4 + e_invoice: true + ei_code: "111111" + default_vat: + id: 54321 + value: 45 + description: "" + is_disabled: false + price_list_id: "10" + schema: + $ref: "#/components/schemas/ModifyClientResponse" + description: Client modified. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + GetSupplierResponse: + content: + application/json: + examples: + example-1: + value: + data: + id: 12345 + code: AE86 + name: Mario Rossi S.R.L. + type: company + first_name: Mario + last_name: Rossi + contact_person: "" + vat_number: "111222333" + tax_code: "111122233" + address_street: "Corso Magellano, 46" + address_postal_code: "20146" + address_city: Milano + address_province: MI + address_extra: "" + country: Italia + email: mario.rossi@example.com + certified_email: mario.rossi@pec.example.com + phone: "1234567890" + fax: "123456789" + notes: "" + created_at: 2021-15-08 + updated_at: 2021-15-08 + schema: + $ref: "#/components/schemas/GetSupplierResponse" + description: Example response + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + ModifySupplierResponse: + content: + application/json: + examples: + example-1: + value: + data: + id: 12345 + code: AE86 + name: Mario Rossi S.R.L. + type: company + first_name: Mario + last_name: Rossi + contact_person: "" + vat_number: "111222333" + tax_code: "111122233" + address_street: "Corso Magellano, 46" + address_postal_code: "20146" + address_city: Milano + address_province: MI + address_extra: "" + country: Italia + email: mario.rossi@example.com + certified_email: mario.rossi@pec.example.com + phone: "1234567890" + fax: "123456789" + notes: "" + created_at: 2021-15-08 + updated_at: 2021-15-08 + schema: + $ref: "#/components/schemas/ModifySupplierResponse" + description: Example response + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + ListProductsResponse: + content: + application/json: + examples: + example-1: + value: + current_page: 1 + data: + - id: 12345 + name: Tavolo di marmo + code: TAVOLO003 + net_price: 240 + gross_price: 280 + use_gross_price: false + net_cost: 0 + measure: "" + description: Tavolo in marmo pregiato + category: arredamento + in_stock: true + default_vat: + id: 3 + value: 22 + description: Non imponibile art. 123 + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + is_disabled: false + - id: 12346 + name: Tavolo di legno + code: TAVOLO001 + net_price: 120 + gross_price: 160 + use_gross_price: false + net_cost: 0 + measure: "" + description: Tavolo in legno pregiato + category: arredamento + in_stock: true + default_vat: + id: 3 + value: 22 + description: Non imponibile art. 123 + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + is_disabled: false + first_page_url: page=1 + from: 1 + last_page: 1 + last_page_url: page=1 + next_page_url: page=2 + path: products + per_page: 50 + prev_page_url: null + to: 55 + total: 55 + schema: + $ref: "#/components/schemas/ListProductsResponse" + description: Products List. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + CreateProductResponse: + content: + application/json: + examples: + example-1: + value: + data: + id: 12345 + name: Tavolo di marmo + code: TAVOLO003 + net_price: 240 + gross_price: 280 + use_gross_price: false + net_cost: 0 + measure: "" + description: Tavolo in marmo pregiato + category: arredamento + in_stock: true + default_vat: + id: 3 + value: 22 + description: Non imponibile art. 123 + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + is_disabled: false + schema: + $ref: "#/components/schemas/CreateProductResponse" + description: Example response + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + GetProductResponse: + content: + application/json: + examples: + example-1: + value: + data: + id: 12345 + name: Tavolo di marmo + code: TAVOLO003 + net_price: 240 + gross_price: 280 + use_gross_price: false + net_cost: 0 + measure: "" + description: Tavolo in marmo pregiato + category: arredamento + in_stock: true + created_at: 2021-08-09 08:57:14 + updated_at: 2021-08-09 08:57:14 + default_vat: + id: 3 + value: 22 + description: Non imponibile art. 123 + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + is_disabled: false + stock_initial: 123 + stock_current: 123 + schema: + $ref: "#/components/schemas/GetProductResponse" + description: Example response + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + ModifyProductResponse: + content: + application/json: + examples: + example-1: + value: + data: + id: 12345 + name: Tavolo di marmo + code: TAVOLO003 + net_price: 240 + gross_price: 280 + use_gross_price: false + net_cost: 0 + measure: "" + description: Tavolo in marmo pregiato + category: arredamento + in_stock: true + created_at: 2021-08-09 08:57:14 + updated_at: 2021-08-15 08:57:14 + default_vat: + id: 3 + value: 22 + description: Non imponibile art. 123 + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + is_disabled: false + stock_initial: 123 + stock_current: 123 + schema: + $ref: "#/components/schemas/ModifyProductResponse" + description: Example response + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + ListIssuedDocumentsResponse: + content: + application/json: + examples: + example-1: + value: + current_page: 1 + data: + - id: 12345 + type: receipt + numeration: rec123 + subject: "" + visible_subject: "" + amount_net: 68.18 + amount_vat: 6.82 + amount_gross: 75 + amount_due_discount: 0 + entity: + id: 54321 + name: Mary Red S.r.L. + vat_number: IT05432181211 + tax_code: IT05432181211 + address_street: "Via Italia, 66" + address_postal_code: "20900" + address_city: Milano + address_province: MI + address_extra: "" + country: Italia + certified_email: mary@pec.red.com + ei_code: ABCXCR1 + date: 2021-08-20 + number: 1 + next_due_date: 2021-12-31 + url: ypbqqe4u8w8bdabcd5fd5b1a4gtqhlof.pdf + items_list: null + payments_list: null + - id: 12346 + type: receipt + numeration: rec124 + subject: "" + visible_subject: "" + amount_net: 168.18 + amount_vat: 16.82 + amount_gross: 175 + amount_due_discount: 0 + entity: + id: 54321 + name: Mary Red S.r.L. + vat_number: IT05432181211 + tax_code: IT05432181211 + address_street: "Via Italia, 66" + address_postal_code: "20900" + address_city: Milano + address_province: MI + address_extra: "" + country: Italia + certified_email: mary@pec.red.com + ei_code: ABCXCR1 + date: 2021-08-28 + number: 1 + next_due_date: 2021-12-31 + url: qwertye4u8w8bdaqrt5fd5b1a4gtqhlof.pdf + items_list: null + payments_list: null + first_page_url: page=1 + from: 1 + last_page: 1 + last_page_url: page=1 + next_page_url: null + path: issued_documents + per_page: 50 + prev_page_url: null + to: 2 + total: 2 + schema: + $ref: "#/components/schemas/ListIssuedDocumentsResponse" + description: Results list. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + CreateIssuedDocumentResponse: + content: + application/json: + examples: + example-1: + value: + data: + id: 12345 + type: receipt + year: 2021 + numeration: rec123 + subject: "" + visible_subject: "" + rc_center: "" + ei_cassa_type: null + ei_withholding_tax_causal: null + ei_other_withholding_tax_type: null + ei_other_withholding_tax_causal: null + stamp_duty: 0 + use_gross_prices: false + e_invoice: false + agyo_company_id: null + agyo_id: null + agyo_sent_at: null + delivery_note: false + accompanying_invoice: false + amount_net: 68.18 + amount_vat: 6.82 + amount_gross: 75 + amount_due_discount: 0 + amount_rivalsa: 0 + amount_cassa: 0 + amount_withholding_tax: 0 + amount_other_withholding_tax: 0 + h_margins: 15 + v_margins: 16 + show_payment_method: false + show_payments: true + show_totals: all + show_notification_button: false + is_marked: false + created_at: 2021-08-13 09:30:20 + updated_at: 2021-08-23 05:34:20 + entity: + id: 54321 + name: Mary Red S.r.L. + vat_number: IT05432181211 + tax_code: IT05432181211 + address_street: "Via Italia, 66" + address_postal_code: "20900" + address_city: Milano + address_province: MI + address_extra: "" + country: Italia + certified_email: mary@pec.red.com + ei_code: ABCXCR1 + date: 2021-08-20 + number: 1 + currency: + id: EUR + exchange_rate: "1.00000" + symbol: € + language: + code: it + name: Italiano + notes: "" + rivalsa: 0 + cassa: 0 + withholding_tax: 0 + withholding_tax_taxable: 100 + other_withholding_tax: 0 + payment_method: + id: 4 + name: Credit card + use_split_payment: false + merged_in: null + original_document: null + items_list: + - product_id: 5432 + code: SG3 + name: Soggiorno + measure: "" + net_price: 68.18182 + category: "" + id: 277876033 + gross_price: 75 + apply_withholding_taxes: true + discount: 0 + discount_highlight: false + in_dn: false + qty: 1 + vat: + id: 3 + value: 10 + description: "" + stock: false + description: "" + not_taxable: false + payments_list: + - amount: 75 + due_date: 2020-08-23 + paid_date: null + id: 69078013 + payment_terms: + days: 0 + type: standard + status: not_paid + attachment_url: kdijrnf893hnwkfk45f50f.pdf + seen_date: null + next_due_date: 2020-08-23 + template: + id: 2821 + name: Light Smoke + extra_data: null + url: y12h45rn9yf2mse0p43t7ec90vr.pdf + locked: false + has_ts_pay_pending_payment: false + show_tspay_button: false + schema: + $ref: "#/components/schemas/CreateIssuedDocumentResponse" + description: Document created. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + GetIssuedDocumentResponse: + content: + application/json: + examples: + example-1: + value: + data: + id: 12345 + type: receipt + year: 2021 + numeration: rec123 + subject: "" + visible_subject: "" + rc_center: "" + ei_cassa_type: null + ei_withholding_tax_causal: null + ei_other_withholding_tax_type: null + ei_other_withholding_tax_causal: null + stamp_duty: 0 + use_gross_prices: false + e_invoice: false + agyo_company_id: null + agyo_id: null + agyo_sent_at: null + delivery_note: false + accompanying_invoice: false + amount_net: 68.18 + amount_vat: 6.82 + amount_gross: 75 + amount_due_discount: 0 + amount_rivalsa: 0 + amount_cassa: 0 + amount_withholding_tax: 0 + amount_other_withholding_tax: 0 + h_margins: 15 + v_margins: 16 + show_payment_method: false + show_payments: true + show_totals: all + show_notification_button: false + is_marked: false + created_at: 2021-08-13 09:30:20 + updated_at: 2021-08-23 05:34:20 + entity: + id: 54321 + name: Mary Red S.r.L. + vat_number: IT05432181211 + tax_code: IT05432181211 + address_street: "Via Italia, 66" + address_postal_code: "20900" + address_city: Milano + address_province: MI + address_extra: "" + country: Italia + certified_email: mary@pec.red.com + ei_code: ABCXCR1 + date: 2021-08-20 + number: 1 + currency: + id: EUR + exchange_rate: "1.00000" + symbol: € + language: + code: it + name: Italiano + notes: "" + rivalsa: 0 + cassa: 0 + withholding_tax: 0 + withholding_tax_taxable: 100 + other_withholding_tax: 0 + payment_method: + id: 4 + name: Credit card + use_split_payment: false + merged_in: null + original_document: null + items_list: + - product_id: 5432 + code: SG3 + name: Soggiorno + measure: "" + net_price: 68.18182 + category: "" + id: 277876033 + gross_price: 75 + apply_withholding_taxes: true + discount: 0 + discount_highlight: false + in_dn: false + qty: 1 + vat: + id: 3 + value: 10 + description: "" + stock: false + description: "" + not_taxable: false + payments_list: + - amount: 75 + due_date: 2020-08-23 + paid_date: null + id: 69078013 + payment_terms: + days: 0 + type: standard + status: not_paid + attachment_url: kdijrnf893hnwkfk45f50f.pdf + seen_date: null + next_due_date: 2020-08-23 + template: + id: 2821 + name: Light Smoke + extra_data: null + url: y12h45rn9yf2mse0p43t7ec90vr.pdf + locked: false + has_ts_pay_pending_payment: false + show_tspay_button: false + price_list_id: "10" + schema: + $ref: "#/components/schemas/GetIssuedDocumentResponse" + description: Document Details. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + ModifyIssuedDocumentResponse: + content: + application/json: + examples: + example-1: + value: + data: + id: 12345 + type: receipt + year: 2021 + numeration: rec123 + subject: "" + visible_subject: "" + rc_center: "" + ei_cassa_type: null + ei_withholding_tax_causal: null + ei_other_withholding_tax_type: null + ei_other_withholding_tax_causal: null + stamp_duty: 0 + use_gross_prices: false + e_invoice: false + agyo_company_id: null + agyo_id: null + agyo_sent_at: null + delivery_note: false + accompanying_invoice: false + amount_net: 68.18 + amount_vat: 6.82 + amount_gross: 75 + amount_due_discount: 0 + amount_rivalsa: 0 + amount_cassa: 0 + amount_withholding_tax: 0 + amount_other_withholding_tax: 0 + h_margins: 15 + v_margins: 16 + show_payment_method: false + show_payments: true + show_totals: all + show_notification_button: false + is_marked: false + created_at: 2021-08-13 09:30:20 + updated_at: 2021-08-23 05:34:20 + entity: + id: 54321 + name: Mary Red S.r.L. + vat_number: IT05432181211 + tax_code: IT05432181211 + address_street: "Via Italia, 66" + address_postal_code: "20900" + address_city: Milano + address_province: MI + address_extra: "" + country: Italia + certified_email: mary@pec.red.com + ei_code: ABCXCR1 + date: 2021-08-20 + number: 1 + currency: + id: EUR + exchange_rate: "1.00000" + symbol: € + language: + code: it + name: Italiano + notes: "" + rivalsa: 0 + cassa: 0 + withholding_tax: 0 + withholding_tax_taxable: 100 + other_withholding_tax: 0 + payment_method: + id: 4 + name: Credit card + use_split_payment: false + merged_in: null + original_document: null + items_list: + - product_id: 5432 + code: SG3 + name: Soggiorno + measure: "" + net_price: 68.18182 + category: "" + id: 277876033 + gross_price: 75 + apply_withholding_taxes: true + discount: 0 + discount_highlight: false + in_dn: false + qty: 1 + vat: + id: 3 + value: 10 + description: "" + stock: false + description: "" + not_taxable: false + payments_list: + - amount: 75 + due_date: 2020-08-23 + paid_date: null + id: 69078013 + payment_terms: + days: 0 + type: standard + status: not_paid + payment_account: null + attachment_url: kdijrnf893hnwkfk45f50f.pdf + seen_date: null + next_due_date: 2020-08-23 + template: + id: 2821 + name: Light Smoke + extra_data: null + url: y12h45rn9yf2mse0p43t7ec90vr.pdf + locked: false + has_ts_pay_pending_payment: false + show_tspay_button: false + schema: + $ref: "#/components/schemas/ModifyIssuedDocumentResponse" + description: Document edited + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + GetNewIssuedDocumentTotalsResponse: + content: + application/json: + examples: + example-1: + value: + data: + amount_net: 68.18 + taxable_amount: 68.18 + vat_list: + "10": + amount_net: 68.18 + amount_vat: 6.82 + amount_vat: 6.82 + amount_gross: 75 + amount_due: 75 + amount_due_discount: 0 + payments_sum: 75 + schema: + $ref: "#/components/schemas/GetNewIssuedDocumentTotalsResponse" + description: Totals. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + GetExistingIssuedDocumentTotalsResponse: + content: + application/json: + examples: + example-1: + value: + data: + amount_net: 68.18 + amount_rivalsa: 13.64 + amount_net_with_rivalsa: 81.82000000000001 + taxable_amount: 81.82 + vat_list: + "10": + amount_net: 81.82 + amount_vat: 8.18 + amount_vat: 8.18 + amount_gross: 90 + amount_due: 90 + amount_due_discount: 0 + payments_sum: 75 + schema: + $ref: "#/components/schemas/GetExistingIssuedDocumentTotalsResponse" + description: Totals. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + UploadIssuedDocumentAttachmentResponse: + content: + application/json: + examples: + example-1: + value: + data: + attachment_token: YmMyNWYxYzIwMTU3N2Y4ZGE3ZjZiMzg5OWY0ODNkZDQveXl5LmRvYw + schema: + $ref: "#/components/schemas/UploadIssuedDocumentAttachmentResponse" + description: Attachment Token. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + GetIssuedDocumentPreCreateInfoResponse: + content: + application/json: + examples: + example-1: + value: + data: + numerations: + "2018": + AB123: 2 + "2019": + "123": null + "2020": + ABC: 2 + "2021": + rec123: 2 + dn_numerations: + "2017": + ? "" + : 1000 + "2018": + ? "" + : 112 + "2019": + ? "" + : 526 + "2020": + ? "" + : 11 + "2021": + ? "" + : 110 + default_values: + template: + id: 111 + type: standard + name: Light Smoke + dn_template: + id: 222 + type: delivery_note + name: DDT 1 + ai_template: + id: 333 + type: accompanying_invoice + name: FT Accompagnatoria 1 + notes: "" + rivalsa: 0 + cassa: 0 + withholding_tax: 0 + withholding_tax_taxable: 100 + other_withholding_tax: 0 + use_gross_prices: false + payment_method: + id: 123321 + name: Bonifico bancario + is_default: true + details: + - title: Banca + description: Indesa + - title: IBAN + description: IT17QA12345600000003498936 + - title: Intestatario + description: Mario Rossi + bank_iban: IT17QA12345600000003498936 + bank_name: Indesa + bank_beneficiary: Mario Rossi + ei_payment_method: MP05 + show_payment_method: true + ei_cassa_type: null + ei_withholding_tax_causal: B + ei_other_withholding_tax_type: null + ei_other_withholding_tax_causal: null + ei_default_document_type: TD01 + extra_data_default_values: + ts_communication: false + ts_tipo_spesa: SR + ts_flag_tipo_spesa: 0 + ts_pagamento_tracciato: false + items_default_values: + vat: + id: 0 + value: 22 + description: "" + notes: "" + e_invoice: true + ei_type: "0" + ei_description: "" + is_disabled: false + editable: false + default: true + countries_list: + - Italia + - Afghanistan + - Albania + - Algeria + - Andorra + - Angola + - Anguilla + - Antartide + - Antigua e Barbuda + - Antille Olandesi + - Arabia Saudita + - Argentina + - Armenia + - Aruba + - Australia + - Austria + - Azerbaigian + - Bahamas + - Bahrain + - Bangladesh + - Barbados + - Belgio + - Belize + - Benin + - Bermuda + - Bhutan + - Bielorussia + - Bolivia + - Bosnia ed Erzegovina + - Botswana + - Brasile + - Brunei + - Bulgaria + - Burkina Faso + - Burundi + - Cambogia + - Camerun + - Canada + - Capo Verde + - Ciad + - Cile + - Cina + - Cipro + - Città del Vaticano + - Colombia + - Comore + - Corea del Nord + - Corea del Sud + - Costa Rica + - Costa d'Avorio + - Croazia + - Cuba + - Danimarca + - Dominica + - Ecuador + - Egitto + - El Salvador + - Emirati Arabi Uniti + - Eritrea + - Estonia + - Etiopia + - Fiji + - Filippine + - Finlandia + - Francia + - Gabon + - Gambia + - Georgia + - Georgia del Sud e isole Sandwich + - Germania + - Ghana + - Giamaica + - Giappone + - Gibilterra + - Gibuti + - Giordania + - Grecia + - Grenada + - Groenlandia + - Guadalupa + - Guam + - Guatemala + - Guernsey - Channel Islands + - Guinea + - Guinea Equatoriale + - Guinea-Bissau + - Guyana + - Guyana Francese + - Haiti + - Heard Island e McDonald Islands + - Honduras + - Hong Kong + - India + - Indonesia + - Iran + - Iraq + - Irlanda + - Islanda + - Isola Bouvet + - Isola Christmas + - Isola di Man + - Isola Norfolk + - Isole Canarie (Spagna) + - Isole Cayman + - Isole Cocos e Keeling + - Isole Cook + - Isole Falkland + - Isole Fær Øer + - Isole Marianne Settentrionali + - Isole Marshall + - Isole Minori Esterne degli USA + - Isole Pitcairn + - Isole Salomone + - Isole Vergini Americane + - Isole Vergini Britanniche + - Isole Åland + - Israele + - Jersey - Channel Islands + - Kazakistan + - Kenia + - Kirghizistan + - Kiribati + - Kosovo + - Kuwait + - Laos + - Lesotho + - Lettonia + - Libano + - Liberia + - Libia + - Liechtenstein + - Lituania + - Lussemburgo + - Macao + - Macedonia + - Macedonia del Nord + - Madagascar + - Malawi + - Malaysia + - Maldive + - Mali + - Malta + - Marocco + - Martinica + - Mauritania + - Mauritius + - Mayotte + - Messico + - Micronesia + - Moldavia + - Monaco + - Mongolia + - Montenegro + - Montserrat + - Mozambico + - Myanmar + - Namibia + - Nauru + - Nepal + - Nicaragua + - Niger + - Nigeria + - Niue + - Norvegia + - Nuova Caledonia + - Nuova Zelanda + - Oman + - Paesi Bassi + - Pakistan + - Palau + - Panama + - Papua Nuova Guinea + - Paraguay + - Perù + - Polinesia Francese + - Polonia + - Porto Rico + - Portogallo + - Qatar + - Regno Unito + - Repubblica Ceca + - Repubblica Centrafricana + - Repubblica Democratica del Congo + - Repubblica Dominicana + - Repubblica del Congo + - Riunione + - Romania + - Ruanda + - Russia + - Sahara Occidentale + - Saint Barthelemy + - Saint Kitts e Nevis + - Saint Pierre e Miquelon + - Saint Vincent e Grenadine + - Samoa + - Samoa Americane + - San Marino + - Sant'Elena + - Santa Lucia + - Senegal + - Serbia + - Seychelles + - Sierra Leone + - Singapore + - Siria + - Slovacchia + - Slovenia + - Somalia + - Spagna + - Sri Lanka + - Stato di Palestina + - Stati Uniti + - Sudafrica + - Sud Sudan + - Sudan + - Suriname + - Svalbard e Jan Mayen + - Svezia + - Svizzera + - Swaziland + - São Tomé e Príncipe + - Tagikistan + - Taiwan + - Tanzania + - Terre australi e ant. francesi + - Terr. Britannico dell'Oc. Ind. + - Thailandia + - Timor Est + - Togo + - Tokelau + - Tonga + - Trinidad e Tobago + - Tunisia + - Turchia + - Turkmenistan + - Turks e Caicos + - Tuvalu + - Ucraina + - Uganda + - Ungheria + - Uruguay + - Uzbekistan + - Vanuatu + - Venezuela + - Vietnam + - Wallis e Futuna + - Yemen + - Zambia + - Zimbabwe + currencies_list: + - id: AED + symbol: AED + html_symbol: AED + exchange_rate: "4.09500" + - id: ALL + symbol: ALL + html_symbol: ALL + exchange_rate: "121.50000" + - id: AUD + symbol: AUD + html_symbol: AUD + exchange_rate: "1.62094" + - id: AZN + symbol: AZN + html_symbol: AZN + exchange_rate: "2.00130" + - id: BGN + symbol: лв + html_symbol: BGN + exchange_rate: "1.95583" + - id: BRL + symbol: R$ + html_symbol: R$ + exchange_rate: "4.50410" + - id: BYN + symbol: BYN + html_symbol: BYN + exchange_rate: "2.41000" + - id: CAD + symbol: CAD + html_symbol: CAD + exchange_rate: "1.49841" + - id: CFA + symbol: CFA + html_symbol: CFA + exchange_rate: "656.68000" + - id: CHF + symbol: Fr. + html_symbol: Fr. + exchange_rate: "1.12559" + - id: CNY + symbol: CNY + html_symbol: CNY + exchange_rate: "7.70160" + - id: CRC + symbol: ₡ + html_symbol: '₡' + exchange_rate: "659.17000" + - id: CZK + symbol: Kč + html_symbol: CZK + exchange_rate: "25.80600" + - id: DKK + symbol: kr. + html_symbol: kr. + exchange_rate: "7.46750" + - id: DOP + symbol: DOP + html_symbol: DOP + exchange_rate: "56.50000" + - id: DZD + symbol: DZD + html_symbol: DZD + exchange_rate: "134.28300" + - id: EGP + symbol: EGP + html_symbol: EGP + exchange_rate: "18.98030" + - id: EUR + symbol: € + html_symbol: '€' + exchange_rate: "1.00000" + - id: GBP + symbol: £ + html_symbol: '£' + exchange_rate: "0.88096" + - id: GHS + symbol: GHS + html_symbol: GHS + exchange_rate: "5.45834" + - id: HKD + symbol: HK$ + html_symbol: HK$ + exchange_rate: "8.75450" + - id: HRK + symbol: HRK + html_symbol: HRK + exchange_rate: "7.42640" + - id: HUF + symbol: HUF + html_symbol: HUF + exchange_rate: "326.24000" + - id: ILS + symbol: ₪ + html_symbol: '₪' + exchange_rate: "4.02680" + - id: INR + symbol: INR + html_symbol: INR + exchange_rate: "77.76050" + - id: ISK + symbol: ISK + html_symbol: ISK + exchange_rate: "135.94600" + - id: JPY + symbol: ¥ + html_symbol: '¥' + exchange_rate: "123.05800" + - id: KRW + symbol: KRW + html_symbol: KRW + exchange_rate: "1329.20000" + - id: MAD + symbol: MAD + html_symbol: MAD + exchange_rate: "10.78900" + - id: MKD + symbol: MKD + html_symbol: MKD + exchange_rate: "61.36700" + - id: MXN + symbol: Mex$ + html_symbol: Mex$ + exchange_rate: "21.17900" + - id: MYR + symbol: MYR + html_symbol: MYR + exchange_rate: "4.67310" + - id: NGN + symbol: NGN + html_symbol: NGN + exchange_rate: "405.17000" + - id: NIS + symbol: NIS + html_symbol: NIS + exchange_rate: "4020.00000" + - id: NOK + symbol: kr + html_symbol: kr + exchange_rate: "9.76270" + - id: NZD + symbol: NZD + html_symbol: NZD + exchange_rate: "1.71687" + - id: OMR + symbol: OMR + html_symbol: OMR + exchange_rate: "0.42950" + - id: PEN + symbol: PEN + html_symbol: PEN + exchange_rate: "3.73400" + - id: PLN + symbol: zł + html_symbol: PLN + exchange_rate: "4.30330" + - id: QAR + symbol: QAR + html_symbol: QAR + exchange_rate: "4.06270" + - id: RON + symbol: RON + html_symbol: RON + exchange_rate: "4.66891" + - id: RSD + symbol: RSD + html_symbol: RSD + exchange_rate: "117.39414" + - id: RUB + symbol: ₽ + html_symbol: '₽' + exchange_rate: "71.70370" + - id: SAR + symbol: SAR + html_symbol: SAR + exchange_rate: "4.18520" + - id: SEK + symbol: SEK + html_symbol: SEK + exchange_rate: "10.73374" + - id: SGD + symbol: SGD + html_symbol: SGD + exchange_rate: "1.53800" + - id: THB + symbol: THB + html_symbol: THB + exchange_rate: "35.56400" + - id: TND + symbol: TND + html_symbol: TND + exchange_rate: "3.34010" + - id: TRY + symbol: TRY + html_symbol: TRY + exchange_rate: "6.81590" + - id: TWD + symbol: TWD + html_symbol: TWD + exchange_rate: "35.14200" + - id: UAH + symbol: UAH + html_symbol: UAH + exchange_rate: "29.31490" + - id: USD + symbol: $ + html_symbol: '$' + exchange_rate: "1.11570" + - id: VND + symbol: ₫ + html_symbol: '₫' + exchange_rate: "26100.00000" + - id: ZAR + symbol: R + html_symbol: R + exchange_rate: "16.03080" + templates_list: + - id: 10 + name: New Standard S1 + - id: 11 + name: New Standard S2 + - id: 12 + name: New Professionisti P1 + - id: 13 + name: New Buste + - id: 14 + name: New Professionisti P2 + - id: 101 + name: Clear lines + - id: 106 + name: Minimalist + - id: 107 + name: Squared + - id: 108 + name: Modern + - id: 150 + name: Bright Colors + - id: 681 + name: Modern Spese di trasporto + - id: 682 + name: Modern ciao + - id: 2821 + name: Light Smoke + - id: 2823 + name: IDEAVERDE + - id: 2824 + name: LS problem + - id: 2825 + name: Light Smoke 2nd CASSA + - id: 2826 + name: LIGHT NUOVO + - id: 2827 + name: STAND + dn_templates_list: + - id: 660 + name: DDT 1 + - id: 680 + name: DDT Prova + ai_templates_list: + - id: 663 + name: FT Accompagnatoria 1 + payment_methods_list: + - id: 555 + name: Rimessa diretta + is_default: false + details: [] + bank_iban: null + bank_name: null + bank_beneficiary: null + ei_payment_method: null + - id: 123321 + name: Bonifico bancario + is_default: true + details: + - title: Banca + description: Indesa + - title: IBAN + description: IT17QA12345600000003498936 + - title: Intestatario + description: Mario Rossi + bank_iban: IT17QA12345600000003498936 + bank_name: Indesa + bank_beneficiary: Mario Rossi + ei_payment_method: MP05 + payment_accounts_list: + - id: 21 + name: Indesa - Carta conto + - id: 287 + name: Bonifico_Bancario + vat_types_list: + - id: 1409 + value: 15 + description: "ALIQUOTA #1234#" + ei_type: "0" + is_disabled: false + - id: 1332 + value: 0 + description: Non imp. art. 17 c. 6 lett. A TER DPR 633/72 + ei_type: "0" + is_disabled: false + measures_list: + - pezzi + - kg + - litri + - ore + - giorni + - km + - mesi + languages_list: + - code: it + name: Italiano + - code: en + name: Inglese + - code: de + name: Tedesco + - code: fr + name: Francese + - code: es + name: Spagnolo + - code: pt + name: Portoghese + - code: el + name: Greco + - code: pl + name: Polacco + - code: sl + name: Sloveno + ei_structure: + FatturaElettronicaHeader: + idx: 1 + children: + DatiTrasmissione: + idx: 1 + children: + ContattiTrasmittente: + idx: 5 + children: + Telefono: + idx: 1 + type: text + length: + - 5 + - 12 + Email: + idx: 2 + type: text + length: + - 7 + - 256 + CedentePrestatore: + idx: 2 + children: + DatiAnagrafici: + idx: 1 + children: + Anagrafica: + idx: 3 + children: + CodEORI: + idx: 5 + type: text + length: + - 13 + - 17 + AlboProfessionale: + idx: 4 + type: text + length: + - 1 + - 60 + ProvinciaAlbo: + idx: 5 + type: text + length: 2 + NumeroIscrizioneAlbo: + idx: 6 + type: text + length: + - 1 + - 60 + DataIscrizioneAlbo: + idx: 7 + type: date + length: 10 + Sede: + idx: 2 + children: + NumeroCivico: + idx: 2 + type: text + length: + - 1 + - 8 + StabileOrganizzazione: + idx: 3 + children: + Indirizzo: + idx: 1 + type: text + length: + - 1 + - 60 + NumeroCivico: + idx: 2 + type: text + length: + - 1 + - 8 + CAP: + idx: 3 + type: text + length: 5 + Comune: + idx: 4 + type: text + length: + - 1 + - 60 + Provincia: + idx: 5 + type: text + length: 2 + Nazione: + idx: 6 + type: text + length: 2 + Contatti: + idx: 5 + children: + Telefono: + idx: 1 + type: text + length: + - 5 + - 12 + Fax: + idx: 2 + type: text + length: + - 5 + - 12 + Email: + idx: 3 + type: text + length: + - 7 + - 256 + RiferimentoAmministrazione: + idx: 6 + type: text + length: + - 1 + - 20 + CessionarioCommittente: + idx: 4 + children: + DatiAnagrafici: + idx: 1 + children: + Anagrafica: + idx: 3 + children: + Nome: + idx: 2 + type: text + length: + - 2 + - 50 + Cognome: + idx: 3 + type: text + length: + - 2 + - 50 + Titolo: + idx: 4 + type: text + length: + - 2 + - 10 + CodEORI: + idx: 5 + type: text + length: + - 13 + - 17 + StabileOrganizzazione: + idx: 3 + children: + Indirizzo: + idx: 1 + type: text + length: + - 1 + - 60 + NumeroCivico: + idx: 2 + type: text + length: + - 1 + - 8 + CAP: + idx: 3 + type: text + length: 5 + Comune: + idx: 4 + type: text + length: + - 1 + - 60 + Provincia: + idx: 5 + type: text + length: 2 + Nazione: + idx: 6 + type: text + length: 2 + RappresentanteFiscale: + idx: 4 + children: + IdFiscaleIVA: + idx: 1 + children: + IdPaese: + idx: 1 + type: text + length: 2 + IdCodice: + idx: 2 + type: text + length: + - 1 + - 28 + Denominazione: + idx: 2 + type: text + length: + - 1 + - 80 + Nome: + idx: 3 + type: text + length: + - 1 + - 60 + Cognome: + idx: 4 + type: text + length: + - 1 + - 60 + FatturaElettronicaBody: + idx: 2 + children: + DatiGenerali: + idx: 1 + children: + DatiGeneraliDocumento: + idx: 1 + children: + TipoDocumento: + idx: 1 + type: select + options: + TD01: TD01 - fattura + TD02: TD02 - acconto/anticipo su fattura + TD03: TD03 - acconto/anticipo su parcella + TD04: TD04 - nota di credito + TD05: TD05 - nota di debito + TD06: TD06 - parcella + TD16: TD16 - integrazione fattura reverse charge + interno + TD17: TD17 - integrazione/autofattura per acquisto + servizi dall'estero + TD18: TD18 - integrazione per acquisto di beni + intracomunitari + TD19: TD19 - integrazione/autofattura per acquisto + di beni ex art.17 c.2 DPR 633/72 + TD20: TD20 - autofattura per regolarizzazione + e integrazione delle fatture (art.6 c.8 d.lgs. + 471/97 o art.46 c.5 D.L. 331/93) + TD21: TD21 - autofattura per splafonamento + TD22: TD22 - estrazione beni da Deposito IVA + TD23: TD23 - estrazione beni da Deposito IVA con + versamento dell'IVA + TD24: "TD24 - fattura differita di cui all'art.\ + \ 21, comma 4, lett. a)" + TD25: "TD25 - fattura differita di cui all'art.\ + \ 21, comma 4, terzo periodo, lett. b)" + TD26: TD26 - cessione di beni ammortizzabili e + per passaggi interni (ex art.36 DPR 633/72) + TD27: TD27 - fattura per autoconsumo o per cessioni + gratuite senza rivalsa + Arrotondamento: + idx: 10 + type: text + format: decimal + length: + - 4 + - 15 + Causale: + idx: 11 + array: true + type: text + length: + - 1 + - 200 + Art73: + idx: 12 + type: select + options: + SI: Si + DatiOrdineAcquisto: + idx: 2 + array: true + children: + RiferimentoNumeroLinea: + idx: 1 + type: text + array: true + length: + - 1 + - 4 + IdDocumento: + idx: 2 + type: text + length: + - 1 + - 20 + Data: + idx: 3 + type: date + length: 10 + NumItem: + idx: 4 + type: text + length: + - 1 + - 20 + CodiceCommessaConvenzione: + idx: 5 + type: text + length: + - 1 + - 100 + CodiceCUP: + idx: 6 + type: text + length: + - 1 + - 15 + CodiceCIG: + idx: 7 + type: text + length: + - 1 + - 15 + DatiContratto: + idx: 3 + array: true + children: + RiferimentoNumeroLinea: + idx: 1 + type: text + array: true + length: + - 1 + - 4 + IdDocumento: + idx: 2 + type: text + length: + - 1 + - 20 + Data: + idx: 3 + type: date + length: 10 + NumItem: + idx: 4 + type: text + length: + - 1 + - 20 + CodiceCommessaConvenzione: + idx: 5 + type: text + length: + - 1 + - 100 + CodiceCUP: + idx: 6 + type: text + length: + - 1 + - 15 + CodiceCIG: + idx: 7 + type: text + length: + - 1 + - 15 + DatiConvenzione: + idx: 4 + array: true + children: + RiferimentoNumeroLinea: + idx: 1 + type: text + array: true + length: + - 1 + - 4 + IdDocumento: + idx: 2 + type: text + length: + - 1 + - 20 + Data: + idx: 3 + type: date + length: 10 + NumItem: + idx: 4 + type: text + length: + - 1 + - 20 + CodiceCommessaConvenzione: + idx: 5 + type: text + length: + - 1 + - 100 + CodiceCUP: + idx: 6 + type: text + length: + - 1 + - 15 + CodiceCIG: + idx: 7 + type: text + length: + - 1 + - 15 + DatiRicezione: + idx: 5 + array: true + children: + RiferimentoNumeroLinea: + idx: 1 + type: text + array: true + length: + - 1 + - 4 + IdDocumento: + idx: 2 + type: text + length: + - 1 + - 20 + Data: + idx: 3 + type: date + length: 10 + NumItem: + idx: 4 + type: text + length: + - 1 + - 20 + CodiceCommessaConvenzione: + idx: 5 + type: text + length: + - 1 + - 100 + CodiceCUP: + idx: 6 + type: text + length: + - 1 + - 15 + CodiceCIG: + idx: 7 + type: text + length: + - 1 + - 15 + DatiFattureCollegate: + idx: 6 + array: true + children: + RiferimentoNumeroLinea: + idx: 1 + type: text + array: true + length: + - 1 + - 4 + IdDocumento: + idx: 2 + type: text + length: + - 1 + - 20 + Data: + idx: 3 + type: date + length: 10 + NumItem: + idx: 4 + type: text + length: + - 1 + - 20 + CodiceCommessaConvenzione: + idx: 5 + type: text + length: + - 1 + - 100 + CodiceCUP: + idx: 6 + type: text + length: + - 1 + - 15 + CodiceCIG: + idx: 7 + type: text + length: + - 1 + - 15 + DatiSAL: + idx: 7 + array: true + children: + RiferimentoFase: + idx: 1 + type: text + length: + - 1 + - 3 + DatiDDT: + idx: 8 + array: true + children: + NumeroDDT: + idx: 1 + type: text + length: + - 1 + - 20 + DataDDT: + idx: 2 + type: date + length: 10 + RiferimentoNumeroLinea: + idx: 3 + type: text + array: true + length: + - 1 + - 4 + DatiTrasporto: + idx: 9 + children: + DatiAnagraficiVettore: + idx: 1 + children: + IdFiscaleIVA: + idx: 1 + children: + IdPaese: + idx: 1 + type: text + length: 2 + IdCodice: + idx: 2 + type: text + length: + - 1 + - 28 + CodiceFiscale: + idx: 2 + type: text + length: + - 11 + - 16 + Anagrafica: + idx: 3 + children: + Denominazione: + idx: 1 + type: text + length: + - 1 + - 80 + Nome: + idx: 2 + type: text + length: + - 1 + - 60 + Cognome: + idx: 3 + type: text + length: + - 1 + - 60 + Titolo: + idx: 4 + type: text + length: + - 2 + - 10 + CodEORI: + idx: 5 + type: text + length: + - 13 + - 17 + NumeroLicenzaGuida: + idx: 4 + type: text + length: + - 1 + - 20 + MezzoTrasporto: + idx: 2 + type: text + length: + - 1 + - 80 + CausaleTrasporto: + idx: 3 + type: text + length: + - 1 + - 100 + NumeroColli: + idx: 4 + type: text + length: + - 1 + - 4 + DataInizioTrasporto: + idx: 10 + type: date + length: 10 + TipoResa: + idx: 11 + type: text + length: 3 + IndirizzoResa: + idx: 12 + children: + Indirizzo: + idx: 1 + type: text + length: + - 1 + - 60 + NumeroCivico: + idx: 2 + type: text + length: + - 1 + - 8 + CAP: + idx: 3 + type: text + length: 5 + Comune: + idx: 4 + type: text + length: + - 1 + - 60 + Provincia: + idx: 5 + type: text + length: 2 + Nazione: + idx: 6 + type: text + length: 2 + DatiPagamento: + idx: "4" + children: + CondizioniPagamento: + idx: 1 + type: select + options: + TP01: Pagamento a rate + TP02: Pagamento completo + TP03: Anticipo + ei_item_structure: + DettaglioLinee: + idx: 2.2.1 + children: + NumeroLinea: + idx: 1 + type: text + length: + - 1 + - 4 + TipoCessionePrestazione: + idx: 2 + type: select + options: + SC: sconto + PR: premio + AB: abbuono + AC: spesa accessoria + CodiceArticolo: + idx: 3 + array: true + children: + CodiceTipo: + idx: 1 + type: text + length: + - 1 + - 35 + CodiceValore: + idx: 2 + type: text + length: + - 1 + - 35 + DataInizioPeriodo: + idx: 7 + type: date + length: 10 + DataFinePeriodo: + idx: 8 + type: date + length: 10 + RiferimentoAmministrazione: + idx: 15 + type: text + length: + - 1 + - 20 + AltriDatiGestionali: + idx: 16 + array: true + children: + TipoDato: + idx: 1 + type: text + length: + - 1 + - 10 + RiferimentoTesto: + idx: 2 + type: text + length: + - 1 + - 60 + RiferimentoNumero: + idx: 3 + type: text + format: decimal + length: + - 4 + - 21 + RiferimentoData: + idx: 4 + type: date + length: 10 + ei_payment_structure: + DettaglioPagamento: + idx: 2.4.2 + children: + DataRiferimentoTerminiPagamento: + idx: 3 + type: date + length: 10 + GiorniTerminiPagamento: + idx: 4 + type: text + length: + - 1 + - 3 + DataScadenzaPagamento: + idx: 5 + type: date + length: 10 + ABI: + idx: 14 + type: text + length: 5 + CAB: + idx: 15 + type: text + length: 5 + BIC: + idx: 16 + type: text + length: + - 8 + - 11 + DataDecorrenzaPenale: + idx: 20 + type: date + length: 10 + documents_type_info: + TD01: + self_own_invoice: false + self_supplier_invoice: true + description: TD01 - fattura + description_self_invoice: TD01 - fattura in nome e per conto + TD02: + self_own_invoice: true + self_supplier_invoice: true + description: TD02 - acconto/anticipo su fattura + TD03: + self_own_invoice: true + self_supplier_invoice: true + description: TD03 - acconto/anticipo su parcella + TD04: + self_own_invoice: true + self_supplier_invoice: true + description: TD04 - nota di credito + TD05: + self_own_invoice: true + self_supplier_invoice: true + description: TD05 - nota di debito + TD06: + self_own_invoice: true + self_supplier_invoice: true + description: TD06 - parcella + TD16: + self_own_invoice: false + self_supplier_invoice: true + description: TD16 - integrazione fattura reverse charge interno + TD17: + self_own_invoice: false + self_supplier_invoice: true + description: TD17 - integrazione/autofattura per acquisto servizi + dall'estero + TD18: + self_own_invoice: false + self_supplier_invoice: true + description: TD18 - integrazione per acquisto di beni intracomunitari + TD19: + self_own_invoice: false + self_supplier_invoice: true + description: TD19 - integrazione/autofattura per acquisto di + beni ex art.17 c.2 DPR 633/72 + TD20: + self_own_invoice: false + self_supplier_invoice: true + description: TD20 - autofattura per regolarizzazione e integrazione + delle fatture (art.6 c.8 d.lgs. 471/97 o art.46 c.5 D.L. 331/93) + TD21: + self_own_invoice: true + self_supplier_invoice: false + description: TD21 - autofattura per splafonamento + TD22: + self_own_invoice: false + self_supplier_invoice: true + description: TD22 - estrazione beni da Deposito IVA + TD23: + self_own_invoice: false + self_supplier_invoice: true + description: TD23 - estrazione beni da Deposito IVA con versamento + dell'IVA + TD24: + self_own_invoice: true + self_supplier_invoice: true + description: "TD24 - fattura differita di cui all'art. 21, comma\ + \ 4, lett. a)" + TD25: + self_own_invoice: true + self_supplier_invoice: true + description: "TD25 - fattura differita di cui all'art. 21, comma\ + \ 4, terzo periodo, lett. b)" + TD26: + self_own_invoice: true + self_supplier_invoice: true + description: TD26 - cessione di beni ammortizzabili e per passaggi + interni (ex art.36 DPR 633/72) + TD27: + self_own_invoice: true + self_supplier_invoice: true + description: TD27 - fattura per autoconsumo o per cessioni gratuite + senza rivalsa + ei_regime_info: + RF01: Ordinario + RF02: "Contribuenti minimi (art.1, c.96-117, L. 244/07)" + RF04: "Agricoltura e attività connesse e pesca (artt.34 e 34-bis,\ + \ DPR 633/72)" + RF05: "Vendita sali e tabacchi (art.74, c.1, DPR. 633/72)" + RF06: "Commercio fiammiferi (art.74, c.1, DPR 633/72)" + RF07: "Editoria (art.74, c.1, DPR 633/72)" + RF08: "Gestione servizi telefonia pubblica (art.74, c.1, DPR 633/72)" + RF09: "Rivendita documenti di trasporto pubblico e di sosta (art.74,\ + \ c.1, DPR 633/72)" + RF10: "Intrattenimenti, giochi e altre attività di cui alla tariffa\ + \ allegata al DPR 640/72 (art.74, c.6, DPR 633/72)" + RF11: "Agenzie viaggi e turismo (art.74-ter, DPR 633/72)" + RF12: "Agriturismo (art.5, c.2, L. 413/91)" + RF13: "Vendite a domicilio (art.25-bis, c.6, DPR 600/73)" + RF14: "Rivendita beni usati, oggetti d’arte, d’antiquariato o\ + \ da collezione (art.36, DL 41/95)" + RF15: "Agenzie di vendite all’asta di oggetti d'arte, antiquariato\ + \ o da collezione (art.40-bis, DL 41/95)" + RF16: "IVA per cassa P.A. (art.6, c.5, DPR 633/72)" + RF17: "IVA per cassa (art. 32-bis, DL 83/2012)" + RF18: Altro + RF19: "Regime forfettario (art.1, c.54-89, L. 190/2014)" + ei_cassa_type_info: + ? "" + : Nessuna cassa previdenziale + TC01: Cassa nazionale previdenza e assistenza avvocati e procuratori + legali + TC02: Cassa previdenza dottori commercialisti + TC03: Cassa previdenza e assistenza geometri + TC04: Cassa nazionale previdenza e assistenza ingegneri e architetti + liberi professionisti + TC05: Cassa nazionale del notariato + TC06: Cassa nazionale previdenza e assistenza ragionieri e periti + commerciali + TC07: Ente nazionale assistenza agenti e rappresentanti di commercio + (ENASARCO) + TC08: Ente nazionale previdenza e assistenza consulenti del lavoro + (ENPACL) + TC09: Ente nazionale previdenza e assistenza medici (ENPAM) + TC10: Ente nazionale previdenza e assistenza farmacisti (ENPAF) + TC11: Ente nazionale previdenza e assistenza veterinari (ENPAV) + TC12: Ente nazionale previdenza e assistenza impiegati dell'agricoltura + (ENPAIA) + TC13: Fondo previdenza impiegati imprese di spedizione e agenzie + marittime + TC14: Istituto nazionale previdenza giornalisti italiani (INPGI) + TC15: Opera nazionale assistenza orfani sanitari italiani (ONAOSI) + TC16: Cassa autonoma assistenza integrativa giornalisti italiani + (CASAGIT) + TC17: Ente previdenza periti industriali e periti industriali + laureati (EPPI) + TC18: Ente previdenza e assistenza pluricategoriale (EPAP) + TC19: Ente nazionale previdenza e assistenza biologi (ENPAB) + TC20: Ente nazionale previdenza e assistenza professione infermieristica + (ENPAPI) + TC21: Ente nazionale previdenza e assistenza psicologi (ENPAP) + TC22: INPS + ei_causal_payment_info: + ? "" + : Nessuna ritenuta + A: Prestazioni di lavoro autonomo rientranti nell'esercizio di + arte o professione abituale + B: "Utilizzazione economica, da parte dell'autore o dell'inventore,\ + \ di opere dell'ingegno, di brevetti industriali e di processi,\ + \ formule o informazioni relativi ad esperienze acquisite in\ + \ campo industriale, commerciale o scientifico" + C: "Utili derivanti da contratti di associazione in partecipazione\ + \ e da contratti di cointeressenza, quando l'apporto è costituito\ + \ esclusivamente dalla prestazione di lavoro" + D: Utili spettanti ai soci promotori ed ai soci fondatori delle + società di capitali + E: Levata di protesti cambiari da parte dei segretari comunali + G: Indennità corrisposte per la cessazione di attività sportiva + professionale + H: "Indennità corrisposte per la cessazione dei rapporti di agenzia\ + \ delle persone fisiche e delle società di persone con esclusione\ + \ delle somme maturate entro il 31 dicembre 2003, già imputate\ + \ per competenza e tassate come reddito d'impresa" + I: Indennità corrisposte per la cessazione da funzioni notarili + L: "Redditi derivanti dall'utilizzazione economica di opere dell'ingegno,\ + \ di brevetti industriali e di processi, formule e informazioni\ + \ relativi a esperienze acquisite in campo industriale, commerciale\ + \ o scientifico, che sono percepiti dagli aventi causa a titolo\ + \ gratuito (ad es. eredi e legatari dell'autore e inventore)" + L1: "Redditi derivanti dall'utilizzazione economica di opere dell'ingegno,\ + \ di brevetti industriali e di processi, formule e informazioni\ + \ relativi a esperienze acquisite in campo industriale, commerciale\ + \ o scientifico, che sono percepiti da soggetti che abbiano\ + \ acquistato a titolo oneroso i diritti alla loro utilizzazione" + M: Prestazioni di lavoro autonomo non esercitate abitualmente + M1: "Redditi derivanti dall'assunzione di obblighi di fare, di\ + \ non fare o permettere" + M2: Prestazioni di lavoro autonomo non esercitate abitualmente + per le quali sussiste l'obbligo di iscrizione alla Gestione + Separata ENPAPI + "N": "Indennità di trasferta, rimborso forfettario di spese, premi\ + \ e compensi erogati: \x96 nell'esercizio diretto di attività\ + \ sportive dilettantistiche; in relazione a rapporti di collaborazione\ + \ coordinata e continuativa di carattere amministrativo-gestionale\ + \ di natura non professionale resi a favore di società e associazioni\ + \ sportive dilettantistiche e di cori, bande e filodrammatiche\ + \ da parte del direttore e dei collaboratori tecnici;" + O: "Prestazioni di lavoro autonomo non esercitate abitualmente,\ + \ obblighi di fare, di non fare o permettere, per le quali non\ + \ sussiste l'obbligo di iscrizione alla gestione separata (Circ.\ + \ INPS n. 104/2001)" + O1: "Redditi derivanti dall’assunzione di obblighi di fare, di\ + \ non fare o permettere, per le quali non sussiste l'obbligo\ + \ di iscrizione alla gestione separata (Circ. INPS n. 104/2001)" + P: "compensi corrisposti a soggetti non residenti privi di stabile\ + \ organizzazione per l'uso o la concessione in uso di attrezzature\ + \ industriali, commerciali o scientifiche che si trovano nel\ + \ territorio dello Stato ovvero a società svizzere o stabili\ + \ organizzazioni di società svizzere che possiedono i requisiti\ + \ di cui all'art. 15, comma 2 dell'Accordo tra la Comunità europea\ + \ e la Confederazione svizzera del 26 ottobre 2004 (pubblicato\ + \ in G.U.C.E. del 29 dicembre 2004 n. L385/30)" + Q: Provvigioni corrisposte ad agente o rappresentante di commercio + monomandatario + R: Provvigioni corrisposte ad agente o rappresentante di commercio + plurimandatario + S: Provvigioni corrisposte a commissionario + T: Provvigioni corrisposte a mediatore + U: Provvigioni corrisposte a procacciatore di affari + V: "Provvigioni corrisposte a incaricato per le vendite a domicilio;\ + \ provvigioni corrisposte a incaricato per la vendita porta\ + \ a porta e per la vendita ambulante di giornali quotidiani\ + \ e periodici (L. 25 febbraio 1987, n. 67)" + V1: "Redditi derivanti da attività commerciali non esercitate\ + \ abitualmente (ad esempio, provvigioni corrisposte per prestazioni\ + \ occasionali ad agente o rappresentante di commercio, mediatore,\ + \ procacciatore d'affari)" + W: Corrispettivi erogati nell'anno corrente per prestazioni relative + a contratti d'appalto cui si sono resi applicabili le disposizioni + contenute nell'art. 25-ter del D.P.R. n. 600 del 29 settembre + 1973 + X: "Canoni corrisposti nel 2004 da società o enti residenti ovvero\ + \ da stabili organizzazioni di società estere di cui all'art.\ + \ 26-quater, comma 1, lett. a) e b) del D.P.R. 600 del 29 settembre\ + \ 1973, a società o stabili organizzazioni di società, situate\ + \ in altro stato membro dell'Unione Europea in presenza dei\ + \ requisiti di cui al citato art. 26-quater, del D.P.R. 600\ + \ del 29 settembre 1973, per i quali è stato effettuato, nell'anno\ + \ 2006, il rimborso della ritenuta ai sensi dell'art. 4 del\ + \ D.Lgs. 30 maggio 2005 n. 143" + "Y": "Canoni corrisposti dal 1° gennaio 2005 al 26 luglio 2005\ + \ da società o enti residenti ovvero da stabili organizzazioni\ + \ di società estere di cui all'art. 26-quater, comma 1, lett.\ + \ a) e b) del D.P.R. n. 600 del 29 settembre 1973, asocietà\ + \ o stabili organizzazioni di società, situate in altro stato\ + \ membro dell'Unione Europea in presenza dei requisiti di cui\ + \ al citato art. 26-quater, del D.P.R. n. 600 del 29 settembre\ + \ 1973, per i quali è stato effettuato, nell'anno 2006, il rimborso\ + \ della ritenuta ai sensi dell'art. 4 del D.Lgs. 30 maggio 2005\ + \ n. 143" + ZO: Titolo diverso dai precedenti + ei_withholding_type_info: + ? "" + : Nessuna ritenuta + RT01: Ritenuta di acconto persone fisiche + RT02: Ritenuta di acconto persone giuridiche + RT03: Contributo INPS + RT04: Contributo ENASARCO + RT05: Contributo ENPAM + RT06: Altro contributo previdenziale + use_e_invoice: true + price_lists: + - id: "10" + name: Listino 1 + prices_type: net + is_default: true + is_archived: false + valid_from: 2021-08-01 + valid_to: 2025-09-10 + type: sell + schema: + $ref: "#/components/schemas/GetIssuedDocumentPreCreateInfoResponse" + description: Pre-create info. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + GetEmailDataResponse: + content: + application/json: + examples: + example-1: + value: + data: + recipient_email: mary.red@example.com + default_sender_email: + id: 0 + email: no-reply@fattureincloud.it + sender_emails_list: + - id: 0 + email: no-reply@fattureincloud.it + - id: 888 + email: mariorossi@fattureincloud.it + cc_email: m.rossi@exxample.com + subject: Nostra pro forma nr. 1 + body: "Gentile Mario Rossi,
per vedere la nostra pro forma di\ + \ o per scaricarne una copia in versione PDF prema sul bottone\ + \ sottoastante.

{{allegati}}

Cordiali saluti,
Mario\ + \ Rossi" + document_exists: true + delivery_note_exists: false + attachment_exists: false + accompanying_invoice_exists: false + schema: + $ref: "#/components/schemas/GetEmailDataResponse" + description: EmailData + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + SendEInvoiceResponse: + content: + application/json: + examples: + example-1: + value: + data: + name: CARICATO + date: 2021-08-23 10:38:03 + schema: + $ref: "#/components/schemas/SendEInvoiceResponse" + description: Example response + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + VerifyEInvoiceXmlResponse: + content: + application/json: + examples: + example-1: + value: + data: + success: true + schema: + $ref: "#/components/schemas/VerifyEInvoiceXmlResponse" + description: Example response + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + VerifyEInvoiceXmlErrorResponse: + content: + application/json: + schema: + $ref: "#/components/schemas/VerifyEInvoiceXmlErrorResponse" + description: Example response + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + ListReceivedDocumentsResponse: + content: + application/json: + examples: + example-1: + value: + current_page: 1 + data: + - id: 12345 + type: expense + description: Soggiorno di lavoro + amortization: 1 + rc_center: "" + invoice_number: "" + is_marked: false + is_detailed: false + e_invoice: false + created_at: 2021-08-15 14:02:02 + updated_at: 2021-08-15 14:02:02 + entity: + id: 111 + name: Hotel Rubino Palace + date: 2021-08-15 + next_due_date: 2021-08-15 + currency: + id: EUR + exchange_rate: "1.00000" + symbol: € + amount_net: 592 + amount_vat: 0 + amount_gross: 592 + amount_withholding_tax: 0 + amount_other_withholding_tax: 0 + tax_deductibility: 50 + vat_deductibility: 100 + items_list: null + payments_list: + - amount: 592 + due_date: 2021-08-15 + paid_date: 2021-08-15 + id: 777 + payment_terms: + days: 0 + type: standard + status: paid + payment_account: + id: 222 + name: Contanti + virtual: false + attachment_url: spesa_ger5i783t45hu6ti.pdf + attachment_preview_url: null + extra_data: null + - id: 12346 + type: expense + description: Assicurazione RCA + iamortization: 1 + rc_center: "" + invoice_number: "" + is_marked: false + is_detailed: false + e_invoice: false + created_at: 2021-08-09 14:02:02 + updated_at: 2021-08-09 14:02:02 + entity: + id: 89 + name: Indesa Assicurazioni S.P.A. + date: 2021-08-08 + next_due_date: 2021-08-08 + currency: + id: EUR + exchange_rate: "1.00000" + symbol: € + amount_net: 645.69 + amount_vat: 0 + amount_gross: 645.69 + amount_withholding_tax: 0 + amount_other_withholding_tax: 0 + tax_deductibility: 50 + vat_deductibility: 100 + items_list: null + payments_list: + - amount: 645.69 + due_date: 2021-08-08 + paid_date: 2021-08-08 + id: 999 + payment_terms: + days: 0 + type: standard + status: paid + payment_account: + id: 333 + name: Carta conto + virtual: false + attachment_url: spesa_gjsd567e5hu6ti.pdf + attachment_preview_url: null + extra_data: null + first_page_url: page=1 + from: 1 + last_page: 2 + last_page_url: page=2 + next_page_url: page=2 + path: received_documents + per_page: 50 + prev_page_url: null + to: 50 + total: 123 + schema: + $ref: "#/components/schemas/ListReceivedDocumentsResponse" + description: Results list. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + CreateReceivedDocumentResponse: + content: + application/json: + examples: + example-1: + value: + data: + id: 12345 + type: expense + description: Soggiorno di lavoro + amortization: 1 + rc_center: "" + invoice_number: "" + is_marked: false + is_detailed: false + e_invoice: false + created_at: 2021-08-15 14:02:02 + updated_at: 2021-08-15 14:02:02 + entity: + id: 111 + name: Hotel Rubino Palace + date: 2021-08-15 + next_due_date: 2021-08-15 + currency: + id: EUR + exchange_rate: "1.00000" + symbol: € + amount_net: 592 + amount_vat: 0 + amount_gross: 592 + amount_withholding_tax: 0 + amount_other_withholding_tax: 0 + tax_deductibility: 50 + vat_deductibility: 100 + items_list: null + payments_list: + - amount: 592 + due_date: 2021-08-15 + paid_date: 2021-08-15 + id: 777 + payment_terms: + days: 0 + type: standard + status: paid + payment_account: + id: 222 + name: Contanti + virtual: false + attachment_url: spesa_ger5i783t45hu6ti.pdf + attachment_preview_url: null + extra_data: null + schema: + $ref: "#/components/schemas/CreateReceivedDocumentResponse" + description: Document created. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + GetReceivedDocumentResponse: + content: + application/json: + examples: + example-1: + value: + data: + id: 12345 + type: expense + description: Soggiorno di lavoro + amortization: 1 + rc_center: "" + invoice_number: "" + is_marked: false + is_detailed: false + e_invoice: false + created_at: 2021-08-15 14:02:02 + updated_at: 2021-08-15 14:02:02 + entity: + id: 111 + name: Hotel Rubino Palace + date: 2021-08-15 + next_due_date: 2021-08-15 + currency: + id: EUR + exchange_rate: "1.00000" + symbol: € + amount_net: 592 + amount_vat: 0 + amount_gross: 592 + amount_withholding_tax: 0 + amount_other_withholding_tax: 0 + tax_deductibility: 50 + vat_deductibility: 100 + items_list: null + payments_list: + - amount: 592 + due_date: 2021-08-15 + paid_date: 2021-08-15 + id: 777 + payment_terms: + days: 0 + type: standard + status: paid + payment_account: + id: 222 + name: Contanti + virtual: false + attachment_url: spesa_ger5i783t45hu6ti.pdf + attachment_preview_url: null + extra_data: null + schema: + $ref: "#/components/schemas/GetReceivedDocumentResponse" + description: Document details. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + ListPendingReceivedDocumentsResponse: + content: + application/json: + examples: + example-1: + value: + current_page: 1 + data: + - type: agyo + document_type: expense + description: Soggiorno di lavoro + amortization: 1 + rc_center: "" + invoice_number: "" + is_marked: false + is_detailed: false + e_invoice: false + created_at: 2021-08-15 14:02:02 + updated_at: 2021-08-15 14:02:02 + entity: + id: 111 + name: Hotel Rubino Palace + date: 2021-08-15 + next_due_date: 2021-08-15 + currency: + id: EUR + exchange_rate: "1.00000" + symbol: € + amount_net: 592 + amount_vat: 0 + amount_gross: 592 + amount_withholding_tax: 0 + amount_other_withholding_tax: 0 + tax_deductibility: 50 + vat_deductibility: 100 + items_list: null + payments_list: + - amount: 592 + due_date: 2021-08-15 + paid_date: 2021-08-15 + id: 777 + payment_terms: + days: 0 + type: standard + status: paid + payment_account: + id: 222 + name: Contanti + virtual: false + attachment_url: spesa_ger5i783t45hu6ti.pdf + attachment_preview_url: null + extra_data: null + - type: expense + description: Assicurazione RCA + iamortization: 1 + rc_center: "" + invoice_number: "" + is_marked: false + is_detailed: false + e_invoice: false + created_at: 2021-08-09 14:02:02 + updated_at: 2021-08-09 14:02:02 + entity: + id: 89 + name: Indesa Assicurazioni S.P.A. + date: 2021-08-08 + next_due_date: 2021-08-08 + currency: + id: EUR + exchange_rate: "1.00000" + symbol: € + amount_net: 645.69 + amount_vat: 0 + amount_gross: 645.69 + amount_withholding_tax: 0 + amount_other_withholding_tax: 0 + tax_deductibility: 50 + vat_deductibility: 100 + items_list: null + payments_list: + - amount: 645.69 + due_date: 2021-08-08 + paid_date: 2021-08-08 + id: 999 + payment_terms: + days: 0 + type: standard + status: paid + payment_account: + id: 333 + name: Carta conto + virtual: false + attachment_url: spesa_gjsd567e5hu6ti.pdf + attachment_preview_url: null + extra_data: null + first_page_url: page=1 + from: 1 + last_page: 2 + last_page_url: page=2 + next_page_url: page=2 + path: received_documents + per_page: 50 + prev_page_url: null + to: 50 + total: 123 + schema: + $ref: "#/components/schemas/ListPendingReceivedDocumentsResponse" + description: Results list. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + GetPendingReceivedDocumentResponse: + content: + application/json: + examples: + example-1: + value: + data: + date: 2021-08-15 + type: agyo + subject: Soggiorno di lavoro + filename: fatturaHotel.xml + amortization: 1 + rc_center: "" + invoice_number: "" + is_marked: false + is_detailed: false + e_invoice: false + document_type: expense + created_at: 2021-08-15 14:02:02 + updated_at: 2021-08-15 14:02:02 + entity: + id: 111 + name: Hotel Rubino Palace + next_due_date: 2021-08-15 + currency: + id: EUR + exchange_rate: "1.00000" + symbol: € + amount_net: 592 + amount_vat: 0 + amount_gross: 592 + amount_withholding_tax: 0 + amount_other_withholding_tax: 0 + tax_deductibility: 50 + vat_deductibility: 100 + items_list: null + payments_list: + - amount: 592 + due_date: 2021-08-15 + paid_date: 2021-08-15 + id: 777 + payment_terms: + days: 0 + type: standard + status: paid + payment_account: + id: 222 + name: Contanti + virtual: false + attachment_url: spesa_ger5i783t45hu6ti.pdf + attachment_preview_url: null + extra_data: null + schema: + $ref: "#/components/schemas/GetPendingReceivedDocumentResponse" + description: Document details. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + ModifyReceivedDocumentResponse: + content: + application/json: + examples: + example-1: + value: + data: + id: 12345 + type: expense + description: Soggiorno di lavoro + amortization: 1 + rc_center: "" + invoice_number: "" + is_marked: false + is_detailed: false + e_invoice: false + created_at: 2021-08-15 14:02:02 + updated_at: 2021-08-15 14:02:02 + entity: + id: 111 + name: Hotel Rubino Palace + date: 2021-08-15 + next_due_date: 2021-08-15 + currency: + id: EUR + exchange_rate: "1.00000" + symbol: € + amount_net: 592 + amount_vat: 0 + amount_gross: 592 + amount_withholding_tax: 0 + amount_other_withholding_tax: 0 + tax_deductibility: 50 + vat_deductibility: 100 + items_list: null + payments_list: + - amount: 592 + due_date: 2021-08-15 + paid_date: 2021-08-15 + id: 777 + payment_terms: + days: 0 + type: standard + status: paid + payment_account: + id: 222 + name: Contanti + virtual: false + attachment_url: spesa_ger5i783t45hu6ti.pdf + attachment_preview_url: null + extra_data: null + schema: + $ref: "#/components/schemas/ModifyReceivedDocumentResponse" + description: Modified document. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + GetNewReceivedDocumentTotalsResponse: + content: + application/json: + examples: + example-1: + value: + data: + amount_net: 592 + amount_vat: 10 + amount_gross: 602 + amount_withholding_tax: 0 + amount_other_withholding_tax: 0 + amount_due: 602 + payments_sum: 592 + schema: + $ref: "#/components/schemas/GetNewReceivedDocumentTotalsResponse" + description: Document Totals. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + GetExistingReceivedDocumentTotalsResponse: + content: + application/json: + examples: + example-1: + value: + data: + amount_net: 592 + amount_vat: 20 + amount_gross: 612 + amount_withholding_tax: 0 + amount_other_withholding_tax: 0 + amount_due: 612 + payments_sum: 592 + schema: + $ref: "#/components/schemas/GetExistingReceivedDocumentTotalsResponse" + description: Document Totals. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + UploadReceivedDocumentAttachmentResponse: + content: + application/json: + examples: + example-1: + value: + data: + attachment_token: YmMyNWYxYzIwMTU3N212ABCDZjZiMzg5OWY0ODNkZDQveXl5LmRvYw + schema: + $ref: "#/components/schemas/UploadReceivedDocumentAttachmentResponse" + description: Attachment Token. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + GetReceivedDocumentPreCreateInfoResponse: + content: + application/json: + examples: + example-1: + value: + data: + default_values: + detailed: false + items_default_values: + vat: null + countries_list: + - Italia + - Afghanistan + - Albania + - Algeria + - Andorra + - Angola + - Anguilla + - Antartide + - Antigua e Barbuda + - Antille Olandesi + - Arabia Saudita + - Argentina + - Armenia + - Aruba + - Australia + - Austria + - Azerbaigian + - Bahamas + - Bahrain + - Bangladesh + - Barbados + - Belgio + - Belize + - Benin + - Bermuda + - Bhutan + - Bielorussia + - Bolivia + - Bosnia ed Erzegovina + - Botswana + - Brasile + - Brunei + - Bulgaria + - Burkina Faso + - Burundi + - Cambogia + - Camerun + - Canada + - Capo Verde + - Ciad + - Cile + - Cina + - Cipro + - Città del Vaticano + - Colombia + - Comore + - Corea del Nord + - Corea del Sud + - Costa Rica + - Costa d'Avorio + - Croazia + - Cuba + - Danimarca + - Dominica + - Ecuador + - Egitto + - El Salvador + - Emirati Arabi Uniti + - Eritrea + - Estonia + - Etiopia + - Fiji + - Filippine + - Finlandia + - Francia + - Gabon + - Gambia + - Georgia + - Georgia del Sud e isole Sandwich + - Germania + - Ghana + - Giamaica + - Giappone + - Gibilterra + - Gibuti + - Giordania + - Grecia + - Grenada + - Groenlandia + - Guadalupa + - Guam + - Guatemala + - Guernsey - Channel Islands + - Guinea + - Guinea Equatoriale + - Guinea-Bissau + - Guyana + - Guyana Francese + - Haiti + - Heard Island e McDonald Islands + - Honduras + - Hong Kong + - India + - Indonesia + - Iran + - Iraq + - Irlanda + - Islanda + - Isola Bouvet + - Isola Christmas + - Isola di Man + - Isola Norfolk + - Isole Canarie (Spagna) + - Isole Cayman + - Isole Cocos e Keeling + - Isole Cook + - Isole Falkland + - Isole Fær Øer + - Isole Marianne Settentrionali + - Isole Marshall + - Isole Minori Esterne degli USA + - Isole Pitcairn + - Isole Salomone + - Isole Vergini Americane + - Isole Vergini Britanniche + - Isole Åland + - Israele + - Jersey - Channel Islands + - Kazakistan + - Kenia + - Kirghizistan + - Kiribati + - Kosovo + - Kuwait + - Laos + - Lesotho + - Lettonia + - Libano + - Liberia + - Libia + - Liechtenstein + - Lituania + - Lussemburgo + - Macao + - Macedonia + - Macedonia del Nord + - Madagascar + - Malawi + - Malaysia + - Maldive + - Mali + - Malta + - Marocco + - Martinica + - Mauritania + - Mauritius + - Mayotte + - Messico + - Micronesia + - Moldavia + - Monaco + - Mongolia + - Montenegro + - Montserrat + - Mozambico + - Myanmar + - Namibia + - Nauru + - Nepal + - Nicaragua + - Niger + - Nigeria + - Niue + - Norvegia + - Nuova Caledonia + - Nuova Zelanda + - Oman + - Paesi Bassi + - Pakistan + - Palau + - Panama + - Papua Nuova Guinea + - Paraguay + - Perù + - Polinesia Francese + - Polonia + - Porto Rico + - Portogallo + - Qatar + - Regno Unito + - Repubblica Ceca + - Repubblica Centrafricana + - Repubblica Democratica del Congo + - Repubblica Dominicana + - Repubblica del Congo + - Riunione + - Romania + - Ruanda + - Russia + - Sahara Occidentale + - Saint Barthelemy + - Saint Kitts e Nevis + - Saint Pierre e Miquelon + - Saint Vincent e Grenadine + - Samoa + - Samoa Americane + - San Marino + - Sant'Elena + - Santa Lucia + - Senegal + - Serbia + - Seychelles + - Sierra Leone + - Singapore + - Siria + - Slovacchia + - Slovenia + - Somalia + - Spagna + - Sri Lanka + - Stato di Palestina + - Stati Uniti + - Sudafrica + - Sud Sudan + - Sudan + - Suriname + - Svalbard e Jan Mayen + - Svezia + - Svizzera + - Swaziland + - São Tomé e Príncipe + - Tagikistan + - Taiwan + - Tanzania + - Terre australi e ant. francesi + - Terr. Britannico dell'Oc. Ind. + - Thailandia + - Timor Est + - Togo + - Tokelau + - Tonga + - Trinidad e Tobago + - Tunisia + - Turchia + - Turkmenistan + - Turks e Caicos + - Tuvalu + - Ucraina + - Uganda + - Ungheria + - Uruguay + - Uzbekistan + - Vanuatu + - Venezuela + - Vietnam + - Wallis e Futuna + - Yemen + - Zambia + - Zimbabwe + currencies_list: + - id: AED + symbol: AED + html_symbol: AED + exchange_rate: "4.09500" + - id: ALL + symbol: ALL + html_symbol: ALL + exchange_rate: "121.50000" + - id: AUD + symbol: AUD + html_symbol: AUD + exchange_rate: "1.62094" + - id: AZN + symbol: AZN + html_symbol: AZN + exchange_rate: "2.00130" + - id: BGN + symbol: лв + html_symbol: BGN + exchange_rate: "1.95583" + - id: BRL + symbol: R$ + html_symbol: R$ + exchange_rate: "4.50410" + - id: BYN + symbol: BYN + html_symbol: BYN + exchange_rate: "2.41000" + - id: CAD + symbol: CAD + html_symbol: CAD + exchange_rate: "1.49841" + - id: CFA + symbol: CFA + html_symbol: CFA + exchange_rate: "656.68000" + - id: CHF + symbol: Fr. + html_symbol: Fr. + exchange_rate: "1.12559" + - id: CNY + symbol: CNY + html_symbol: CNY + exchange_rate: "7.70160" + - id: CRC + symbol: ₡ + html_symbol: '₡' + exchange_rate: "659.17000" + - id: CZK + symbol: Kč + html_symbol: CZK + exchange_rate: "25.80600" + - id: DKK + symbol: kr. + html_symbol: kr. + exchange_rate: "7.46750" + - id: DOP + symbol: DOP + html_symbol: DOP + exchange_rate: "56.50000" + - id: DZD + symbol: DZD + html_symbol: DZD + exchange_rate: "134.28300" + - id: EGP + symbol: EGP + html_symbol: EGP + exchange_rate: "18.98030" + - id: EUR + symbol: € + html_symbol: '€' + exchange_rate: "1.00000" + - id: GBP + symbol: £ + html_symbol: '£' + exchange_rate: "0.88096" + - id: GHS + symbol: GHS + html_symbol: GHS + exchange_rate: "5.45834" + - id: HKD + symbol: HK$ + html_symbol: HK$ + exchange_rate: "8.75450" + - id: HRK + symbol: HRK + html_symbol: HRK + exchange_rate: "7.42640" + - id: HUF + symbol: HUF + html_symbol: HUF + exchange_rate: "326.24000" + - id: ILS + symbol: ₪ + html_symbol: '₪' + exchange_rate: "4.02680" + - id: INR + symbol: INR + html_symbol: INR + exchange_rate: "77.76050" + - id: ISK + symbol: ISK + html_symbol: ISK + exchange_rate: "135.94600" + - id: JPY + symbol: ¥ + html_symbol: '¥' + exchange_rate: "123.05800" + - id: KRW + symbol: KRW + html_symbol: KRW + exchange_rate: "1329.20000" + - id: MAD + symbol: MAD + html_symbol: MAD + exchange_rate: "10.78900" + - id: MKD + symbol: MKD + html_symbol: MKD + exchange_rate: "61.36700" + - id: MXN + symbol: Mex$ + html_symbol: Mex$ + exchange_rate: "21.17900" + - id: MYR + symbol: MYR + html_symbol: MYR + exchange_rate: "4.67310" + - id: NGN + symbol: NGN + html_symbol: NGN + exchange_rate: "405.17000" + - id: NIS + symbol: NIS + html_symbol: NIS + exchange_rate: "4020.00000" + - id: NOK + symbol: kr + html_symbol: kr + exchange_rate: "9.76270" + - id: NZD + symbol: NZD + html_symbol: NZD + exchange_rate: "1.71687" + - id: OMR + symbol: OMR + html_symbol: OMR + exchange_rate: "0.42950" + - id: PEN + symbol: PEN + html_symbol: PEN + exchange_rate: "3.73400" + - id: PLN + symbol: zł + html_symbol: PLN + exchange_rate: "4.30330" + - id: QAR + symbol: QAR + html_symbol: QAR + exchange_rate: "4.06270" + - id: RON + symbol: RON + html_symbol: RON + exchange_rate: "4.66891" + - id: RSD + symbol: RSD + html_symbol: RSD + exchange_rate: "117.39414" + - id: RUB + symbol: ₽ + html_symbol: '₽' + exchange_rate: "71.70370" + - id: SAR + symbol: SAR + html_symbol: SAR + exchange_rate: "4.18520" + - id: SEK + symbol: SEK + html_symbol: SEK + exchange_rate: "10.73374" + - id: SGD + symbol: SGD + html_symbol: SGD + exchange_rate: "1.53800" + - id: THB + symbol: THB + html_symbol: THB + exchange_rate: "35.56400" + - id: TND + symbol: TND + html_symbol: TND + exchange_rate: "3.34010" + - id: TRY + symbol: TRY + html_symbol: TRY + exchange_rate: "6.81590" + - id: TWD + symbol: TWD + html_symbol: TWD + exchange_rate: "35.14200" + - id: UAH + symbol: UAH + html_symbol: UAH + exchange_rate: "29.31490" + - id: USD + symbol: $ + html_symbol: '$' + exchange_rate: "1.11570" + - id: VND + symbol: ₫ + html_symbol: '₫' + exchange_rate: "26100.00000" + - id: ZAR + symbol: R + html_symbol: R + exchange_rate: "16.03080" + categories_list: + - Auto + - Telefono e internet + - Assicurazioni e quote + - Auto ed altri veicoli + - Computer e accessori + - Server e hosting + - merda + - Prva + - Farina etc. + - Cat + - Cibo + - gigi d'asti + - banca d'asti + - Varie + - zzzzz + - ooooo + - aaa + - ffff + - www + - bbb + payment_accounts_list: + - id: 111 + name: Indesa - carta conto + - id: 222 + name: Contanti + - id: 333 + name: Bonifico_Bancario + vat_types_list: + - id: 1334 + value: 0 + description: Non imp. art. 17 c. 6 DPR 633/72 e s.m.i. + is_disabled: false + - id: 1333 + value: 0 + description: Non sogg. art. 74 c. 7 e 8 DPR 633/72 + is_disabled: false + - id: 1332 + value: 0 + description: Non imp. art. 17 c. 6 lett. A TER DPR 633/72 + is_disabled: false + - id: 1020 + value: 0 + description: PA Non imp art. 2 + is_disabled: false + - id: 1018 + value: 0 + description: Aliq. 22% reverse charge + is_disabled: false + - id: 1015 + value: 22 + description: Speciale prova + is_disabled: false + - id: 1014 + value: 0 + description: Ai sensi dellarticolo 123 + is_disabled: false + - id: 1013 + value: 0 + description: Non imponibile art. 8 lett. A DPR 633/72 + is_disabled: false + - id: 1010 + value: 0 + description: NON IMPONIBILE IVA EX ART. 8 COMMA 1 LETT.A + is_disabled: false + - id: 1009 + value: 20 + description: Aliquota 20% + is_disabled: false + - id: 1008 + value: 0 + description: Non imp. art. 41 D.L. 427/93 + is_disabled: false + - id: 1007 + value: 0 + description: Non imp. art. 71 DPR 633/72 + is_disabled: false + - id: 1006 + value: 0 + description: Escl. art. 15 DPR 633/72 + is_disabled: false + - id: 1004 + value: 0 + description: Non imp. art. 1 L. 244/2007 + is_disabled: false + - id: 1003 + value: 0 + description: Non imp. art. 8 DPR 633/72 + is_disabled: false + - id: 1002 + value: 0 + description: Omaggi art. 2 c. 2 n. 4 DPR 633/72 + is_disabled: false + - id: 1000 + value: 0 + description: art.26 COMMA' 3 DPR 633/72 + is_disabled: false + - id: 7 + value: 0 + description: Regime dei minimi + is_disabled: false + - id: 9 + value: 0 + description: Fuori campo IVA + is_disabled: false + - id: 10 + value: 0 + description: "Oper. non soggetta, art.7 ter" + is_disabled: false + - id: 11 + value: 0 + description: "Inversione contabile, art.7 ter" + is_disabled: false + - id: 12 + value: 0 + description: Non Imponibile + is_disabled: false + - id: 13 + value: 0 + description: Non Imp. Art.8 + is_disabled: false + - id: 14 + value: 0 + description: Non Imp. Art.9 1C + is_disabled: false + - id: 15 + value: 0 + description: Non Imp. Art.14 Legge 537/93 + is_disabled: false + - id: 16 + value: 0 + description: Non Imp. Art.41 D.P.R. 331/93 + is_disabled: false + - id: 17 + value: 0 + description: "Non Imp. Art.72, D.P.R. 633/72" + is_disabled: false + - id: 18 + value: 0 + description: Non Imp. Art.74 quotidiani/libri + is_disabled: false + - id: 19 + value: 0 + description: Escluso Art.10 + is_disabled: false + - id: 20 + value: 0 + description: Escluso Art.13 5C DPR 633/72 + is_disabled: false + - id: 21 + value: 0 + description: Escluso Art.15 + is_disabled: false + - id: 23 + value: 0 + description: Escluso Art.74 ter D.P.R. 633/72 + is_disabled: false + - id: 24 + value: 0 + description: Escluso Art.10 comma 1 + is_disabled: false + - id: 25 + value: 0 + description: Escluso Art.10 comma 20 + is_disabled: false + - id: 26 + value: 0 + description: Non Imp. Art.9 + is_disabled: false + - id: 27 + value: 0 + description: Escluso Art.10 n.27 D.P.R 633/72 + is_disabled: false + - id: 30 + value: 0 + description: Regime del margine art.36 41/95 + is_disabled: false + - id: 31 + value: 0 + description: Escluso Art.3 comma 4 D.P.R 633/72 + is_disabled: false + - id: 32 + value: 0 + description: Escluso Art.15/1c D.P.R 633/72 + is_disabled: false + - id: 33 + value: 0 + description: Non imp. Art.8/c D.P.R. 633/72 + is_disabled: false + - id: 34 + value: 0 + description: Non Imp. Art.7 ter + is_disabled: false + - id: 35 + value: 0 + description: Escluso Art.7 D.P.R 633/72 + is_disabled: false + - id: 36 + value: 22 + description: Esigibilita differita Art. 6 comma 5 D.P.R 633/72 + is_disabled: false + - id: 37 + value: 0 + description: Escluso Art.10 comma 9 + is_disabled: false + - id: 38 + value: 0 + description: Non imp. Art.7 quater DPR 633/72 + is_disabled: false + - id: 39 + value: 0 + description: Non Imp. Art.8 comma 1A + is_disabled: false + - id: 44 + value: 0 + description: Fuori Campo IVA Art.7 ter D.P.R 633/72 + is_disabled: false + - id: 45 + value: 0 + description: Non Imp. Art.10 n.18 DPR 633/72 + is_disabled: false + - id: 46 + value: 0 + description: Esente Art.10 DPR 633/72 + is_disabled: false + - id: 48 + value: 0 + description: Non imp. art.40 D.L. 427/93 + is_disabled: false + - id: 49 + value: 0 + description: Non imp. art.41 D.L. 427/93 + is_disabled: false + - id: 51 + value: 0 + description: Non imp. art.8 DPR 633/72 + is_disabled: false + - id: 52 + value: 0 + description: Non imp. art.9 DPR 633/72 + is_disabled: false + - id: 53 + value: 0 + description: Regime minimi 2015 + is_disabled: false + - id: 55 + value: 0 + description: Non soggetta IVA + is_disabled: false + - id: 56 + value: 0 + description: R.C. art. 74/7-8 rottami e metalli ferrosi e non + is_disabled: false + - id: 57 + value: 0 + description: R.C. art. 17/5 materiale oro e argento + is_disabled: false + - id: 58 + value: 0 + description: R.C. art. 17/6/a settore edile subappalto + is_disabled: false + - id: 59 + value: 0 + description: R.C. art. 17/6/a-bis fabbricati + is_disabled: false + - id: 60 + value: 0 + description: R.C. art. 17/6/b telefoni cellulari + is_disabled: false + - id: 61 + value: 0 + description: R.C. art. 17/6/c prodotti elettronici + is_disabled: false + - id: 62 + value: 0 + description: R.C. art. 17/6/a-ter servizi comparto edile e settori + connessi + is_disabled: false + - id: 63 + value: 0 + description: "R.C. art. 17/6/d-bis,d-ter,d-quater gas/energia\ + \ elettrica" + is_disabled: false + - id: 64 + value: 0 + description: Non imp. art.71 DPR 633/72 (Vaticano) + is_disabled: false + - id: 65 + value: 0 + description: Non imp. art.71 DPR 633/72 (RSM) + is_disabled: false + - id: 66 + value: 0 + description: Contribuenti forfettari + is_disabled: false + schema: + $ref: "#/components/schemas/GetReceivedDocumentPreCreateInfoResponse" + description: Pre-create info + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + ListReceiptsResponse: + content: + application/json: + examples: + example-1: + value: + current_page: 1 + data: + - id: 12345 + date: 2021-08-20 + number: 5 + numeration: REC005 + amount_net: 16.39 + amount_vat: 3.61 + amount_gross: 20 + use_gross_prices: true + type: sales_receipt + description: cassa 1 + rc_center: "" + created_at: 2021-08-20 13:56:56 + updated_at: 2021-08-20 13:56:56 + payment_account: + id: 222 + name: carta di credito + items_list: + - id: 666 + amount_net: 10 + amount_vat: 2.2 + amount_gross: 12.2 + category: altro + vat: + id: 0 + value: 22 + description: iva + - id: 777 + amount_net: 100 + amount_vat: 4 + amount_gross: 104 + category: altro + vat: + id: 0 + value: 22 + description: iva + - id: 12346 + date: 2021-08-19 + number: 6 + numeration: REC006 + amount_net: 8.2 + amount_vat: 1.8 + amount_gross: 10 + use_gross_prices: true + type: sales_receipt + description: cassa 1 + rc_center: "" + created_at: 2021-08-19 17:57:56 + updated_at: 2021-08-19 17:57:56 + payment_account: + id: 555 + name: contanti + items_list: + - id: 888 + amount_net: 8.2 + amount_vat: 1.8 + amount_gross: 10 + category: altro + vat: + id: 0 + value: 22 + description: iva + first_page_url: page=1 + from: 1 + last_page: 4 + last_page_url: page=4 + next_page_url: page=2 + path: receipts + per_page: 50 + prev_page_url: null + to: 50 + total: 65 + schema: + $ref: "#/components/schemas/ListReceiptsResponse" + description: Receipts list. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + CreateReceiptResponse: + content: + application/json: + examples: + example-1: + value: + data: + id: 12346 + date: 2021-08-19 + number: 6 + numeration: REC006 + amount_net: 8.2 + amount_vat: 1.8 + amount_gross: 10 + use_gross_prices: true + type: sales_receipt + description: cassa 1 + rc_center: "" + created_at: 2021-08-19 17:57:56 + updated_at: 2021-08-19 17:57:56 + payment_account: + id: 555 + name: contanti + items_list: + - id: 888 + amount_net: 8.2 + amount_vat: 1.8 + amount_gross: 10 + category: altro + vat: + id: 0 + value: 22 + description: iva + schema: + $ref: "#/components/schemas/CreateReceiptResponse" + description: Created Receipt. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + GetReceiptResponse: + content: + application/json: + examples: + example-1: + value: + data: + id: 12346 + date: 2021-08-19 + number: 6 + numeration: REC006 + amount_net: 8.2 + amount_vat: 1.8 + amount_gross: 10 + use_gross_prices: true + type: sales_receipt + description: cassa 1 + rc_center: "" + created_at: 2021-08-19 17:57:56 + updated_at: 2021-08-19 17:57:56 + payment_account: + id: 555 + name: contanti + items_list: + - id: 888 + amount_net: 8.2 + amount_vat: 1.8 + amount_gross: 10 + category: altro + vat: + id: 0 + value: 22 + description: iva + schema: + $ref: "#/components/schemas/GetReceiptResponse" + description: Receipt Details. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + ModifyReceiptResponse: + content: + application/json: + examples: + example-1: + value: + data: + id: 12346 + date: 2021-08-19 + number: 6 + numeration: REC006 + amount_net: 8.2 + amount_vat: 1.8 + amount_gross: 10 + use_gross_prices: true + type: sales_receipt + description: cassa 1 + rc_center: "" + created_at: 2021-08-19 17:57:56 + updated_at: 2021-08-19 17:57:56 + payment_account: + id: 555 + name: contanti + items_list: + - id: 888 + amount_net: 8.2 + amount_vat: 1.8 + amount_gross: 10 + category: altro + vat: + id: 0 + value: 22 + description: iva + schema: + $ref: "#/components/schemas/ModifyReceiptResponse" + description: Modified receipt. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + GetReceiptPreCreateInfoResponse: + content: + application/json: + examples: + example-1: + value: + data: + numerations: + "2016": + sales_receipt: + REC003: 12 + REC002: 5 + REC001: 2 + till_receipt: + REC002: 6 + REC001: 2 + "2017": + sales_receipt: + REC003: 14 + REC002: 7 + REC001: 1 + till_receipt: + REC003: 1 + REC001: 3 + "2018": + sales_receipt: + REC001: 3 + "2019": + sales_receipt: + REC002: 105 + REC001: 22 + till_receipt: + REC003: 21 + REC002: 24 + REC001: 25 + "2020": + sales_receipt: + REC001: 3 + "2021": + sales_receipt: + REC005: 3 + REC004: 2 + REC003: 2 + REC001: 7 + numerations_list: + - REC001 + - REC002 + - REC003 + - REC005 + - REC006 + rc_centers_list: + - Sede generale + - Negozio Bergamo + - Negozio Milano + payment_accounts_list: + - id: 111 + name: Indesa - carta conto + - id: 222 + name: Contanti + - id: 333 + name: Bonifico Bancario + categories_list: + - altro + - arredamento + vat_types_list: + - id: 1334 + value: 0 + description: Non imp. art. 17 c. 6 DPR 633/72 e s.m.i. + is_disabled: false + - id: 1333 + value: 0 + description: Non sogg. art. 74 c. 7 e 8 DPR 633/72 + is_disabled: false + - id: 1332 + value: 0 + description: Non imp. art. 17 c. 6 lett. A TER DPR 633/72 + is_disabled: false + - id: 1331 + value: 22 + description: Pippus + is_disabled: false + - id: 1330 + value: 0 + description: Natura 4 + is_disabled: false + - id: 1020 + value: 0 + description: PA Non imp art. 2 + is_disabled: false + - id: 1018 + value: 0 + description: Aliq. 22% reverse charge + is_disabled: false + - id: 1015 + value: 22 + description: Speciale prova + is_disabled: false + - id: 1014 + value: 0 + description: Ai sensi dellarticolo 123 + is_disabled: false + - id: 1013 + value: 0 + description: Non imponibile art. 8 lett. A DPR 633/72 + is_disabled: false + - id: 1010 + value: 0 + description: NON IMPONIBILE IVA EX ART. 8 COMMA 1 LETT.A + is_disabled: false + - id: 1009 + value: 20 + description: Aliquota 20% + is_disabled: false + - id: 1008 + value: 0 + description: Non imp. art. 41 D.L. 427/93 + is_disabled: false + - id: 1007 + value: 0 + description: Non imp. art. 71 DPR 633/72 + is_disabled: false + - id: 1006 + value: 0 + description: Escl. art. 15 DPR 633/72 + is_disabled: false + - id: 1004 + value: 0 + description: Non imp. art. 1 L. 244/2007 + is_disabled: false + - id: 1003 + value: 0 + description: Non imp. art. 8 DPR 633/72 + is_disabled: false + - id: 1002 + value: 0 + description: Omaggi art. 2 c. 2 n. 4 DPR 633/72 + is_disabled: false + - id: 1000 + value: 0 + description: art.26 COMMA' 3 DPR 633/72 + is_disabled: false + schema: + $ref: "#/components/schemas/GetReceiptPreCreateInfoResponse" + description: Pre-create info. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + GetReceiptsMonthlyTotalsResponse: + content: + application/json: + examples: + example-1: + value: + data: + - net: 15000 + gross: 18000 + count: 10 + - net: 18000 + gross: 22000 + count: 20 + - net: 20000 + gross: 24400 + count: 30 + - net: 19000 + gross: 22000 + count: 20 + - net: 17000 + gross: 20000 + count: 10 + - net: 18000 + gross: 24000 + count: 21 + - net: 22000 + gross: 25000 + count: 30 + - net: 17000 + gross: 21000 + count: 21 + - net: 0 + gross: 0 + count: 10 + - net: 0 + gross: 0 + count: 20 + - net: 0 + gross: 0 + count: 30 + - net: 0 + gross: 0 + count: 21 + schema: + $ref: "#/components/schemas/GetReceiptsMonthlyTotalsResponse" + description: Monthly Totals. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + ListF24Response: + content: + application/json: + examples: + example-1: + value: + current_page: 1 + data: + - id: 12345 + amount: 840.36 + description: PAGAMENTO IVA 2021 + due_date: 2021-12-31 + status: paid + payment_account: + id: 111 + name: Indesa - carta conto + attachment_url: b19c01da9b1688fb73d0d9e8adae89a8.pdf + - id: 12346 + amount: 810.62 + description: PAGAMENTO IVA 2020 + due_date: 2020-12-31 + status: paid + payment_account: + id: 111 + name: Indesa - carta conto + attachment_url: bb6df8490dad4770353b378ea926d8ba.pdf + first_page_url: page=1 + from: 1 + last_page: 1 + last_page_url: page=1 + next_page_url: null + path: taxes + per_page: 50 + prev_page_url: null + to: 2 + total: 2 + aggregated_data: + amount: "6438.96" + schema: + $ref: "#/components/schemas/ListF24Response" + description: Results list. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + CreateF24Response: + content: + application/json: + examples: + example-1: + value: + data: + id: 12345 + amount: 840.36 + description: PAGAMENTO IVA 2021 + due_date: 2021-12-31 + status: paid + payment_account: + id: 111 + name: Indesa - carta conto + attachment_url: b19c01da9b1688fb73d0d9e8adae89a8.pdf + schema: + $ref: "#/components/schemas/CreateF24Response" + description: The created F24 + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + GetF24Response: + content: + application/json: + examples: + example-1: + value: + data: + id: 12345 + amount: 840.36 + description: PAGAMENTO IVA 2021 + due_date: 2021-12-31 + status: paid + payment_account: + id: 111 + name: Indesa - carta conto + attachment_url: b19c01da9b1688fb73d0d9e8adae89a8.pdf + schema: + $ref: "#/components/schemas/GetF24Response" + description: The F24 + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + ModifyF24Response: + content: + application/json: + examples: + example-1: + value: + data: + id: 12345 + amount: 840.36 + description: PAGAMENTO IVA 2021 + due_date: 2021-12-31 + status: paid + payment_account: + id: 111 + name: Indesa - carta conto + attachment_url: b19c01da9b1688fb73d0d9e8adae89a8.pdf + schema: + $ref: "#/components/schemas/ModifyF24Response" + description: The modified F24 + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + UploadF24AttachmentResponse: + content: + application/json: + examples: + example-1: + value: + data: + attachment_token: YmMyNWYxYzIwMTU3N2Y4ZGE3ZjZiMzg5OWY0ODNkZDQveXl5LmRvYw + schema: + $ref: "#/components/schemas/UploadF24AttachmentResponse" + description: Attachment Token. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + ListArchiveDocumentsResponse: + content: + application/json: + examples: + example-1: + value: + current_page: 1 + data: + - id: 12345 + date: 2021-08-20 + category: Altri documenti + description: spesa 2 + attachment_url: spesa2.pdf + - id: 12346 + date: 2021-08-19 + category: Altri documenti + description: spesa 1 + attachment_url: spesa1.pdf + first_page_url: page=1 + from: 1 + last_page: 1 + last_page_url: page=1 + next_page_url: null + path: /archive + per_page: 50 + prev_page_url: null + to: 2 + total: 2 + schema: + $ref: "#/components/schemas/ListArchiveDocumentsResponse" + description: Results list. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + CreateArchiveDocumentResponse: + content: + application/json: + examples: + example-1: + value: + data: + id: 12345 + date: 2021-08-20 + category: Altri documenti + description: spesa 1 + attachment_url: spesa1.pdf + schema: + $ref: "#/components/schemas/CreateArchiveDocumentResponse" + description: The Archive Document. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + GetArchiveDocumentResponse: + content: + application/json: + examples: + example-1: + value: + data: + id: 12345 + date: 2021-08-20 + category: Altri documenti + description: spesa 2 + attachment_url: spesa2.pdf + schema: + $ref: "#/components/schemas/GetArchiveDocumentResponse" + description: Archive Document Details + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + ModifyArchiveDocumentResponse: + content: + application/json: + examples: + example-1: + value: + data: + id: 12345 + date: 2021-08-20 + category: Altri documenti + description: spesa 2 + attachment_url: spesa2.pdf + schema: + $ref: "#/components/schemas/ModifyArchiveDocumentResponse" + description: The modified Archived Document + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + ListCashbookEntriesResponse: + content: + application/json: + examples: + example-1: + value: + data: + - date: 2021-08-24 + amount_in: 122 + payment_account_in: + id: 333 + description: Fattura n. 201/2021 + entity_name: Rossi S.r.l. + kind: issued_document + document: + id: 54321 + type: in + - date: 2021-08-29 + amount_out: 211 + payment_account_out: + id: 444 + description: Fattura n. 202/2021 + entity_name: Red S.r.l. + kind: issued_document + document: + id: 12345 + type: out + schema: + $ref: "#/components/schemas/ListCashbookEntriesResponse" + description: Results list. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + CreateCashbookEntryResponse: + content: + application/json: + examples: + example-1: + value: + data: + id: 54321 + date: 2021-08-24 + amount_in: 122 + amount_out: 0 + description: Fattura n. 201/2021 + payment_account_in: + id: 21 + name: Indesa - Carta conto + payment_account_out: null + kind: cashbook + schema: + $ref: "#/components/schemas/CreateCashbookEntryResponse" + description: The created Cashbook Entry. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + GetCashbookEntryResponse: + content: + application/json: + examples: + example-1: + value: + data: + date: 2021-08-24 + amount_in: 122 + payment_account_in: + id: 333 + description: Fattura n. 201/2021 + entity_name: Rossi S.r.l. + kind: issued_document + document: + id: 54321 + type: in + schema: + $ref: "#/components/schemas/GetCashbookEntryResponse" + description: Cashbook Entry. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + ModifyCashbookEntryResponse: + content: + application/json: + examples: + example-1: + value: + data: + date: 2021-08-24 + amount_in: 122 + payment_account_in: + id: 333 + description: Fattura n. 201/2021 + entity_name: Rossi S.r.l. + kind: issued_document + document: + id: 54321 + type: in + schema: + $ref: "#/components/schemas/ModifyCashbookEntryResponse" + description: The modified Cashbook Entry + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + ListCountriesResponse: + content: + application/json: + examples: + example-1: + value: + data: + - Italia + - Afghanistan + - Albania + - Algeria + - Andorra + - Angola + - Anguilla + - '...' + schema: + $ref: "#/components/schemas/ListCountriesResponse" + description: List of countries + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + ListCitiesResponse: + content: + application/json: + examples: + example-1: + value: + data: + - postal_code: "89867" + city: Zungri + province: VV + - postal_code: "83020" + city: Aiello del Sabato + province: AV + - postal_code: "83011" + city: Altavilla Irpina + province: AV + schema: + $ref: "#/components/schemas/ListCitiesResponse" + description: Cities List. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + ListLanguagesResponse: + content: + application/json: + examples: + example-1: + value: + data: + - code: it + name: Italiano + - code: en + name: Inglese + schema: + $ref: "#/components/schemas/ListLanguagesResponse" + description: LanguagesList + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + ListTemplatesResponse: + content: + application/json: + examples: + example-1: + value: + data: + - id: 10 + name: New Standard S1 + - id: 106 + name: Minimalist + schema: + $ref: "#/components/schemas/ListTemplatesResponse" + description: Templates list. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + ListCurrenciesResponse: + content: + application/json: + examples: + example-1: + value: + data: + - id: AED + symbol: AED + html_symbol: AED + exchange_rate: "4.09500" + - id: EUR + symbol: € + html_symbol: '€' + exchange_rate: "1.00000" + schema: + $ref: "#/components/schemas/ListCurrenciesResponse" + description: Currencies List. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + ListUnitsOfMeasureResponse: + content: + application/json: + examples: + example-1: + value: + data: + - pezzi + - kg + - litri + - ore + - giorni + - km + - mesi + schema: + $ref: "#/components/schemas/ListUnitsOfMeasureResponse" + description: Units of measure. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + ListDeliveryNotesDefaultCausalsResponse: + content: + application/json: + examples: + example-1: + value: + data: + - Vendita + - Conto visione + - Conto deposito + - Conto vendita + - Tentata vendita + - Prestito d'uso + - Conto lavorazione + - Omaggio + - Riparazione + - Reso per accredito + - Reso per sostituzione + schema: + $ref: "#/components/schemas/ListDeliveryNotesDefaultCausalsResponse" + description: List of Delivery Notes Default Causals + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + ListVatTypesResponse: + content: + application/json: + examples: + example-1: + value: + data: + - id: 0 + value: 22 + description: Non imponibile art. 123 + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: string + ei_type: 2 + ei_description: string + editable: true + - id: 1010 + value: 0 + description: NON IMPONIBILE IVA EX ART. 8 COMMA 1 LETT.A + notes: "" + e_invoice: false + ei_type: 0 + ei_description: null + is_disabled: false + editable: true + schema: + $ref: "#/components/schemas/ListVatTypesResponse" + description: List of Vat Types. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + ListPaymentMethodsResponse: + content: + application/json: + examples: + example-1: + value: + data: + - id: 12345 + name: Carta di credito + is_default: false + default_payment_account: null + - id: 12346 + name: Bonifico bancario + is_default: true + default_payment_account: null + schema: + $ref: "#/components/schemas/ListPaymentMethodsResponse" + description: Payment methods list. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + ListPaymentAccountsResponse: + content: + application/json: + examples: + example-1: + value: + data: + - id: 21 + name: Indesa - Carta conto + type: standard + iban: null + sia: null + virtual: false + - id: 109 + name: Indesa + type: bank + iban: IT17A1234563200000003498936 + sia: IN234 + virtual: false + schema: + $ref: "#/components/schemas/ListPaymentAccountsResponse" + description: Payment accounts list. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + ListRevenueCentersResponse: + content: + application/json: + examples: + example-1: + value: + data: + - Negozio Bergamo + - Negozio Milano + schema: + $ref: "#/components/schemas/ListRevenueCentersResponse" + description: List of Revenue Centers + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + ListCostCentersResponse: + content: + application/json: + examples: + example-1: + value: + data: + - Negozio Bergamo + - Negozio Milano + schema: + $ref: "#/components/schemas/ListCostCentersResponse" + description: List of Cost Centers + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + ListProductCategoriesResponse: + content: + application/json: + examples: + example-1: + value: + data: + - Alimentari + - Arredamento + schema: + $ref: "#/components/schemas/ListProductCategoriesResponse" + description: Product Categories List + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + ListReceivedDocumentCategoriesResponse: + content: + application/json: + examples: + example-1: + value: + data: + - Telefono e internet + - Assicurazioni e quote + - Auto ed altri veicoli + - Computer e accessori + - Server e hosting + schema: + $ref: "#/components/schemas/ListReceivedDocumentCategoriesResponse" + description: Received Document Categories List + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + ListArchiveCategoriesResponse: + content: + application/json: + examples: + example-1: + value: + data: + - Altri documenti + - Conferme d'ordine + - Contratti + - Dichiarazioni dei redditi + - Documenti per detrazioni + - Estratti conto bancari + - Estratti conto carte di credito + schema: + $ref: "#/components/schemas/ListArchiveCategoriesResponse" + description: Archive Categories list. + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + UploadArchiveAttachmentResponse: + content: + application/json: + examples: + example-1: + value: + data: + attachment_token: YmMyNWYxYzIwMTU3N212ABCDZjZiMzg5OWY0ODNkZDQveXl5LmRvYw + schema: + $ref: "#/components/schemas/UploadArchiveAttachmentResponse" + description: Example response + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + CreatePaymentMethodResponse: + content: + application/json: + examples: + example-1: + value: + data: + id: 386683 + name: Bonifico bancario + is_default: true + type: standard + details: + - title: Banca + description: Sao Paulo + default_payment_account: + id: 12345 + name: conto banca SP + schema: + $ref: "#/components/schemas/CreatePaymentMethodResponse" + description: Example response + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + GetPaymentMethodResponse: + content: + application/json: + examples: + example-1: + value: + data: + id: 386683 + name: Bonifico bancario + is_default: true + type: standard + details: + - title: Banca + description: Sao Paulo + default_payment_account: + id: 12345 + name: conto banca SP + schema: + $ref: "#/components/schemas/GetPaymentMethodResponse" + description: Example response + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + ModifyPaymentMethodResponse: + content: + application/json: + examples: + example-1: + value: + data: + id: 386683 + name: Bonifico bancario + is_default: true + type: standard + details: + - title: Banca + description: Sao Paulo + default_payment_account: + id: 12345 + name: conto banca SP + schema: + $ref: "#/components/schemas/ModifyPaymentMethodResponse" + description: Example response + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + CreatePaymentAccountResponse: + content: + application/json: + examples: + example-1: + value: + data: + id: 12345 + name: Indesa + type: bank + iban: IT17Q0051343200000003497636 + sia: T1234 + virtual: false + schema: + $ref: "#/components/schemas/CreatePaymentAccountResponse" + description: Example response + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + GetPaymentAccountResponse: + content: + application/json: + examples: + example-1: + value: + data: + id: 12345 + name: Indesa + type: bank + iban: IT17Q0051343200000003497636 + sia: T1234 + virtual: false + schema: + $ref: "#/components/schemas/GetPaymentAccountResponse" + description: Example response + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + ModifyPaymentAccountResponse: + content: + application/json: + examples: + example-1: + value: + data: + id: 12345 + name: Indesa + type: bank + iban: IT17Q0051343200000003497636 + sia: T1234 + virtual: false + schema: + $ref: "#/components/schemas/ModifyPaymentAccountResponse" + description: Example response + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + CreateVatTypeResponse: + content: + application/json: + examples: + example-1: + value: + data: + id: 0 + value: 22 + description: Non imponibile art. 123 + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: 2 + ei_description: string + editable: true + is_disabled: true + schema: + $ref: "#/components/schemas/CreateVatTypeResponse" + description: Example response + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + GetTemplatesResponse: + content: + application/json: + examples: + example-1: + value: + data: + id: 10 + privacy: gallery_all + name: New Standard S1 + type: standard + can_disable_watermark: false + schema: + $ref: "#/components/schemas/GetTemplatesResponse" + description: Example response + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + GetVatTypeResponse: + content: + application/json: + examples: + example-1: + value: + data: + id: 0 + value: 22 + description: Non imponibile art. 123 + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: 2 + ei_description: string + editable: true + is_disabled: true + schema: + $ref: "#/components/schemas/GetVatTypeResponse" + description: Example response + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + ModifyVatTypeResponse: + content: + application/json: + examples: + example-1: + value: + data: + id: 0 + value: 22 + description: Non imponibile art. 123 + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: 2 + ei_description: string + editable: true + is_disabled: true + schema: + $ref: "#/components/schemas/ModifyVatTypeResponse" + description: Example response + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + GetEInvoiceXmlResponse: + content: + text/xml: + schema: + $ref: "#/components/schemas/GetEInvoiceXmlResponse" + description: "" + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + GetEInvoiceRejectionReasonResponse: + content: + application/json: + examples: + example-1: + value: + data: + reason: La Partita IVA della tua azienda risulta sbagliata e/o cessata. + ei_status: rejected + solution: "Puoi correggere la tua Partita IVA in: Impostazioni >\ + \ Azienda > Informazioni di fatturazione." + date: 2023-06-06 + schema: + $ref: "#/components/schemas/GetEInvoiceRejectionReasonResponse" + description: Example response + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + ListDetailedCountriesResponse: + content: + application/json: + examples: + example-1: + value: + data: + - name: Italia + settings_name: Italia + iso: IT + fiscal_iso: IT + uic: "086" + - name: Afghanistan + settings_name: Afghanistan + iso: AF + fiscal_iso: AF + uic: "002" + - name: Albania + settings_name: Albania + iso: AL + fiscal_iso: AL + uic: "087" + schema: + $ref: "#/components/schemas/ListDetailedCountriesResponse" + description: List of detailed countries + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + TransformIssuedDocumentResponse: + content: + application/json: + examples: + example-1: + value: + data: + type: invoice + year: 2022 + numeration: "" + subject: "" + visible_subject: "" + rc_center: "" + ei_cassa_type: null + ei_withholding_tax_causal: null + ei_other_withholding_tax_type: null + ei_other_withholding_tax_causal: null + stamp_duty: 0 + use_gross_prices: false + e_invoice: false + agyo_company_id: null + agyo_id: null + agyo_sent_at: null + delivery_note: false + accompanying_invoice: false + amount_net: 68.18 + amount_vat: 6.82 + amount_gross: 75 + amount_due_discount: 0 + amount_rivalsa: 0 + amount_cassa: 0 + amount_withholding_tax: 0 + amount_other_withholding_tax: 0 + h_margins: 15 + v_margins: 16 + show_payment_method: false + show_payments: true + show_totals: all + show_notification_button: false + is_marked: false + created_at: 2022-08-13 09:30:20 + updated_at: 2022-08-23 05:34:20 + entity: + id: 54321 + name: Mary Red S.r.L. + vat_number: IT05432181211 + tax_code: IT05432181211 + address_street: "Via Italia, 66" + address_postal_code: "20900" + address_city: Milano + address_province: MI + address_extra: "" + country: Italia + certified_email: mary@pec.red.com + ei_code: ABCXCR1 + date: 2021-08-20 + number: 1 + currency: + id: EUR + exchange_rate: "1.00000" + symbol: € + language: + code: it + name: Italiano + notes: "" + rivalsa: 0 + cassa: 0 + withholding_tax: 0 + withholding_tax_taxable: 100 + other_withholding_tax: 0 + payment_method: + id: 4 + name: Credit card + use_split_payment: false + merged_in: null + original_document: null + items_list: + - product_id: 5432 + code: SG3 + name: Soggiorno + measure: "" + net_price: 68.18182 + category: "" + id: 277876033 + gross_price: 75 + apply_withholding_taxes: true + discount: 0 + discount_highlight: false + in_dn: false + qty: 1 + vat: + id: 3 + value: 10 + description: "" + stock: false + description: "" + not_taxable: false + payments_list: + - amount: 75 + due_date: 2020-08-23 + paid_date: null + id: 69078013 + payment_terms: + days: 0 + type: standard + status: not_paid + attachment_url: kdijrnf893hnwkfk45f50f.pdf + seen_date: null + next_due_date: 2020-08-23 + template: + id: 2821 + name: Light Smoke + extra_data: null + url: y12h45rn9yf2mse0p43t7ec90vr.pdf + locked: false + has_ts_pay_pending_payment: false + show_tspay_button: false + options: + create_from: + - "82112399" + transform: true + keep_copy: true + schema: + $ref: "#/components/schemas/TransformIssuedDocumentResponse" + description: Example response + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + JoinIssuedDocumentsResponse: + content: + application/json: + examples: + example-1: + value: + data: + type: invoice + year: 2022 + numeration: "" + subject: "" + visible_subject: "" + rc_center: "" + ei_cassa_type: null + ei_withholding_tax_causal: null + ei_other_withholding_tax_type: null + ei_other_withholding_tax_causal: null + stamp_duty: 0 + use_gross_prices: false + e_invoice: false + agyo_company_id: null + agyo_id: null + agyo_sent_at: null + delivery_note: false + accompanying_invoice: false + amount_net: 68.18 + amount_vat: 6.82 + amount_gross: 75 + amount_due_discount: 0 + amount_rivalsa: 0 + amount_cassa: 0 + amount_withholding_tax: 0 + amount_other_withholding_tax: 0 + h_margins: 15 + v_margins: 16 + show_payment_method: false + show_payments: true + show_totals: all + show_notification_button: false + is_marked: false + created_at: 2022-08-13 09:30:20 + updated_at: 2022-08-23 05:34:20 + entity: + id: 54321 + name: Mary Red S.r.L. + vat_number: IT05432181211 + tax_code: IT05432181211 + address_street: "Via Italia, 66" + address_postal_code: "20900" + address_city: Milano + address_province: MI + address_extra: "" + country: Italia + certified_email: mary@pec.red.com + ei_code: ABCXCR1 + date: 2021-08-20 + number: 1 + currency: + id: EUR + exchange_rate: "1.00000" + symbol: € + language: + code: it + name: Italiano + notes: "" + rivalsa: 0 + cassa: 0 + withholding_tax: 0 + withholding_tax_taxable: 100 + other_withholding_tax: 0 + payment_method: + id: 4 + name: Credit card + use_split_payment: false + merged_in: null + original_document: null + items_list: + - product_id: 5432 + code: SG3 + name: Soggiorno + measure: "" + net_price: 68.18182 + category: "" + id: 277876033 + gross_price: 75 + apply_withholding_taxes: true + discount: 0 + discount_highlight: false + in_dn: false + qty: 1 + vat: + id: 3 + value: 10 + description: "" + stock: false + description: "" + not_taxable: false + payments_list: + - amount: 75 + due_date: 2020-08-23 + paid_date: null + id: 69078013 + payment_terms: + days: 0 + type: standard + status: not_paid + attachment_url: kdijrnf893hnwkfk45f50f.pdf + seen_date: null + next_due_date: 2020-08-23 + template: + id: 2821 + name: Light Smoke + extra_data: null + url: y12h45rn9yf2mse0p43t7ec90vr.pdf + locked: false + has_ts_pay_pending_payment: false + show_tspay_button: false + options: + create_from: + - "82112399" + - "82112400" + schema: + $ref: "#/components/schemas/JoinIssuedDocumentsResponse" + description: Example response + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + ListEmailsResponse: + content: + application/json: + examples: + example-1: + value: + current_page: 1 + data: + - id: 1 + status: sent + sent_date: 2022-07-17 13:53:12 + errors_count: 0 + error_log: "" + from_email: test@mail.it + from_name: Test mail + to_email: mail@test.it + to_name: Mario + subject: Test + content: Test send email + copy_to: "" + recipient_status: unknown + recipient_date: null + kind: Fatture + attachments: [] + - id: 2 + status: sent + sent_date: 2022-07-18 13:53:12 + errors_count: 0 + error_log: "" + from_email: test@mail.it + from_name: Test mail + to_email: mail@test.it + to_name: Maria + subject: Test + content: Test send email + copy_to: "" + recipient_status: unknown + recipient_date: null + kind: Fatture + attachments: [] + first_page_url: emails?page=1 + from: 1 + last_page: 1 + last_page_url: emails?page=1 + next_page_url: null + path: emails + per_page: 50 + prev_page_url: null + to: 2 + total: 2 + schema: + $ref: "#/components/schemas/ListEmailsResponse" + description: Example response + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + CreateWebhooksSubscriptionResponse: + content: + application/json: + examples: + example-1: + value: + data: + id: SUB123 + sink: http://www.test.com + verified: true + types: + - it.fattureincloud.webhooks.entities.create + - it.fattureincloud.webhooks.issued_documents.create + warnings: The 'it.fattureincloud.webhooks.entities.clients.delete' + event is already registered for this application + schema: + $ref: "#/components/schemas/CreateWebhooksSubscriptionResponse" + description: Example response + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + ListWebhooksSubscriptionsResponse: + content: + application/json: + examples: + example-1: + value: + data: + - id: SUB12345 + sink: https://www.testurl.com/endpoint + verified: true + types: + - it.fattureincloud.webhooks.issued_documents.create + - it.fattureincloud.webhooks.issued_documents.update + - id: SUB12346 + sink: https://www.testurl.com/endpoint2 + verified: true + types: + - it.fattureincloud.webhooks.issued_documents.delete + schema: + $ref: "#/components/schemas/ListWebhooksSubscriptionsResponse" + description: Example response + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + GetWebhooksSubscriptionResponse: + content: + application/json: + examples: + example-1: + value: + data: + id: SUB123 + sink: https://test.url + verified: true + types: + - it.fattureincloud.webhooks.issued_documents.invoices.create + schema: + $ref: "#/components/schemas/GetWebhooksSubscriptionResponse" + description: Example response + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + ModifyWebhooksSubscriptionResponse: + content: + application/json: + examples: + example-1: + value: + data: + id: SUB12345 + sink: http://www.test.com + verified: true + types: + - it.fattureincloud.webhooks.entities.create + - it.fattureincloud.webhooks.issued_documents.create + warnings: The 'it.fattureincloud.webhooks.entities.clients.delete' + event is already registered for this application + schema: + $ref: "#/components/schemas/ModifyWebhooksSubscriptionResponse" + description: Example response + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + GetCompanyPlanUsageResponse: + content: + application/json: + examples: + example-1: + value: + data: + limit: 3000 + usage: 100 + schema: + $ref: "#/components/schemas/GetCompanyPlanUsageResponse" + description: Example response + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + GetTaxProfileResponse: + content: + application/json: + examples: + example-1: + value: + data: + company_type: individual + company_subtype: artigiani + profession: null + regime: forfettario_5 + rivalsa_name: "" + default_rivalsa: 0 + cassa_name: "" + default_cassa: 0 + default_cassa_taxable: 100 + cassa2_name: "" + default_cassa2: 0 + default_cassa2_taxable: 0 + default_withholding_tax: 0 + default_withholding_tax_taxable: 100 + default_other_withholding_tax: 0 + enasarco: false + enasarco_type: null + contributions_percentage: 0 + med: false + default_vat: + id: 66 + value: 0 + description: Contribuenti forfettari + notes: "Operazione non soggetta a IVA ai sensi dell'art. 1, commi\ + \ 54-89, Legge n. 190\\/2014 e succ. modifiche\\/integrazioni" + e_invoice: true + ei_type: 2.2 + ei_description: Non soggetta art. 1\/54-89 L. 190\/2014 e succ. + modifiche\/integrazioni + editable: false + is_disabled: false + default: true + schema: + $ref: "#/components/schemas/GetTaxProfileResponse" + description: Example response + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + ListBinIssuedDocumentsResponse: + content: + application/json: + examples: + example-1: + value: + data: + - id: 12345 + type: receipt + numeration: rec123 + subject: "" + visible_subject: "" + amount_net: 68.18 + amount_vat: 6.82 + amount_gross: 75 + amount_due_discount: 0 + entity: + id: 54321 + name: Mary Red S.r.L. + vat_number: IT05432181211 + tax_code: IT05432181211 + address_street: "Via Italia, 66" + address_postal_code: "20900" + address_city: Milano + address_province: MI + address_extra: "" + country: Italia + certified_email: mary@pec.red.com + ei_code: ABCXCR1 + date: 2021-08-20 + number: 1 + next_due_date: 2021-12-31 + url: ypbqqe4u8w8bdabcd5fd5b1a4gtqhlof.pdf + items_list: null + payments_list: null + - id: 12346 + type: receipt + numeration: rec124 + subject: "" + visible_subject: "" + amount_net: 168.18 + amount_vat: 16.82 + amount_gross: 175 + amount_due_discount: 0 + entity: + id: 54321 + name: Mary Red S.r.L. + vat_number: IT05432181211 + tax_code: IT05432181211 + address_street: "Via Italia, 66" + address_postal_code: "20900" + address_city: Milano + address_province: MI + address_extra: "" + country: Italia + certified_email: mary@pec.red.com + ei_code: ABCXCR1 + date: 2021-08-28 + number: 1 + next_due_date: 2021-12-31 + url: qwertye4u8w8bdaqrt5fd5b1a4gtqhlof.pdf + items_list: null + payments_list: null + schema: + $ref: "#/components/schemas/ListBinIssuedDocuments" + description: Bin Issued Documents List + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + GetBinIssuedDocumentResponse: + content: + application/json: + examples: + example-1: + value: + data: + id: 12345 + type: receipt + year: 2021 + numeration: rec123 + subject: "" + visible_subject: "" + rc_center: "" + ei_cassa_type: null + ei_withholding_tax_causal: null + ei_other_withholding_tax_type: null + ei_other_withholding_tax_causal: null + stamp_duty: 0 + use_gross_prices: false + e_invoice: false + agyo_company_id: null + agyo_id: null + agyo_sent_at: null + delivery_note: false + accompanying_invoice: false + amount_net: 68.18 + amount_vat: 6.82 + amount_gross: 75 + amount_due_discount: 0 + amount_rivalsa: 0 + amount_cassa: 0 + amount_withholding_tax: 0 + amount_other_withholding_tax: 0 + h_margins: 15 + v_margins: 16 + show_payment_method: false + show_payments: true + show_totals: all + show_notification_button: false + is_marked: false + created_at: 2021-08-13 09:30:20 + updated_at: 2021-08-23 05:34:20 + entity: + id: 54321 + name: Mary Red S.r.L. + vat_number: IT05432181211 + tax_code: IT05432181211 + address_street: "Via Italia, 66" + address_postal_code: "20900" + address_city: Milano + address_province: MI + address_extra: "" + country: Italia + certified_email: mary@pec.red.com + ei_code: ABCXCR1 + date: 2021-08-20 + number: 1 + currency: + id: EUR + exchange_rate: "1.00000" + symbol: € + language: + code: it + name: Italiano + notes: "" + rivalsa: 0 + cassa: 0 + withholding_tax: 0 + withholding_tax_taxable: 100 + other_withholding_tax: 0 + payment_method: + id: 4 + name: Credit card + use_split_payment: false + merged_in: null + original_document: null + items_list: + - product_id: 5432 + code: SG3 + name: Soggiorno + measure: "" + net_price: 68.18182 + category: "" + id: 277876033 + gross_price: 75 + apply_withholding_taxes: true + discount: 0 + discount_highlight: false + in_dn: false + qty: 1 + vat: + id: 3 + value: 10 + description: "" + stock: false + description: "" + not_taxable: false + payments_list: + - amount: 75 + due_date: 2020-08-23 + paid_date: null + id: 69078013 + payment_terms: + days: 0 + type: standard + status: not_paid + attachment_url: kdijrnf893hnwkfk45f50f.pdf + seen_date: null + next_due_date: 2020-08-23 + template: + id: 2821 + name: Light Smoke + extra_data: null + url: y12h45rn9yf2mse0p43t7ec90vr.pdf + locked: false + has_ts_pay_pending_payment: false + show_tspay_button: false + schema: + $ref: "#/components/schemas/GetBinIssuedDocumentResponse" + description: Bin issued document details + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + ListBinReceivedDocumentsResponse: + content: + application/json: + examples: + example-1: + value: + data: + - id: 12345 + type: expense + description: Soggiorno di lavoro + amortization: 1 + rc_center: "" + invoice_number: "" + is_marked: false + is_detailed: false + e_invoice: false + created_at: 2021-08-15 14:02:02 + updated_at: 2021-08-15 14:02:02 + entity: + id: 111 + name: Hotel Rubino Palace + date: 2021-08-15 + next_due_date: 2021-08-15 + currency: + id: EUR + exchange_rate: "1.00000" + symbol: € + amount_net: 592 + amount_vat: 0 + amount_gross: 592 + amount_withholding_tax: 0 + amount_other_withholding_tax: 0 + tax_deductibility: 50 + vat_deductibility: 100 + items_list: null + payments_list: + - amount: 592 + due_date: 2021-08-15 + paid_date: 2021-08-15 + id: 777 + payment_terms: + days: 0 + type: standard + status: paid + payment_account: + id: 222 + name: Contanti + virtual: false + attachment_url: spesa_ger5i783t45hu6ti.pdf + attachment_preview_url: null + extra_data: null + - id: 12346 + type: expense + description: Assicurazione RCA + iamortization: 1 + rc_center: "" + invoice_number: "" + is_marked: false + is_detailed: false + e_invoice: false + created_at: 2021-08-09 14:02:02 + updated_at: 2021-08-09 14:02:02 + entity: + id: 89 + name: Indesa Assicurazioni S.P.A. + date: 2021-08-08 + next_due_date: 2021-08-08 + currency: + id: EUR + exchange_rate: "1.00000" + symbol: € + amount_net: 645.69 + amount_vat: 0 + amount_gross: 645.69 + amount_withholding_tax: 0 + amount_other_withholding_tax: 0 + tax_deductibility: 50 + vat_deductibility: 100 + items_list: null + payments_list: + - amount: 645.69 + due_date: 2021-08-08 + paid_date: 2021-08-08 + id: 999 + payment_terms: + days: 0 + type: standard + status: paid + payment_account: + id: 333 + name: Carta conto + virtual: false + attachment_url: spesa_gjsd567e5hu6ti.pdf + attachment_preview_url: null + extra_data: null + schema: + $ref: "#/components/schemas/ListBinReceivedDocuments" + description: Example response + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + GetBinReceivedDocumentResponse: + content: + application/json: + examples: + example-1: + value: + data: + id: 12345 + type: expense + description: Soggiorno di lavoro + amortization: 1 + rc_center: "" + invoice_number: "" + is_marked: false + is_detailed: false + e_invoice: false + created_at: 2021-08-15 14:02:02 + updated_at: 2021-08-15 14:02:02 + entity: + id: 111 + name: Hotel Rubino Palace + date: 2021-08-15 + next_due_date: 2021-08-15 + currency: + id: EUR + exchange_rate: "1.00000" + symbol: € + amount_net: 592 + amount_vat: 0 + amount_gross: 592 + amount_withholding_tax: 0 + amount_other_withholding_tax: 0 + tax_deductibility: 50 + vat_deductibility: 100 + items_list: null + payments_list: + - amount: 592 + due_date: 2021-08-15 + paid_date: 2021-08-15 + id: 777 + payment_terms: + days: 0 + type: standard + status: paid + payment_account: + id: 222 + name: Contanti + virtual: false + attachment_url: spesa_ger5i783t45hu6ti.pdf + attachment_preview_url: null + extra_data: null + schema: + $ref: "#/components/schemas/GetBinReceivedDocumentResponse" + description: Bin received document details + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + GetEntityClientsInfoResponse: + content: + application/json: + examples: + example-1: + value: + data: + countries_list: + - Italy + payment_methods_list: + - id: 555 + name: Rimessa diretta + is_default: false + details: [] + bank_iban: null + bank_name: null + bank_beneficiary: null + ei_payment_method: null + payment_accounts_list: + - id: 0 + name: Conto Banca Intesa + type: standard + iban: string + sia: string + cuc: string + virtual: true + vat_types_list: + - id: 0 + value: 22 + description: Non imponibile art. 123 + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: 2 + ei_description: string + editable: true + is_disabled: true + default: true + price_lists: + - id: string + name: "123" + prices_type: net + is_default: true + valid_from: string + valid_to: string + type: sell + limit: 0 + usage: 0 + schema: + $ref: "#/components/schemas/GetEntityClientPreCreateInfoResponse" + description: Example response + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + ListPriceList: + content: + application/json: + examples: + example-1: + value: + data: + - id: "10" + name: listino + prices_type: net + is_default: true + valid_from: 2025-01-01 + valid_to: 2025-12-01 + type: sell + - id: "11" + name: listino-test + prices_type: gross + is_default: true + valid_from: 2025-01-01 + valid_to: 2025-01-01 + type: purchase + schema: + $ref: "#/components/schemas/ListPriceListsResponse" + description: Example response + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + GetPriceListItems: + content: + application/json: + examples: + example-1: + value: + data: + "1": + price: 3.5 + "2": + price: 5 + schema: + $ref: "#/components/schemas/GetPriceListItemsResponse" + description: Example response + headers: + RateLimit-HourlyRemaining: + $ref: "#/components/headers/RateLimitHourlyRemaining" + RateLimit-HourlyLimit: + $ref: "#/components/headers/RateLimitHourlyLimit" + RateLimit-MonthlyRemaining: + $ref: "#/components/headers/RateLimitMonthlyRemaining" + RateLimit-MonthlyLimit: + $ref: "#/components/headers/RateLimitMonthlyLimit" + schemas: + GetUserInfoResponse: + description: "" + example: + email_confirmation_state: + need_confirmation: true + data: + name: Mario Rossi + last_name: Rossi + id: 12345 + first_name: Mario + email: mario.rossi@example.com + hash: 5add29e1234532a1bf2ed7b612043029 + picture: picture.jpg + info: + need_password_change: true + need_marketing_consents_confirmation: true + need_terms_of_service_confirmation: true + properties: + data: + $ref: "#/components/schemas/User" + info: + $ref: "#/components/schemas/GetUserInfoResponse_info" + email_confirmation_state: + $ref: "#/components/schemas/GetUserInfoResponse_email_confirmation_state" + title: GetUserInfoResponse + type: object + ApiErrorResponse: + additionalProperties: true + description: "Error details container, check https://developers.fattureincloud.it/docs/basics/errors/\ + \ for more details." + title: ApiErrorResponse + type: object + ListUserCompaniesResponse: + description: "" + example: + data: + companies: + - access_token: fd015011d2dbf8a9d38e810b325b11b56d02e51688e5261a245933b8e677b8b44ff5f0fe5ccaaf1d7157fa13ca72ab62b6183db0667a576a0e19164801c18c4fd81273fc1f95bf460b869015cf99acba + tax_code: tax_code + fic_license_expire: 2000-01-23 + connection_id: 6 + vat_number: vat_number + name: Rossi S.r.l. + id: 12345 + type: company + fic_plan: null + controlled_companies: + - access_token: fd015011d2dbf8a9d38e810b325b11b56d02e51688e5261a245933b8e677b8b44ff5f0fe5ccaaf1d7157fa13ca72ab62b6183db0667a576a0e19164801c18c4fd81273fc1f95bf460b869015cf99acba + tax_code: tax_code + fic_license_expire: 2000-01-23 + connection_id: 0.8008281904610115 + name: Rossi S.r.l. + id: 12345 type: null - paid_date: 2018-04-03 - status: not_paid - - amount: 1.45 - payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - ei_raw: "{}" - due_date: 2018-04-03 - id: 6 - payment_terms: - days: 1 + fic_plan: trial + - access_token: fd015011d2dbf8a9d38e810b325b11b56d02e51688e5261a245933b8e677b8b44ff5f0fe5ccaaf1d7157fa13ca72ab62b6183db0667a576a0e19164801c18c4fd81273fc1f95bf460b869015cf99acba + tax_code: tax_code + fic_license_expire: 2000-01-23 + connection_id: 0.8008281904610115 + name: Rossi S.r.l. + id: 12345 type: null - paid_date: 2018-04-03 - status: not_paid - h_margins: 2 - dn_date: 2000-01-23 - ei_other_withholding_tax_causal: ei_other_withholding_tax_causal - next_due_date: 2000-01-23 - cassa2: 1.4894159098541704 - withholding_tax_taxable: 9.369310271410669 - is_marked: true - updated_at: updated_at - amount_vat: 6.704019297950036 - amount_other_withholding_tax_taxable: 4.652396432933246 - currency: - symbol: € - exchange_rate: "1" - html_symbol: EUR - id: EUR - dn_number: 6 - amount_other_withholding_tax: 0.10263654006109402 - ei_cassa_type: ei_cassa_type - dn_ai_transporter: dn_ai_transporter - show_notification_button: true - dn_url: dn_url - show_payment_method: true - price_list_id: price_list_id - delivery_note: true - url: url - attachment_url: attachment_url - amount_withholding_tax: 7.058770351582356 - extra_data: - ts_file_id: ts_file_id - ts_flag_tipo_spesa: 3.0205796992916243 - ts_pagamento_tracciato: true - ts_status: 3 - ts_opposizione: true - ts_communication: true - ts_full_amount: true - ts_tipo_spesa: ts_tipo_spesa - multifatture_sent: 7 - imported_by: imported_by - ts_sent_date: 2000-01-23 - ei_status: attempt - seen_date: 2000-01-23 - ei_cassa2_type: ei_cassa2_type - ei_withholding_tax_causal: ei_withholding_tax_causal - cassa_taxable: 1.2315135367772556 - amount_gross: 3.353193347011243 - entity: - country: Italia - code: "123" - notes: notes - ei_code: ei_code - default_payment_terms_type: standard - vat_number: IT01234567890 - created_at: created_at + fic_plan: trial + - access_token: fd015011d2dbf8a9d38e810b325b11b56d02e51688e5261a245933b8e677b8b44ff5f0fe5ccaaf1d7157fa13ca72ab62b6183db0667a576a0e19164801c18c4fd81273fc1f95bf460b869015cf99acba + tax_code: tax_code + fic_license_expire: 2000-01-23 + connection_id: 6 + vat_number: vat_number + name: Rossi S.r.l. + id: 12345 type: company - address_extra: address_extra - bank_swift_code: bank_swift_code - default_vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + fic_plan: null + controlled_companies: + - access_token: fd015011d2dbf8a9d38e810b325b11b56d02e51688e5261a245933b8e677b8b44ff5f0fe5ccaaf1d7157fa13ca72ab62b6183db0667a576a0e19164801c18c4fd81273fc1f95bf460b869015cf99acba + tax_code: tax_code + fic_license_expire: 2000-01-23 + connection_id: 0.8008281904610115 + name: Rossi S.r.l. + id: 12345 + type: null + fic_plan: trial + - access_token: fd015011d2dbf8a9d38e810b325b11b56d02e51688e5261a245933b8e677b8b44ff5f0fe5ccaaf1d7157fa13ca72ab62b6183db0667a576a0e19164801c18c4fd81273fc1f95bf460b869015cf99acba + tax_code: tax_code + fic_license_expire: 2000-01-23 + connection_id: 0.8008281904610115 + name: Rossi S.r.l. + id: 12345 + type: null + fic_plan: trial + properties: + data: + $ref: "#/components/schemas/ListUserCompaniesResponse_data" + title: ListUserCompaniesResponse + type: object + GetCompanyInfoResponse: + description: "" + example: + data: + fic_plan_name: trial + fic_license_expire: 2000-01-23 + accountant_id: 5 + name: Mario Rossi S.r.l. + is_accountant: true + plan_info: + functions: + smtp: true + recurring: true + ts_invoice_trading: true + archive: true + payment_notifications: true + receipts: true + cerved: true + document_attachments: true + genius: true + ts_digital: true e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - address_province: BG - updated_at: updated_at - bank_name: bank_name - id: 9 - shipping_address: shipping_address - fax: fax - first_name: first_name - bank_iban: bank_iban - country_iso: Italia - email: mario.rossi@example.it - contact_person: contact_person - address_postal_code: "24010" - default_payment_method: - default_payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - name: name - bank_name: bank_name - details: - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - bank_beneficiary: bank_beneficiary - id: 3 - type: standard - is_default: true - ei_payment_method: ei_payment_method - bank_iban: bank_iban - last_name: last_name - address_city: Bergamo - tax_code: RSSMRA44A12E890Q - intent_declaration_protocol_number: intent_declaration_protocol_number - phone: phone - address_street: "Via dei tigli, 12" - e_invoice: true - name: Rossi S.r.l. - default_payment_terms: 30 - certified_email: mario.rossi@pec.example.it - has_intent_declaration: true - intent_declaration_protocol_date: 2000-01-23 - amount_cassa_taxable: 1.0246457001441578 - amount_cassa2_taxable: 1.1730742509559433 - last_page: 1 - last_page_url: https://openapi-generator.tech - next_page_url: https://openapi-generator.tech - from: 6 - to: 5 - prev_page_url: https://openapi-generator.tech - current_page: 0 - title: ListIssuedDocumentsResponse - CreateIssuedDocumentResponse: + subaccounts: true + ts_pay: true + stock: true + paypal: true + mail_tracking: true + tessera_sanitaria: true + functions_status: + ts_digital: + active: true + ts_pay: + active: true + limits: + clients: 0 + suppliers: 6 + documents: 5 + products: 1 + id: 12345 + access_info: + role: master + through_accountant: true + permissions: + dic_settings: null + fic_import_bankstatements: null + fic_suppliers: null + fic_products: null + fic_taxes: null + fic_export: null + fic_import_clients_suppliers: null + fic_riba: null + fic_emails: null + fic_stock: null + fic_import_issued_documents: null + fic_clients: null + fic_situation: none + fic_calendar: null + fic_issued_documents: null + fic_settings: null + fic_recurring: null + fic_received_documents: null + fic_cashbook: null + fic_archive: null + dic_timesheet: null + dic_employees: null + fic_receipts: null + fic_issued_documents_detailed: + receipts: null + supplier_orders: null + delivery_notes: null + invoices: null + credit_notes: null + proformas: null + orders: null + work_reports: null + self_invoices: null + quotes: null + fic_import_products: null + type: company + email: mario@rossi-example.it + properties: + data: + $ref: "#/components/schemas/CompanyInfo" + title: GetCompanyInfoResponse + type: object + GetCompanyPlanUsageResponse: + description: "" example: data: - date: 2000-01-23 - numeration: /A + usage: 6.027456183070403 + limit: 0.8008281904610115 + properties: + data: + $ref: "#/components/schemas/CompanyPlanUsage" + title: GetCompanyPlanUsageResponse + type: object + ListClientsResponse: + allOf: + - $ref: "#/components/schemas/Pagination" + - $ref: "#/components/schemas/ListClientsResponsePage" + example: + first_page_url: https://openapi-generator.tech + path: https://openapi-generator.tech + per_page: 5 + total: 2 + data: + - country: Italia + code: "123" notes: notes - year: 3 - subject: subject - rivalsa: 2.027123023002322 - dn_ai_causal: dn_ai_causal - language: - code: code - name: name - type: invoice - show_payments: true - ei_data: - original_document_type: ordine - cig: cig - bank_name: bank_name - od_number: od_number - od_date: 2000-01-23 - bank_beneficiary: bank_beneficiary - vat_kind: null - bank_iban: bank_iban - invoice_number: invoice_number - payment_method: payment_method - cup: cup - invoice_date: 2000-01-23 - dn_ai_weight: dn_ai_weight - number: 1 - rc_center: rc_center - items_list: - - code: "239874892374982" - ei_raw: "{}" - discount_highlight: true - vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - description: description - not_taxable: true - discount: 3.5571952270680973 - net_price: 1.23 - apply_withholding_taxes: true - measure: measure - product_id: 1234 - qty: 6.438423552598547 - name: Water bottle - gross_price: 1.45 - id: 9 - category: category - stock: true - in_dn: true - - code: "239874892374982" - ei_raw: "{}" - discount_highlight: true - vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - description: description - not_taxable: true - discount: 3.5571952270680973 - net_price: 1.23 - apply_withholding_taxes: true - measure: measure - product_id: 1234 - qty: 6.438423552598547 - name: Water bottle - gross_price: 1.45 + ei_code: ei_code + default_payment_terms_type: standard + discount_highlight: true + vat_number: IT01234567890 + created_at: created_at + type: company + address_extra: address_extra + bank_swift_code: bank_swift_code + default_discount: 4.145608029883936 + default_vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 id: 9 - category: category - stock: true - in_dn: true - dn_ai_notes: dn_ai_notes - acc_inv_template: - name: Light Smoke - id: 123 - type: type + value: 22 + address_province: BG + updated_at: updated_at + bank_name: bank_name id: 7 - delivery_note_template: - name: Light Smoke - id: 123 - type: type - locked: true - show_tspay_button: true - payment_method: + shipping_address: shipping_address + fax: fax + first_name: first_name + bank_iban: bank_iban + country_iso: Italia + email: mario.rossi@example.it + contact_person: contact_person + address_postal_code: "24010" + default_payment_method: default_payment_account: cuc: cuc virtual: true @@ -16284,59 +60134,56 @@ components: is_default: true ei_payment_method: ei_payment_method bank_iban: bank_iban - attachment_token: attachment_token - amount_net: 5.944895607614016 - dn_ai_destination: dn_ai_destination - ai_url: ai_url - amount_cassa: 7.386281948385884 - cassa2_taxable: 7.457744773683766 - v_margins: 6 - amount_cassa2: 6.84685269835264 - accompanying_invoice: true - amount_rivalsa_taxable: 0.8851374739011653 - amount_rivalsa: 7.143538047012306 - show_totals: all - stamp_duty: 8.762042012749001 - use_gross_prices: true - global_cassa_taxable: 4.965218492984954 + last_name: last_name + price_list_id: price_list_id + address_city: Bergamo + tax_code: RSSMRA44A12E890Q + intent_declaration_protocol_number: intent_declaration_protocol_number + phone: phone + address_street: "Via dei tigli, 12" e_invoice: true - dn_ai_packages_number: dn_ai_packages_number - withholding_tax: 9.965781217890562 - amount_withholding_tax_taxable: 6.519180951018382 - other_withholding_tax: 6.683562403749608 - ei_other_withholding_tax_type: ei_other_withholding_tax_type - template: - name: Light Smoke - id: 123 - type: type - cassa: 4.145608029883936 - ei_raw: "{}" - amount_global_cassa_taxable: 5.025004791520295 - amount_due_discount: 3.0937452626664474 - amount_enasarco_taxable: 8.969578798196912 + name: Rossi S.r.l. + default_payment_terms: 30 + certified_email: mario.rossi@pec.example.it + has_intent_declaration: true + intent_declaration_protocol_date: 2000-01-23 + - country: Italia + code: "123" + notes: notes + ei_code: ei_code + default_payment_terms_type: standard + discount_highlight: true + vat_number: IT01234567890 created_at: created_at - visible_subject: visible_subject - use_split_payment: true - payments_list: - - amount: 1.45 - payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - ei_raw: "{}" - due_date: 2018-04-03 - id: 6 - payment_terms: - days: 1 - type: null - paid_date: 2018-04-03 - status: not_paid - - amount: 1.45 - payment_account: + type: company + address_extra: address_extra + bank_swift_code: bank_swift_code + default_discount: 4.145608029883936 + default_vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + address_province: BG + updated_at: updated_at + bank_name: bank_name + id: 7 + shipping_address: shipping_address + fax: fax + first_name: first_name + bank_iban: bank_iban + country_iso: Italia + email: mario.rossi@example.it + contact_person: contact_person + address_postal_code: "24010" + default_payment_method: + default_payment_account: cuc: cuc virtual: true iban: iban @@ -16344,241 +60191,85 @@ components: sia: sia id: 2 type: standard - ei_raw: "{}" - due_date: 2018-04-03 - id: 6 - payment_terms: - days: 1 - type: null - paid_date: 2018-04-03 - status: not_paid - h_margins: 2 - dn_date: 2000-01-23 - ei_other_withholding_tax_causal: ei_other_withholding_tax_causal - next_due_date: 2000-01-23 - cassa2: 1.4894159098541704 - withholding_tax_taxable: 9.369310271410669 - is_marked: true - updated_at: updated_at - amount_vat: 6.704019297950036 - amount_other_withholding_tax_taxable: 4.652396432933246 - currency: - symbol: € - exchange_rate: "1" - html_symbol: EUR - id: EUR - dn_number: 6 - amount_other_withholding_tax: 0.10263654006109402 - ei_cassa_type: ei_cassa_type - dn_ai_transporter: dn_ai_transporter - show_notification_button: true - dn_url: dn_url - show_payment_method: true - price_list_id: price_list_id - delivery_note: true - url: url - attachment_url: attachment_url - amount_withholding_tax: 7.058770351582356 - extra_data: - ts_file_id: ts_file_id - ts_flag_tipo_spesa: 3.0205796992916243 - ts_pagamento_tracciato: true - ts_status: 3 - ts_opposizione: true - ts_communication: true - ts_full_amount: true - ts_tipo_spesa: ts_tipo_spesa - multifatture_sent: 7 - imported_by: imported_by - ts_sent_date: 2000-01-23 - ei_status: attempt - seen_date: 2000-01-23 - ei_cassa2_type: ei_cassa2_type - ei_withholding_tax_causal: ei_withholding_tax_causal - cassa_taxable: 1.2315135367772556 - amount_gross: 3.353193347011243 - entity: - country: Italia - code: "123" - notes: notes - ei_code: ei_code - default_payment_terms_type: standard - vat_number: IT01234567890 - created_at: created_at - type: company - address_extra: address_extra - bank_swift_code: bank_swift_code - default_vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - address_province: BG - updated_at: updated_at + name: name bank_name: bank_name - id: 9 - shipping_address: shipping_address - fax: fax - first_name: first_name + details: + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + bank_beneficiary: bank_beneficiary + id: 3 + type: standard + is_default: true + ei_payment_method: ei_payment_method bank_iban: bank_iban - country_iso: Italia - email: mario.rossi@example.it - contact_person: contact_person - address_postal_code: "24010" - default_payment_method: - default_payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - name: name - bank_name: bank_name - details: - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - bank_beneficiary: bank_beneficiary - id: 3 - type: standard - is_default: true - ei_payment_method: ei_payment_method - bank_iban: bank_iban - last_name: last_name - address_city: Bergamo - tax_code: RSSMRA44A12E890Q - intent_declaration_protocol_number: intent_declaration_protocol_number - phone: phone - address_street: "Via dei tigli, 12" - e_invoice: true - name: Rossi S.r.l. - default_payment_terms: 30 - certified_email: mario.rossi@pec.example.it - has_intent_declaration: true - intent_declaration_protocol_date: 2000-01-23 - amount_cassa_taxable: 1.0246457001441578 - amount_cassa2_taxable: 1.1730742509559433 - properties: - data: - $ref: "#/components/schemas/IssuedDocument" - title: CreateIssuedDocumentResponse - type: object - GetIssuedDocumentResponse: + last_name: last_name + price_list_id: price_list_id + address_city: Bergamo + tax_code: RSSMRA44A12E890Q + intent_declaration_protocol_number: intent_declaration_protocol_number + phone: phone + address_street: "Via dei tigli, 12" + e_invoice: true + name: Rossi S.r.l. + default_payment_terms: 30 + certified_email: mario.rossi@pec.example.it + has_intent_declaration: true + intent_declaration_protocol_date: 2000-01-23 + last_page: 1 + last_page_url: https://openapi-generator.tech + next_page_url: https://openapi-generator.tech + from: 6 + to: 5 + prev_page_url: https://openapi-generator.tech + current_page: 0 + title: ListClientsResponse + CreateClientRequest: example: data: - date: 2000-01-23 - numeration: /A + country: Italia + code: "123" notes: notes - year: 3 - subject: subject - rivalsa: 2.027123023002322 - dn_ai_causal: dn_ai_causal - language: - code: code - name: name - type: invoice - show_payments: true - ei_data: - original_document_type: ordine - cig: cig - bank_name: bank_name - od_number: od_number - od_date: 2000-01-23 - bank_beneficiary: bank_beneficiary - vat_kind: null - bank_iban: bank_iban - invoice_number: invoice_number - payment_method: payment_method - cup: cup - invoice_date: 2000-01-23 - dn_ai_weight: dn_ai_weight - number: 1 - rc_center: rc_center - items_list: - - code: "239874892374982" - ei_raw: "{}" - discount_highlight: true - vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - description: description - not_taxable: true - discount: 3.5571952270680973 - net_price: 1.23 - apply_withholding_taxes: true - measure: measure - product_id: 1234 - qty: 6.438423552598547 - name: Water bottle - gross_price: 1.45 - id: 9 - category: category - stock: true - in_dn: true - - code: "239874892374982" - ei_raw: "{}" - discount_highlight: true - vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - description: description - not_taxable: true - discount: 3.5571952270680973 - net_price: 1.23 - apply_withholding_taxes: true - measure: measure - product_id: 1234 - qty: 6.438423552598547 - name: Water bottle - gross_price: 1.45 + ei_code: ei_code + default_payment_terms_type: standard + discount_highlight: true + vat_number: IT01234567890 + created_at: created_at + type: company + address_extra: address_extra + bank_swift_code: bank_swift_code + default_discount: 4.145608029883936 + default_vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 id: 9 - category: category - stock: true - in_dn: true - dn_ai_notes: dn_ai_notes - acc_inv_template: - name: Light Smoke - id: 123 - type: type + value: 22 + address_province: BG + updated_at: updated_at + bank_name: bank_name id: 7 - delivery_note_template: - name: Light Smoke - id: 123 - type: type - locked: true - show_tspay_button: true - payment_method: + shipping_address: shipping_address + fax: fax + first_name: first_name + bank_iban: bank_iban + country_iso: Italia + email: mario.rossi@example.it + contact_person: contact_person + address_postal_code: "24010" + default_payment_method: default_payment_account: cuc: cuc virtual: true @@ -16606,301 +60297,316 @@ components: is_default: true ei_payment_method: ei_payment_method bank_iban: bank_iban - attachment_token: attachment_token - amount_net: 5.944895607614016 - dn_ai_destination: dn_ai_destination - ai_url: ai_url - amount_cassa: 7.386281948385884 - cassa2_taxable: 7.457744773683766 - v_margins: 6 - amount_cassa2: 6.84685269835264 - accompanying_invoice: true - amount_rivalsa_taxable: 0.8851374739011653 - amount_rivalsa: 7.143538047012306 - show_totals: all - stamp_duty: 8.762042012749001 - use_gross_prices: true - global_cassa_taxable: 4.965218492984954 + last_name: last_name + price_list_id: price_list_id + address_city: Bergamo + tax_code: RSSMRA44A12E890Q + intent_declaration_protocol_number: intent_declaration_protocol_number + phone: phone + address_street: "Via dei tigli, 12" e_invoice: true - dn_ai_packages_number: dn_ai_packages_number - withholding_tax: 9.965781217890562 - amount_withholding_tax_taxable: 6.519180951018382 - other_withholding_tax: 6.683562403749608 - ei_other_withholding_tax_type: ei_other_withholding_tax_type - template: - name: Light Smoke - id: 123 - type: type - cassa: 4.145608029883936 - ei_raw: "{}" - amount_global_cassa_taxable: 5.025004791520295 - amount_due_discount: 3.0937452626664474 - amount_enasarco_taxable: 8.969578798196912 + name: Rossi S.r.l. + default_payment_terms: 30 + certified_email: mario.rossi@pec.example.it + has_intent_declaration: true + intent_declaration_protocol_date: 2000-01-23 + properties: + data: + $ref: "#/components/schemas/Client" + title: CreateClientRequest + type: object + CreateClientResponse: + example: + data: + country: Italia + code: "123" + notes: notes + ei_code: ei_code + default_payment_terms_type: standard + discount_highlight: true + vat_number: IT01234567890 created_at: created_at - visible_subject: visible_subject - use_split_payment: true - payments_list: - - amount: 1.45 - payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - ei_raw: "{}" - due_date: 2018-04-03 - id: 6 - payment_terms: - days: 1 - type: null - paid_date: 2018-04-03 - status: not_paid - - amount: 1.45 - payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - ei_raw: "{}" - due_date: 2018-04-03 - id: 6 - payment_terms: - days: 1 - type: null - paid_date: 2018-04-03 - status: not_paid - h_margins: 2 - dn_date: 2000-01-23 - ei_other_withholding_tax_causal: ei_other_withholding_tax_causal - next_due_date: 2000-01-23 - cassa2: 1.4894159098541704 - withholding_tax_taxable: 9.369310271410669 - is_marked: true - updated_at: updated_at - amount_vat: 6.704019297950036 - amount_other_withholding_tax_taxable: 4.652396432933246 - currency: - symbol: € - exchange_rate: "1" - html_symbol: EUR - id: EUR - dn_number: 6 - amount_other_withholding_tax: 0.10263654006109402 - ei_cassa_type: ei_cassa_type - dn_ai_transporter: dn_ai_transporter - show_notification_button: true - dn_url: dn_url - show_payment_method: true - price_list_id: price_list_id - delivery_note: true - url: url - attachment_url: attachment_url - amount_withholding_tax: 7.058770351582356 - extra_data: - ts_file_id: ts_file_id - ts_flag_tipo_spesa: 3.0205796992916243 - ts_pagamento_tracciato: true - ts_status: 3 - ts_opposizione: true - ts_communication: true - ts_full_amount: true - ts_tipo_spesa: ts_tipo_spesa - multifatture_sent: 7 - imported_by: imported_by - ts_sent_date: 2000-01-23 - ei_status: attempt - seen_date: 2000-01-23 - ei_cassa2_type: ei_cassa2_type - ei_withholding_tax_causal: ei_withholding_tax_causal - cassa_taxable: 1.2315135367772556 - amount_gross: 3.353193347011243 - entity: - country: Italia - code: "123" - notes: notes - ei_code: ei_code - default_payment_terms_type: standard - vat_number: IT01234567890 - created_at: created_at - type: company - address_extra: address_extra - bank_swift_code: bank_swift_code - default_vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - address_province: BG - updated_at: updated_at - bank_name: bank_name - id: 9 - shipping_address: shipping_address - fax: fax - first_name: first_name - bank_iban: bank_iban - country_iso: Italia - email: mario.rossi@example.it - contact_person: contact_person - address_postal_code: "24010" - default_payment_method: - default_payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - name: name - bank_name: bank_name - details: - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - bank_beneficiary: bank_beneficiary - id: 3 - type: standard - is_default: true - ei_payment_method: ei_payment_method - bank_iban: bank_iban - last_name: last_name - address_city: Bergamo - tax_code: RSSMRA44A12E890Q - intent_declaration_protocol_number: intent_declaration_protocol_number - phone: phone - address_street: "Via dei tigli, 12" + type: company + address_extra: address_extra + bank_swift_code: bank_swift_code + default_discount: 4.145608029883936 + default_vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" e_invoice: true - name: Rossi S.r.l. - default_payment_terms: 30 - certified_email: mario.rossi@pec.example.it - has_intent_declaration: true - intent_declaration_protocol_date: 2000-01-23 - amount_cassa_taxable: 1.0246457001441578 - amount_cassa2_taxable: 1.1730742509559433 + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + address_province: BG + updated_at: updated_at + bank_name: bank_name + id: 7 + shipping_address: shipping_address + fax: fax + first_name: first_name + bank_iban: bank_iban + country_iso: Italia + email: mario.rossi@example.it + contact_person: contact_person + address_postal_code: "24010" + default_payment_method: + default_payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + name: name + bank_name: bank_name + details: + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + bank_beneficiary: bank_beneficiary + id: 3 + type: standard + is_default: true + ei_payment_method: ei_payment_method + bank_iban: bank_iban + last_name: last_name + price_list_id: price_list_id + address_city: Bergamo + tax_code: RSSMRA44A12E890Q + intent_declaration_protocol_number: intent_declaration_protocol_number + phone: phone + address_street: "Via dei tigli, 12" + e_invoice: true + name: Rossi S.r.l. + default_payment_terms: 30 + certified_email: mario.rossi@pec.example.it + has_intent_declaration: true + intent_declaration_protocol_date: 2000-01-23 properties: data: - $ref: "#/components/schemas/IssuedDocument" - title: GetIssuedDocumentResponse + $ref: "#/components/schemas/Client" + title: CreateClientResponse type: object - ModifyIssuedDocumentResponse: + GetClientResponse: example: data: - date: 2000-01-23 - numeration: /A + country: Italia + code: "123" notes: notes - year: 3 - subject: subject - rivalsa: 2.027123023002322 - dn_ai_causal: dn_ai_causal - language: - code: code + ei_code: ei_code + default_payment_terms_type: standard + discount_highlight: true + vat_number: IT01234567890 + created_at: created_at + type: company + address_extra: address_extra + bank_swift_code: bank_swift_code + default_discount: 4.145608029883936 + default_vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + address_province: BG + updated_at: updated_at + bank_name: bank_name + id: 7 + shipping_address: shipping_address + fax: fax + first_name: first_name + bank_iban: bank_iban + country_iso: Italia + email: mario.rossi@example.it + contact_person: contact_person + address_postal_code: "24010" + default_payment_method: + default_payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard name: name - type: invoice - show_payments: true - ei_data: - original_document_type: ordine - cig: cig bank_name: bank_name - od_number: od_number - od_date: 2000-01-23 + details: + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title bank_beneficiary: bank_beneficiary - vat_kind: null + id: 3 + type: standard + is_default: true + ei_payment_method: ei_payment_method bank_iban: bank_iban - invoice_number: invoice_number - payment_method: payment_method - cup: cup - invoice_date: 2000-01-23 - dn_ai_weight: dn_ai_weight - number: 1 - rc_center: rc_center - items_list: - - code: "239874892374982" - ei_raw: "{}" - discount_highlight: true - vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - description: description - not_taxable: true - discount: 3.5571952270680973 - net_price: 1.23 - apply_withholding_taxes: true - measure: measure - product_id: 1234 - qty: 6.438423552598547 - name: Water bottle - gross_price: 1.45 + last_name: last_name + price_list_id: price_list_id + address_city: Bergamo + tax_code: RSSMRA44A12E890Q + intent_declaration_protocol_number: intent_declaration_protocol_number + phone: phone + address_street: "Via dei tigli, 12" + e_invoice: true + name: Rossi S.r.l. + default_payment_terms: 30 + certified_email: mario.rossi@pec.example.it + has_intent_declaration: true + intent_declaration_protocol_date: 2000-01-23 + properties: + data: + $ref: "#/components/schemas/Client" + title: GetClientResponse + type: object + ModifyClientRequest: + description: "" + example: + data: + country: Italia + code: "123" + notes: notes + ei_code: ei_code + default_payment_terms_type: standard + discount_highlight: true + vat_number: IT01234567890 + created_at: created_at + type: company + address_extra: address_extra + bank_swift_code: bank_swift_code + default_discount: 4.145608029883936 + default_vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 id: 9 - category: category - stock: true - in_dn: true - - code: "239874892374982" - ei_raw: "{}" - discount_highlight: true - vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - description: description - not_taxable: true - discount: 3.5571952270680973 - net_price: 1.23 - apply_withholding_taxes: true - measure: measure - product_id: 1234 - qty: 6.438423552598547 - name: Water bottle - gross_price: 1.45 + value: 22 + address_province: BG + updated_at: updated_at + bank_name: bank_name + id: 7 + shipping_address: shipping_address + fax: fax + first_name: first_name + bank_iban: bank_iban + country_iso: Italia + email: mario.rossi@example.it + contact_person: contact_person + address_postal_code: "24010" + default_payment_method: + default_payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + name: name + bank_name: bank_name + details: + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + bank_beneficiary: bank_beneficiary + id: 3 + type: standard + is_default: true + ei_payment_method: ei_payment_method + bank_iban: bank_iban + last_name: last_name + price_list_id: price_list_id + address_city: Bergamo + tax_code: RSSMRA44A12E890Q + intent_declaration_protocol_number: intent_declaration_protocol_number + phone: phone + address_street: "Via dei tigli, 12" + e_invoice: true + name: Rossi S.r.l. + default_payment_terms: 30 + certified_email: mario.rossi@pec.example.it + has_intent_declaration: true + intent_declaration_protocol_date: 2000-01-23 + properties: + data: + $ref: "#/components/schemas/Client" + title: ModifyClientRequest + type: object + ModifyClientResponse: + example: + data: + country: Italia + code: "123" + notes: notes + ei_code: ei_code + default_payment_terms_type: standard + discount_highlight: true + vat_number: IT01234567890 + created_at: created_at + type: company + address_extra: address_extra + bank_swift_code: bank_swift_code + default_discount: 4.145608029883936 + default_vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 id: 9 - category: category - stock: true - in_dn: true - dn_ai_notes: dn_ai_notes - acc_inv_template: - name: Light Smoke - id: 123 - type: type + value: 22 + address_province: BG + updated_at: updated_at + bank_name: bank_name id: 7 - delivery_note_template: - name: Light Smoke - id: 123 - type: type - locked: true - show_tspay_button: true - payment_method: + shipping_address: shipping_address + fax: fax + first_name: first_name + bank_iban: bank_iban + country_iso: Italia + email: mario.rossi@example.it + contact_person: contact_person + address_postal_code: "24010" + default_payment_method: default_payment_account: cuc: cuc virtual: true @@ -16928,42 +60634,29 @@ components: is_default: true ei_payment_method: ei_payment_method bank_iban: bank_iban - attachment_token: attachment_token - amount_net: 5.944895607614016 - dn_ai_destination: dn_ai_destination - ai_url: ai_url - amount_cassa: 7.386281948385884 - cassa2_taxable: 7.457744773683766 - v_margins: 6 - amount_cassa2: 6.84685269835264 - accompanying_invoice: true - amount_rivalsa_taxable: 0.8851374739011653 - amount_rivalsa: 7.143538047012306 - show_totals: all - stamp_duty: 8.762042012749001 - use_gross_prices: true - global_cassa_taxable: 4.965218492984954 + last_name: last_name + price_list_id: price_list_id + address_city: Bergamo + tax_code: RSSMRA44A12E890Q + intent_declaration_protocol_number: intent_declaration_protocol_number + phone: phone + address_street: "Via dei tigli, 12" e_invoice: true - dn_ai_packages_number: dn_ai_packages_number - withholding_tax: 9.965781217890562 - amount_withholding_tax_taxable: 6.519180951018382 - other_withholding_tax: 6.683562403749608 - ei_other_withholding_tax_type: ei_other_withholding_tax_type - template: - name: Light Smoke - id: 123 - type: type - cassa: 4.145608029883936 - ei_raw: "{}" - amount_global_cassa_taxable: 5.025004791520295 - amount_due_discount: 3.0937452626664474 - amount_enasarco_taxable: 8.969578798196912 - created_at: created_at - visible_subject: visible_subject - use_split_payment: true - payments_list: - - amount: 1.45 - payment_account: + name: Rossi S.r.l. + default_payment_terms: 30 + certified_email: mario.rossi@pec.example.it + has_intent_declaration: true + intent_declaration_protocol_date: 2000-01-23 + properties: + data: + $ref: "#/components/schemas/Client" + title: ModifyClientResponse + type: object + GetEntityClientPreCreateInfoResponse: + example: + data: + payment_methods_list: + - default_payment_account: cuc: cuc virtual: true iban: iban @@ -16971,16 +60664,26 @@ components: sia: sia id: 2 type: standard - ei_raw: "{}" - due_date: 2018-04-03 - id: 6 - payment_terms: - days: 1 - type: null - paid_date: 2018-04-03 - status: not_paid - - amount: 1.45 - payment_account: + name: name + bank_name: bank_name + details: + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + bank_beneficiary: bank_beneficiary + id: 3 + type: standard + is_default: true + ei_payment_method: ei_payment_method + bank_iban: bank_iban + - default_payment_account: cuc: cuc virtual: true iban: iban @@ -16988,404 +60691,335 @@ components: sia: sia id: 2 type: standard - ei_raw: "{}" - due_date: 2018-04-03 - id: 6 - payment_terms: - days: 1 - type: null - paid_date: 2018-04-03 - status: not_paid - h_margins: 2 - dn_date: 2000-01-23 - ei_other_withholding_tax_causal: ei_other_withholding_tax_causal - next_due_date: 2000-01-23 - cassa2: 1.4894159098541704 - withholding_tax_taxable: 9.369310271410669 - is_marked: true - updated_at: updated_at - amount_vat: 6.704019297950036 - amount_other_withholding_tax_taxable: 4.652396432933246 - currency: - symbol: € - exchange_rate: "1" - html_symbol: EUR - id: EUR - dn_number: 6 - amount_other_withholding_tax: 0.10263654006109402 - ei_cassa_type: ei_cassa_type - dn_ai_transporter: dn_ai_transporter - show_notification_button: true - dn_url: dn_url - show_payment_method: true - price_list_id: price_list_id - delivery_note: true - url: url - attachment_url: attachment_url - amount_withholding_tax: 7.058770351582356 - extra_data: - ts_file_id: ts_file_id - ts_flag_tipo_spesa: 3.0205796992916243 - ts_pagamento_tracciato: true - ts_status: 3 - ts_opposizione: true - ts_communication: true - ts_full_amount: true - ts_tipo_spesa: ts_tipo_spesa - multifatture_sent: 7 - imported_by: imported_by - ts_sent_date: 2000-01-23 - ei_status: attempt - seen_date: 2000-01-23 - ei_cassa2_type: ei_cassa2_type - ei_withholding_tax_causal: ei_withholding_tax_causal - cassa_taxable: 1.2315135367772556 - amount_gross: 3.353193347011243 - entity: - country: Italia - code: "123" - notes: notes - ei_code: ei_code - default_payment_terms_type: standard - vat_number: IT01234567890 - created_at: created_at - type: company - address_extra: address_extra - bank_swift_code: bank_swift_code - default_vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - address_province: BG - updated_at: updated_at - bank_name: bank_name - id: 9 - shipping_address: shipping_address - fax: fax - first_name: first_name - bank_iban: bank_iban - country_iso: Italia - email: mario.rossi@example.it - contact_person: contact_person - address_postal_code: "24010" - default_payment_method: - default_payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - name: name - bank_name: bank_name - details: - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - bank_beneficiary: bank_beneficiary - id: 3 - type: standard - is_default: true - ei_payment_method: ei_payment_method - bank_iban: bank_iban - last_name: last_name - address_city: Bergamo - tax_code: RSSMRA44A12E890Q - intent_declaration_protocol_number: intent_declaration_protocol_number - phone: phone - address_street: "Via dei tigli, 12" + name: name + bank_name: bank_name + details: + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + bank_beneficiary: bank_beneficiary + id: 3 + type: standard + is_default: true + ei_payment_method: ei_payment_method + bank_iban: bank_iban + price_lists: + - prices_type: net + valid_to: valid_to + name: "123" + valid_from: valid_from + id: id + is_default: true + type: sell + - prices_type: net + valid_to: valid_to + name: "123" + valid_from: valid_from + id: id + is_default: true + type: sell + usage: 6.027456183070403 + payment_accounts_list: + - cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + - cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + limit: 0.8008281904610115 + vat_types_list: + - ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" e_invoice: true - name: Rossi S.r.l. - default_payment_terms: 30 - certified_email: mario.rossi@pec.example.it - has_intent_declaration: true - intent_declaration_protocol_date: 2000-01-23 - amount_cassa_taxable: 1.0246457001441578 - amount_cassa2_taxable: 1.1730742509559433 + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + - ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + countries_list: + - countries_list + - countries_list properties: data: - $ref: "#/components/schemas/IssuedDocument" - title: ModifyIssuedDocumentResponse + $ref: "#/components/schemas/EntityClientPreCreateInfo" + title: GetEntityClientPreCreateInfoResponse type: object - GetNewIssuedDocumentTotalsResponse: - description: "" + ListSuppliersResponse: + allOf: + - $ref: "#/components/schemas/Pagination" + - $ref: "#/components/schemas/ListSuppliersResponsePage" example: + first_page_url: https://openapi-generator.tech + path: https://openapi-generator.tech + per_page: 5 + total: 2 data: - amount_net: 0.8008281904610115 - taxable_amount_withholding_tax: 3.616076749251911 - amount_cassa: 5.962133916683182 - taxable_amount_other_withholding_tax: 4.145608029883936 - amount_net_with_rivalsa: 1.4658129805029452 - payments_sum: 1.4894159098541704 - amount_rivalsa: 6.027456183070403 - stamp_duty: 1.2315135367772556 - amount_withholding_tax: 2.027123023002322 - vat_list: - key: - amount_net: 6.84685269835264 - amount_vat: 7.457744773683766 - not_taxable_amount: 2.3021358869347655 - amount_vat: 7.061401241503109 - is_enasarco_maximal_exceeded: true - amount_due: 1.0246457001441578 - amount_other_withholding_tax: 7.386281948385884 - taxable_amount: 5.637376656633329 - amount_gross: 9.301444243932576 + - country: Italia + code: "123" + notes: notes + contact_person: contact_person + address_postal_code: "24010" + vat_number: IT01234567890 + last_name: last_name + created_at: created_at + type: company + address_extra: address_extra + address_city: Bergamo + tax_code: RSSMRA44A12E890Q + address_province: BG + updated_at: updated_at + phone: phone + address_street: "Via dei tigli, 12" + name: Rossi S.r.l. + id: 7 + certified_email: mario.rossi@pec.example.it + fax: fax + first_name: first_name + bank_iban: bank_iban + country_iso: Italia + email: mario.rossi@example.it + - country: Italia + code: "123" + notes: notes + contact_person: contact_person + address_postal_code: "24010" + vat_number: IT01234567890 + last_name: last_name + created_at: created_at + type: company + address_extra: address_extra + address_city: Bergamo + tax_code: RSSMRA44A12E890Q + address_province: BG + updated_at: updated_at + phone: phone + address_street: "Via dei tigli, 12" + name: Rossi S.r.l. + id: 7 + certified_email: mario.rossi@pec.example.it + fax: fax + first_name: first_name + bank_iban: bank_iban + country_iso: Italia + email: mario.rossi@example.it + last_page: 1 + last_page_url: https://openapi-generator.tech + next_page_url: https://openapi-generator.tech + from: 6 + to: 5 + prev_page_url: https://openapi-generator.tech + current_page: 0 + title: ListSuppliersResponse + CreateSupplierRequest: + example: + data: + country: Italia + code: "123" + notes: notes + contact_person: contact_person + address_postal_code: "24010" + vat_number: IT01234567890 + last_name: last_name + created_at: created_at + type: company + address_extra: address_extra + address_city: Bergamo + tax_code: RSSMRA44A12E890Q + address_province: BG + updated_at: updated_at + phone: phone + address_street: "Via dei tigli, 12" + name: Rossi S.r.l. + id: 7 + certified_email: mario.rossi@pec.example.it + fax: fax + first_name: first_name + bank_iban: bank_iban + country_iso: Italia + email: mario.rossi@example.it properties: data: - $ref: "#/components/schemas/IssuedDocumentTotals" - title: GetNewIssuedDocumentTotalsResponse + $ref: "#/components/schemas/Supplier" + title: CreateSupplierRequest type: object - GetExistingIssuedDocumentTotalsResponse: - description: "" + CreateSupplierResponse: example: data: - amount_net: 0.8008281904610115 - taxable_amount_withholding_tax: 3.616076749251911 - amount_cassa: 5.962133916683182 - taxable_amount_other_withholding_tax: 4.145608029883936 - amount_net_with_rivalsa: 1.4658129805029452 - payments_sum: 1.4894159098541704 - amount_rivalsa: 6.027456183070403 - stamp_duty: 1.2315135367772556 - amount_withholding_tax: 2.027123023002322 - vat_list: - key: - amount_net: 6.84685269835264 - amount_vat: 7.457744773683766 - not_taxable_amount: 2.3021358869347655 - amount_vat: 7.061401241503109 - is_enasarco_maximal_exceeded: true - amount_due: 1.0246457001441578 - amount_other_withholding_tax: 7.386281948385884 - taxable_amount: 5.637376656633329 - amount_gross: 9.301444243932576 + country: Italia + code: "123" + notes: notes + contact_person: contact_person + address_postal_code: "24010" + vat_number: IT01234567890 + last_name: last_name + created_at: created_at + type: company + address_extra: address_extra + address_city: Bergamo + tax_code: RSSMRA44A12E890Q + address_province: BG + updated_at: updated_at + phone: phone + address_street: "Via dei tigli, 12" + name: Rossi S.r.l. + id: 7 + certified_email: mario.rossi@pec.example.it + fax: fax + first_name: first_name + bank_iban: bank_iban + country_iso: Italia + email: mario.rossi@example.it properties: data: - $ref: "#/components/schemas/IssuedDocumentTotals" - title: GetExistingIssuedDocumentTotalsResponse + $ref: "#/components/schemas/Supplier" + title: CreateSupplierResponse type: object - UploadIssuedDocumentAttachmentResponse: + GetSupplierResponse: example: data: - attachment_token: YmMyNWYxYzIwMTU3N2Y4ZGE3ZjZiMzg5OWY0ODNkZDQveXl5LmRvYw + country: Italia + code: "123" + notes: notes + contact_person: contact_person + address_postal_code: "24010" + vat_number: IT01234567890 + last_name: last_name + created_at: created_at + type: company + address_extra: address_extra + address_city: Bergamo + tax_code: RSSMRA44A12E890Q + address_province: BG + updated_at: updated_at + phone: phone + address_street: "Via dei tigli, 12" + name: Rossi S.r.l. + id: 7 + certified_email: mario.rossi@pec.example.it + fax: fax + first_name: first_name + bank_iban: bank_iban + country_iso: Italia + email: mario.rossi@example.it properties: data: - $ref: "#/components/schemas/AttachmentData" - title: UploadIssuedDocumentAttachmentResponse + $ref: "#/components/schemas/Supplier" + title: GetSupplierResponse type: object - GetIssuedDocumentPreCreateInfoResponse: + ModifySupplierRequest: example: data: - numerations: - key: null - payment_methods_list: - - default_payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - name: name - bank_name: bank_name - details: - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - bank_beneficiary: bank_beneficiary - id: 3 - type: standard - is_default: true - ei_payment_method: ei_payment_method - bank_iban: bank_iban - - default_payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - name: name - bank_name: bank_name - details: - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - bank_beneficiary: bank_beneficiary - id: 3 - type: standard - is_default: true - ei_payment_method: ei_payment_method - bank_iban: bank_iban - price_lists: - - prices_type: net - valid_to: valid_to - name: "123" - valid_from: valid_from - id: id - is_default: true - type: sell - - prices_type: net - valid_to: valid_to - name: "123" - valid_from: valid_from - id: id - is_default: true - type: sell - items_default_values: - vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - extra_data_default_values: - ts_flag_tipo_spesa: 2 - ts_pagamento_tracciato: true - ts_communication: true - ts_tipo_spesa: ts_tipo_spesa - languages_list: - - code: code - name: name - - code: code - name: name - payment_accounts_list: - - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - currencies_list: - - symbol: € - exchange_rate: "1" - html_symbol: EUR - id: EUR - - symbol: € - exchange_rate: "1" - html_symbol: EUR - id: EUR - ai_templates_list: - - name: Light Smoke - id: 123 - type: type - - name: Light Smoke - id: 123 - type: type - countries_list: - - countries_list - - countries_list - templates_list: - - name: Light Smoke - id: 123 - type: type - - name: Light Smoke - id: 123 - type: type - dn_templates_list: - - name: Light Smoke - id: 123 - type: type - - name: Light Smoke - id: 123 - type: type - default_values: - use_gross_prices: true - notes: notes - cassa: 6.027456183070403 - withholding_tax_taxable: 5.962133916683182 - ai_template: - name: Light Smoke - id: 123 - type: type - rivalsa: 0.8008281904610115 - withholding_tax: 1.4658129805029452 - default_template: - name: Light Smoke - id: 123 - type: type - dn_template: - name: Light Smoke - id: 123 - type: type - other_withholding_tax: 5.637376656633329 - payment_method: - default_payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - name: name - bank_name: bank_name - details: - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - bank_beneficiary: bank_beneficiary - id: 3 - type: standard - is_default: true - ei_payment_method: ei_payment_method - bank_iban: bank_iban - dn_numerations: - key: null - vat_types_list: - - ei_description: ei_description + country: Italia + code: "123" + notes: notes + contact_person: contact_person + address_postal_code: "24010" + vat_number: IT01234567890 + last_name: last_name + created_at: created_at + type: company + address_extra: address_extra + address_city: Bergamo + tax_code: RSSMRA44A12E890Q + address_province: BG + updated_at: updated_at + phone: phone + address_street: "Via dei tigli, 12" + name: Rossi S.r.l. + id: 7 + certified_email: mario.rossi@pec.example.it + fax: fax + first_name: first_name + bank_iban: bank_iban + country_iso: Italia + email: mario.rossi@example.it + properties: + data: + $ref: "#/components/schemas/Supplier" + title: ModifySupplierRequest + type: object + ModifySupplierResponse: + example: + data: + country: Italia + code: "123" + notes: notes + contact_person: contact_person + address_postal_code: "24010" + vat_number: IT01234567890 + last_name: last_name + created_at: created_at + type: company + address_extra: address_extra + address_city: Bergamo + tax_code: RSSMRA44A12E890Q + address_province: BG + updated_at: updated_at + phone: phone + address_street: "Via dei tigli, 12" + name: Rossi S.r.l. + id: 7 + certified_email: mario.rossi@pec.example.it + fax: fax + first_name: first_name + bank_iban: bank_iban + country_iso: Italia + email: mario.rossi@example.it + properties: + data: + $ref: "#/components/schemas/Supplier" + title: ModifySupplierResponse + type: object + ListProductsResponse: + allOf: + - $ref: "#/components/schemas/Pagination" + - $ref: "#/components/schemas/ListProductsResponsePage" + example: + first_page_url: https://openapi-generator.tech + path: https://openapi-generator.tech + per_page: 5 + total: 2 + data: + - code: code + notes: notes + average_price: 1.0246457001441578 + description: description + created_at: created_at + net_price: 9.301444243932576 + in_stock: true + average_cost: 1.2315135367772556 + use_gross_price: true + stock_initial: 4.145608029883936 + stock_current: 7.386281948385884 + default_vat: + ei_description: ei_description default: true notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" e_invoice: true @@ -17395,7 +61029,26 @@ components: description: Non imponibile art. 123 id: 9 value: 22 - - ei_description: ei_description + measure: measure + updated_at: updated_at + name: name + gross_price: 3.616076749251911 + id: 7 + category: category + net_cost: 2.027123023002322 + - code: code + notes: notes + average_price: 1.0246457001441578 + description: description + created_at: created_at + net_price: 9.301444243932576 + in_stock: true + average_cost: 1.2315135367772556 + use_gross_price: true + stock_initial: 4.145608029883936 + stock_current: 7.386281948385884 + default_vat: + ei_description: ei_description default: true notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" e_invoice: true @@ -17405,79 +61058,210 @@ components: description: Non imponibile art. 123 id: 9 value: 22 + measure: measure + updated_at: updated_at + name: name + gross_price: 3.616076749251911 + id: 7 + category: category + net_cost: 2.027123023002322 + last_page: 1 + last_page_url: https://openapi-generator.tech + next_page_url: https://openapi-generator.tech + from: 6 + to: 5 + prev_page_url: https://openapi-generator.tech + current_page: 0 + title: ListProductsResponse + CreateProductRequest: + example: + data: + code: code + notes: notes + average_price: 1.0246457001441578 + description: description + created_at: created_at + net_price: 9.301444243932576 + in_stock: true + average_cost: 1.2315135367772556 + use_gross_price: true + stock_initial: 4.145608029883936 + stock_current: 7.386281948385884 + default_vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + measure: measure + updated_at: updated_at + name: name + gross_price: 3.616076749251911 + id: 7 + category: category + net_cost: 2.027123023002322 properties: data: - $ref: "#/components/schemas/IssuedDocumentPreCreateInfo" - title: GetIssuedDocumentPreCreateInfoResponse + $ref: "#/components/schemas/Product" + title: CreateProductRequest type: object - GetEmailDataResponse: + CreateProductResponse: example: data: - delivery_note_exists: true - accompanying_invoice_exists: true - default_attach_pdf: true - default_sender_email: - id: 0 - email: email - sender_emails_list: - - id: 6 - email: email - - id: 6 - email: email - cc_email: cc_email - subject: subject - recipient_email: recipient_email - attachment_exists: true - document_exists: true - body: body + code: code + notes: notes + average_price: 1.0246457001441578 + description: description + created_at: created_at + net_price: 9.301444243932576 + in_stock: true + average_cost: 1.2315135367772556 + use_gross_price: true + stock_initial: 4.145608029883936 + stock_current: 7.386281948385884 + default_vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + measure: measure + updated_at: updated_at + name: name + gross_price: 3.616076749251911 + id: 7 + category: category + net_cost: 2.027123023002322 properties: data: - $ref: "#/components/schemas/EmailData" - title: GetEmailDataResponse + $ref: "#/components/schemas/Product" + title: CreateProductResponse type: object - SendEInvoiceResponse: + GetProductResponse: example: data: - date: date + code: code + notes: notes + average_price: 1.0246457001441578 + description: description + created_at: created_at + net_price: 9.301444243932576 + in_stock: true + average_cost: 1.2315135367772556 + use_gross_price: true + stock_initial: 4.145608029883936 + stock_current: 7.386281948385884 + default_vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + measure: measure + updated_at: updated_at + name: name + gross_price: 3.616076749251911 + id: 7 + category: category + net_cost: 2.027123023002322 + properties: + data: + $ref: "#/components/schemas/Product" + title: GetProductResponse + type: object + ModifyProductRequest: + example: + data: + code: code + notes: notes + average_price: 1.0246457001441578 + description: description + created_at: created_at + net_price: 9.301444243932576 + in_stock: true + average_cost: 1.2315135367772556 + use_gross_price: true + stock_initial: 4.145608029883936 + stock_current: 7.386281948385884 + default_vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + measure: measure + updated_at: updated_at + name: name + gross_price: 3.616076749251911 + id: 7 + category: category + net_cost: 2.027123023002322 + properties: + data: + $ref: "#/components/schemas/Product" + title: ModifyProductRequest + type: object + ModifyProductResponse: + example: + data: + code: code + notes: notes + average_price: 1.0246457001441578 + description: description + created_at: created_at + net_price: 9.301444243932576 + in_stock: true + average_cost: 1.2315135367772556 + use_gross_price: true + stock_initial: 4.145608029883936 + stock_current: 7.386281948385884 + default_vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + measure: measure + updated_at: updated_at name: name + gross_price: 3.616076749251911 + id: 7 + category: category + net_cost: 2.027123023002322 properties: data: - $ref: "#/components/schemas/SendEInvoiceResponse_data" - title: SendEInvoiceResponse - type: object - VerifyEInvoiceXmlResponse: - example: - data: - success: true - properties: - data: - $ref: "#/components/schemas/VerifyEInvoiceXmlResponse_data" - title: VerifyEInvoiceXmlResponse - type: object - VerifyEInvoiceXmlErrorResponse: - example: - extra: - errors: - - errors - - errors - error: - validation_result: - xml_errors: - - xml_errors - - xml_errors - message: message - properties: - error: - $ref: "#/components/schemas/VerifyEInvoiceXmlErrorResponse_error" - extra: - $ref: "#/components/schemas/VerifyEInvoiceXmlErrorResponse_extra" - title: VerifyEInvoiceXmlErrorResponse + $ref: "#/components/schemas/Product" + title: ModifyProductResponse type: object - ListReceivedDocumentsResponse: + ListIssuedDocumentsResponse: allOf: - $ref: "#/components/schemas/Pagination" - - $ref: "#/components/schemas/ListReceivedDocumentsResponsePage" - description: "" + - $ref: "#/components/schemas/ListIssuedDocumentsResponsePage" example: first_page_url: https://openapi-generator.tech path: https://openapi-generator.tech @@ -17485,15 +61269,180 @@ components: total: 2 data: - date: 2000-01-23 - attachment_preview_url: attachment_preview_url - auto_calculate: true - tax_deductibility: 1.0246457001441578 - description: description + numeration: /A + notes: notes + year: 3 + subject: subject + rivalsa: 2.027123023002322 + dn_ai_causal: dn_ai_causal + language: + code: code + name: name + type: invoice + show_payments: true + ei_data: + original_document_type: ordine + cig: cig + bank_name: bank_name + od_number: od_number + od_date: 2000-01-23 + bank_beneficiary: bank_beneficiary + vat_kind: null + bank_iban: bank_iban + invoice_number: invoice_number + payment_method: payment_method + cup: cup + invoice_date: 2000-01-23 + dn_ai_weight: dn_ai_weight + number: 1 + rc_center: rc_center + items_list: + - code: "239874892374982" + ei_raw: "{}" + discount_highlight: true + vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + description: description + not_taxable: true + discount: 3.5571952270680973 + net_price: 1.23 + apply_withholding_taxes: true + measure: measure + product_id: 1234 + qty: 6.438423552598547 + name: Water bottle + gross_price: 1.45 + id: 9 + category: category + stock: true + in_dn: true + - code: "239874892374982" + ei_raw: "{}" + discount_highlight: true + vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + description: description + not_taxable: true + discount: 3.5571952270680973 + net_price: 1.23 + apply_withholding_taxes: true + measure: measure + product_id: 1234 + qty: 6.438423552598547 + name: Water bottle + gross_price: 1.45 + id: 9 + category: category + stock: true + in_dn: true + dn_ai_notes: dn_ai_notes + acc_inv_template: + supports_custom_taxable: true + can_disable_watermark: true + author: author + name: name + privacy: privacy + id: 2 + type: type + content: content + id: 7 + delivery_note_template: + supports_custom_taxable: true + can_disable_watermark: true + author: author + name: name + privacy: privacy + id: 2 + type: type + content: content + locked: true + show_tspay_button: true + payment_method: + default_payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + name: name + bank_name: bank_name + details: + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + bank_beneficiary: bank_beneficiary + id: 3 + type: standard + is_default: true + ei_payment_method: ei_payment_method + bank_iban: bank_iban + attachment_token: attachment_token + amount_net: 6.704019297950036 + dn_ai_destination: dn_ai_destination + ai_url: ai_url + amount_cassa: 7.386281948385884 + cassa2_taxable: 7.457744773683766 + v_margins: 6 + amount_cassa2: 6.84685269835264 + accompanying_invoice: true + amount_rivalsa_taxable: 7.058770351582356 + amount_rivalsa: 0.8851374739011653 + show_totals: all + stamp_duty: 8.762042012749001 + use_gross_prices: true + global_cassa_taxable: 4.965218492984954 + e_invoice: true + dn_ai_packages_number: dn_ai_packages_number + withholding_tax: 9.965781217890562 + amount_withholding_tax_taxable: 0.10263654006109402 + other_withholding_tax: 6.683562403749608 + ei_other_withholding_tax_type: ei_other_withholding_tax_type + template: + supports_custom_taxable: true + can_disable_watermark: true + author: author + name: name + privacy: privacy + id: 2 + type: type + content: content + cassa: 4.145608029883936 + ei_raw: "{}" + amount_global_cassa_taxable: 5.025004791520295 + amount_due_discount: 7.143538047012306 + amount_enasarco_taxable: 7.740351818741173 created_at: created_at - amortization: 1.2315135367772556 - type: expense + visible_subject: visible_subject + use_split_payment: true payments_list: - - amount: 9.369310271410669 + - amount: 1.45 payment_account: cuc: cuc virtual: true @@ -17502,14 +61451,15 @@ components: sia: sia id: 2 type: standard - due_date: 2000-01-23 - id: 9 + ei_raw: "{}" + due_date: 2018-04-03 + id: 6 payment_terms: - days: 6 - type: standard - paid_date: 2000-01-23 - status: status - - amount: 9.369310271410669 + days: 1 + type: null + paid_date: 2018-04-03 + status: not_paid + - amount: 1.45 payment_account: cuc: cuc virtual: true @@ -17518,25 +61468,169 @@ components: sia: sia id: 2 type: standard - due_date: 2000-01-23 + ei_raw: "{}" + due_date: 2018-04-03 + id: 6 + payment_terms: + days: 1 + type: null + paid_date: 2018-04-03 + status: not_paid + h_margins: 6 + dn_date: 2000-01-23 + ei_other_withholding_tax_causal: ei_other_withholding_tax_causal + next_due_date: 2000-01-23 + cassa2: 1.4894159098541704 + withholding_tax_taxable: 9.369310271410669 + is_marked: true + updated_at: updated_at + amount_vat: 3.353193347011243 + amount_other_withholding_tax_taxable: 8.969578798196912 + currency: + symbol: € + exchange_rate: "1" + html_symbol: EUR + id: EUR + dn_number: 5 + amount_other_withholding_tax: 4.652396432933246 + ei_cassa_type: ei_cassa_type + dn_ai_transporter: dn_ai_transporter + show_notification_button: true + dn_url: dn_url + show_payment_method: true + price_list_id: price_list_id + delivery_note: true + url: url + attachment_url: attachment_url + amount_withholding_tax: 6.519180951018382 + extra_data: + ts_file_id: ts_file_id + debt_vat_detect: true + ts_flag_tipo_spesa: 3.0576100241049344 + ts_opposizione: true + ts_tipo_spesa: ts_tipo_spesa + imported_by: imported_by + ts_sent_date: 2000-01-23 + ts_pagamento_tracciato: true + ts_status: 7 + ts_communication: true + ts_full_amount: true + multifatture_sent: 3 + revenue_detect: true + ei_status: attempt + seen_date: 2000-01-23 + ei_cassa2_type: ei_cassa2_type + ei_withholding_tax_causal: ei_withholding_tax_causal + cassa_taxable: 1.2315135367772556 + amount_gross: 3.0937452626664474 + entity: + country: Italia + code: "123" + notes: notes + ei_code: ei_code + default_payment_terms_type: standard + vat_number: IT01234567890 + created_at: created_at + type: company + address_extra: address_extra + bank_swift_code: bank_swift_code + default_vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + address_province: BG + updated_at: updated_at + bank_name: bank_name id: 9 - payment_terms: - days: 6 + shipping_address: shipping_address + fax: fax + first_name: first_name + bank_iban: bank_iban + country_iso: Italia + email: mario.rossi@example.it + contact_person: contact_person + address_postal_code: "24010" + default_payment_method: + default_payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + name: name + bank_name: bank_name + details: + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + bank_beneficiary: bank_beneficiary + id: 3 type: standard - paid_date: 2000-01-23 - status: status - is_detailed: true - next_due_date: 2000-01-23 + is_default: true + ei_payment_method: ei_payment_method + bank_iban: bank_iban + last_name: last_name + address_city: Bergamo + tax_code: RSSMRA44A12E890Q + intent_declaration_protocol_number: intent_declaration_protocol_number + phone: phone + address_street: "Via dei tigli, 12" + e_invoice: true + name: Rossi S.r.l. + default_payment_terms: 30 + certified_email: mario.rossi@pec.example.it + has_intent_declaration: true + intent_declaration_protocol_date: 2000-01-23 + amount_cassa_taxable: 1.0246457001441578 + amount_cassa2_taxable: 1.1730742509559433 + - date: 2000-01-23 + numeration: /A + notes: notes + year: 3 + subject: subject + rivalsa: 2.027123023002322 + dn_ai_causal: dn_ai_causal + language: + code: code + name: name + type: invoice + show_payments: true + ei_data: + original_document_type: ordine + cig: cig + bank_name: bank_name + od_number: od_number + od_date: 2000-01-23 + bank_beneficiary: bank_beneficiary + vat_kind: null + bank_iban: bank_iban + invoice_number: invoice_number + payment_method: payment_method + cup: cup + invoice_date: 2000-01-23 + dn_ai_weight: dn_ai_weight + number: 1 rc_center: rc_center - is_marked: true - updated_at: updated_at - amount_vat: 3.616076749251911 items_list: - - code: code - measure: measure - product_id: 7 - qty: 4.965218492984954 - name: name + - code: "239874892374982" + ei_raw: "{}" + discount_highlight: true vat: ei_description: ei_description default: true @@ -17548,15 +61642,23 @@ components: description: Non imponibile art. 123 id: 9 value: 22 - net_price: 1.1730742509559433 - id: 6 - category: category - stock: 5.025004791520295 - - code: code + description: description + not_taxable: true + discount: 3.5571952270680973 + net_price: 1.23 + apply_withholding_taxes: true measure: measure - product_id: 7 - qty: 4.965218492984954 - name: name + product_id: 1234 + qty: 6.438423552598547 + name: Water bottle + gross_price: 1.45 + id: 9 + category: category + stock: true + in_dn: true + - code: "239874892374982" + ei_raw: "{}" + discount_highlight: true vat: ei_description: ei_description default: true @@ -17568,27 +61670,190 @@ components: description: Non imponibile art. 123 id: 9 value: 22 - net_price: 1.1730742509559433 + description: description + not_taxable: true + discount: 3.5571952270680973 + net_price: 1.23 + apply_withholding_taxes: true + measure: measure + product_id: 1234 + qty: 6.438423552598547 + name: Water bottle + gross_price: 1.45 + id: 9 + category: category + stock: true + in_dn: true + dn_ai_notes: dn_ai_notes + acc_inv_template: + supports_custom_taxable: true + can_disable_watermark: true + author: author + name: name + privacy: privacy + id: 2 + type: type + content: content + id: 7 + delivery_note_template: + supports_custom_taxable: true + can_disable_watermark: true + author: author + name: name + privacy: privacy + id: 2 + type: type + content: content + locked: true + show_tspay_button: true + payment_method: + default_payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + name: name + bank_name: bank_name + details: + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + bank_beneficiary: bank_beneficiary + id: 3 + type: standard + is_default: true + ei_payment_method: ei_payment_method + bank_iban: bank_iban + attachment_token: attachment_token + amount_net: 6.704019297950036 + dn_ai_destination: dn_ai_destination + ai_url: ai_url + amount_cassa: 7.386281948385884 + cassa2_taxable: 7.457744773683766 + v_margins: 6 + amount_cassa2: 6.84685269835264 + accompanying_invoice: true + amount_rivalsa_taxable: 7.058770351582356 + amount_rivalsa: 0.8851374739011653 + show_totals: all + stamp_duty: 8.762042012749001 + use_gross_prices: true + global_cassa_taxable: 4.965218492984954 + e_invoice: true + dn_ai_packages_number: dn_ai_packages_number + withholding_tax: 9.965781217890562 + amount_withholding_tax_taxable: 0.10263654006109402 + other_withholding_tax: 6.683562403749608 + ei_other_withholding_tax_type: ei_other_withholding_tax_type + template: + supports_custom_taxable: true + can_disable_watermark: true + author: author + name: name + privacy: privacy + id: 2 + type: type + content: content + cassa: 4.145608029883936 + ei_raw: "{}" + amount_global_cassa_taxable: 5.025004791520295 + amount_due_discount: 7.143538047012306 + amount_enasarco_taxable: 7.740351818741173 + created_at: created_at + visible_subject: visible_subject + use_split_payment: true + payments_list: + - amount: 1.45 + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + ei_raw: "{}" + due_date: 2018-04-03 + id: 6 + payment_terms: + days: 1 + type: null + paid_date: 2018-04-03 + status: not_paid + - amount: 1.45 + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + ei_raw: "{}" + due_date: 2018-04-03 id: 6 - category: category - stock: 5.025004791520295 + payment_terms: + days: 1 + type: null + paid_date: 2018-04-03 + status: not_paid + h_margins: 6 + dn_date: 2000-01-23 + ei_other_withholding_tax_causal: ei_other_withholding_tax_causal + next_due_date: 2000-01-23 + cassa2: 1.4894159098541704 + withholding_tax_taxable: 9.369310271410669 + is_marked: true + updated_at: updated_at + amount_vat: 3.353193347011243 + amount_other_withholding_tax_taxable: 8.969578798196912 currency: symbol: € exchange_rate: "1" html_symbol: EUR id: EUR - id: 7 - amount_other_withholding_tax: 4.145608029883936 - locked: true - invoice_number: invoice_number - vat_deductibility: 1.4894159098541704 - attachment_token: attachment_token - amount_net: 9.301444243932576 + dn_number: 5 + amount_other_withholding_tax: 4.652396432933246 + ei_cassa_type: ei_cassa_type + dn_ai_transporter: dn_ai_transporter + show_notification_button: true + dn_url: dn_url + show_payment_method: true + price_list_id: price_list_id + delivery_note: true + url: url attachment_url: attachment_url - amount_withholding_tax: 2.027123023002322 - e_invoice: true - category: category - amount_gross: 7.386281948385884 + amount_withholding_tax: 6.519180951018382 + extra_data: + ts_file_id: ts_file_id + debt_vat_detect: true + ts_flag_tipo_spesa: 3.0576100241049344 + ts_opposizione: true + ts_tipo_spesa: ts_tipo_spesa + imported_by: imported_by + ts_sent_date: 2000-01-23 + ts_pagamento_tracciato: true + ts_status: 7 + ts_communication: true + ts_full_amount: true + multifatture_sent: 3 + revenue_detect: true + ei_status: attempt + seen_date: 2000-01-23 + ei_cassa2_type: ei_cassa2_type + ei_withholding_tax_causal: ei_withholding_tax_causal + cassa_taxable: 1.2315135367772556 + amount_gross: 3.0937452626664474 entity: country: Italia code: "123" @@ -17663,16 +61928,194 @@ components: certified_email: mario.rossi@pec.example.it has_intent_declaration: true intent_declaration_protocol_date: 2000-01-23 - - date: 2000-01-23 - attachment_preview_url: attachment_preview_url - auto_calculate: true - tax_deductibility: 1.0246457001441578 - description: description + amount_cassa_taxable: 1.0246457001441578 + amount_cassa2_taxable: 1.1730742509559433 + last_page: 1 + last_page_url: https://openapi-generator.tech + next_page_url: https://openapi-generator.tech + from: 6 + to: 5 + prev_page_url: https://openapi-generator.tech + current_page: 0 + title: ListIssuedDocumentsResponse + CreateIssuedDocumentRequest: + example: + data: + date: 2000-01-23 + numeration: /A + notes: notes + year: 3 + subject: subject + rivalsa: 2.027123023002322 + dn_ai_causal: dn_ai_causal + language: + code: code + name: name + type: invoice + show_payments: true + ei_data: + original_document_type: ordine + cig: cig + bank_name: bank_name + od_number: od_number + od_date: 2000-01-23 + bank_beneficiary: bank_beneficiary + vat_kind: null + bank_iban: bank_iban + invoice_number: invoice_number + payment_method: payment_method + cup: cup + invoice_date: 2000-01-23 + dn_ai_weight: dn_ai_weight + number: 1 + rc_center: rc_center + items_list: + - code: "239874892374982" + ei_raw: "{}" + discount_highlight: true + vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + description: description + not_taxable: true + discount: 3.5571952270680973 + net_price: 1.23 + apply_withholding_taxes: true + measure: measure + product_id: 1234 + qty: 6.438423552598547 + name: Water bottle + gross_price: 1.45 + id: 9 + category: category + stock: true + in_dn: true + - code: "239874892374982" + ei_raw: "{}" + discount_highlight: true + vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + description: description + not_taxable: true + discount: 3.5571952270680973 + net_price: 1.23 + apply_withholding_taxes: true + measure: measure + product_id: 1234 + qty: 6.438423552598547 + name: Water bottle + gross_price: 1.45 + id: 9 + category: category + stock: true + in_dn: true + dn_ai_notes: dn_ai_notes + acc_inv_template: + supports_custom_taxable: true + can_disable_watermark: true + author: author + name: name + privacy: privacy + id: 2 + type: type + content: content + id: 7 + delivery_note_template: + supports_custom_taxable: true + can_disable_watermark: true + author: author + name: name + privacy: privacy + id: 2 + type: type + content: content + locked: true + show_tspay_button: true + payment_method: + default_payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + name: name + bank_name: bank_name + details: + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + bank_beneficiary: bank_beneficiary + id: 3 + type: standard + is_default: true + ei_payment_method: ei_payment_method + bank_iban: bank_iban + attachment_token: attachment_token + amount_net: 6.704019297950036 + dn_ai_destination: dn_ai_destination + ai_url: ai_url + amount_cassa: 7.386281948385884 + cassa2_taxable: 7.457744773683766 + v_margins: 6 + amount_cassa2: 6.84685269835264 + accompanying_invoice: true + amount_rivalsa_taxable: 7.058770351582356 + amount_rivalsa: 0.8851374739011653 + show_totals: all + stamp_duty: 8.762042012749001 + use_gross_prices: true + global_cassa_taxable: 4.965218492984954 + e_invoice: true + dn_ai_packages_number: dn_ai_packages_number + withholding_tax: 9.965781217890562 + amount_withholding_tax_taxable: 0.10263654006109402 + other_withholding_tax: 6.683562403749608 + ei_other_withholding_tax_type: ei_other_withholding_tax_type + template: + supports_custom_taxable: true + can_disable_watermark: true + author: author + name: name + privacy: privacy + id: 2 + type: type + content: content + cassa: 4.145608029883936 + ei_raw: "{}" + amount_global_cassa_taxable: 5.025004791520295 + amount_due_discount: 7.143538047012306 + amount_enasarco_taxable: 7.740351818741173 created_at: created_at - amortization: 1.2315135367772556 - type: expense + visible_subject: visible_subject + use_split_payment: true payments_list: - - amount: 9.369310271410669 + - amount: 1.45 payment_account: cuc: cuc virtual: true @@ -17681,14 +62124,15 @@ components: sia: sia id: 2 type: standard - due_date: 2000-01-23 - id: 9 + ei_raw: "{}" + due_date: 2018-04-03 + id: 6 payment_terms: - days: 6 - type: standard - paid_date: 2000-01-23 - status: status - - amount: 9.369310271410669 + days: 1 + type: null + paid_date: 2018-04-03 + status: not_paid + - amount: 1.45 payment_account: cuc: cuc virtual: true @@ -17697,77 +62141,61 @@ components: sia: sia id: 2 type: standard - due_date: 2000-01-23 - id: 9 + ei_raw: "{}" + due_date: 2018-04-03 + id: 6 payment_terms: - days: 6 - type: standard - paid_date: 2000-01-23 - status: status - is_detailed: true + days: 1 + type: null + paid_date: 2018-04-03 + status: not_paid + h_margins: 6 + dn_date: 2000-01-23 + ei_other_withholding_tax_causal: ei_other_withholding_tax_causal next_due_date: 2000-01-23 - rc_center: rc_center + cassa2: 1.4894159098541704 + withholding_tax_taxable: 9.369310271410669 is_marked: true updated_at: updated_at - amount_vat: 3.616076749251911 - items_list: - - code: code - measure: measure - product_id: 7 - qty: 4.965218492984954 - name: name - vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - net_price: 1.1730742509559433 - id: 6 - category: category - stock: 5.025004791520295 - - code: code - measure: measure - product_id: 7 - qty: 4.965218492984954 - name: name - vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - net_price: 1.1730742509559433 - id: 6 - category: category - stock: 5.025004791520295 + amount_vat: 3.353193347011243 + amount_other_withholding_tax_taxable: 8.969578798196912 currency: symbol: € exchange_rate: "1" html_symbol: EUR id: EUR - id: 7 - amount_other_withholding_tax: 4.145608029883936 - locked: true - invoice_number: invoice_number - vat_deductibility: 1.4894159098541704 - attachment_token: attachment_token - amount_net: 9.301444243932576 + dn_number: 5 + amount_other_withholding_tax: 4.652396432933246 + ei_cassa_type: ei_cassa_type + dn_ai_transporter: dn_ai_transporter + show_notification_button: true + dn_url: dn_url + show_payment_method: true + price_list_id: price_list_id + delivery_note: true + url: url attachment_url: attachment_url - amount_withholding_tax: 2.027123023002322 - e_invoice: true - category: category - amount_gross: 7.386281948385884 + amount_withholding_tax: 6.519180951018382 + extra_data: + ts_file_id: ts_file_id + debt_vat_detect: true + ts_flag_tipo_spesa: 3.0576100241049344 + ts_opposizione: true + ts_tipo_spesa: ts_tipo_spesa + imported_by: imported_by + ts_sent_date: 2000-01-23 + ts_pagamento_tracciato: true + ts_status: 7 + ts_communication: true + ts_full_amount: true + multifatture_sent: 3 + revenue_detect: true + ei_status: attempt + seen_date: 2000-01-23 + ei_cassa2_type: ei_cassa2_type + ei_withholding_tax_causal: ei_withholding_tax_causal + cassa_taxable: 1.2315135367772556 + amount_gross: 3.0937452626664474 entity: country: Italia code: "123" @@ -17842,28 +62270,201 @@ components: certified_email: mario.rossi@pec.example.it has_intent_declaration: true intent_declaration_protocol_date: 2000-01-23 - last_page: 1 - last_page_url: https://openapi-generator.tech - next_page_url: https://openapi-generator.tech - from: 6 - to: 5 - prev_page_url: https://openapi-generator.tech - current_page: 0 - title: ListReceivedDocumentsResponse - CreateReceivedDocumentResponse: - description: "" + amount_cassa_taxable: 1.0246457001441578 + amount_cassa2_taxable: 1.1730742509559433 + options: + keep_copy: true + transform: true + join_type: join_type + create_from: + - create_from + - create_from + fix_payments: true + properties: + data: + $ref: "#/components/schemas/IssuedDocument" + options: + $ref: "#/components/schemas/IssuedDocumentOptions" + title: CreateIssuedDocumentRequest + type: object + CreateIssuedDocumentResponse: example: data: date: 2000-01-23 - attachment_preview_url: attachment_preview_url - auto_calculate: true - tax_deductibility: 1.0246457001441578 - description: description + numeration: /A + notes: notes + year: 3 + subject: subject + rivalsa: 2.027123023002322 + dn_ai_causal: dn_ai_causal + language: + code: code + name: name + type: invoice + show_payments: true + ei_data: + original_document_type: ordine + cig: cig + bank_name: bank_name + od_number: od_number + od_date: 2000-01-23 + bank_beneficiary: bank_beneficiary + vat_kind: null + bank_iban: bank_iban + invoice_number: invoice_number + payment_method: payment_method + cup: cup + invoice_date: 2000-01-23 + dn_ai_weight: dn_ai_weight + number: 1 + rc_center: rc_center + items_list: + - code: "239874892374982" + ei_raw: "{}" + discount_highlight: true + vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + description: description + not_taxable: true + discount: 3.5571952270680973 + net_price: 1.23 + apply_withholding_taxes: true + measure: measure + product_id: 1234 + qty: 6.438423552598547 + name: Water bottle + gross_price: 1.45 + id: 9 + category: category + stock: true + in_dn: true + - code: "239874892374982" + ei_raw: "{}" + discount_highlight: true + vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + description: description + not_taxable: true + discount: 3.5571952270680973 + net_price: 1.23 + apply_withholding_taxes: true + measure: measure + product_id: 1234 + qty: 6.438423552598547 + name: Water bottle + gross_price: 1.45 + id: 9 + category: category + stock: true + in_dn: true + dn_ai_notes: dn_ai_notes + acc_inv_template: + supports_custom_taxable: true + can_disable_watermark: true + author: author + name: name + privacy: privacy + id: 2 + type: type + content: content + id: 7 + delivery_note_template: + supports_custom_taxable: true + can_disable_watermark: true + author: author + name: name + privacy: privacy + id: 2 + type: type + content: content + locked: true + show_tspay_button: true + payment_method: + default_payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + name: name + bank_name: bank_name + details: + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + bank_beneficiary: bank_beneficiary + id: 3 + type: standard + is_default: true + ei_payment_method: ei_payment_method + bank_iban: bank_iban + attachment_token: attachment_token + amount_net: 6.704019297950036 + dn_ai_destination: dn_ai_destination + ai_url: ai_url + amount_cassa: 7.386281948385884 + cassa2_taxable: 7.457744773683766 + v_margins: 6 + amount_cassa2: 6.84685269835264 + accompanying_invoice: true + amount_rivalsa_taxable: 7.058770351582356 + amount_rivalsa: 0.8851374739011653 + show_totals: all + stamp_duty: 8.762042012749001 + use_gross_prices: true + global_cassa_taxable: 4.965218492984954 + e_invoice: true + dn_ai_packages_number: dn_ai_packages_number + withholding_tax: 9.965781217890562 + amount_withholding_tax_taxable: 0.10263654006109402 + other_withholding_tax: 6.683562403749608 + ei_other_withholding_tax_type: ei_other_withholding_tax_type + template: + supports_custom_taxable: true + can_disable_watermark: true + author: author + name: name + privacy: privacy + id: 2 + type: type + content: content + cassa: 4.145608029883936 + ei_raw: "{}" + amount_global_cassa_taxable: 5.025004791520295 + amount_due_discount: 7.143538047012306 + amount_enasarco_taxable: 7.740351818741173 created_at: created_at - amortization: 1.2315135367772556 - type: expense + visible_subject: visible_subject + use_split_payment: true payments_list: - - amount: 9.369310271410669 + - amount: 1.45 payment_account: cuc: cuc virtual: true @@ -17872,14 +62473,15 @@ components: sia: sia id: 2 type: standard - due_date: 2000-01-23 - id: 9 + ei_raw: "{}" + due_date: 2018-04-03 + id: 6 payment_terms: - days: 6 - type: standard - paid_date: 2000-01-23 - status: status - - amount: 9.369310271410669 + days: 1 + type: null + paid_date: 2018-04-03 + status: not_paid + - amount: 1.45 payment_account: cuc: cuc virtual: true @@ -17888,77 +62490,61 @@ components: sia: sia id: 2 type: standard - due_date: 2000-01-23 - id: 9 + ei_raw: "{}" + due_date: 2018-04-03 + id: 6 payment_terms: - days: 6 - type: standard - paid_date: 2000-01-23 - status: status - is_detailed: true + days: 1 + type: null + paid_date: 2018-04-03 + status: not_paid + h_margins: 6 + dn_date: 2000-01-23 + ei_other_withholding_tax_causal: ei_other_withholding_tax_causal next_due_date: 2000-01-23 - rc_center: rc_center + cassa2: 1.4894159098541704 + withholding_tax_taxable: 9.369310271410669 is_marked: true updated_at: updated_at - amount_vat: 3.616076749251911 - items_list: - - code: code - measure: measure - product_id: 7 - qty: 4.965218492984954 - name: name - vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - net_price: 1.1730742509559433 - id: 6 - category: category - stock: 5.025004791520295 - - code: code - measure: measure - product_id: 7 - qty: 4.965218492984954 - name: name - vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - net_price: 1.1730742509559433 - id: 6 - category: category - stock: 5.025004791520295 + amount_vat: 3.353193347011243 + amount_other_withholding_tax_taxable: 8.969578798196912 currency: symbol: € exchange_rate: "1" html_symbol: EUR id: EUR - id: 7 - amount_other_withholding_tax: 4.145608029883936 - locked: true - invoice_number: invoice_number - vat_deductibility: 1.4894159098541704 - attachment_token: attachment_token - amount_net: 9.301444243932576 + dn_number: 5 + amount_other_withholding_tax: 4.652396432933246 + ei_cassa_type: ei_cassa_type + dn_ai_transporter: dn_ai_transporter + show_notification_button: true + dn_url: dn_url + show_payment_method: true + price_list_id: price_list_id + delivery_note: true + url: url attachment_url: attachment_url - amount_withholding_tax: 2.027123023002322 - e_invoice: true - category: category - amount_gross: 7.386281948385884 + amount_withholding_tax: 6.519180951018382 + extra_data: + ts_file_id: ts_file_id + debt_vat_detect: true + ts_flag_tipo_spesa: 3.0576100241049344 + ts_opposizione: true + ts_tipo_spesa: ts_tipo_spesa + imported_by: imported_by + ts_sent_date: 2000-01-23 + ts_pagamento_tracciato: true + ts_status: 7 + ts_communication: true + ts_full_amount: true + multifatture_sent: 3 + revenue_detect: true + ei_status: attempt + seen_date: 2000-01-23 + ei_cassa2_type: ei_cassa2_type + ei_withholding_tax_causal: ei_withholding_tax_causal + cassa_taxable: 1.2315135367772556 + amount_gross: 3.0937452626664474 entity: country: Italia code: "123" @@ -18033,68 +62619,48 @@ components: certified_email: mario.rossi@pec.example.it has_intent_declaration: true intent_declaration_protocol_date: 2000-01-23 + amount_cassa_taxable: 1.0246457001441578 + amount_cassa2_taxable: 1.1730742509559433 properties: data: - $ref: "#/components/schemas/ReceivedDocument" - title: CreateReceivedDocumentResponse + $ref: "#/components/schemas/IssuedDocument" + title: CreateIssuedDocumentResponse type: object - GetReceivedDocumentResponse: - description: "" + GetIssuedDocumentResponse: example: data: date: 2000-01-23 - attachment_preview_url: attachment_preview_url - auto_calculate: true - tax_deductibility: 1.0246457001441578 - description: description - created_at: created_at - amortization: 1.2315135367772556 - type: expense - payments_list: - - amount: 9.369310271410669 - payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - due_date: 2000-01-23 - id: 9 - payment_terms: - days: 6 - type: standard - paid_date: 2000-01-23 - status: status - - amount: 9.369310271410669 - payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - due_date: 2000-01-23 - id: 9 - payment_terms: - days: 6 - type: standard - paid_date: 2000-01-23 - status: status - is_detailed: true - next_due_date: 2000-01-23 + numeration: /A + notes: notes + year: 3 + subject: subject + rivalsa: 2.027123023002322 + dn_ai_causal: dn_ai_causal + language: + code: code + name: name + type: invoice + show_payments: true + ei_data: + original_document_type: ordine + cig: cig + bank_name: bank_name + od_number: od_number + od_date: 2000-01-23 + bank_beneficiary: bank_beneficiary + vat_kind: null + bank_iban: bank_iban + invoice_number: invoice_number + payment_method: payment_method + cup: cup + invoice_date: 2000-01-23 + dn_ai_weight: dn_ai_weight + number: 1 rc_center: rc_center - is_marked: true - updated_at: updated_at - amount_vat: 3.616076749251911 items_list: - - code: code - measure: measure - product_id: 7 - qty: 4.965218492984954 - name: name + - code: "239874892374982" + ei_raw: "{}" + discount_highlight: true vat: ei_description: ei_description default: true @@ -18106,59 +62672,24 @@ components: description: Non imponibile art. 123 id: 9 value: 22 - net_price: 1.1730742509559433 - id: 6 - category: category - stock: 5.025004791520295 - - code: code + description: description + not_taxable: true + discount: 3.5571952270680973 + net_price: 1.23 + apply_withholding_taxes: true measure: measure - product_id: 7 - qty: 4.965218492984954 - name: name - vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - net_price: 1.1730742509559433 - id: 6 - category: category - stock: 5.025004791520295 - currency: - symbol: € - exchange_rate: "1" - html_symbol: EUR - id: EUR - id: 7 - amount_other_withholding_tax: 4.145608029883936 - locked: true - invoice_number: invoice_number - vat_deductibility: 1.4894159098541704 - attachment_token: attachment_token - amount_net: 9.301444243932576 - attachment_url: attachment_url - amount_withholding_tax: 2.027123023002322 - e_invoice: true - category: category - amount_gross: 7.386281948385884 - entity: - country: Italia - code: "123" - notes: notes - ei_code: ei_code - default_payment_terms_type: standard - vat_number: IT01234567890 - created_at: created_at - type: company - address_extra: address_extra - bank_swift_code: bank_swift_code - default_vat: + product_id: 1234 + qty: 6.438423552598547 + name: Water bottle + gross_price: 1.45 + id: 9 + category: category + stock: true + in_dn: true + - code: "239874892374982" + ei_raw: "{}" + discount_highlight: true + vat: ei_description: ei_description default: true notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" @@ -18169,77 +62700,110 @@ components: description: Non imponibile art. 123 id: 9 value: 22 - address_province: BG - updated_at: updated_at - bank_name: bank_name + description: description + not_taxable: true + discount: 3.5571952270680973 + net_price: 1.23 + apply_withholding_taxes: true + measure: measure + product_id: 1234 + qty: 6.438423552598547 + name: Water bottle + gross_price: 1.45 id: 9 - shipping_address: shipping_address - fax: fax - first_name: first_name - bank_iban: bank_iban - country_iso: Italia - email: mario.rossi@example.it - contact_person: contact_person - address_postal_code: "24010" - default_payment_method: - default_payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - name: name - bank_name: bank_name - details: - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - bank_beneficiary: bank_beneficiary - id: 3 + category: category + stock: true + in_dn: true + dn_ai_notes: dn_ai_notes + acc_inv_template: + supports_custom_taxable: true + can_disable_watermark: true + author: author + name: name + privacy: privacy + id: 2 + type: type + content: content + id: 7 + delivery_note_template: + supports_custom_taxable: true + can_disable_watermark: true + author: author + name: name + privacy: privacy + id: 2 + type: type + content: content + locked: true + show_tspay_button: true + payment_method: + default_payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 type: standard - is_default: true - ei_payment_method: ei_payment_method - bank_iban: bank_iban - last_name: last_name - address_city: Bergamo - tax_code: RSSMRA44A12E890Q - intent_declaration_protocol_number: intent_declaration_protocol_number - phone: phone - address_street: "Via dei tigli, 12" - e_invoice: true - name: Rossi S.r.l. - default_payment_terms: 30 - certified_email: mario.rossi@pec.example.it - has_intent_declaration: true - intent_declaration_protocol_date: 2000-01-23 - properties: - data: - $ref: "#/components/schemas/ReceivedDocument" - title: GetReceivedDocumentResponse - type: object - ModifyReceivedDocumentResponse: - description: "" - example: - data: - date: 2000-01-23 - attachment_preview_url: attachment_preview_url - auto_calculate: true - tax_deductibility: 1.0246457001441578 - description: description + name: name + bank_name: bank_name + details: + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + bank_beneficiary: bank_beneficiary + id: 3 + type: standard + is_default: true + ei_payment_method: ei_payment_method + bank_iban: bank_iban + attachment_token: attachment_token + amount_net: 6.704019297950036 + dn_ai_destination: dn_ai_destination + ai_url: ai_url + amount_cassa: 7.386281948385884 + cassa2_taxable: 7.457744773683766 + v_margins: 6 + amount_cassa2: 6.84685269835264 + accompanying_invoice: true + amount_rivalsa_taxable: 7.058770351582356 + amount_rivalsa: 0.8851374739011653 + show_totals: all + stamp_duty: 8.762042012749001 + use_gross_prices: true + global_cassa_taxable: 4.965218492984954 + e_invoice: true + dn_ai_packages_number: dn_ai_packages_number + withholding_tax: 9.965781217890562 + amount_withholding_tax_taxable: 0.10263654006109402 + other_withholding_tax: 6.683562403749608 + ei_other_withholding_tax_type: ei_other_withholding_tax_type + template: + supports_custom_taxable: true + can_disable_watermark: true + author: author + name: name + privacy: privacy + id: 2 + type: type + content: content + cassa: 4.145608029883936 + ei_raw: "{}" + amount_global_cassa_taxable: 5.025004791520295 + amount_due_discount: 7.143538047012306 + amount_enasarco_taxable: 7.740351818741173 created_at: created_at - amortization: 1.2315135367772556 - type: expense + visible_subject: visible_subject + use_split_payment: true payments_list: - - amount: 9.369310271410669 + - amount: 1.45 payment_account: cuc: cuc virtual: true @@ -18248,14 +62812,15 @@ components: sia: sia id: 2 type: standard - due_date: 2000-01-23 - id: 9 + ei_raw: "{}" + due_date: 2018-04-03 + id: 6 payment_terms: - days: 6 - type: standard - paid_date: 2000-01-23 - status: status - - amount: 9.369310271410669 + days: 1 + type: null + paid_date: 2018-04-03 + status: not_paid + - amount: 1.45 payment_account: cuc: cuc virtual: true @@ -18264,77 +62829,61 @@ components: sia: sia id: 2 type: standard - due_date: 2000-01-23 - id: 9 + ei_raw: "{}" + due_date: 2018-04-03 + id: 6 payment_terms: - days: 6 - type: standard - paid_date: 2000-01-23 - status: status - is_detailed: true + days: 1 + type: null + paid_date: 2018-04-03 + status: not_paid + h_margins: 6 + dn_date: 2000-01-23 + ei_other_withholding_tax_causal: ei_other_withholding_tax_causal next_due_date: 2000-01-23 - rc_center: rc_center + cassa2: 1.4894159098541704 + withholding_tax_taxable: 9.369310271410669 is_marked: true updated_at: updated_at - amount_vat: 3.616076749251911 - items_list: - - code: code - measure: measure - product_id: 7 - qty: 4.965218492984954 - name: name - vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - net_price: 1.1730742509559433 - id: 6 - category: category - stock: 5.025004791520295 - - code: code - measure: measure - product_id: 7 - qty: 4.965218492984954 - name: name - vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - net_price: 1.1730742509559433 - id: 6 - category: category - stock: 5.025004791520295 + amount_vat: 3.353193347011243 + amount_other_withholding_tax_taxable: 8.969578798196912 currency: symbol: € exchange_rate: "1" html_symbol: EUR id: EUR - id: 7 - amount_other_withholding_tax: 4.145608029883936 - locked: true - invoice_number: invoice_number - vat_deductibility: 1.4894159098541704 - attachment_token: attachment_token - amount_net: 9.301444243932576 + dn_number: 5 + amount_other_withholding_tax: 4.652396432933246 + ei_cassa_type: ei_cassa_type + dn_ai_transporter: dn_ai_transporter + show_notification_button: true + dn_url: dn_url + show_payment_method: true + price_list_id: price_list_id + delivery_note: true + url: url attachment_url: attachment_url - amount_withholding_tax: 2.027123023002322 - e_invoice: true - category: category - amount_gross: 7.386281948385884 + amount_withholding_tax: 6.519180951018382 + extra_data: + ts_file_id: ts_file_id + debt_vat_detect: true + ts_flag_tipo_spesa: 3.0576100241049344 + ts_opposizione: true + ts_tipo_spesa: ts_tipo_spesa + imported_by: imported_by + ts_sent_date: 2000-01-23 + ts_pagamento_tracciato: true + ts_status: 7 + ts_communication: true + ts_full_amount: true + multifatture_sent: 3 + revenue_detect: true + ei_status: attempt + seen_date: 2000-01-23 + ei_cassa2_type: ei_cassa2_type + ei_withholding_tax_causal: ei_withholding_tax_causal + cassa_taxable: 1.2315135367772556 + amount_gross: 3.0937452626664474 entity: country: Italia code: "123" @@ -18409,264 +62958,49 @@ components: certified_email: mario.rossi@pec.example.it has_intent_declaration: true intent_declaration_protocol_date: 2000-01-23 + amount_cassa_taxable: 1.0246457001441578 + amount_cassa2_taxable: 1.1730742509559433 properties: data: - $ref: "#/components/schemas/ReceivedDocument" - title: ModifyReceivedDocumentResponse - type: object - GetNewReceivedDocumentTotalsResponse: - description: "" - example: - data: - amount_net: 0.8008281904610115 - amount_withholding_tax: 5.962133916683182 - amount_vat: 6.027456183070403 - payments_sum: 7.061401241503109 - amount_due: 2.3021358869347655 - amount_other_withholding_tax: 5.637376656633329 - amount_gross: 1.4658129805029452 - properties: - data: - $ref: "#/components/schemas/ReceivedDocumentTotals" - title: GetNewReceivedDocumentTotalsResponse - type: object - GetExistingReceivedDocumentTotalsResponse: - description: "" - example: - data: - amount_net: 0.8008281904610115 - amount_withholding_tax: 5.962133916683182 - amount_vat: 6.027456183070403 - payments_sum: 7.061401241503109 - amount_due: 2.3021358869347655 - amount_other_withholding_tax: 5.637376656633329 - amount_gross: 1.4658129805029452 - properties: - data: - $ref: "#/components/schemas/ReceivedDocumentTotals" - title: GetExistingReceivedDocumentTotalsResponse - type: object - UploadReceivedDocumentAttachmentResponse: - example: - data: - attachment_token: YmMyNWYxYzIwMTU3N2Y4ZGE3ZjZiMzg5OWY0ODNkZDQveXl5LmRvYw - properties: - data: - $ref: "#/components/schemas/AttachmentData" - title: UploadReceivedDocumentAttachmentResponse - type: object - GetReceivedDocumentPreCreateInfoResponse: - description: "" - example: - data: - default_values: - detailed: true - items_default_values: - vat: 0.8008281904610115 - categories_list: - - categories_list - - categories_list - payment_accounts_list: - - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - currencies_list: - - symbol: € - exchange_rate: "1" - html_symbol: EUR - id: EUR - - symbol: € - exchange_rate: "1" - html_symbol: EUR - id: EUR - vat_types_list: - - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - countries_list: - - countries_list - - countries_list - properties: - data: - $ref: "#/components/schemas/ReceivedDocumentInfo" - title: GetReceivedDocumentPreCreateInfoResponse + $ref: "#/components/schemas/IssuedDocument" + title: GetIssuedDocumentResponse type: object - ListReceiptsResponse: - allOf: - - $ref: "#/components/schemas/Pagination" - - $ref: "#/components/schemas/ListReceiptsResponsePage" - description: "" - example: - first_page_url: https://openapi-generator.tech - path: https://openapi-generator.tech - per_page: 5 - total: 2 - data: - - date: 2000-01-23 - amount_net: 3.616076749251911 - numeration: numeration - description: description - created_at: created_at - type: till_receipt - number: 9.301444243932576 - use_gross_prices: true - rc_center: rc_center - payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - updated_at: updated_at - amount_vat: 2.027123023002322 - items_list: - - amount_net: 1.2315135367772556 - vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - id: 7 - category: category - amount_gross: 1.0246457001441578 - - amount_net: 1.2315135367772556 - vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - id: 7 - category: category - amount_gross: 1.0246457001441578 - id: 7 - amount_gross: 4.145608029883936 - - date: 2000-01-23 - amount_net: 3.616076749251911 - numeration: numeration - description: description - created_at: created_at - type: till_receipt - number: 9.301444243932576 - use_gross_prices: true - rc_center: rc_center - payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - updated_at: updated_at - amount_vat: 2.027123023002322 - items_list: - - amount_net: 1.2315135367772556 - vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - id: 7 - category: category - amount_gross: 1.0246457001441578 - - amount_net: 1.2315135367772556 - vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - id: 7 - category: category - amount_gross: 1.0246457001441578 - id: 7 - amount_gross: 4.145608029883936 - last_page: 1 - last_page_url: https://openapi-generator.tech - next_page_url: https://openapi-generator.tech - from: 6 - to: 5 - prev_page_url: https://openapi-generator.tech - current_page: 0 - title: ListReceiptsResponse - CreateReceiptResponse: + ModifyIssuedDocumentRequest: description: "" example: data: date: 2000-01-23 - amount_net: 3.616076749251911 - numeration: numeration - description: description - created_at: created_at - type: till_receipt - number: 9.301444243932576 - use_gross_prices: true + numeration: /A + notes: notes + year: 3 + subject: subject + rivalsa: 2.027123023002322 + dn_ai_causal: dn_ai_causal + language: + code: code + name: name + type: invoice + show_payments: true + ei_data: + original_document_type: ordine + cig: cig + bank_name: bank_name + od_number: od_number + od_date: 2000-01-23 + bank_beneficiary: bank_beneficiary + vat_kind: null + bank_iban: bank_iban + invoice_number: invoice_number + payment_method: payment_method + cup: cup + invoice_date: 2000-01-23 + dn_ai_weight: dn_ai_weight + number: 1 rc_center: rc_center - payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - updated_at: updated_at - amount_vat: 2.027123023002322 items_list: - - amount_net: 1.2315135367772556 + - code: "239874892374982" + ei_raw: "{}" + discount_highlight: true vat: ei_description: ei_description default: true @@ -18678,10 +63012,23 @@ components: description: Non imponibile art. 123 id: 9 value: 22 - id: 7 + description: description + not_taxable: true + discount: 3.5571952270680973 + net_price: 1.23 + apply_withholding_taxes: true + measure: measure + product_id: 1234 + qty: 6.438423552598547 + name: Water bottle + gross_price: 1.45 + id: 9 category: category - amount_gross: 1.0246457001441578 - - amount_net: 1.2315135367772556 + stock: true + in_dn: true + - code: "239874892374982" + ei_raw: "{}" + discount_highlight: true vat: ei_description: ei_description default: true @@ -18693,41 +63040,316 @@ components: description: Non imponibile art. 123 id: 9 value: 22 - id: 7 + description: description + not_taxable: true + discount: 3.5571952270680973 + net_price: 1.23 + apply_withholding_taxes: true + measure: measure + product_id: 1234 + qty: 6.438423552598547 + name: Water bottle + gross_price: 1.45 + id: 9 category: category - amount_gross: 1.0246457001441578 + stock: true + in_dn: true + dn_ai_notes: dn_ai_notes + acc_inv_template: + supports_custom_taxable: true + can_disable_watermark: true + author: author + name: name + privacy: privacy + id: 2 + type: type + content: content id: 7 - amount_gross: 4.145608029883936 + delivery_note_template: + supports_custom_taxable: true + can_disable_watermark: true + author: author + name: name + privacy: privacy + id: 2 + type: type + content: content + locked: true + show_tspay_button: true + payment_method: + default_payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + name: name + bank_name: bank_name + details: + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + bank_beneficiary: bank_beneficiary + id: 3 + type: standard + is_default: true + ei_payment_method: ei_payment_method + bank_iban: bank_iban + attachment_token: attachment_token + amount_net: 6.704019297950036 + dn_ai_destination: dn_ai_destination + ai_url: ai_url + amount_cassa: 7.386281948385884 + cassa2_taxable: 7.457744773683766 + v_margins: 6 + amount_cassa2: 6.84685269835264 + accompanying_invoice: true + amount_rivalsa_taxable: 7.058770351582356 + amount_rivalsa: 0.8851374739011653 + show_totals: all + stamp_duty: 8.762042012749001 + use_gross_prices: true + global_cassa_taxable: 4.965218492984954 + e_invoice: true + dn_ai_packages_number: dn_ai_packages_number + withholding_tax: 9.965781217890562 + amount_withholding_tax_taxable: 0.10263654006109402 + other_withholding_tax: 6.683562403749608 + ei_other_withholding_tax_type: ei_other_withholding_tax_type + template: + supports_custom_taxable: true + can_disable_watermark: true + author: author + name: name + privacy: privacy + id: 2 + type: type + content: content + cassa: 4.145608029883936 + ei_raw: "{}" + amount_global_cassa_taxable: 5.025004791520295 + amount_due_discount: 7.143538047012306 + amount_enasarco_taxable: 7.740351818741173 + created_at: created_at + visible_subject: visible_subject + use_split_payment: true + payments_list: + - amount: 1.45 + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + ei_raw: "{}" + due_date: 2018-04-03 + id: 6 + payment_terms: + days: 1 + type: null + paid_date: 2018-04-03 + status: not_paid + - amount: 1.45 + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + ei_raw: "{}" + due_date: 2018-04-03 + id: 6 + payment_terms: + days: 1 + type: null + paid_date: 2018-04-03 + status: not_paid + h_margins: 6 + dn_date: 2000-01-23 + ei_other_withholding_tax_causal: ei_other_withholding_tax_causal + next_due_date: 2000-01-23 + cassa2: 1.4894159098541704 + withholding_tax_taxable: 9.369310271410669 + is_marked: true + updated_at: updated_at + amount_vat: 3.353193347011243 + amount_other_withholding_tax_taxable: 8.969578798196912 + currency: + symbol: € + exchange_rate: "1" + html_symbol: EUR + id: EUR + dn_number: 5 + amount_other_withholding_tax: 4.652396432933246 + ei_cassa_type: ei_cassa_type + dn_ai_transporter: dn_ai_transporter + show_notification_button: true + dn_url: dn_url + show_payment_method: true + price_list_id: price_list_id + delivery_note: true + url: url + attachment_url: attachment_url + amount_withholding_tax: 6.519180951018382 + extra_data: + ts_file_id: ts_file_id + debt_vat_detect: true + ts_flag_tipo_spesa: 3.0576100241049344 + ts_opposizione: true + ts_tipo_spesa: ts_tipo_spesa + imported_by: imported_by + ts_sent_date: 2000-01-23 + ts_pagamento_tracciato: true + ts_status: 7 + ts_communication: true + ts_full_amount: true + multifatture_sent: 3 + revenue_detect: true + ei_status: attempt + seen_date: 2000-01-23 + ei_cassa2_type: ei_cassa2_type + ei_withholding_tax_causal: ei_withholding_tax_causal + cassa_taxable: 1.2315135367772556 + amount_gross: 3.0937452626664474 + entity: + country: Italia + code: "123" + notes: notes + ei_code: ei_code + default_payment_terms_type: standard + vat_number: IT01234567890 + created_at: created_at + type: company + address_extra: address_extra + bank_swift_code: bank_swift_code + default_vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + address_province: BG + updated_at: updated_at + bank_name: bank_name + id: 9 + shipping_address: shipping_address + fax: fax + first_name: first_name + bank_iban: bank_iban + country_iso: Italia + email: mario.rossi@example.it + contact_person: contact_person + address_postal_code: "24010" + default_payment_method: + default_payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + name: name + bank_name: bank_name + details: + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + bank_beneficiary: bank_beneficiary + id: 3 + type: standard + is_default: true + ei_payment_method: ei_payment_method + bank_iban: bank_iban + last_name: last_name + address_city: Bergamo + tax_code: RSSMRA44A12E890Q + intent_declaration_protocol_number: intent_declaration_protocol_number + phone: phone + address_street: "Via dei tigli, 12" + e_invoice: true + name: Rossi S.r.l. + default_payment_terms: 30 + certified_email: mario.rossi@pec.example.it + has_intent_declaration: true + intent_declaration_protocol_date: 2000-01-23 + amount_cassa_taxable: 1.0246457001441578 + amount_cassa2_taxable: 1.1730742509559433 + options: + keep_copy: true + transform: true + join_type: join_type + create_from: + - create_from + - create_from + fix_payments: true properties: data: - $ref: "#/components/schemas/Receipt" - title: CreateReceiptResponse + $ref: "#/components/schemas/IssuedDocument" + options: + $ref: "#/components/schemas/IssuedDocumentOptions" + title: ModifyIssuedDocumentRequest type: object - GetReceiptResponse: - description: "" + ModifyIssuedDocumentResponse: example: data: date: 2000-01-23 - amount_net: 3.616076749251911 - numeration: numeration - description: description - created_at: created_at - type: till_receipt - number: 9.301444243932576 - use_gross_prices: true + numeration: /A + notes: notes + year: 3 + subject: subject + rivalsa: 2.027123023002322 + dn_ai_causal: dn_ai_causal + language: + code: code + name: name + type: invoice + show_payments: true + ei_data: + original_document_type: ordine + cig: cig + bank_name: bank_name + od_number: od_number + od_date: 2000-01-23 + bank_beneficiary: bank_beneficiary + vat_kind: null + bank_iban: bank_iban + invoice_number: invoice_number + payment_method: payment_method + cup: cup + invoice_date: 2000-01-23 + dn_ai_weight: dn_ai_weight + number: 1 rc_center: rc_center - payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - updated_at: updated_at - amount_vat: 2.027123023002322 items_list: - - amount_net: 1.2315135367772556 + - code: "239874892374982" + ei_raw: "{}" + discount_highlight: true vat: ei_description: ei_description default: true @@ -18739,10 +63361,23 @@ components: description: Non imponibile art. 123 id: 9 value: 22 - id: 7 + description: description + not_taxable: true + discount: 3.5571952270680973 + net_price: 1.23 + apply_withholding_taxes: true + measure: measure + product_id: 1234 + qty: 6.438423552598547 + name: Water bottle + gross_price: 1.45 + id: 9 category: category - amount_gross: 1.0246457001441578 - - amount_net: 1.2315135367772556 + stock: true + in_dn: true + - code: "239874892374982" + ei_raw: "{}" + discount_highlight: true vat: ei_description: ei_description default: true @@ -18754,57 +63389,202 @@ components: description: Non imponibile art. 123 id: 9 value: 22 - id: 7 + description: description + not_taxable: true + discount: 3.5571952270680973 + net_price: 1.23 + apply_withholding_taxes: true + measure: measure + product_id: 1234 + qty: 6.438423552598547 + name: Water bottle + gross_price: 1.45 + id: 9 category: category - amount_gross: 1.0246457001441578 + stock: true + in_dn: true + dn_ai_notes: dn_ai_notes + acc_inv_template: + supports_custom_taxable: true + can_disable_watermark: true + author: author + name: name + privacy: privacy + id: 2 + type: type + content: content id: 7 - amount_gross: 4.145608029883936 - properties: - data: - $ref: "#/components/schemas/Receipt" - title: GetReceiptResponse - type: object - ModifyReceiptResponse: - description: "" - example: - data: - date: 2000-01-23 - amount_net: 3.616076749251911 - numeration: numeration - description: description - created_at: created_at - type: till_receipt - number: 9.301444243932576 - use_gross_prices: true - rc_center: rc_center - payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia + delivery_note_template: + supports_custom_taxable: true + can_disable_watermark: true + author: author + name: name + privacy: privacy id: 2 + type: type + content: content + locked: true + show_tspay_button: true + payment_method: + default_payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + name: name + bank_name: bank_name + details: + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + bank_beneficiary: bank_beneficiary + id: 3 type: standard - updated_at: updated_at - amount_vat: 2.027123023002322 - items_list: - - amount_net: 1.2315135367772556 - vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - id: 7 - category: category - amount_gross: 1.0246457001441578 - - amount_net: 1.2315135367772556 - vat: + is_default: true + ei_payment_method: ei_payment_method + bank_iban: bank_iban + attachment_token: attachment_token + amount_net: 6.704019297950036 + dn_ai_destination: dn_ai_destination + ai_url: ai_url + amount_cassa: 7.386281948385884 + cassa2_taxable: 7.457744773683766 + v_margins: 6 + amount_cassa2: 6.84685269835264 + accompanying_invoice: true + amount_rivalsa_taxable: 7.058770351582356 + amount_rivalsa: 0.8851374739011653 + show_totals: all + stamp_duty: 8.762042012749001 + use_gross_prices: true + global_cassa_taxable: 4.965218492984954 + e_invoice: true + dn_ai_packages_number: dn_ai_packages_number + withholding_tax: 9.965781217890562 + amount_withholding_tax_taxable: 0.10263654006109402 + other_withholding_tax: 6.683562403749608 + ei_other_withholding_tax_type: ei_other_withholding_tax_type + template: + supports_custom_taxable: true + can_disable_watermark: true + author: author + name: name + privacy: privacy + id: 2 + type: type + content: content + cassa: 4.145608029883936 + ei_raw: "{}" + amount_global_cassa_taxable: 5.025004791520295 + amount_due_discount: 7.143538047012306 + amount_enasarco_taxable: 7.740351818741173 + created_at: created_at + visible_subject: visible_subject + use_split_payment: true + payments_list: + - amount: 1.45 + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + ei_raw: "{}" + due_date: 2018-04-03 + id: 6 + payment_terms: + days: 1 + type: null + paid_date: 2018-04-03 + status: not_paid + - amount: 1.45 + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + ei_raw: "{}" + due_date: 2018-04-03 + id: 6 + payment_terms: + days: 1 + type: null + paid_date: 2018-04-03 + status: not_paid + h_margins: 6 + dn_date: 2000-01-23 + ei_other_withholding_tax_causal: ei_other_withholding_tax_causal + next_due_date: 2000-01-23 + cassa2: 1.4894159098541704 + withholding_tax_taxable: 9.369310271410669 + is_marked: true + updated_at: updated_at + amount_vat: 3.353193347011243 + amount_other_withholding_tax_taxable: 8.969578798196912 + currency: + symbol: € + exchange_rate: "1" + html_symbol: EUR + id: EUR + dn_number: 5 + amount_other_withholding_tax: 4.652396432933246 + ei_cassa_type: ei_cassa_type + dn_ai_transporter: dn_ai_transporter + show_notification_button: true + dn_url: dn_url + show_payment_method: true + price_list_id: price_list_id + delivery_note: true + url: url + attachment_url: attachment_url + amount_withholding_tax: 6.519180951018382 + extra_data: + ts_file_id: ts_file_id + debt_vat_detect: true + ts_flag_tipo_spesa: 3.0576100241049344 + ts_opposizione: true + ts_tipo_spesa: ts_tipo_spesa + imported_by: imported_by + ts_sent_date: 2000-01-23 + ts_pagamento_tracciato: true + ts_status: 7 + ts_communication: true + ts_full_amount: true + multifatture_sent: 3 + revenue_detect: true + ei_status: attempt + seen_date: 2000-01-23 + ei_cassa2_type: ei_cassa2_type + ei_withholding_tax_causal: ei_withholding_tax_causal + cassa_taxable: 1.2315135367772556 + amount_gross: 3.0937452626664474 + entity: + country: Italia + code: "123" + notes: notes + ei_code: ei_code + default_payment_terms_type: standard + vat_number: IT01234567890 + created_at: created_at + type: company + address_extra: address_extra + bank_swift_code: bank_swift_code + default_vat: ei_description: ei_description default: true notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" @@ -18815,1068 +63595,3412 @@ components: description: Non imponibile art. 123 id: 9 value: 22 - id: 7 - category: category - amount_gross: 1.0246457001441578 - id: 7 - amount_gross: 4.145608029883936 - properties: - data: - $ref: "#/components/schemas/Receipt" - title: ModifyReceiptResponse - type: object - GetReceiptPreCreateInfoResponse: - description: "" - example: - data: - numerations_list: - - numerations_list - - numerations_list - numerations: - key: null - rc_centers_list: - - rc_centers_list - - rc_centers_list - payment_accounts_list: - - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - categories_list: - - categories_list - - categories_list - vat_types_list: - - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 + address_province: BG + updated_at: updated_at + bank_name: bank_name id: 9 - value: 22 - - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + shipping_address: shipping_address + fax: fax + first_name: first_name + bank_iban: bank_iban + country_iso: Italia + email: mario.rossi@example.it + contact_person: contact_person + address_postal_code: "24010" + default_payment_method: + default_payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + name: name + bank_name: bank_name + details: + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + bank_beneficiary: bank_beneficiary + id: 3 + type: standard + is_default: true + ei_payment_method: ei_payment_method + bank_iban: bank_iban + last_name: last_name + address_city: Bergamo + tax_code: RSSMRA44A12E890Q + intent_declaration_protocol_number: intent_declaration_protocol_number + phone: phone + address_street: "Via dei tigli, 12" e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - properties: - data: - $ref: "#/components/schemas/ReceiptPreCreateInfo" - title: GetReceiptPreCreateInfoResponse - type: object - GetReceiptsMonthlyTotalsResponse: - description: "" - example: - data: - - gross: 6.027456183070403 - count: 1.4658129805029452 - net: 0.8008281904610115 - - gross: 6.027456183070403 - count: 1.4658129805029452 - net: 0.8008281904610115 - properties: - data: - items: - $ref: "#/components/schemas/MonthlyTotal" - nullable: true - type: array - title: GetReceiptsMonthlyTotalsResponse - type: object - ListF24Response: - allOf: - - $ref: "#/components/schemas/Pagination" - - $ref: "#/components/schemas/ListF24ResponsePage" - - $ref: "#/components/schemas/ListF24ResponseAggregation" - description: "" - example: - per_page: 5 - data: - - attachment_token: attachment_token - amount: 300 - payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - due_date: 2018-02-12 - description: description - id: 7 - attachment_url: attachment_url - status: paid - - attachment_token: attachment_token - amount: 300 - payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - due_date: 2018-02-12 - description: description - id: 7 - attachment_url: attachment_url - status: paid - last_page: 1 - next_page_url: https://openapi-generator.tech - prev_page_url: https://openapi-generator.tech - first_page_url: https://openapi-generator.tech - path: https://openapi-generator.tech - total: 2 - last_page_url: https://openapi-generator.tech - aggregated_data: - amount: 9.301444243932576 - from: 6 - to: 5 - current_page: 0 - title: ListF24Response - CreateF24Response: - description: "" - example: - data: - attachment_token: attachment_token - amount: 300 - payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - due_date: 2018-02-12 - description: description - id: 7 - attachment_url: attachment_url - status: paid + name: Rossi S.r.l. + default_payment_terms: 30 + certified_email: mario.rossi@pec.example.it + has_intent_declaration: true + intent_declaration_protocol_date: 2000-01-23 + amount_cassa_taxable: 1.0246457001441578 + amount_cassa2_taxable: 1.1730742509559433 properties: data: - $ref: "#/components/schemas/F24" - title: CreateF24Response + $ref: "#/components/schemas/IssuedDocument" + title: ModifyIssuedDocumentResponse type: object - GetF24Response: + GetNewIssuedDocumentTotalsRequest: example: data: - attachment_token: attachment_token - amount: 300 - payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia + date: 2000-01-23 + numeration: /A + notes: notes + year: 3 + subject: subject + rivalsa: 2.027123023002322 + dn_ai_causal: dn_ai_causal + language: + code: code + name: name + type: invoice + show_payments: true + ei_data: + original_document_type: ordine + cig: cig + bank_name: bank_name + od_number: od_number + od_date: 2000-01-23 + bank_beneficiary: bank_beneficiary + vat_kind: null + bank_iban: bank_iban + invoice_number: invoice_number + payment_method: payment_method + cup: cup + invoice_date: 2000-01-23 + dn_ai_weight: dn_ai_weight + number: 1 + rc_center: rc_center + items_list: + - code: "239874892374982" + ei_raw: "{}" + discount_highlight: true + vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + description: description + not_taxable: true + discount: 3.5571952270680973 + net_price: 1.23 + apply_withholding_taxes: true + measure: measure + product_id: 1234 + qty: 6.438423552598547 + name: Water bottle + gross_price: 1.45 + id: 9 + category: category + stock: true + in_dn: true + - code: "239874892374982" + ei_raw: "{}" + discount_highlight: true + vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + description: description + not_taxable: true + discount: 3.5571952270680973 + net_price: 1.23 + apply_withholding_taxes: true + measure: measure + product_id: 1234 + qty: 6.438423552598547 + name: Water bottle + gross_price: 1.45 + id: 9 + category: category + stock: true + in_dn: true + dn_ai_notes: dn_ai_notes + acc_inv_template: + supports_custom_taxable: true + can_disable_watermark: true + author: author + name: name + privacy: privacy id: 2 - type: standard - due_date: 2018-02-12 - description: description + type: type + content: content id: 7 - attachment_url: attachment_url - status: paid - properties: - data: - $ref: "#/components/schemas/F24" - title: GetF24Response - type: object - ModifyF24Response: - description: "" - example: - data: - attachment_token: attachment_token - amount: 300 - payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia + delivery_note_template: + supports_custom_taxable: true + can_disable_watermark: true + author: author + name: name + privacy: privacy id: 2 + type: type + content: content + locked: true + show_tspay_button: true + payment_method: + default_payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + name: name + bank_name: bank_name + details: + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + bank_beneficiary: bank_beneficiary + id: 3 type: standard - due_date: 2018-02-12 - description: description - id: 7 - attachment_url: attachment_url - status: paid - properties: - data: - $ref: "#/components/schemas/F24" - title: ModifyF24Response - type: object - UploadF24AttachmentResponse: - example: - data: - attachment_token: YmMyNWYxYzIwMTU3N2Y4ZGE3ZjZiMzg5OWY0ODNkZDQveXl5LmRvYw - properties: - data: - $ref: "#/components/schemas/AttachmentData" - title: UploadF24AttachmentResponse - type: object - ListArchiveDocumentsResponse: - allOf: - - $ref: "#/components/schemas/Pagination" - - $ref: "#/components/schemas/ListArchiveDocumentsResponsePage" - description: "" - example: - first_page_url: https://openapi-generator.tech - path: https://openapi-generator.tech - per_page: 5 - total: 2 - data: - - date: 2000-01-23 - attachment_token: attachment_token - description: description - id: 7 - category: category - attachment_url: attachment_url - - date: 2000-01-23 - attachment_token: attachment_token - description: description - id: 7 - category: category - attachment_url: attachment_url - last_page: 1 - last_page_url: https://openapi-generator.tech - next_page_url: https://openapi-generator.tech - from: 6 - to: 5 - prev_page_url: https://openapi-generator.tech - current_page: 0 - title: ListArchiveDocumentsResponse - CreateArchiveDocumentResponse: - description: "" - example: - data: - date: 2000-01-23 + is_default: true + ei_payment_method: ei_payment_method + bank_iban: bank_iban attachment_token: attachment_token - description: description - id: 7 - category: category + amount_net: 6.704019297950036 + dn_ai_destination: dn_ai_destination + ai_url: ai_url + amount_cassa: 7.386281948385884 + cassa2_taxable: 7.457744773683766 + v_margins: 6 + amount_cassa2: 6.84685269835264 + accompanying_invoice: true + amount_rivalsa_taxable: 7.058770351582356 + amount_rivalsa: 0.8851374739011653 + show_totals: all + stamp_duty: 8.762042012749001 + use_gross_prices: true + global_cassa_taxable: 4.965218492984954 + e_invoice: true + dn_ai_packages_number: dn_ai_packages_number + withholding_tax: 9.965781217890562 + amount_withholding_tax_taxable: 0.10263654006109402 + other_withholding_tax: 6.683562403749608 + ei_other_withholding_tax_type: ei_other_withholding_tax_type + template: + supports_custom_taxable: true + can_disable_watermark: true + author: author + name: name + privacy: privacy + id: 2 + type: type + content: content + cassa: 4.145608029883936 + ei_raw: "{}" + amount_global_cassa_taxable: 5.025004791520295 + amount_due_discount: 7.143538047012306 + amount_enasarco_taxable: 7.740351818741173 + created_at: created_at + visible_subject: visible_subject + use_split_payment: true + payments_list: + - amount: 1.45 + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + ei_raw: "{}" + due_date: 2018-04-03 + id: 6 + payment_terms: + days: 1 + type: null + paid_date: 2018-04-03 + status: not_paid + - amount: 1.45 + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + ei_raw: "{}" + due_date: 2018-04-03 + id: 6 + payment_terms: + days: 1 + type: null + paid_date: 2018-04-03 + status: not_paid + h_margins: 6 + dn_date: 2000-01-23 + ei_other_withholding_tax_causal: ei_other_withholding_tax_causal + next_due_date: 2000-01-23 + cassa2: 1.4894159098541704 + withholding_tax_taxable: 9.369310271410669 + is_marked: true + updated_at: updated_at + amount_vat: 3.353193347011243 + amount_other_withholding_tax_taxable: 8.969578798196912 + currency: + symbol: € + exchange_rate: "1" + html_symbol: EUR + id: EUR + dn_number: 5 + amount_other_withholding_tax: 4.652396432933246 + ei_cassa_type: ei_cassa_type + dn_ai_transporter: dn_ai_transporter + show_notification_button: true + dn_url: dn_url + show_payment_method: true + price_list_id: price_list_id + delivery_note: true + url: url attachment_url: attachment_url + amount_withholding_tax: 6.519180951018382 + extra_data: + ts_file_id: ts_file_id + debt_vat_detect: true + ts_flag_tipo_spesa: 3.0576100241049344 + ts_opposizione: true + ts_tipo_spesa: ts_tipo_spesa + imported_by: imported_by + ts_sent_date: 2000-01-23 + ts_pagamento_tracciato: true + ts_status: 7 + ts_communication: true + ts_full_amount: true + multifatture_sent: 3 + revenue_detect: true + ei_status: attempt + seen_date: 2000-01-23 + ei_cassa2_type: ei_cassa2_type + ei_withholding_tax_causal: ei_withholding_tax_causal + cassa_taxable: 1.2315135367772556 + amount_gross: 3.0937452626664474 + entity: + country: Italia + code: "123" + notes: notes + ei_code: ei_code + default_payment_terms_type: standard + vat_number: IT01234567890 + created_at: created_at + type: company + address_extra: address_extra + bank_swift_code: bank_swift_code + default_vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + address_province: BG + updated_at: updated_at + bank_name: bank_name + id: 9 + shipping_address: shipping_address + fax: fax + first_name: first_name + bank_iban: bank_iban + country_iso: Italia + email: mario.rossi@example.it + contact_person: contact_person + address_postal_code: "24010" + default_payment_method: + default_payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + name: name + bank_name: bank_name + details: + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + bank_beneficiary: bank_beneficiary + id: 3 + type: standard + is_default: true + ei_payment_method: ei_payment_method + bank_iban: bank_iban + last_name: last_name + address_city: Bergamo + tax_code: RSSMRA44A12E890Q + intent_declaration_protocol_number: intent_declaration_protocol_number + phone: phone + address_street: "Via dei tigli, 12" + e_invoice: true + name: Rossi S.r.l. + default_payment_terms: 30 + certified_email: mario.rossi@pec.example.it + has_intent_declaration: true + intent_declaration_protocol_date: 2000-01-23 + amount_cassa_taxable: 1.0246457001441578 + amount_cassa2_taxable: 1.1730742509559433 properties: data: - $ref: "#/components/schemas/ArchiveDocument" - title: CreateArchiveDocumentResponse + $ref: "#/components/schemas/IssuedDocument" + title: GetNewIssuedDocumentTotalsRequest type: object - GetArchiveDocumentResponse: + GetNewIssuedDocumentTotalsResponse: description: "" example: data: - date: 2000-01-23 - attachment_token: attachment_token - description: description - id: 7 - category: category - attachment_url: attachment_url + amount_net: 0.8008281904610115 + taxable_amount_withholding_tax: 3.616076749251911 + amount_cassa: 5.962133916683182 + taxable_amount_other_withholding_tax: 4.145608029883936 + amount_net_with_rivalsa: 1.4658129805029452 + payments_sum: 1.4894159098541704 + amount_rivalsa: 6.027456183070403 + stamp_duty: 1.2315135367772556 + amount_withholding_tax: 2.027123023002322 + vat_list: + key: + amount_net: 6.84685269835264 + amount_vat: 7.457744773683766 + not_taxable_amount: 2.3021358869347655 + amount_vat: 7.061401241503109 + is_enasarco_maximal_exceeded: true + amount_due: 1.0246457001441578 + amount_other_withholding_tax: 7.386281948385884 + taxable_amount: 5.637376656633329 + amount_gross: 9.301444243932576 properties: data: - $ref: "#/components/schemas/ArchiveDocument" - title: GetArchiveDocumentResponse + $ref: "#/components/schemas/IssuedDocumentTotals" + title: GetNewIssuedDocumentTotalsResponse type: object - ModifyArchiveDocumentResponse: - description: "" + GetExistingIssuedDocumentTotalsRequest: example: data: date: 2000-01-23 - attachment_token: attachment_token - description: description - id: 7 - category: category - attachment_url: attachment_url - properties: - data: - $ref: "#/components/schemas/ArchiveDocument" - title: ModifyArchiveDocumentResponse - type: object - ListCashbookEntriesResponse: - description: "" - example: - data: - - date: 2000-01-23 - amount_out: 1.4658129805029452 - amount_in: 6.027456183070403 - entity_name: entity_name - kind: cashbook - payment_account_in: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - payment_account_out: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia + numeration: /A + notes: notes + year: 3 + subject: subject + rivalsa: 2.027123023002322 + dn_ai_causal: dn_ai_causal + language: + code: code + name: name + type: invoice + show_payments: true + ei_data: + original_document_type: ordine + cig: cig + bank_name: bank_name + od_number: od_number + od_date: 2000-01-23 + bank_beneficiary: bank_beneficiary + vat_kind: null + bank_iban: bank_iban + invoice_number: invoice_number + payment_method: payment_method + cup: cup + invoice_date: 2000-01-23 + dn_ai_weight: dn_ai_weight + number: 1 + rc_center: rc_center + items_list: + - code: "239874892374982" + ei_raw: "{}" + discount_highlight: true + vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + description: description + not_taxable: true + discount: 3.5571952270680973 + net_price: 1.23 + apply_withholding_taxes: true + measure: measure + product_id: 1234 + qty: 6.438423552598547 + name: Water bottle + gross_price: 1.45 + id: 9 + category: category + stock: true + in_dn: true + - code: "239874892374982" + ei_raw: "{}" + discount_highlight: true + vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + description: description + not_taxable: true + discount: 3.5571952270680973 + net_price: 1.23 + apply_withholding_taxes: true + measure: measure + product_id: 1234 + qty: 6.438423552598547 + name: Water bottle + gross_price: 1.45 + id: 9 + category: category + stock: true + in_dn: true + dn_ai_notes: dn_ai_notes + acc_inv_template: + supports_custom_taxable: true + can_disable_watermark: true + author: author + name: name + privacy: privacy id: 2 - type: standard - document: - path: path - id: 0 type: type - description: description - id: id - type: in - - date: 2000-01-23 - amount_out: 1.4658129805029452 - amount_in: 6.027456183070403 - entity_name: entity_name - kind: cashbook - payment_account_in: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia + content: content + id: 7 + delivery_note_template: + supports_custom_taxable: true + can_disable_watermark: true + author: author + name: name + privacy: privacy id: 2 + type: type + content: content + locked: true + show_tspay_button: true + payment_method: + default_payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + name: name + bank_name: bank_name + details: + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + bank_beneficiary: bank_beneficiary + id: 3 type: standard - payment_account_out: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia + is_default: true + ei_payment_method: ei_payment_method + bank_iban: bank_iban + attachment_token: attachment_token + amount_net: 6.704019297950036 + dn_ai_destination: dn_ai_destination + ai_url: ai_url + amount_cassa: 7.386281948385884 + cassa2_taxable: 7.457744773683766 + v_margins: 6 + amount_cassa2: 6.84685269835264 + accompanying_invoice: true + amount_rivalsa_taxable: 7.058770351582356 + amount_rivalsa: 0.8851374739011653 + show_totals: all + stamp_duty: 8.762042012749001 + use_gross_prices: true + global_cassa_taxable: 4.965218492984954 + e_invoice: true + dn_ai_packages_number: dn_ai_packages_number + withholding_tax: 9.965781217890562 + amount_withholding_tax_taxable: 0.10263654006109402 + other_withholding_tax: 6.683562403749608 + ei_other_withholding_tax_type: ei_other_withholding_tax_type + template: + supports_custom_taxable: true + can_disable_watermark: true + author: author + name: name + privacy: privacy id: 2 - type: standard - document: - path: path - id: 0 type: type - description: description - id: id - type: in + content: content + cassa: 4.145608029883936 + ei_raw: "{}" + amount_global_cassa_taxable: 5.025004791520295 + amount_due_discount: 7.143538047012306 + amount_enasarco_taxable: 7.740351818741173 + created_at: created_at + visible_subject: visible_subject + use_split_payment: true + payments_list: + - amount: 1.45 + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + ei_raw: "{}" + due_date: 2018-04-03 + id: 6 + payment_terms: + days: 1 + type: null + paid_date: 2018-04-03 + status: not_paid + - amount: 1.45 + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + ei_raw: "{}" + due_date: 2018-04-03 + id: 6 + payment_terms: + days: 1 + type: null + paid_date: 2018-04-03 + status: not_paid + h_margins: 6 + dn_date: 2000-01-23 + ei_other_withholding_tax_causal: ei_other_withholding_tax_causal + next_due_date: 2000-01-23 + cassa2: 1.4894159098541704 + withholding_tax_taxable: 9.369310271410669 + is_marked: true + updated_at: updated_at + amount_vat: 3.353193347011243 + amount_other_withholding_tax_taxable: 8.969578798196912 + currency: + symbol: € + exchange_rate: "1" + html_symbol: EUR + id: EUR + dn_number: 5 + amount_other_withholding_tax: 4.652396432933246 + ei_cassa_type: ei_cassa_type + dn_ai_transporter: dn_ai_transporter + show_notification_button: true + dn_url: dn_url + show_payment_method: true + price_list_id: price_list_id + delivery_note: true + url: url + attachment_url: attachment_url + amount_withholding_tax: 6.519180951018382 + extra_data: + ts_file_id: ts_file_id + debt_vat_detect: true + ts_flag_tipo_spesa: 3.0576100241049344 + ts_opposizione: true + ts_tipo_spesa: ts_tipo_spesa + imported_by: imported_by + ts_sent_date: 2000-01-23 + ts_pagamento_tracciato: true + ts_status: 7 + ts_communication: true + ts_full_amount: true + multifatture_sent: 3 + revenue_detect: true + ei_status: attempt + seen_date: 2000-01-23 + ei_cassa2_type: ei_cassa2_type + ei_withholding_tax_causal: ei_withholding_tax_causal + cassa_taxable: 1.2315135367772556 + amount_gross: 3.0937452626664474 + entity: + country: Italia + code: "123" + notes: notes + ei_code: ei_code + default_payment_terms_type: standard + vat_number: IT01234567890 + created_at: created_at + type: company + address_extra: address_extra + bank_swift_code: bank_swift_code + default_vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + address_province: BG + updated_at: updated_at + bank_name: bank_name + id: 9 + shipping_address: shipping_address + fax: fax + first_name: first_name + bank_iban: bank_iban + country_iso: Italia + email: mario.rossi@example.it + contact_person: contact_person + address_postal_code: "24010" + default_payment_method: + default_payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + name: name + bank_name: bank_name + details: + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + bank_beneficiary: bank_beneficiary + id: 3 + type: standard + is_default: true + ei_payment_method: ei_payment_method + bank_iban: bank_iban + last_name: last_name + address_city: Bergamo + tax_code: RSSMRA44A12E890Q + intent_declaration_protocol_number: intent_declaration_protocol_number + phone: phone + address_street: "Via dei tigli, 12" + e_invoice: true + name: Rossi S.r.l. + default_payment_terms: 30 + certified_email: mario.rossi@pec.example.it + has_intent_declaration: true + intent_declaration_protocol_date: 2000-01-23 + amount_cassa_taxable: 1.0246457001441578 + amount_cassa2_taxable: 1.1730742509559433 properties: data: - items: - $ref: "#/components/schemas/CashbookEntry" - nullable: true - type: array - title: ListCashbookEntriesResponse + $ref: "#/components/schemas/IssuedDocument" + title: GetExistingIssuedDocumentTotalsRequest type: object - CreateCashbookEntryResponse: + GetExistingIssuedDocumentTotalsResponse: description: "" example: data: - date: 2000-01-23 - amount_out: 1.4658129805029452 - amount_in: 6.027456183070403 - entity_name: entity_name - kind: cashbook - payment_account_in: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - payment_account_out: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - document: - path: path - id: 0 - type: type - description: description - id: id - type: in + amount_net: 0.8008281904610115 + taxable_amount_withholding_tax: 3.616076749251911 + amount_cassa: 5.962133916683182 + taxable_amount_other_withholding_tax: 4.145608029883936 + amount_net_with_rivalsa: 1.4658129805029452 + payments_sum: 1.4894159098541704 + amount_rivalsa: 6.027456183070403 + stamp_duty: 1.2315135367772556 + amount_withholding_tax: 2.027123023002322 + vat_list: + key: + amount_net: 6.84685269835264 + amount_vat: 7.457744773683766 + not_taxable_amount: 2.3021358869347655 + amount_vat: 7.061401241503109 + is_enasarco_maximal_exceeded: true + amount_due: 1.0246457001441578 + amount_other_withholding_tax: 7.386281948385884 + taxable_amount: 5.637376656633329 + amount_gross: 9.301444243932576 properties: data: - $ref: "#/components/schemas/CashbookEntry" - title: CreateCashbookEntryResponse + $ref: "#/components/schemas/IssuedDocumentTotals" + title: GetExistingIssuedDocumentTotalsResponse type: object - GetCashbookEntryResponse: - description: "" + UploadIssuedDocumentAttachmentRequest: + $ref: "#/components/schemas/Attachment" + Attachment: + example: + filename: attachment.pdf + attachment: "" + properties: + filename: + description: Attachment file name + example: attachment.pdf + nullable: true + type: string + attachment: + description: "Attachment file [.png, .jpg, .gif, .pdf, .zip, .xls, .xlsx,\ + \ .doc, .docx]" + format: binary + type: string + title: Attachment + type: object + UploadIssuedDocumentAttachmentResponse: example: data: - date: 2000-01-23 - amount_out: 1.4658129805029452 - amount_in: 6.027456183070403 - entity_name: entity_name - kind: cashbook - payment_account_in: - cuc: cuc + attachment_token: YmMyNWYxYzIwMTU3N2Y4ZGE3ZjZiMzg5OWY0ODNkZDQveXl5LmRvYw + properties: + data: + $ref: "#/components/schemas/AttachmentData" + title: UploadIssuedDocumentAttachmentResponse + type: object + GetIssuedDocumentPreCreateInfoResponse: + example: + data: + numerations: + key: null + payment_methods_list: + - default_payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + name: name + bank_name: bank_name + details: + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + bank_beneficiary: bank_beneficiary + id: 3 + type: standard + is_default: true + ei_payment_method: ei_payment_method + bank_iban: bank_iban + - default_payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + name: name + bank_name: bank_name + details: + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + bank_beneficiary: bank_beneficiary + id: 3 + type: standard + is_default: true + ei_payment_method: ei_payment_method + bank_iban: bank_iban + price_lists: + - prices_type: net + valid_to: valid_to + name: "123" + valid_from: valid_from + id: id + is_default: true + type: sell + - prices_type: net + valid_to: valid_to + name: "123" + valid_from: valid_from + id: id + is_default: true + type: sell + items_default_values: + vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + extra_data_default_values: + ts_flag_tipo_spesa: 2 + ts_pagamento_tracciato: true + ts_communication: true + ts_tipo_spesa: ts_tipo_spesa + languages_list: + - code: code + name: name + - code: code + name: name + payment_accounts_list: + - cuc: cuc virtual: true iban: iban name: Conto Banca Intesa sia: sia id: 2 type: standard - payment_account_out: - cuc: cuc + - cuc: cuc virtual: true iban: iban name: Conto Banca Intesa sia: sia id: 2 type: standard - document: - path: path - id: 0 + currencies_list: + - symbol: € + exchange_rate: "1" + html_symbol: EUR + id: EUR + - symbol: € + exchange_rate: "1" + html_symbol: EUR + id: EUR + ai_templates_list: + - supports_custom_taxable: true + can_disable_watermark: true + author: author + name: name + privacy: privacy + id: 2 type: type - description: description - id: id - type: in - properties: - data: - $ref: "#/components/schemas/CashbookEntry" - title: GetCashbookEntryResponse - type: object - ModifyCashbookEntryResponse: - description: "" - example: - data: - date: 2000-01-23 - amount_out: 1.4658129805029452 - amount_in: 6.027456183070403 - entity_name: entity_name - kind: cashbook - payment_account_in: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia + content: content + - supports_custom_taxable: true + can_disable_watermark: true + author: author + name: name + privacy: privacy + id: 2 + type: type + content: content + countries_list: + - countries_list + - countries_list + templates_list: + - supports_custom_taxable: true + can_disable_watermark: true + author: author + name: name + privacy: privacy id: 2 - type: standard - payment_account_out: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia + type: type + content: content + - supports_custom_taxable: true + can_disable_watermark: true + author: author + name: name + privacy: privacy id: 2 - type: standard - document: - path: path - id: 0 type: type - description: description - id: id - type: in + content: content + dn_templates_list: + - supports_custom_taxable: true + can_disable_watermark: true + author: author + name: name + privacy: privacy + id: 2 + type: type + content: content + - supports_custom_taxable: true + can_disable_watermark: true + author: author + name: name + privacy: privacy + id: 2 + type: type + content: content + default_values: + use_gross_prices: true + notes: notes + cassa: 6.027456183070403 + withholding_tax_taxable: 5.962133916683182 + ai_template: + supports_custom_taxable: true + can_disable_watermark: true + author: author + name: name + privacy: privacy + id: 2 + type: type + content: content + rivalsa: 0.8008281904610115 + withholding_tax: 1.4658129805029452 + default_template: + supports_custom_taxable: true + can_disable_watermark: true + author: author + name: name + privacy: privacy + id: 2 + type: type + content: content + dn_template: + supports_custom_taxable: true + can_disable_watermark: true + author: author + name: name + privacy: privacy + id: 2 + type: type + content: content + other_withholding_tax: 5.637376656633329 + payment_method: + default_payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + name: name + bank_name: bank_name + details: + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + bank_beneficiary: bank_beneficiary + id: 3 + type: standard + is_default: true + ei_payment_method: ei_payment_method + bank_iban: bank_iban + dn_numerations: + key: null + vat_types_list: + - ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + - ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 properties: data: - $ref: "#/components/schemas/CashbookEntry" - title: ModifyCashbookEntryResponse + $ref: "#/components/schemas/IssuedDocumentPreCreateInfo" + title: GetIssuedDocumentPreCreateInfoResponse type: object - ListCountriesResponse: - description: "" + GetEmailDataResponse: example: data: - - data - - data + delivery_note_exists: true + accompanying_invoice_exists: true + default_attach_pdf: true + default_sender_email: + id: 0 + email: email + sender_emails_list: + - id: 6 + email: email + - id: 6 + email: email + cc_email: cc_email + subject: subject + recipient_email: recipient_email + attachment_exists: true + document_exists: true + body: body properties: data: - items: - type: string - nullable: true - type: array - title: ListCountriesResponse + $ref: "#/components/schemas/EmailData" + title: GetEmailDataResponse type: object - ListCitiesResponse: + ScheduleEmailRequest: description: "" example: data: - - province: province - city: city - postal_code: postal_code - - province: province - city: city - postal_code: postal_code + include: + attachment: true + document: true + accompanying_invoice: true + delivery_note: true + subject: subject + recipient_email: recipient_email + attach_pdf: true + body: body + send_copy: true + sender_id: 0 + sender_email: sender_email properties: data: - items: - $ref: "#/components/schemas/City" - nullable: true - type: array - title: ListCitiesResponse + $ref: "#/components/schemas/EmailSchedule" + title: ScheduleEmailRequest type: object - ListLanguagesResponse: - description: "" + SendEInvoiceRequest: example: data: - - code: code - name: name - - code: code - name: name + withholding_tax_causal: withholding_tax_causal + cassa_type: cassa_type + options: + dry_run: true properties: data: - items: - $ref: "#/components/schemas/Language" - nullable: true - type: array - title: ListLanguagesResponse + $ref: "#/components/schemas/SendEInvoiceRequest_data" + options: + $ref: "#/components/schemas/SendEInvoiceRequest_options" + title: SendEInvoiceRequest type: object - ListTemplatesResponse: - description: "" + SendEInvoiceResponse: example: data: - - name: Light Smoke - id: 123 - type: type - - name: Light Smoke - id: 123 - type: type + date: date + name: name properties: data: - items: - $ref: "#/components/schemas/DocumentTemplate" - nullable: true - type: array - title: ListTemplatesResponse + $ref: "#/components/schemas/SendEInvoiceResponse_data" + title: SendEInvoiceResponse type: object - ListCurrenciesResponse: - description: "" + VerifyEInvoiceXmlResponse: example: data: - - symbol: € - exchange_rate: "1" - html_symbol: EUR - id: EUR - - symbol: € - exchange_rate: "1" - html_symbol: EUR - id: EUR + success: true properties: data: - items: - $ref: "#/components/schemas/Currency" - nullable: true - type: array - title: ListCurrenciesResponse + $ref: "#/components/schemas/VerifyEInvoiceXmlResponse_data" + title: VerifyEInvoiceXmlResponse type: object - ListUnitsOfMeasureResponse: - description: "" + VerifyEInvoiceXmlErrorResponse: example: - data: - - data - - data + extra: + errors: + - errors + - errors + error: + validation_result: + xml_errors: + - xml_errors + - xml_errors + message: message properties: - data: - items: - type: string - nullable: true - type: array - title: ListUnitsOfMeasureResponse + error: + $ref: "#/components/schemas/VerifyEInvoiceXmlErrorResponse_error" + extra: + $ref: "#/components/schemas/VerifyEInvoiceXmlErrorResponse_extra" + title: VerifyEInvoiceXmlErrorResponse type: object - ListDeliveryNotesDefaultCausalsResponse: - description: "" + GetEInvoiceXmlResponse: + description: XML of the e-invoice + title: GetEInvoiceXmlResponse + type: string + GetEInvoiceRejectionReasonResponse: example: data: - - data - - data - properties: - data: - items: - type: string - nullable: true - type: array - title: ListDeliveryNotesDefaultCasualsResponse + date: 2000-01-23T04:56:07.000+00:00 + reason: reason + code: code + solution: solution + ei_status: ei_status + properties: + data: + $ref: "#/components/schemas/EInvoiceRejectionReason" + title: GetEInvoiceRejectionReason type: object - ListVatTypesResponse: + ListReceivedDocumentsResponse: + allOf: + - $ref: "#/components/schemas/Pagination" + - $ref: "#/components/schemas/ListReceivedDocumentsResponsePage" description: "" example: + first_page_url: https://openapi-generator.tech + path: https://openapi-generator.tech + per_page: 5 + total: 2 data: - - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + - date: 2000-01-23 + ei_reception_date: ei_reception_date + attachment_preview_url: attachment_preview_url + auto_calculate: true + tax_deductibility: 1.0246457001441578 + description: description + created_at: created_at + is_from_pending_expenses: true + amortization: 1.2315135367772556 + type: expense + payments_list: + - amount: 6.683562403749608 + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + due_date: 2000-01-23 + id: 9 + payment_terms: + days: 8 + type: standard + paid_date: 2000-01-23 + status: status + - amount: 6.683562403749608 + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + due_date: 2000-01-23 + id: 9 + payment_terms: + days: 8 + type: standard + paid_date: 2000-01-23 + status: status + is_detailed: true + next_due_date: 2000-01-23 + rc_center: rc_center + is_marked: true + updated_at: updated_at + amount_vat: 3.616076749251911 + items_list: + - code: code + measure: measure + product_id: 7 + qty: 4.965218492984954 + name: name + vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + net_price: 1.1730742509559433 + id: 6 + category: category + stock: 5.025004791520295 + deductibility_vat_percentage: 9.965781217890562 + - code: code + measure: measure + product_id: 7 + qty: 4.965218492984954 + name: name + vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + net_price: 1.1730742509559433 + id: 6 + category: category + stock: 5.025004791520295 + deductibility_vat_percentage: 9.965781217890562 + currency: + symbol: € + exchange_rate: "1" + html_symbol: EUR + id: EUR + id: 7 + amount_other_withholding_tax: 4.145608029883936 + locked: true + invoice_number: invoice_number + vat_deductibility: 1.4894159098541704 + attachment_token: attachment_token + amount_net: 9.301444243932576 + attachment_url: attachment_url + amount_withholding_tax: 2.027123023002322 e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + category: category + amount_gross: 7.386281948385884 + entity: + country: Italia + code: "123" + notes: notes + ei_code: ei_code + default_payment_terms_type: standard + vat_number: IT01234567890 + created_at: created_at + type: company + address_extra: address_extra + bank_swift_code: bank_swift_code + default_vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + address_province: BG + updated_at: updated_at + bank_name: bank_name + id: 9 + shipping_address: shipping_address + fax: fax + first_name: first_name + bank_iban: bank_iban + country_iso: Italia + email: mario.rossi@example.it + contact_person: contact_person + address_postal_code: "24010" + default_payment_method: + default_payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + name: name + bank_name: bank_name + details: + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + bank_beneficiary: bank_beneficiary + id: 3 + type: standard + is_default: true + ei_payment_method: ei_payment_method + bank_iban: bank_iban + last_name: last_name + address_city: Bergamo + tax_code: RSSMRA44A12E890Q + intent_declaration_protocol_number: intent_declaration_protocol_number + phone: phone + address_street: "Via dei tigli, 12" + e_invoice: true + name: Rossi S.r.l. + default_payment_terms: 30 + certified_email: mario.rossi@pec.example.it + has_intent_declaration: true + intent_declaration_protocol_date: 2000-01-23 + - date: 2000-01-23 + ei_reception_date: ei_reception_date + attachment_preview_url: attachment_preview_url + auto_calculate: true + tax_deductibility: 1.0246457001441578 + description: description + created_at: created_at + is_from_pending_expenses: true + amortization: 1.2315135367772556 + type: expense + payments_list: + - amount: 6.683562403749608 + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + due_date: 2000-01-23 + id: 9 + payment_terms: + days: 8 + type: standard + paid_date: 2000-01-23 + status: status + - amount: 6.683562403749608 + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + due_date: 2000-01-23 + id: 9 + payment_terms: + days: 8 + type: standard + paid_date: 2000-01-23 + status: status + is_detailed: true + next_due_date: 2000-01-23 + rc_center: rc_center + is_marked: true + updated_at: updated_at + amount_vat: 3.616076749251911 + items_list: + - code: code + measure: measure + product_id: 7 + qty: 4.965218492984954 + name: name + vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + net_price: 1.1730742509559433 + id: 6 + category: category + stock: 5.025004791520295 + deductibility_vat_percentage: 9.965781217890562 + - code: code + measure: measure + product_id: 7 + qty: 4.965218492984954 + name: name + vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + net_price: 1.1730742509559433 + id: 6 + category: category + stock: 5.025004791520295 + deductibility_vat_percentage: 9.965781217890562 + currency: + symbol: € + exchange_rate: "1" + html_symbol: EUR + id: EUR + id: 7 + amount_other_withholding_tax: 4.145608029883936 + locked: true + invoice_number: invoice_number + vat_deductibility: 1.4894159098541704 + attachment_token: attachment_token + amount_net: 9.301444243932576 + attachment_url: attachment_url + amount_withholding_tax: 2.027123023002322 e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - properties: - data: - items: - $ref: "#/components/schemas/VatType" - nullable: true - type: array - title: ListVatTypesResponse - type: object - ListPaymentMethodsResponse: + category: category + amount_gross: 7.386281948385884 + entity: + country: Italia + code: "123" + notes: notes + ei_code: ei_code + default_payment_terms_type: standard + vat_number: IT01234567890 + created_at: created_at + type: company + address_extra: address_extra + bank_swift_code: bank_swift_code + default_vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + address_province: BG + updated_at: updated_at + bank_name: bank_name + id: 9 + shipping_address: shipping_address + fax: fax + first_name: first_name + bank_iban: bank_iban + country_iso: Italia + email: mario.rossi@example.it + contact_person: contact_person + address_postal_code: "24010" + default_payment_method: + default_payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + name: name + bank_name: bank_name + details: + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + bank_beneficiary: bank_beneficiary + id: 3 + type: standard + is_default: true + ei_payment_method: ei_payment_method + bank_iban: bank_iban + last_name: last_name + address_city: Bergamo + tax_code: RSSMRA44A12E890Q + intent_declaration_protocol_number: intent_declaration_protocol_number + phone: phone + address_street: "Via dei tigli, 12" + e_invoice: true + name: Rossi S.r.l. + default_payment_terms: 30 + certified_email: mario.rossi@pec.example.it + has_intent_declaration: true + intent_declaration_protocol_date: 2000-01-23 + last_page: 1 + last_page_url: https://openapi-generator.tech + next_page_url: https://openapi-generator.tech + from: 6 + to: 5 + prev_page_url: https://openapi-generator.tech + current_page: 0 + title: ListReceivedDocumentsResponse + CreateReceivedDocumentRequest: description: "" example: data: - - default_payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - name: name - bank_name: bank_name - details: - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - bank_beneficiary: bank_beneficiary - id: 3 - type: standard - is_default: true - ei_payment_method: ei_payment_method - bank_iban: bank_iban - - default_payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - name: name - bank_name: bank_name - details: - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - bank_beneficiary: bank_beneficiary - id: 3 - type: standard - is_default: true - ei_payment_method: ei_payment_method - bank_iban: bank_iban + date: 2000-01-23 + ei_reception_date: ei_reception_date + attachment_preview_url: attachment_preview_url + auto_calculate: true + tax_deductibility: 1.0246457001441578 + description: description + created_at: created_at + is_from_pending_expenses: true + amortization: 1.2315135367772556 + type: expense + payments_list: + - amount: 6.683562403749608 + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + due_date: 2000-01-23 + id: 9 + payment_terms: + days: 8 + type: standard + paid_date: 2000-01-23 + status: status + - amount: 6.683562403749608 + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + due_date: 2000-01-23 + id: 9 + payment_terms: + days: 8 + type: standard + paid_date: 2000-01-23 + status: status + is_detailed: true + next_due_date: 2000-01-23 + rc_center: rc_center + is_marked: true + updated_at: updated_at + amount_vat: 3.616076749251911 + items_list: + - code: code + measure: measure + product_id: 7 + qty: 4.965218492984954 + name: name + vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + net_price: 1.1730742509559433 + id: 6 + category: category + stock: 5.025004791520295 + deductibility_vat_percentage: 9.965781217890562 + - code: code + measure: measure + product_id: 7 + qty: 4.965218492984954 + name: name + vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + net_price: 1.1730742509559433 + id: 6 + category: category + stock: 5.025004791520295 + deductibility_vat_percentage: 9.965781217890562 + currency: + symbol: € + exchange_rate: "1" + html_symbol: EUR + id: EUR + id: 7 + amount_other_withholding_tax: 4.145608029883936 + locked: true + invoice_number: invoice_number + vat_deductibility: 1.4894159098541704 + attachment_token: attachment_token + amount_net: 9.301444243932576 + attachment_url: attachment_url + amount_withholding_tax: 2.027123023002322 + e_invoice: true + category: category + amount_gross: 7.386281948385884 + entity: + country: Italia + code: "123" + notes: notes + ei_code: ei_code + default_payment_terms_type: standard + vat_number: IT01234567890 + created_at: created_at + type: company + address_extra: address_extra + bank_swift_code: bank_swift_code + default_vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + address_province: BG + updated_at: updated_at + bank_name: bank_name + id: 9 + shipping_address: shipping_address + fax: fax + first_name: first_name + bank_iban: bank_iban + country_iso: Italia + email: mario.rossi@example.it + contact_person: contact_person + address_postal_code: "24010" + default_payment_method: + default_payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + name: name + bank_name: bank_name + details: + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + bank_beneficiary: bank_beneficiary + id: 3 + type: standard + is_default: true + ei_payment_method: ei_payment_method + bank_iban: bank_iban + last_name: last_name + address_city: Bergamo + tax_code: RSSMRA44A12E890Q + intent_declaration_protocol_number: intent_declaration_protocol_number + phone: phone + address_street: "Via dei tigli, 12" + e_invoice: true + name: Rossi S.r.l. + default_payment_terms: 30 + certified_email: mario.rossi@pec.example.it + has_intent_declaration: true + intent_declaration_protocol_date: 2000-01-23 + pending_id: 0 properties: - data: - items: - $ref: "#/components/schemas/PaymentMethod" + pending_id: + description: Pending received document id of the document from which the + new document is created. nullable: true - type: array - title: ListPaymentMethodsResponse - type: object - ListPaymentAccountsResponse: - description: "" - example: - data: - - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - properties: + type: integer data: - items: - $ref: "#/components/schemas/PaymentAccount" - nullable: true - type: array - title: ListPaymentAccountsResponse + $ref: "#/components/schemas/ReceivedDocument" + title: CreateReceivedDocumentRequest type: object - ListRevenueCentersResponse: + CreateReceivedDocumentResponse: description: "" example: data: - - data - - data - properties: - data: - items: - type: string - nullable: true - type: array - title: ListRevenueCentersResponse - type: object - ListCostCentersResponse: - example: - data: - - data - - data + date: 2000-01-23 + ei_reception_date: ei_reception_date + attachment_preview_url: attachment_preview_url + auto_calculate: true + tax_deductibility: 1.0246457001441578 + description: description + created_at: created_at + is_from_pending_expenses: true + amortization: 1.2315135367772556 + type: expense + payments_list: + - amount: 6.683562403749608 + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + due_date: 2000-01-23 + id: 9 + payment_terms: + days: 8 + type: standard + paid_date: 2000-01-23 + status: status + - amount: 6.683562403749608 + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + due_date: 2000-01-23 + id: 9 + payment_terms: + days: 8 + type: standard + paid_date: 2000-01-23 + status: status + is_detailed: true + next_due_date: 2000-01-23 + rc_center: rc_center + is_marked: true + updated_at: updated_at + amount_vat: 3.616076749251911 + items_list: + - code: code + measure: measure + product_id: 7 + qty: 4.965218492984954 + name: name + vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + net_price: 1.1730742509559433 + id: 6 + category: category + stock: 5.025004791520295 + deductibility_vat_percentage: 9.965781217890562 + - code: code + measure: measure + product_id: 7 + qty: 4.965218492984954 + name: name + vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + net_price: 1.1730742509559433 + id: 6 + category: category + stock: 5.025004791520295 + deductibility_vat_percentage: 9.965781217890562 + currency: + symbol: € + exchange_rate: "1" + html_symbol: EUR + id: EUR + id: 7 + amount_other_withholding_tax: 4.145608029883936 + locked: true + invoice_number: invoice_number + vat_deductibility: 1.4894159098541704 + attachment_token: attachment_token + amount_net: 9.301444243932576 + attachment_url: attachment_url + amount_withholding_tax: 2.027123023002322 + e_invoice: true + category: category + amount_gross: 7.386281948385884 + entity: + country: Italia + code: "123" + notes: notes + ei_code: ei_code + default_payment_terms_type: standard + vat_number: IT01234567890 + created_at: created_at + type: company + address_extra: address_extra + bank_swift_code: bank_swift_code + default_vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + address_province: BG + updated_at: updated_at + bank_name: bank_name + id: 9 + shipping_address: shipping_address + fax: fax + first_name: first_name + bank_iban: bank_iban + country_iso: Italia + email: mario.rossi@example.it + contact_person: contact_person + address_postal_code: "24010" + default_payment_method: + default_payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + name: name + bank_name: bank_name + details: + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + bank_beneficiary: bank_beneficiary + id: 3 + type: standard + is_default: true + ei_payment_method: ei_payment_method + bank_iban: bank_iban + last_name: last_name + address_city: Bergamo + tax_code: RSSMRA44A12E890Q + intent_declaration_protocol_number: intent_declaration_protocol_number + phone: phone + address_street: "Via dei tigli, 12" + e_invoice: true + name: Rossi S.r.l. + default_payment_terms: 30 + certified_email: mario.rossi@pec.example.it + has_intent_declaration: true + intent_declaration_protocol_date: 2000-01-23 properties: data: - items: - type: string - nullable: true - type: array - title: ListCostCentersResponse + $ref: "#/components/schemas/ReceivedDocument" + title: CreateReceivedDocumentResponse type: object - ListProductCategoriesResponse: + GetReceivedDocumentResponse: description: "" example: data: - - data - - data + date: 2000-01-23 + ei_reception_date: ei_reception_date + attachment_preview_url: attachment_preview_url + auto_calculate: true + tax_deductibility: 1.0246457001441578 + description: description + created_at: created_at + is_from_pending_expenses: true + amortization: 1.2315135367772556 + type: expense + payments_list: + - amount: 6.683562403749608 + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + due_date: 2000-01-23 + id: 9 + payment_terms: + days: 8 + type: standard + paid_date: 2000-01-23 + status: status + - amount: 6.683562403749608 + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + due_date: 2000-01-23 + id: 9 + payment_terms: + days: 8 + type: standard + paid_date: 2000-01-23 + status: status + is_detailed: true + next_due_date: 2000-01-23 + rc_center: rc_center + is_marked: true + updated_at: updated_at + amount_vat: 3.616076749251911 + items_list: + - code: code + measure: measure + product_id: 7 + qty: 4.965218492984954 + name: name + vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + net_price: 1.1730742509559433 + id: 6 + category: category + stock: 5.025004791520295 + deductibility_vat_percentage: 9.965781217890562 + - code: code + measure: measure + product_id: 7 + qty: 4.965218492984954 + name: name + vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + net_price: 1.1730742509559433 + id: 6 + category: category + stock: 5.025004791520295 + deductibility_vat_percentage: 9.965781217890562 + currency: + symbol: € + exchange_rate: "1" + html_symbol: EUR + id: EUR + id: 7 + amount_other_withholding_tax: 4.145608029883936 + locked: true + invoice_number: invoice_number + vat_deductibility: 1.4894159098541704 + attachment_token: attachment_token + amount_net: 9.301444243932576 + attachment_url: attachment_url + amount_withholding_tax: 2.027123023002322 + e_invoice: true + category: category + amount_gross: 7.386281948385884 + entity: + country: Italia + code: "123" + notes: notes + ei_code: ei_code + default_payment_terms_type: standard + vat_number: IT01234567890 + created_at: created_at + type: company + address_extra: address_extra + bank_swift_code: bank_swift_code + default_vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + address_province: BG + updated_at: updated_at + bank_name: bank_name + id: 9 + shipping_address: shipping_address + fax: fax + first_name: first_name + bank_iban: bank_iban + country_iso: Italia + email: mario.rossi@example.it + contact_person: contact_person + address_postal_code: "24010" + default_payment_method: + default_payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + name: name + bank_name: bank_name + details: + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + bank_beneficiary: bank_beneficiary + id: 3 + type: standard + is_default: true + ei_payment_method: ei_payment_method + bank_iban: bank_iban + last_name: last_name + address_city: Bergamo + tax_code: RSSMRA44A12E890Q + intent_declaration_protocol_number: intent_declaration_protocol_number + phone: phone + address_street: "Via dei tigli, 12" + e_invoice: true + name: Rossi S.r.l. + default_payment_terms: 30 + certified_email: mario.rossi@pec.example.it + has_intent_declaration: true + intent_declaration_protocol_date: 2000-01-23 properties: data: - items: - type: string - nullable: true - type: array - title: ListProductCategoriesResponse + $ref: "#/components/schemas/ReceivedDocument" + title: GetReceivedDocumentResponse type: object - ListReceivedDocumentCategoriesResponse: + ModifyReceivedDocumentRequest: description: "" example: data: - - data - - data - properties: - data: - items: - type: string - nullable: true - type: array - title: ListReceivedDocumentCategoriesResponse - type: object - ListArchiveCategoriesResponse: - example: - data: - - data - - data - properties: - data: - items: - type: string - nullable: true - type: array - title: ListArchiveCategoriesResponse - type: object - UploadArchiveAttachmentResponse: - example: - data: - attachment_token: YmMyNWYxYzIwMTU3N2Y4ZGE3ZjZiMzg5OWY0ODNkZDQveXl5LmRvYw - properties: - data: - $ref: "#/components/schemas/AttachmentData" - title: UploadArchiveAttachmentResponse - type: object - CreatePaymentMethodResponse: - example: - data: - default_payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - name: name - bank_name: bank_name - details: - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - bank_beneficiary: bank_beneficiary - id: 3 - type: standard - is_default: true - ei_payment_method: ei_payment_method - bank_iban: bank_iban + date: 2000-01-23 + ei_reception_date: ei_reception_date + attachment_preview_url: attachment_preview_url + auto_calculate: true + tax_deductibility: 1.0246457001441578 + description: description + created_at: created_at + is_from_pending_expenses: true + amortization: 1.2315135367772556 + type: expense + payments_list: + - amount: 6.683562403749608 + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + due_date: 2000-01-23 + id: 9 + payment_terms: + days: 8 + type: standard + paid_date: 2000-01-23 + status: status + - amount: 6.683562403749608 + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + due_date: 2000-01-23 + id: 9 + payment_terms: + days: 8 + type: standard + paid_date: 2000-01-23 + status: status + is_detailed: true + next_due_date: 2000-01-23 + rc_center: rc_center + is_marked: true + updated_at: updated_at + amount_vat: 3.616076749251911 + items_list: + - code: code + measure: measure + product_id: 7 + qty: 4.965218492984954 + name: name + vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + net_price: 1.1730742509559433 + id: 6 + category: category + stock: 5.025004791520295 + deductibility_vat_percentage: 9.965781217890562 + - code: code + measure: measure + product_id: 7 + qty: 4.965218492984954 + name: name + vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + net_price: 1.1730742509559433 + id: 6 + category: category + stock: 5.025004791520295 + deductibility_vat_percentage: 9.965781217890562 + currency: + symbol: € + exchange_rate: "1" + html_symbol: EUR + id: EUR + id: 7 + amount_other_withholding_tax: 4.145608029883936 + locked: true + invoice_number: invoice_number + vat_deductibility: 1.4894159098541704 + attachment_token: attachment_token + amount_net: 9.301444243932576 + attachment_url: attachment_url + amount_withholding_tax: 2.027123023002322 + e_invoice: true + category: category + amount_gross: 7.386281948385884 + entity: + country: Italia + code: "123" + notes: notes + ei_code: ei_code + default_payment_terms_type: standard + vat_number: IT01234567890 + created_at: created_at + type: company + address_extra: address_extra + bank_swift_code: bank_swift_code + default_vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + address_province: BG + updated_at: updated_at + bank_name: bank_name + id: 9 + shipping_address: shipping_address + fax: fax + first_name: first_name + bank_iban: bank_iban + country_iso: Italia + email: mario.rossi@example.it + contact_person: contact_person + address_postal_code: "24010" + default_payment_method: + default_payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + name: name + bank_name: bank_name + details: + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + bank_beneficiary: bank_beneficiary + id: 3 + type: standard + is_default: true + ei_payment_method: ei_payment_method + bank_iban: bank_iban + last_name: last_name + address_city: Bergamo + tax_code: RSSMRA44A12E890Q + intent_declaration_protocol_number: intent_declaration_protocol_number + phone: phone + address_street: "Via dei tigli, 12" + e_invoice: true + name: Rossi S.r.l. + default_payment_terms: 30 + certified_email: mario.rossi@pec.example.it + has_intent_declaration: true + intent_declaration_protocol_date: 2000-01-23 properties: data: - $ref: "#/components/schemas/PaymentMethod" - title: CreatePaymentMethodResponse + $ref: "#/components/schemas/ReceivedDocument" + title: ModifyReceivedDocumentRequest type: object - GetPaymentMethodResponse: + ModifyReceivedDocumentResponse: + description: "" example: data: - default_payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - name: name - bank_name: bank_name - details: - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - bank_beneficiary: bank_beneficiary - id: 3 - type: standard - is_default: true - ei_payment_method: ei_payment_method - bank_iban: bank_iban + date: 2000-01-23 + ei_reception_date: ei_reception_date + attachment_preview_url: attachment_preview_url + auto_calculate: true + tax_deductibility: 1.0246457001441578 + description: description + created_at: created_at + is_from_pending_expenses: true + amortization: 1.2315135367772556 + type: expense + payments_list: + - amount: 6.683562403749608 + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + due_date: 2000-01-23 + id: 9 + payment_terms: + days: 8 + type: standard + paid_date: 2000-01-23 + status: status + - amount: 6.683562403749608 + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + due_date: 2000-01-23 + id: 9 + payment_terms: + days: 8 + type: standard + paid_date: 2000-01-23 + status: status + is_detailed: true + next_due_date: 2000-01-23 + rc_center: rc_center + is_marked: true + updated_at: updated_at + amount_vat: 3.616076749251911 + items_list: + - code: code + measure: measure + product_id: 7 + qty: 4.965218492984954 + name: name + vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + net_price: 1.1730742509559433 + id: 6 + category: category + stock: 5.025004791520295 + deductibility_vat_percentage: 9.965781217890562 + - code: code + measure: measure + product_id: 7 + qty: 4.965218492984954 + name: name + vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + net_price: 1.1730742509559433 + id: 6 + category: category + stock: 5.025004791520295 + deductibility_vat_percentage: 9.965781217890562 + currency: + symbol: € + exchange_rate: "1" + html_symbol: EUR + id: EUR + id: 7 + amount_other_withholding_tax: 4.145608029883936 + locked: true + invoice_number: invoice_number + vat_deductibility: 1.4894159098541704 + attachment_token: attachment_token + amount_net: 9.301444243932576 + attachment_url: attachment_url + amount_withholding_tax: 2.027123023002322 + e_invoice: true + category: category + amount_gross: 7.386281948385884 + entity: + country: Italia + code: "123" + notes: notes + ei_code: ei_code + default_payment_terms_type: standard + vat_number: IT01234567890 + created_at: created_at + type: company + address_extra: address_extra + bank_swift_code: bank_swift_code + default_vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + address_province: BG + updated_at: updated_at + bank_name: bank_name + id: 9 + shipping_address: shipping_address + fax: fax + first_name: first_name + bank_iban: bank_iban + country_iso: Italia + email: mario.rossi@example.it + contact_person: contact_person + address_postal_code: "24010" + default_payment_method: + default_payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + name: name + bank_name: bank_name + details: + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + bank_beneficiary: bank_beneficiary + id: 3 + type: standard + is_default: true + ei_payment_method: ei_payment_method + bank_iban: bank_iban + last_name: last_name + address_city: Bergamo + tax_code: RSSMRA44A12E890Q + intent_declaration_protocol_number: intent_declaration_protocol_number + phone: phone + address_street: "Via dei tigli, 12" + e_invoice: true + name: Rossi S.r.l. + default_payment_terms: 30 + certified_email: mario.rossi@pec.example.it + has_intent_declaration: true + intent_declaration_protocol_date: 2000-01-23 properties: data: - $ref: "#/components/schemas/PaymentMethod" - title: GetPaymentMethodResponse + $ref: "#/components/schemas/ReceivedDocument" + title: ModifyReceivedDocumentResponse type: object - ModifyPaymentMethodResponse: + ListPendingReceivedDocumentsResponse: + allOf: + - $ref: "#/components/schemas/Pagination" + - $ref: "#/components/schemas/ListPendingReceivedDocumentsResponsePage" + description: "" example: + first_page_url: https://openapi-generator.tech + path: https://openapi-generator.tech + per_page: 5 + total: 2 data: - default_payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - name: name - bank_name: bank_name - details: - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - bank_beneficiary: bank_beneficiary - id: 3 - type: standard - is_default: true - ei_payment_method: ei_payment_method - bank_iban: bank_iban - properties: - data: - $ref: "#/components/schemas/PaymentMethod" - title: ModifyPaymentMethodResponse - type: object - CreatePaymentAccountResponse: + - date: 2000-01-23 + amount_net: 4.145608029883936 + subject: subject + import_error: import_error + type: agyo + attachment_url: attachment_url + payments_list: + - amount: 3.616076749251911 + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + due_date: 2000-01-23 + paid_with_ts_pay: true + payment_terms: + days: 2 + type: standard + paid_date: 2000-01-23 + status: status + - amount: 3.616076749251911 + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + due_date: 2000-01-23 + paid_with_ts_pay: true + payment_terms: + days: 2 + type: standard + paid_date: 2000-01-23 + status: status + extracted_data: + mining: + save_entity: true + emssion_date: 2000-01-23 + filename: filename + cost_center: cost_center + amount_vat: 7.386281948385884 + currency: + symbol: € + exchange_rate: "1" + html_symbol: EUR + id: EUR + id: 7 + supplier_name: supplier_name + category: category + amount_gross: 9.301444243932576 + other_attachments: + - filename: attachment.pdf + attachment: "" + - filename: attachment.pdf + attachment: "" + document_type: expense + - date: 2000-01-23 + amount_net: 4.145608029883936 + subject: subject + import_error: import_error + type: agyo + attachment_url: attachment_url + payments_list: + - amount: 3.616076749251911 + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + due_date: 2000-01-23 + paid_with_ts_pay: true + payment_terms: + days: 2 + type: standard + paid_date: 2000-01-23 + status: status + - amount: 3.616076749251911 + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + due_date: 2000-01-23 + paid_with_ts_pay: true + payment_terms: + days: 2 + type: standard + paid_date: 2000-01-23 + status: status + extracted_data: + mining: + save_entity: true + emssion_date: 2000-01-23 + filename: filename + cost_center: cost_center + amount_vat: 7.386281948385884 + currency: + symbol: € + exchange_rate: "1" + html_symbol: EUR + id: EUR + id: 7 + supplier_name: supplier_name + category: category + amount_gross: 9.301444243932576 + other_attachments: + - filename: attachment.pdf + attachment: "" + - filename: attachment.pdf + attachment: "" + document_type: expense + last_page: 1 + last_page_url: https://openapi-generator.tech + next_page_url: https://openapi-generator.tech + from: 6 + to: 5 + prev_page_url: https://openapi-generator.tech + current_page: 0 + title: ListPendingReceivedDocumentsResponse + GetPendingReceivedDocumentResponse: + description: "" example: data: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard + date: 2000-01-23 + amount_net: 4.145608029883936 + subject: subject + import_error: import_error + type: agyo + attachment_url: attachment_url + payments_list: + - amount: 3.616076749251911 + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + due_date: 2000-01-23 + paid_with_ts_pay: true + payment_terms: + days: 2 + type: standard + paid_date: 2000-01-23 + status: status + - amount: 3.616076749251911 + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + due_date: 2000-01-23 + paid_with_ts_pay: true + payment_terms: + days: 2 + type: standard + paid_date: 2000-01-23 + status: status + extracted_data: + mining: + save_entity: true + emssion_date: 2000-01-23 + filename: filename + cost_center: cost_center + amount_vat: 7.386281948385884 + currency: + symbol: € + exchange_rate: "1" + html_symbol: EUR + id: EUR + id: 7 + supplier_name: supplier_name + category: category + amount_gross: 9.301444243932576 + other_attachments: + - filename: attachment.pdf + attachment: "" + - filename: attachment.pdf + attachment: "" + document_type: expense properties: data: - $ref: "#/components/schemas/PaymentAccount" - title: CreatePaymentAccountResponse + $ref: "#/components/schemas/PendingReceivedDocument" + title: GetReceivedDocumentResponse type: object - GetPaymentAccountResponse: + GetNewReceivedDocumentTotalsRequest: + description: "" example: data: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard + date: 2000-01-23 + ei_reception_date: ei_reception_date + attachment_preview_url: attachment_preview_url + auto_calculate: true + tax_deductibility: 1.0246457001441578 + description: description + created_at: created_at + is_from_pending_expenses: true + amortization: 1.2315135367772556 + type: expense + payments_list: + - amount: 6.683562403749608 + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + due_date: 2000-01-23 + id: 9 + payment_terms: + days: 8 + type: standard + paid_date: 2000-01-23 + status: status + - amount: 6.683562403749608 + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + due_date: 2000-01-23 + id: 9 + payment_terms: + days: 8 + type: standard + paid_date: 2000-01-23 + status: status + is_detailed: true + next_due_date: 2000-01-23 + rc_center: rc_center + is_marked: true + updated_at: updated_at + amount_vat: 3.616076749251911 + items_list: + - code: code + measure: measure + product_id: 7 + qty: 4.965218492984954 + name: name + vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + net_price: 1.1730742509559433 + id: 6 + category: category + stock: 5.025004791520295 + deductibility_vat_percentage: 9.965781217890562 + - code: code + measure: measure + product_id: 7 + qty: 4.965218492984954 + name: name + vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + net_price: 1.1730742509559433 + id: 6 + category: category + stock: 5.025004791520295 + deductibility_vat_percentage: 9.965781217890562 + currency: + symbol: € + exchange_rate: "1" + html_symbol: EUR + id: EUR + id: 7 + amount_other_withholding_tax: 4.145608029883936 + locked: true + invoice_number: invoice_number + vat_deductibility: 1.4894159098541704 + attachment_token: attachment_token + amount_net: 9.301444243932576 + attachment_url: attachment_url + amount_withholding_tax: 2.027123023002322 + e_invoice: true + category: category + amount_gross: 7.386281948385884 + entity: + country: Italia + code: "123" + notes: notes + ei_code: ei_code + default_payment_terms_type: standard + vat_number: IT01234567890 + created_at: created_at + type: company + address_extra: address_extra + bank_swift_code: bank_swift_code + default_vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + address_province: BG + updated_at: updated_at + bank_name: bank_name + id: 9 + shipping_address: shipping_address + fax: fax + first_name: first_name + bank_iban: bank_iban + country_iso: Italia + email: mario.rossi@example.it + contact_person: contact_person + address_postal_code: "24010" + default_payment_method: + default_payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + name: name + bank_name: bank_name + details: + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + bank_beneficiary: bank_beneficiary + id: 3 + type: standard + is_default: true + ei_payment_method: ei_payment_method + bank_iban: bank_iban + last_name: last_name + address_city: Bergamo + tax_code: RSSMRA44A12E890Q + intent_declaration_protocol_number: intent_declaration_protocol_number + phone: phone + address_street: "Via dei tigli, 12" + e_invoice: true + name: Rossi S.r.l. + default_payment_terms: 30 + certified_email: mario.rossi@pec.example.it + has_intent_declaration: true + intent_declaration_protocol_date: 2000-01-23 properties: data: - $ref: "#/components/schemas/PaymentAccount" - title: GetPaymentAccountResponse + $ref: "#/components/schemas/ReceivedDocument" + title: GetNewReceivedDocumentTotalsRequest type: object - ModifyPaymentAccountResponse: + GetNewReceivedDocumentTotalsResponse: + description: "" example: data: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard + amount_net: 0.8008281904610115 + amount_withholding_tax: 5.962133916683182 + amount_vat: 6.027456183070403 + payments_sum: 7.061401241503109 + amount_due: 2.3021358869347655 + amount_other_withholding_tax: 5.637376656633329 + amount_gross: 1.4658129805029452 properties: data: - $ref: "#/components/schemas/PaymentAccount" - title: ModifyPaymentAccountResponse + $ref: "#/components/schemas/ReceivedDocumentTotals" + title: GetNewReceivedDocumentTotalsResponse type: object - CreateVatTypeResponse: + GetExistingReceivedDocumentTotalsRequest: + description: "" example: data: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + date: 2000-01-23 + ei_reception_date: ei_reception_date + attachment_preview_url: attachment_preview_url + auto_calculate: true + tax_deductibility: 1.0246457001441578 + description: description + created_at: created_at + is_from_pending_expenses: true + amortization: 1.2315135367772556 + type: expense + payments_list: + - amount: 6.683562403749608 + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + due_date: 2000-01-23 + id: 9 + payment_terms: + days: 8 + type: standard + paid_date: 2000-01-23 + status: status + - amount: 6.683562403749608 + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + due_date: 2000-01-23 + id: 9 + payment_terms: + days: 8 + type: standard + paid_date: 2000-01-23 + status: status + is_detailed: true + next_due_date: 2000-01-23 + rc_center: rc_center + is_marked: true + updated_at: updated_at + amount_vat: 3.616076749251911 + items_list: + - code: code + measure: measure + product_id: 7 + qty: 4.965218492984954 + name: name + vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + net_price: 1.1730742509559433 + id: 6 + category: category + stock: 5.025004791520295 + deductibility_vat_percentage: 9.965781217890562 + - code: code + measure: measure + product_id: 7 + qty: 4.965218492984954 + name: name + vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + net_price: 1.1730742509559433 + id: 6 + category: category + stock: 5.025004791520295 + deductibility_vat_percentage: 9.965781217890562 + currency: + symbol: € + exchange_rate: "1" + html_symbol: EUR + id: EUR + id: 7 + amount_other_withholding_tax: 4.145608029883936 + locked: true + invoice_number: invoice_number + vat_deductibility: 1.4894159098541704 + attachment_token: attachment_token + amount_net: 9.301444243932576 + attachment_url: attachment_url + amount_withholding_tax: 2.027123023002322 e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 + category: category + amount_gross: 7.386281948385884 + entity: + country: Italia + code: "123" + notes: notes + ei_code: ei_code + default_payment_terms_type: standard + vat_number: IT01234567890 + created_at: created_at + type: company + address_extra: address_extra + bank_swift_code: bank_swift_code + default_vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + address_province: BG + updated_at: updated_at + bank_name: bank_name + id: 9 + shipping_address: shipping_address + fax: fax + first_name: first_name + bank_iban: bank_iban + country_iso: Italia + email: mario.rossi@example.it + contact_person: contact_person + address_postal_code: "24010" + default_payment_method: + default_payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + name: name + bank_name: bank_name + details: + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + bank_beneficiary: bank_beneficiary + id: 3 + type: standard + is_default: true + ei_payment_method: ei_payment_method + bank_iban: bank_iban + last_name: last_name + address_city: Bergamo + tax_code: RSSMRA44A12E890Q + intent_declaration_protocol_number: intent_declaration_protocol_number + phone: phone + address_street: "Via dei tigli, 12" + e_invoice: true + name: Rossi S.r.l. + default_payment_terms: 30 + certified_email: mario.rossi@pec.example.it + has_intent_declaration: true + intent_declaration_protocol_date: 2000-01-23 properties: data: - $ref: "#/components/schemas/VatType" - title: CreateVatTypeResponse + $ref: "#/components/schemas/ReceivedDocument" + title: GetExistingReceivedDocumentTotals type: object - GetVatTypeResponse: + GetExistingReceivedDocumentTotalsResponse: + description: "" example: data: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 + amount_net: 0.8008281904610115 + amount_withholding_tax: 5.962133916683182 + amount_vat: 6.027456183070403 + payments_sum: 7.061401241503109 + amount_due: 2.3021358869347655 + amount_other_withholding_tax: 5.637376656633329 + amount_gross: 1.4658129805029452 properties: data: - $ref: "#/components/schemas/VatType" - title: GetVatType + $ref: "#/components/schemas/ReceivedDocumentTotals" + title: GetExistingReceivedDocumentTotalsResponse type: object - ModifyVatTypeResponse: + UploadReceivedDocumentAttachmentRequest: + $ref: "#/components/schemas/Attachment" + UploadReceivedDocumentAttachmentResponse: example: data: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 + attachment_token: YmMyNWYxYzIwMTU3N2Y4ZGE3ZjZiMzg5OWY0ODNkZDQveXl5LmRvYw properties: data: - $ref: "#/components/schemas/VatType" - title: ModifyVatTypeResponse + $ref: "#/components/schemas/AttachmentData" + title: UploadReceivedDocumentAttachmentResponse type: object - GetEInvoiceXmlResponse: - description: XML of the e-invoice - title: GetEInvoiceXmlResponse - type: string - GetEInvoiceRejectionReasonResponse: + GetReceivedDocumentPreCreateInfoResponse: + description: "" example: data: - date: 2000-01-23T04:56:07.000+00:00 - reason: reason - code: code - solution: solution - ei_status: ei_status + default_values: + detailed: true + items_default_values: + vat: 0.8008281904610115 + categories_list: + - categories_list + - categories_list + payment_accounts_list: + - cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + - cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + currencies_list: + - symbol: € + exchange_rate: "1" + html_symbol: EUR + id: EUR + - symbol: € + exchange_rate: "1" + html_symbol: EUR + id: EUR + vat_types_list: + - ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + - ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + countries_list: + - countries_list + - countries_list properties: data: - $ref: "#/components/schemas/EInvoiceRejectionReason" - title: GetEInvoiceRejectionReason + $ref: "#/components/schemas/ReceivedDocumentInfo" + title: GetReceivedDocumentPreCreateInfoResponse type: object - ListDetailedCountriesResponse: + ListReceiptsResponse: + allOf: + - $ref: "#/components/schemas/Pagination" + - $ref: "#/components/schemas/ListReceiptsResponsePage" + description: "" example: + first_page_url: https://openapi-generator.tech + path: https://openapi-generator.tech + per_page: 5 + total: 2 data: - - iso: iso - name: name - settings_name: settings_name - fiscal_iso: fiscal_iso - uic: uic - - iso: iso - name: name - settings_name: settings_name - fiscal_iso: fiscal_iso - uic: uic - properties: - data: - items: - $ref: "#/components/schemas/DetailedCountry" - type: array - title: ListDetailedCountriesResponse - type: object - TransformIssuedDocumentResponse: + - date: 2000-01-23 + amount_net: 3.616076749251911 + numeration: numeration + description: description + created_at: created_at + type: till_receipt + number: 9.301444243932576 + use_gross_prices: true + rc_center: rc_center + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + updated_at: updated_at + amount_vat: 2.027123023002322 + items_list: + - amount_net: 1.2315135367772556 + vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + id: 7 + category: category + amount_gross: 1.0246457001441578 + - amount_net: 1.2315135367772556 + vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + id: 7 + category: category + amount_gross: 1.0246457001441578 + id: 7 + amount_gross: 4.145608029883936 + - date: 2000-01-23 + amount_net: 3.616076749251911 + numeration: numeration + description: description + created_at: created_at + type: till_receipt + number: 9.301444243932576 + use_gross_prices: true + rc_center: rc_center + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + updated_at: updated_at + amount_vat: 2.027123023002322 + items_list: + - amount_net: 1.2315135367772556 + vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + id: 7 + category: category + amount_gross: 1.0246457001441578 + - amount_net: 1.2315135367772556 + vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + id: 7 + category: category + amount_gross: 1.0246457001441578 + id: 7 + amount_gross: 4.145608029883936 + last_page: 1 + last_page_url: https://openapi-generator.tech + next_page_url: https://openapi-generator.tech + from: 6 + to: 5 + prev_page_url: https://openapi-generator.tech + current_page: 0 + title: ListReceiptsResponse + CreateReceiptRequest: + description: "" example: + autocomplete_number: true data: date: 2000-01-23 - numeration: /A - notes: notes - year: 3 - subject: subject - rivalsa: 2.027123023002322 - dn_ai_causal: dn_ai_causal - language: - code: code - name: name - type: invoice - show_payments: true - ei_data: - original_document_type: ordine - cig: cig - bank_name: bank_name - od_number: od_number - od_date: 2000-01-23 - bank_beneficiary: bank_beneficiary - vat_kind: null - bank_iban: bank_iban - invoice_number: invoice_number - payment_method: payment_method - cup: cup - invoice_date: 2000-01-23 - dn_ai_weight: dn_ai_weight - number: 1 + amount_net: 3.616076749251911 + numeration: numeration + description: description + created_at: created_at + type: till_receipt + number: 9.301444243932576 + use_gross_prices: true rc_center: rc_center + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + updated_at: updated_at + amount_vat: 2.027123023002322 items_list: - - code: "239874892374982" - ei_raw: "{}" - discount_highlight: true + - amount_net: 1.2315135367772556 vat: ei_description: ei_description default: true @@ -19888,23 +67012,10 @@ components: description: Non imponibile art. 123 id: 9 value: 22 - description: description - not_taxable: true - discount: 3.5571952270680973 - net_price: 1.23 - apply_withholding_taxes: true - measure: measure - product_id: 1234 - qty: 6.438423552598547 - name: Water bottle - gross_price: 1.45 - id: 9 + id: 7 category: category - stock: true - in_dn: true - - code: "239874892374982" - ei_raw: "{}" - discount_highlight: true + amount_gross: 1.0246457001441578 + - amount_net: 1.2315135367772556 vat: ei_description: ei_description default: true @@ -19916,185 +67027,107 @@ components: description: Non imponibile art. 123 id: 9 value: 22 - description: description - not_taxable: true - discount: 3.5571952270680973 - net_price: 1.23 - apply_withholding_taxes: true - measure: measure - product_id: 1234 - qty: 6.438423552598547 - name: Water bottle - gross_price: 1.45 - id: 9 + id: 7 category: category - stock: true - in_dn: true - dn_ai_notes: dn_ai_notes - acc_inv_template: - name: Light Smoke - id: 123 - type: type + amount_gross: 1.0246457001441578 id: 7 - delivery_note_template: - name: Light Smoke - id: 123 - type: type - locked: true - show_tspay_button: true - payment_method: - default_payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - name: name - bank_name: bank_name - details: - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - bank_beneficiary: bank_beneficiary - id: 3 - type: standard - is_default: true - ei_payment_method: ei_payment_method - bank_iban: bank_iban - attachment_token: attachment_token - amount_net: 5.944895607614016 - dn_ai_destination: dn_ai_destination - ai_url: ai_url - amount_cassa: 7.386281948385884 - cassa2_taxable: 7.457744773683766 - v_margins: 6 - amount_cassa2: 6.84685269835264 - accompanying_invoice: true - amount_rivalsa_taxable: 0.8851374739011653 - amount_rivalsa: 7.143538047012306 - show_totals: all - stamp_duty: 8.762042012749001 - use_gross_prices: true - global_cassa_taxable: 4.965218492984954 - e_invoice: true - dn_ai_packages_number: dn_ai_packages_number - withholding_tax: 9.965781217890562 - amount_withholding_tax_taxable: 6.519180951018382 - other_withholding_tax: 6.683562403749608 - ei_other_withholding_tax_type: ei_other_withholding_tax_type - template: - name: Light Smoke - id: 123 - type: type - cassa: 4.145608029883936 - ei_raw: "{}" - amount_global_cassa_taxable: 5.025004791520295 - amount_due_discount: 3.0937452626664474 - amount_enasarco_taxable: 8.969578798196912 + amount_gross: 4.145608029883936 + properties: + data: + $ref: "#/components/schemas/Receipt" + autocomplete_number: + description: "If true, the number is autocompleted progressively." + nullable: true + type: boolean + title: CreateReceiptRequest + type: object + CreateReceiptResponse: + description: "" + example: + data: + date: 2000-01-23 + amount_net: 3.616076749251911 + numeration: numeration + description: description created_at: created_at - visible_subject: visible_subject - use_split_payment: true - payments_list: - - amount: 1.45 - payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - ei_raw: "{}" - due_date: 2018-04-03 - id: 6 - payment_terms: - days: 1 - type: null - paid_date: 2018-04-03 - status: not_paid - - amount: 1.45 - payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - ei_raw: "{}" - due_date: 2018-04-03 - id: 6 - payment_terms: - days: 1 - type: null - paid_date: 2018-04-03 - status: not_paid - h_margins: 2 - dn_date: 2000-01-23 - ei_other_withholding_tax_causal: ei_other_withholding_tax_causal - next_due_date: 2000-01-23 - cassa2: 1.4894159098541704 - withholding_tax_taxable: 9.369310271410669 - is_marked: true + type: till_receipt + number: 9.301444243932576 + use_gross_prices: true + rc_center: rc_center + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + updated_at: updated_at + amount_vat: 2.027123023002322 + items_list: + - amount_net: 1.2315135367772556 + vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + id: 7 + category: category + amount_gross: 1.0246457001441578 + - amount_net: 1.2315135367772556 + vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + id: 7 + category: category + amount_gross: 1.0246457001441578 + id: 7 + amount_gross: 4.145608029883936 + properties: + data: + $ref: "#/components/schemas/Receipt" + title: CreateReceiptResponse + type: object + GetReceiptResponse: + description: "" + example: + data: + date: 2000-01-23 + amount_net: 3.616076749251911 + numeration: numeration + description: description + created_at: created_at + type: till_receipt + number: 9.301444243932576 + use_gross_prices: true + rc_center: rc_center + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard updated_at: updated_at - amount_vat: 6.704019297950036 - amount_other_withholding_tax_taxable: 4.652396432933246 - currency: - symbol: € - exchange_rate: "1" - html_symbol: EUR - id: EUR - dn_number: 6 - amount_other_withholding_tax: 0.10263654006109402 - ei_cassa_type: ei_cassa_type - dn_ai_transporter: dn_ai_transporter - show_notification_button: true - dn_url: dn_url - show_payment_method: true - price_list_id: price_list_id - delivery_note: true - url: url - attachment_url: attachment_url - amount_withholding_tax: 7.058770351582356 - extra_data: - ts_file_id: ts_file_id - ts_flag_tipo_spesa: 3.0205796992916243 - ts_pagamento_tracciato: true - ts_status: 3 - ts_opposizione: true - ts_communication: true - ts_full_amount: true - ts_tipo_spesa: ts_tipo_spesa - multifatture_sent: 7 - imported_by: imported_by - ts_sent_date: 2000-01-23 - ei_status: attempt - seen_date: 2000-01-23 - ei_cassa2_type: ei_cassa2_type - ei_withholding_tax_causal: ei_withholding_tax_causal - cassa_taxable: 1.2315135367772556 - amount_gross: 3.353193347011243 - entity: - country: Italia - code: "123" - notes: notes - ei_code: ei_code - default_payment_terms_type: standard - vat_number: IT01234567890 - created_at: created_at - type: company - address_extra: address_extra - bank_swift_code: bank_swift_code - default_vat: + amount_vat: 2.027123023002322 + items_list: + - amount_net: 1.2315135367772556 + vat: ei_description: ei_description default: true notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" @@ -20105,110 +67138,117 @@ components: description: Non imponibile art. 123 id: 9 value: 22 - address_province: BG - updated_at: updated_at - bank_name: bank_name - id: 9 - shipping_address: shipping_address - fax: fax - first_name: first_name - bank_iban: bank_iban - country_iso: Italia - email: mario.rossi@example.it - contact_person: contact_person - address_postal_code: "24010" - default_payment_method: - default_payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - name: name - bank_name: bank_name - details: - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - bank_beneficiary: bank_beneficiary - id: 3 - type: standard - is_default: true - ei_payment_method: ei_payment_method - bank_iban: bank_iban - last_name: last_name - address_city: Bergamo - tax_code: RSSMRA44A12E890Q - intent_declaration_protocol_number: intent_declaration_protocol_number - phone: phone - address_street: "Via dei tigli, 12" - e_invoice: true - name: Rossi S.r.l. - default_payment_terms: 30 - certified_email: mario.rossi@pec.example.it - has_intent_declaration: true - intent_declaration_protocol_date: 2000-01-23 - amount_cassa_taxable: 1.0246457001441578 - amount_cassa2_taxable: 1.1730742509559433 - options: - keep_copy: true - transform: true - join_type: join_type - create_from: - - create_from - - create_from - fix_payments: true + id: 7 + category: category + amount_gross: 1.0246457001441578 + - amount_net: 1.2315135367772556 + vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + id: 7 + category: category + amount_gross: 1.0246457001441578 + id: 7 + amount_gross: 4.145608029883936 properties: data: - $ref: "#/components/schemas/IssuedDocument" - options: - $ref: "#/components/schemas/IssuedDocumentOptions" - title: TransformIssuedDocumentResponse + $ref: "#/components/schemas/Receipt" + title: GetReceiptResponse type: object - JoinIssuedDocumentsResponse: + ModifyReceiptRequest: + description: "" example: data: date: 2000-01-23 - numeration: /A - notes: notes - year: 3 - subject: subject - rivalsa: 2.027123023002322 - dn_ai_causal: dn_ai_causal - language: - code: code - name: name - type: invoice - show_payments: true - ei_data: - original_document_type: ordine - cig: cig - bank_name: bank_name - od_number: od_number - od_date: 2000-01-23 - bank_beneficiary: bank_beneficiary - vat_kind: null - bank_iban: bank_iban - invoice_number: invoice_number - payment_method: payment_method - cup: cup - invoice_date: 2000-01-23 - dn_ai_weight: dn_ai_weight - number: 1 + amount_net: 3.616076749251911 + numeration: numeration + description: description + created_at: created_at + type: till_receipt + number: 9.301444243932576 + use_gross_prices: true + rc_center: rc_center + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + updated_at: updated_at + amount_vat: 2.027123023002322 + items_list: + - amount_net: 1.2315135367772556 + vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + id: 7 + category: category + amount_gross: 1.0246457001441578 + - amount_net: 1.2315135367772556 + vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + id: 7 + category: category + amount_gross: 1.0246457001441578 + id: 7 + amount_gross: 4.145608029883936 + properties: + data: + $ref: "#/components/schemas/Receipt" + title: ModifyReceiptRequest + type: object + ModifyReceiptResponse: + description: "" + example: + data: + date: 2000-01-23 + amount_net: 3.616076749251911 + numeration: numeration + description: description + created_at: created_at + type: till_receipt + number: 9.301444243932576 + use_gross_prices: true rc_center: rc_center + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + updated_at: updated_at + amount_vat: 2.027123023002322 items_list: - - code: "239874892374982" - ei_raw: "{}" - discount_highlight: true + - amount_net: 1.2315135367772556 vat: ei_description: ei_description default: true @@ -20220,23 +67260,10 @@ components: description: Non imponibile art. 123 id: 9 value: 22 - description: description - not_taxable: true - discount: 3.5571952270680973 - net_price: 1.23 - apply_withholding_taxes: true - measure: measure - product_id: 1234 - qty: 6.438423552598547 - name: Water bottle - gross_price: 1.45 - id: 9 + id: 7 category: category - stock: true - in_dn: true - - code: "239874892374982" - ei_raw: "{}" - discount_highlight: true + amount_gross: 1.0246457001441578 + - amount_net: 1.2315135367772556 vat: ei_description: ei_description default: true @@ -20248,1108 +67275,1373 @@ components: description: Non imponibile art. 123 id: 9 value: 22 - description: description - not_taxable: true - discount: 3.5571952270680973 - net_price: 1.23 - apply_withholding_taxes: true - measure: measure - product_id: 1234 - qty: 6.438423552598547 - name: Water bottle - gross_price: 1.45 - id: 9 + id: 7 category: category - stock: true - in_dn: true - dn_ai_notes: dn_ai_notes - acc_inv_template: - name: Light Smoke - id: 123 - type: type + amount_gross: 1.0246457001441578 id: 7 - delivery_note_template: - name: Light Smoke - id: 123 - type: type - locked: true - show_tspay_button: true - payment_method: - default_payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - name: name - bank_name: bank_name - details: - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - bank_beneficiary: bank_beneficiary - id: 3 + amount_gross: 4.145608029883936 + properties: + data: + $ref: "#/components/schemas/Receipt" + title: ModifyReceiptResponse + type: object + GetReceiptPreCreateInfoResponse: + description: "" + example: + data: + numerations_list: + - numerations_list + - numerations_list + numerations: + key: null + rc_centers_list: + - rc_centers_list + - rc_centers_list + payment_accounts_list: + - cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 type: standard - is_default: true - ei_payment_method: ei_payment_method - bank_iban: bank_iban - attachment_token: attachment_token - amount_net: 5.944895607614016 - dn_ai_destination: dn_ai_destination - ai_url: ai_url - amount_cassa: 7.386281948385884 - cassa2_taxable: 7.457744773683766 - v_margins: 6 - amount_cassa2: 6.84685269835264 - accompanying_invoice: true - amount_rivalsa_taxable: 0.8851374739011653 - amount_rivalsa: 7.143538047012306 - show_totals: all - stamp_duty: 8.762042012749001 - use_gross_prices: true - global_cassa_taxable: 4.965218492984954 - e_invoice: true - dn_ai_packages_number: dn_ai_packages_number - withholding_tax: 9.965781217890562 - amount_withholding_tax_taxable: 6.519180951018382 - other_withholding_tax: 6.683562403749608 - ei_other_withholding_tax_type: ei_other_withholding_tax_type - template: - name: Light Smoke - id: 123 - type: type - cassa: 4.145608029883936 - ei_raw: "{}" - amount_global_cassa_taxable: 5.025004791520295 - amount_due_discount: 3.0937452626664474 - amount_enasarco_taxable: 8.969578798196912 - created_at: created_at - visible_subject: visible_subject - use_split_payment: true - payments_list: - - amount: 1.45 - payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - ei_raw: "{}" - due_date: 2018-04-03 - id: 6 - payment_terms: - days: 1 - type: null - paid_date: 2018-04-03 - status: not_paid - - amount: 1.45 - payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - ei_raw: "{}" - due_date: 2018-04-03 - id: 6 - payment_terms: - days: 1 - type: null - paid_date: 2018-04-03 - status: not_paid - h_margins: 2 - dn_date: 2000-01-23 - ei_other_withholding_tax_causal: ei_other_withholding_tax_causal - next_due_date: 2000-01-23 - cassa2: 1.4894159098541704 - withholding_tax_taxable: 9.369310271410669 - is_marked: true - updated_at: updated_at - amount_vat: 6.704019297950036 - amount_other_withholding_tax_taxable: 4.652396432933246 - currency: - symbol: € - exchange_rate: "1" - html_symbol: EUR - id: EUR - dn_number: 6 - amount_other_withholding_tax: 0.10263654006109402 - ei_cassa_type: ei_cassa_type - dn_ai_transporter: dn_ai_transporter - show_notification_button: true - dn_url: dn_url - show_payment_method: true - price_list_id: price_list_id - delivery_note: true - url: url - attachment_url: attachment_url - amount_withholding_tax: 7.058770351582356 - extra_data: - ts_file_id: ts_file_id - ts_flag_tipo_spesa: 3.0205796992916243 - ts_pagamento_tracciato: true - ts_status: 3 - ts_opposizione: true - ts_communication: true - ts_full_amount: true - ts_tipo_spesa: ts_tipo_spesa - multifatture_sent: 7 - imported_by: imported_by - ts_sent_date: 2000-01-23 - ei_status: attempt - seen_date: 2000-01-23 - ei_cassa2_type: ei_cassa2_type - ei_withholding_tax_causal: ei_withholding_tax_causal - cassa_taxable: 1.2315135367772556 - amount_gross: 3.353193347011243 - entity: - country: Italia - code: "123" - notes: notes - ei_code: ei_code - default_payment_terms_type: standard - vat_number: IT01234567890 - created_at: created_at - type: company - address_extra: address_extra - bank_swift_code: bank_swift_code - default_vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - address_province: BG - updated_at: updated_at - bank_name: bank_name + - cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + categories_list: + - categories_list + - categories_list + vat_types_list: + - ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 id: 9 - shipping_address: shipping_address - fax: fax - first_name: first_name - bank_iban: bank_iban - country_iso: Italia - email: mario.rossi@example.it - contact_person: contact_person - address_postal_code: "24010" - default_payment_method: - default_payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - name: name - bank_name: bank_name - details: - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - bank_beneficiary: bank_beneficiary - id: 3 - type: standard - is_default: true - ei_payment_method: ei_payment_method - bank_iban: bank_iban - last_name: last_name - address_city: Bergamo - tax_code: RSSMRA44A12E890Q - intent_declaration_protocol_number: intent_declaration_protocol_number - phone: phone - address_street: "Via dei tigli, 12" + value: 22 + - ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" e_invoice: true - name: Rossi S.r.l. - default_payment_terms: 30 - certified_email: mario.rossi@pec.example.it - has_intent_declaration: true - intent_declaration_protocol_date: 2000-01-23 - amount_cassa_taxable: 1.0246457001441578 - amount_cassa2_taxable: 1.1730742509559433 - options: - keep_copy: true - transform: true - join_type: join_type - create_from: - - create_from - - create_from - fix_payments: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 properties: data: - $ref: "#/components/schemas/IssuedDocument" - options: - $ref: "#/components/schemas/IssuedDocumentOptions" - title: JoinIssuedDocumentsResponse + $ref: "#/components/schemas/ReceiptPreCreateInfo" + title: GetReceiptPreCreateInfoResponse type: object - ListEmailsResponse: + GetReceiptsMonthlyTotalsResponse: + description: "" + example: + data: + - gross: 6.027456183070403 + count: 1.4658129805029452 + net: 0.8008281904610115 + - gross: 6.027456183070403 + count: 1.4658129805029452 + net: 0.8008281904610115 + properties: + data: + items: + $ref: "#/components/schemas/MonthlyTotal" + nullable: true + type: array + title: GetReceiptsMonthlyTotalsResponse + type: object + ListF24Response: allOf: - $ref: "#/components/schemas/Pagination" - - $ref: "#/components/schemas/ListEmailsResponsePage" + - $ref: "#/components/schemas/ListF24ResponsePage" + - $ref: "#/components/schemas/ListF24ResponseAggregation" + description: "" example: - first_page_url: https://openapi-generator.tech - path: https://openapi-generator.tech per_page: 5 - total: 2 data: - - to_email: to_email - from_email: from_email - attachments: - - filename: filename - url: url - - filename: filename - url: url - error_log: error_log - to_name: to_name - subject: subject - kind: kind - sent_date: sent_date - from_name: from_name - recipient_status: unknown - content: content - copy_to: copy_to + - attachment_token: attachment_token + amount: 300 + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + due_date: 2018-02-12 + description: description id: 7 - recipient_date: 2000-01-23T04:56:07.000+00:00 - status: sending - errors_count: 9 - - to_email: to_email - from_email: from_email - attachments: - - filename: filename - url: url - - filename: filename - url: url - error_log: error_log - to_name: to_name - subject: subject - kind: kind - sent_date: sent_date - from_name: from_name - recipient_status: unknown - content: content - copy_to: copy_to + attachment_url: attachment_url + status: paid + - attachment_token: attachment_token + amount: 300 + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + due_date: 2018-02-12 + description: description id: 7 - recipient_date: 2000-01-23T04:56:07.000+00:00 - status: sending - errors_count: 9 + attachment_url: attachment_url + status: paid last_page: 1 - last_page_url: https://openapi-generator.tech next_page_url: https://openapi-generator.tech + prev_page_url: https://openapi-generator.tech + first_page_url: https://openapi-generator.tech + path: https://openapi-generator.tech + total: 2 + last_page_url: https://openapi-generator.tech + aggregated_data: + amount: 9.301444243932576 from: 6 to: 5 - prev_page_url: https://openapi-generator.tech current_page: 0 - title: ListEmailsResponse - CreateWebhooksSubscriptionResponse: - example: - data: - types: - - it.fattureincloud.webhooks.issued_documents.invoices.create - - it.fattureincloud.webhooks.issued_documents.invoices.create - sink: sink - verification_method: header - verified: true - id: id - config: - mapping: binary - warnings: - - warnings - - warnings - properties: - data: - $ref: "#/components/schemas/WebhooksSubscription" - warnings: - description: Webhooks registration warnings - items: - type: string - nullable: true - type: array - title: CreateWebhooksSubscriptionResponse - type: object - ListWebhooksSubscriptionsResponse: - example: - data: - - types: - - it.fattureincloud.webhooks.issued_documents.invoices.create - - it.fattureincloud.webhooks.issued_documents.invoices.create - sink: sink - verification_method: header - verified: true - id: id - config: - mapping: binary - - types: - - it.fattureincloud.webhooks.issued_documents.invoices.create - - it.fattureincloud.webhooks.issued_documents.invoices.create - sink: sink - verification_method: header - verified: true - id: id - config: - mapping: binary - properties: - data: - items: - $ref: "#/components/schemas/WebhooksSubscription" - type: array - title: ListWebhooksSubscriptionsResponse - type: object - GetWebhooksSubscriptionResponse: + title: ListF24Response + CreateF24Request: + description: "" example: data: - types: - - it.fattureincloud.webhooks.issued_documents.invoices.create - - it.fattureincloud.webhooks.issued_documents.invoices.create - sink: sink - verification_method: header - verified: true - id: id - config: - mapping: binary + attachment_token: attachment_token + amount: 300 + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + due_date: 2018-02-12 + description: description + id: 7 + attachment_url: attachment_url + status: paid properties: data: - $ref: "#/components/schemas/WebhooksSubscription" - title: GetWebhooksSubscriptionResponse + $ref: "#/components/schemas/F24" + title: CreateF24Request type: object - ModifyWebhooksSubscriptionResponse: + CreateF24Response: + description: "" example: data: - types: - - it.fattureincloud.webhooks.issued_documents.invoices.create - - it.fattureincloud.webhooks.issued_documents.invoices.create - sink: sink - verification_method: header - verified: true - id: id - config: - mapping: binary - warnings: - - warnings - - warnings + attachment_token: attachment_token + amount: 300 + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + due_date: 2018-02-12 + description: description + id: 7 + attachment_url: attachment_url + status: paid properties: data: - $ref: "#/components/schemas/WebhooksSubscription" - warnings: - description: Webhooks registration warnings - items: - type: string - nullable: true - type: array - title: CreateWebhooksSubscriptionRequest + $ref: "#/components/schemas/F24" + title: CreateF24Response type: object - GetCompanyPlanUsageResponse: - description: "" + GetF24Response: example: data: - usage: 6.027456183070403 - limit: 0.8008281904610115 + attachment_token: attachment_token + amount: 300 + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + due_date: 2018-02-12 + description: description + id: 7 + attachment_url: attachment_url + status: paid properties: data: - $ref: "#/components/schemas/CompanyPlanUsage" - title: GetCompanyPlanUsageResponse + $ref: "#/components/schemas/F24" + title: GetF24Response type: object - GetTaxProfileResponse: + ModifyF24Request: + description: "" example: data: - profession: profession - company_type: company_type - contributions_percentage: 3.616076749251911 - rivalsa_name: rivalsa_name - default_cassa2_taxable: 5.637376656633329 - regime: regime - default_cassa2: 5.962133916683182 - enasarco_type: enasarco_type - default_cassa: 6.027456183070403 - profit_coefficient: 2.027123023002322 - company_subtype: company_subtype - med: true - default_withholding_tax: 2.3021358869347655 - default_other_withholding_tax: 9.301444243932576 - default_vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - default_withholding_tax_taxable: 7.061401241503109 - enasarco: true - default_cassa_taxable: 1.4658129805029452 - default_rivalsa: 0.8008281904610115 - cassa_name: cassa_name - cassa2_name: cassa2_name + attachment_token: attachment_token + amount: 300 + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + due_date: 2018-02-12 + description: description + id: 7 + attachment_url: attachment_url + status: paid properties: data: - $ref: "#/components/schemas/TaxProfile" - title: GetTaxProfileResponse + $ref: "#/components/schemas/F24" + title: ModifyF24Request type: object - ListBinIssuedDocuments: + ModifyF24Response: + description: "" example: data: - - date: 2000-01-23 - numeration: /A - notes: notes - year: 3 - subject: subject - rivalsa: 2.027123023002322 - dn_ai_causal: dn_ai_causal - language: - code: code - name: name - type: invoice - show_payments: true - ei_data: - original_document_type: ordine - cig: cig - bank_name: bank_name - od_number: od_number - od_date: 2000-01-23 - bank_beneficiary: bank_beneficiary - vat_kind: null - bank_iban: bank_iban - invoice_number: invoice_number - payment_method: payment_method - cup: cup - invoice_date: 2000-01-23 - dn_ai_weight: dn_ai_weight - number: 1 - rc_center: rc_center - items_list: - - code: "239874892374982" - ei_raw: "{}" - discount_highlight: true - vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - description: description - not_taxable: true - discount: 3.5571952270680973 - net_price: 1.23 - apply_withholding_taxes: true - measure: measure - product_id: 1234 - qty: 6.438423552598547 - name: Water bottle - gross_price: 1.45 - id: 9 - category: category - stock: true - in_dn: true - - code: "239874892374982" - ei_raw: "{}" - discount_highlight: true - vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - description: description - not_taxable: true - discount: 3.5571952270680973 - net_price: 1.23 - apply_withholding_taxes: true - measure: measure - product_id: 1234 - qty: 6.438423552598547 - name: Water bottle - gross_price: 1.45 - id: 9 - category: category - stock: true - in_dn: true - dn_ai_notes: dn_ai_notes - acc_inv_template: - name: Light Smoke - id: 123 - type: type - id: 7 - delivery_note_template: - name: Light Smoke - id: 123 - type: type - locked: true - show_tspay_button: true - payment_method: - default_payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - name: name - bank_name: bank_name - details: - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - bank_beneficiary: bank_beneficiary - id: 3 + attachment_token: attachment_token + amount: 300 + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 type: standard - is_default: true - ei_payment_method: ei_payment_method - bank_iban: bank_iban + due_date: 2018-02-12 + description: description + id: 7 + attachment_url: attachment_url + status: paid + properties: + data: + $ref: "#/components/schemas/F24" + title: ModifyF24Response + type: object + UploadF24AttachmentRequest: + $ref: "#/components/schemas/Attachment" + UploadF24AttachmentResponse: + example: + data: + attachment_token: YmMyNWYxYzIwMTU3N2Y4ZGE3ZjZiMzg5OWY0ODNkZDQveXl5LmRvYw + properties: + data: + $ref: "#/components/schemas/AttachmentData" + title: UploadF24AttachmentResponse + type: object + ListArchiveDocumentsResponse: + allOf: + - $ref: "#/components/schemas/Pagination" + - $ref: "#/components/schemas/ListArchiveDocumentsResponsePage" + description: "" + example: + first_page_url: https://openapi-generator.tech + path: https://openapi-generator.tech + per_page: 5 + total: 2 + data: + - date: 2000-01-23 attachment_token: attachment_token - amount_net: 5.944895607614016 - dn_ai_destination: dn_ai_destination - ai_url: ai_url - amount_cassa: 7.386281948385884 - cassa2_taxable: 7.457744773683766 - v_margins: 6 - amount_cassa2: 6.84685269835264 - accompanying_invoice: true - amount_rivalsa_taxable: 0.8851374739011653 - amount_rivalsa: 7.143538047012306 - show_totals: all - stamp_duty: 8.762042012749001 - use_gross_prices: true - global_cassa_taxable: 4.965218492984954 - e_invoice: true - dn_ai_packages_number: dn_ai_packages_number - withholding_tax: 9.965781217890562 - amount_withholding_tax_taxable: 6.519180951018382 - other_withholding_tax: 6.683562403749608 - ei_other_withholding_tax_type: ei_other_withholding_tax_type - template: - name: Light Smoke - id: 123 - type: type - cassa: 4.145608029883936 - ei_raw: "{}" - amount_global_cassa_taxable: 5.025004791520295 - amount_due_discount: 3.0937452626664474 - amount_enasarco_taxable: 8.969578798196912 - created_at: created_at - visible_subject: visible_subject - use_split_payment: true - payments_list: - - amount: 1.45 - payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - ei_raw: "{}" - due_date: 2018-04-03 - id: 6 - payment_terms: - days: 1 - type: null - paid_date: 2018-04-03 - status: not_paid - - amount: 1.45 - payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - ei_raw: "{}" - due_date: 2018-04-03 - id: 6 - payment_terms: - days: 1 - type: null - paid_date: 2018-04-03 - status: not_paid - h_margins: 2 - dn_date: 2000-01-23 - ei_other_withholding_tax_causal: ei_other_withholding_tax_causal - next_due_date: 2000-01-23 - cassa2: 1.4894159098541704 - withholding_tax_taxable: 9.369310271410669 - is_marked: true - updated_at: updated_at - amount_vat: 6.704019297950036 - amount_other_withholding_tax_taxable: 4.652396432933246 - currency: - symbol: € - exchange_rate: "1" - html_symbol: EUR - id: EUR - dn_number: 6 - amount_other_withholding_tax: 0.10263654006109402 - ei_cassa_type: ei_cassa_type - dn_ai_transporter: dn_ai_transporter - show_notification_button: true - dn_url: dn_url - show_payment_method: true - price_list_id: price_list_id - delivery_note: true - url: url + description: description + id: 7 + category: category attachment_url: attachment_url - amount_withholding_tax: 7.058770351582356 - extra_data: - ts_file_id: ts_file_id - ts_flag_tipo_spesa: 3.0205796992916243 - ts_pagamento_tracciato: true - ts_status: 3 - ts_opposizione: true - ts_communication: true - ts_full_amount: true - ts_tipo_spesa: ts_tipo_spesa - multifatture_sent: 7 - imported_by: imported_by - ts_sent_date: 2000-01-23 - ei_status: attempt - seen_date: 2000-01-23 - ei_cassa2_type: ei_cassa2_type - ei_withholding_tax_causal: ei_withholding_tax_causal - cassa_taxable: 1.2315135367772556 - amount_gross: 3.353193347011243 - entity: - country: Italia - code: "123" - notes: notes - ei_code: ei_code - default_payment_terms_type: standard - vat_number: IT01234567890 - created_at: created_at - type: company - address_extra: address_extra - bank_swift_code: bank_swift_code - default_vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - address_province: BG - updated_at: updated_at - bank_name: bank_name - id: 9 - shipping_address: shipping_address - fax: fax - first_name: first_name - bank_iban: bank_iban - country_iso: Italia - email: mario.rossi@example.it - contact_person: contact_person - address_postal_code: "24010" - default_payment_method: - default_payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - name: name - bank_name: bank_name - details: - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - bank_beneficiary: bank_beneficiary - id: 3 - type: standard - is_default: true - ei_payment_method: ei_payment_method - bank_iban: bank_iban - last_name: last_name - address_city: Bergamo - tax_code: RSSMRA44A12E890Q - intent_declaration_protocol_number: intent_declaration_protocol_number - phone: phone - address_street: "Via dei tigli, 12" - e_invoice: true - name: Rossi S.r.l. - default_payment_terms: 30 - certified_email: mario.rossi@pec.example.it - has_intent_declaration: true - intent_declaration_protocol_date: 2000-01-23 - amount_cassa_taxable: 1.0246457001441578 - amount_cassa2_taxable: 1.1730742509559433 - date: 2000-01-23 - numeration: /A - notes: notes - year: 3 - subject: subject - rivalsa: 2.027123023002322 - dn_ai_causal: dn_ai_causal - language: - code: code - name: name - type: invoice - show_payments: true - ei_data: - original_document_type: ordine - cig: cig - bank_name: bank_name - od_number: od_number - od_date: 2000-01-23 - bank_beneficiary: bank_beneficiary - vat_kind: null - bank_iban: bank_iban - invoice_number: invoice_number - payment_method: payment_method - cup: cup - invoice_date: 2000-01-23 - dn_ai_weight: dn_ai_weight - number: 1 - rc_center: rc_center - items_list: - - code: "239874892374982" - ei_raw: "{}" - discount_highlight: true - vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - description: description - not_taxable: true - discount: 3.5571952270680973 - net_price: 1.23 - apply_withholding_taxes: true - measure: measure - product_id: 1234 - qty: 6.438423552598547 - name: Water bottle - gross_price: 1.45 - id: 9 - category: category - stock: true - in_dn: true - - code: "239874892374982" - ei_raw: "{}" - discount_highlight: true - vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - description: description - not_taxable: true - discount: 3.5571952270680973 - net_price: 1.23 - apply_withholding_taxes: true - measure: measure - product_id: 1234 - qty: 6.438423552598547 - name: Water bottle - gross_price: 1.45 - id: 9 - category: category - stock: true - in_dn: true - dn_ai_notes: dn_ai_notes - acc_inv_template: - name: Light Smoke - id: 123 + attachment_token: attachment_token + description: description + id: 7 + category: category + attachment_url: attachment_url + last_page: 1 + last_page_url: https://openapi-generator.tech + next_page_url: https://openapi-generator.tech + from: 6 + to: 5 + prev_page_url: https://openapi-generator.tech + current_page: 0 + title: ListArchiveDocumentsResponse + CreateArchiveDocumentRequest: + description: "" + example: + data: + date: 2000-01-23 + attachment_token: attachment_token + description: description + id: 7 + category: category + attachment_url: attachment_url + properties: + data: + $ref: "#/components/schemas/ArchiveDocument" + title: CreateArchiveDocumentRequest + type: object + CreateArchiveDocumentResponse: + description: "" + example: + data: + date: 2000-01-23 + attachment_token: attachment_token + description: description + id: 7 + category: category + attachment_url: attachment_url + properties: + data: + $ref: "#/components/schemas/ArchiveDocument" + title: CreateArchiveDocumentResponse + type: object + GetArchiveDocumentResponse: + description: "" + example: + data: + date: 2000-01-23 + attachment_token: attachment_token + description: description + id: 7 + category: category + attachment_url: attachment_url + properties: + data: + $ref: "#/components/schemas/ArchiveDocument" + title: GetArchiveDocumentResponse + type: object + ModifyArchiveDocumentRequest: + description: "" + example: + data: + date: 2000-01-23 + attachment_token: attachment_token + description: description + id: 7 + category: category + attachment_url: attachment_url + properties: + data: + $ref: "#/components/schemas/ArchiveDocument" + title: ModifyArchiveDocumentRequest + type: object + ModifyArchiveDocumentResponse: + description: "" + example: + data: + date: 2000-01-23 + attachment_token: attachment_token + description: description + id: 7 + category: category + attachment_url: attachment_url + properties: + data: + $ref: "#/components/schemas/ArchiveDocument" + title: ModifyArchiveDocumentResponse + type: object + UploadArchiveDocumentAttachmentRequest: + $ref: "#/components/schemas/Attachment" + UploadArchiveAttachmentResponse: + example: + data: + attachment_token: YmMyNWYxYzIwMTU3N2Y4ZGE3ZjZiMzg5OWY0ODNkZDQveXl5LmRvYw + properties: + data: + $ref: "#/components/schemas/AttachmentData" + title: UploadArchiveAttachmentResponse + type: object + ListCashbookEntriesResponse: + description: "" + example: + data: + - date: 2000-01-23 + amount_out: 1.4658129805029452 + amount_in: 6.027456183070403 + entity_name: entity_name + kind: cashbook + payment_account_in: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + payment_account_out: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + document: + path: path + id: 0 + type: type + description: description + id: id + type: in + - date: 2000-01-23 + amount_out: 1.4658129805029452 + amount_in: 6.027456183070403 + entity_name: entity_name + kind: cashbook + payment_account_in: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + payment_account_out: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + document: + path: path + id: 0 + type: type + description: description + id: id + type: in + properties: + data: + items: + $ref: "#/components/schemas/CashbookEntry" + nullable: true + type: array + title: ListCashbookEntriesResponse + type: object + CreateCashbookEntryRequest: + description: "" + example: + data: + date: 2000-01-23 + amount_out: 1.4658129805029452 + amount_in: 6.027456183070403 + entity_name: entity_name + kind: cashbook + payment_account_in: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + payment_account_out: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + document: + path: path + id: 0 + type: type + description: description + id: id + type: in + properties: + data: + $ref: "#/components/schemas/CashbookEntry" + title: CreateCashbookEntryRequest + type: object + CreateCashbookEntryResponse: + description: "" + example: + data: + date: 2000-01-23 + amount_out: 1.4658129805029452 + amount_in: 6.027456183070403 + entity_name: entity_name + kind: cashbook + payment_account_in: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + payment_account_out: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + document: + path: path + id: 0 type: type - id: 7 - delivery_note_template: - name: Light Smoke - id: 123 + description: description + id: id + type: in + properties: + data: + $ref: "#/components/schemas/CashbookEntry" + title: CreateCashbookEntryResponse + type: object + GetCashbookEntryResponse: + description: "" + example: + data: + date: 2000-01-23 + amount_out: 1.4658129805029452 + amount_in: 6.027456183070403 + entity_name: entity_name + kind: cashbook + payment_account_in: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + payment_account_out: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + document: + path: path + id: 0 type: type - locked: true - show_tspay_button: true - payment_method: - default_payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - name: name - bank_name: bank_name - details: - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - bank_beneficiary: bank_beneficiary - id: 3 + description: description + id: id + type: in + properties: + data: + $ref: "#/components/schemas/CashbookEntry" + title: GetCashbookEntryResponse + type: object + ModifyCashbookEntryRequest: + description: "" + example: + data: + date: 2000-01-23 + amount_out: 1.4658129805029452 + amount_in: 6.027456183070403 + entity_name: entity_name + kind: cashbook + payment_account_in: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + payment_account_out: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + document: + path: path + id: 0 + type: type + description: description + id: id + type: in + properties: + data: + $ref: "#/components/schemas/CashbookEntry" + title: ModifyCashbookEntryRequest + type: object + ModifyCashbookEntryResponse: + description: "" + example: + data: + date: 2000-01-23 + amount_out: 1.4658129805029452 + amount_in: 6.027456183070403 + entity_name: entity_name + kind: cashbook + payment_account_in: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + payment_account_out: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + document: + path: path + id: 0 + type: type + description: description + id: id + type: in + properties: + data: + $ref: "#/components/schemas/CashbookEntry" + title: ModifyCashbookEntryResponse + type: object + ListCountriesResponse: + description: "" + example: + data: + - data + - data + properties: + data: + items: + type: string + nullable: true + type: array + title: ListCountriesResponse + type: object + ListDetailedCountriesResponse: + example: + data: + - iso: iso + name: name + settings_name: settings_name + fiscal_iso: fiscal_iso + uic: uic + - iso: iso + name: name + settings_name: settings_name + fiscal_iso: fiscal_iso + uic: uic + properties: + data: + items: + $ref: "#/components/schemas/DetailedCountry" + type: array + title: ListDetailedCountriesResponse + type: object + ListCitiesResponse: + description: "" + example: + data: + - province: province + city: city + postal_code: postal_code + - province: province + city: city + postal_code: postal_code + properties: + data: + items: + $ref: "#/components/schemas/City" + nullable: true + type: array + title: ListCitiesResponse + type: object + ListLanguagesResponse: + description: "" + example: + data: + - code: code + name: name + - code: code + name: name + properties: + data: + items: + $ref: "#/components/schemas/Language" + nullable: true + type: array + title: ListLanguagesResponse + type: object + ListTemplatesResponse: + description: "" + example: + data: + - supports_custom_taxable: true + can_disable_watermark: true + author: author + name: name + privacy: privacy + id: 2 + type: type + content: content + - supports_custom_taxable: true + can_disable_watermark: true + author: author + name: name + privacy: privacy + id: 2 + type: type + content: content + properties: + data: + items: + $ref: "#/components/schemas/DocumentTemplate" + nullable: true + type: array + title: ListTemplatesResponse + type: object + ListCurrenciesResponse: + description: "" + example: + data: + - symbol: € + exchange_rate: "1" + html_symbol: EUR + id: EUR + - symbol: € + exchange_rate: "1" + html_symbol: EUR + id: EUR + properties: + data: + items: + $ref: "#/components/schemas/Currency" + nullable: true + type: array + title: ListCurrenciesResponse + type: object + ListUnitsOfMeasureResponse: + description: "" + example: + data: + - data + - data + properties: + data: + items: + type: string + nullable: true + type: array + title: ListUnitsOfMeasureResponse + type: object + ListDeliveryNotesDefaultCausalsResponse: + description: "" + example: + data: + - data + - data + properties: + data: + items: + type: string + nullable: true + type: array + title: ListDeliveryNotesDefaultCasualsResponse + type: object + ListVatTypesResponse: + description: "" + example: + data: + - ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + - ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + properties: + data: + items: + $ref: "#/components/schemas/VatType" + nullable: true + type: array + title: ListVatTypesResponse + type: object + ListPaymentMethodsResponse: + description: "" + example: + data: + - default_payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + name: name + bank_name: bank_name + details: + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + bank_beneficiary: bank_beneficiary + id: 3 + type: standard + is_default: true + ei_payment_method: ei_payment_method + bank_iban: bank_iban + - default_payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + name: name + bank_name: bank_name + details: + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + bank_beneficiary: bank_beneficiary + id: 3 + type: standard + is_default: true + ei_payment_method: ei_payment_method + bank_iban: bank_iban + properties: + data: + items: + $ref: "#/components/schemas/PaymentMethod" + nullable: true + type: array + title: ListPaymentMethodsResponse + type: object + ListPaymentAccountsResponse: + description: "" + example: + data: + - cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + - cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + properties: + data: + items: + $ref: "#/components/schemas/PaymentAccount" + nullable: true + type: array + title: ListPaymentAccountsResponse + type: object + ListRevenueCentersResponse: + description: "" + example: + data: + - data + - data + properties: + data: + items: + type: string + nullable: true + type: array + title: ListRevenueCentersResponse + type: object + ListCostCentersResponse: + example: + data: + - data + - data + properties: + data: + items: + type: string + nullable: true + type: array + title: ListCostCentersResponse + type: object + ListProductCategoriesResponse: + description: "" + example: + data: + - data + - data + properties: + data: + items: + type: string + nullable: true + type: array + title: ListProductCategoriesResponse + type: object + ListReceivedDocumentCategoriesResponse: + description: "" + example: + data: + - data + - data + properties: + data: + items: + type: string + nullable: true + type: array + title: ListReceivedDocumentCategoriesResponse + type: object + ListArchiveCategoriesResponse: + example: + data: + - data + - data + properties: + data: + items: + type: string + nullable: true + type: array + title: ListArchiveCategoriesResponse + type: object + CreatePaymentMethodRequest: + example: + data: + default_payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + name: name + bank_name: bank_name + details: + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + bank_beneficiary: bank_beneficiary + id: 3 + type: standard + is_default: true + ei_payment_method: ei_payment_method + bank_iban: bank_iban + properties: + data: + $ref: "#/components/schemas/PaymentMethod" + title: CreatePaymentMethodRequest + type: object + CreatePaymentMethodResponse: + example: + data: + default_payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 type: standard - is_default: true - ei_payment_method: ei_payment_method - bank_iban: bank_iban - attachment_token: attachment_token - amount_net: 5.944895607614016 - dn_ai_destination: dn_ai_destination - ai_url: ai_url - amount_cassa: 7.386281948385884 - cassa2_taxable: 7.457744773683766 - v_margins: 6 - amount_cassa2: 6.84685269835264 - accompanying_invoice: true - amount_rivalsa_taxable: 0.8851374739011653 - amount_rivalsa: 7.143538047012306 - show_totals: all - stamp_duty: 8.762042012749001 - use_gross_prices: true - global_cassa_taxable: 4.965218492984954 - e_invoice: true - dn_ai_packages_number: dn_ai_packages_number - withholding_tax: 9.965781217890562 - amount_withholding_tax_taxable: 6.519180951018382 - other_withholding_tax: 6.683562403749608 - ei_other_withholding_tax_type: ei_other_withholding_tax_type - template: - name: Light Smoke - id: 123 - type: type - cassa: 4.145608029883936 - ei_raw: "{}" - amount_global_cassa_taxable: 5.025004791520295 - amount_due_discount: 3.0937452626664474 - amount_enasarco_taxable: 8.969578798196912 - created_at: created_at - visible_subject: visible_subject - use_split_payment: true - payments_list: - - amount: 1.45 - payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - ei_raw: "{}" - due_date: 2018-04-03 - id: 6 - payment_terms: - days: 1 - type: null - paid_date: 2018-04-03 - status: not_paid - - amount: 1.45 - payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - ei_raw: "{}" - due_date: 2018-04-03 - id: 6 - payment_terms: - days: 1 - type: null - paid_date: 2018-04-03 - status: not_paid - h_margins: 2 - dn_date: 2000-01-23 - ei_other_withholding_tax_causal: ei_other_withholding_tax_causal - next_due_date: 2000-01-23 - cassa2: 1.4894159098541704 - withholding_tax_taxable: 9.369310271410669 - is_marked: true - updated_at: updated_at - amount_vat: 6.704019297950036 - amount_other_withholding_tax_taxable: 4.652396432933246 - currency: - symbol: € - exchange_rate: "1" - html_symbol: EUR - id: EUR - dn_number: 6 - amount_other_withholding_tax: 0.10263654006109402 - ei_cassa_type: ei_cassa_type - dn_ai_transporter: dn_ai_transporter - show_notification_button: true - dn_url: dn_url - show_payment_method: true - price_list_id: price_list_id - delivery_note: true - url: url - attachment_url: attachment_url - amount_withholding_tax: 7.058770351582356 - extra_data: - ts_file_id: ts_file_id - ts_flag_tipo_spesa: 3.0205796992916243 - ts_pagamento_tracciato: true - ts_status: 3 - ts_opposizione: true - ts_communication: true - ts_full_amount: true - ts_tipo_spesa: ts_tipo_spesa - multifatture_sent: 7 - imported_by: imported_by - ts_sent_date: 2000-01-23 - ei_status: attempt - seen_date: 2000-01-23 - ei_cassa2_type: ei_cassa2_type - ei_withholding_tax_causal: ei_withholding_tax_causal - cassa_taxable: 1.2315135367772556 - amount_gross: 3.353193347011243 - entity: - country: Italia - code: "123" - notes: notes - ei_code: ei_code - default_payment_terms_type: standard - vat_number: IT01234567890 - created_at: created_at - type: company - address_extra: address_extra - bank_swift_code: bank_swift_code - default_vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - address_province: BG - updated_at: updated_at - bank_name: bank_name - id: 9 - shipping_address: shipping_address - fax: fax - first_name: first_name - bank_iban: bank_iban - country_iso: Italia - email: mario.rossi@example.it - contact_person: contact_person - address_postal_code: "24010" - default_payment_method: - default_payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - name: name - bank_name: bank_name - details: - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - bank_beneficiary: bank_beneficiary - id: 3 - type: standard - is_default: true - ei_payment_method: ei_payment_method - bank_iban: bank_iban - last_name: last_name - address_city: Bergamo - tax_code: RSSMRA44A12E890Q - intent_declaration_protocol_number: intent_declaration_protocol_number - phone: phone - address_street: "Via dei tigli, 12" + name: name + bank_name: bank_name + details: + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + bank_beneficiary: bank_beneficiary + id: 3 + type: standard + is_default: true + ei_payment_method: ei_payment_method + bank_iban: bank_iban + properties: + data: + $ref: "#/components/schemas/PaymentMethod" + title: CreatePaymentMethodResponse + type: object + GetPaymentMethodResponse: + example: + data: + default_payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + name: name + bank_name: bank_name + details: + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + bank_beneficiary: bank_beneficiary + id: 3 + type: standard + is_default: true + ei_payment_method: ei_payment_method + bank_iban: bank_iban + properties: + data: + $ref: "#/components/schemas/PaymentMethod" + title: GetPaymentMethodResponse + type: object + ModifyPaymentMethodRequest: + example: + data: + default_payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + name: name + bank_name: bank_name + details: + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + bank_beneficiary: bank_beneficiary + id: 3 + type: standard + is_default: true + ei_payment_method: ei_payment_method + bank_iban: bank_iban + properties: + data: + $ref: "#/components/schemas/PaymentMethod" + title: ModifyPaymentMethodRequest + type: object + ModifyPaymentMethodResponse: + example: + data: + default_payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + name: name + bank_name: bank_name + details: + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + bank_beneficiary: bank_beneficiary + id: 3 + type: standard + is_default: true + ei_payment_method: ei_payment_method + bank_iban: bank_iban + properties: + data: + $ref: "#/components/schemas/PaymentMethod" + title: ModifyPaymentMethodResponse + type: object + CreatePaymentAccountRequest: + example: + data: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + properties: + data: + $ref: "#/components/schemas/PaymentAccount" + title: CreatePaymentAccountRequest + type: object + CreatePaymentAccountResponse: + example: + data: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + properties: + data: + $ref: "#/components/schemas/PaymentAccount" + title: CreatePaymentAccountResponse + type: object + GetTaxProfileResponse: + example: + data: + profession: profession + company_type: company_type + contributions_percentage: 3.616076749251911 + rivalsa_name: rivalsa_name + default_cassa2_taxable: 5.637376656633329 + regime: regime + default_cassa2: 5.962133916683182 + enasarco_type: enasarco_type + default_cassa: 6.027456183070403 + profit_coefficient: 2.027123023002322 + company_subtype: company_subtype + med: true + default_withholding_tax: 2.3021358869347655 + default_other_withholding_tax: 9.301444243932576 + default_vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" e_invoice: true - name: Rossi S.r.l. - default_payment_terms: 30 - certified_email: mario.rossi@pec.example.it - has_intent_declaration: true - intent_declaration_protocol_date: 2000-01-23 - amount_cassa_taxable: 1.0246457001441578 - amount_cassa2_taxable: 1.1730742509559433 + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + default_withholding_tax_taxable: 7.061401241503109 + enasarco: true + default_cassa_taxable: 1.4658129805029452 + default_rivalsa: 0.8008281904610115 + cassa_name: cassa_name + cassa2_name: cassa2_name + properties: + data: + $ref: "#/components/schemas/TaxProfile" + title: GetTaxProfileResponse + type: object + GetPaymentAccountResponse: + example: + data: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + properties: + data: + $ref: "#/components/schemas/PaymentAccount" + title: GetPaymentAccountResponse + type: object + ModifyPaymentAccountRequest: + example: + data: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + properties: + data: + $ref: "#/components/schemas/PaymentAccount" + title: ModifyPaymentAccountRequest + type: object + ModifyPaymentAccountResponse: + example: + data: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + properties: + data: + $ref: "#/components/schemas/PaymentAccount" + title: ModifyPaymentAccountResponse + type: object + CreateVatTypeRequest: + example: + data: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + properties: + data: + $ref: "#/components/schemas/VatType" + title: CreateVatTypeRequest + type: object + CreateVatTypeResponse: + example: + data: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + properties: + data: + $ref: "#/components/schemas/VatType" + title: CreateVatTypeResponse + type: object + GetTemplatesResponse: + example: + data: + supports_custom_taxable: true + can_disable_watermark: true + author: author + name: name + privacy: privacy + id: 2 + type: type + content: content + properties: + data: + $ref: "#/components/schemas/DocumentTemplate" + title: GetTemplatesResponse + type: object + GetVatTypeResponse: + example: + data: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + properties: + data: + $ref: "#/components/schemas/VatType" + title: GetVatType + type: object + ModifyVatTypeRequest: + example: + data: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 properties: data: - items: - $ref: "#/components/schemas/IssuedDocument" - type: array - title: ListBinIssuedDocuments + $ref: "#/components/schemas/VatType" type: object - GetBinIssuedDocumentResponse: + ModifyVatTypeResponse: + example: + data: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + properties: + data: + $ref: "#/components/schemas/VatType" + title: ModifyVatTypeResponse + type: object + TransformIssuedDocumentResponse: example: data: date: 2000-01-23 @@ -21439,14 +68731,24 @@ components: in_dn: true dn_ai_notes: dn_ai_notes acc_inv_template: - name: Light Smoke - id: 123 + supports_custom_taxable: true + can_disable_watermark: true + author: author + name: name + privacy: privacy + id: 2 type: type + content: content id: 7 delivery_note_template: - name: Light Smoke - id: 123 + supports_custom_taxable: true + can_disable_watermark: true + author: author + name: name + privacy: privacy + id: 2 type: type + content: content locked: true show_tspay_button: true payment_method: @@ -21478,7 +68780,7 @@ components: ei_payment_method: ei_payment_method bank_iban: bank_iban attachment_token: attachment_token - amount_net: 5.944895607614016 + amount_net: 6.704019297950036 dn_ai_destination: dn_ai_destination ai_url: ai_url amount_cassa: 7.386281948385884 @@ -21486,8 +68788,8 @@ components: v_margins: 6 amount_cassa2: 6.84685269835264 accompanying_invoice: true - amount_rivalsa_taxable: 0.8851374739011653 - amount_rivalsa: 7.143538047012306 + amount_rivalsa_taxable: 7.058770351582356 + amount_rivalsa: 0.8851374739011653 show_totals: all stamp_duty: 8.762042012749001 use_gross_prices: true @@ -21495,18 +68797,23 @@ components: e_invoice: true dn_ai_packages_number: dn_ai_packages_number withholding_tax: 9.965781217890562 - amount_withholding_tax_taxable: 6.519180951018382 + amount_withholding_tax_taxable: 0.10263654006109402 other_withholding_tax: 6.683562403749608 ei_other_withholding_tax_type: ei_other_withholding_tax_type template: - name: Light Smoke - id: 123 + supports_custom_taxable: true + can_disable_watermark: true + author: author + name: name + privacy: privacy + id: 2 type: type + content: content cassa: 4.145608029883936 ei_raw: "{}" amount_global_cassa_taxable: 5.025004791520295 - amount_due_discount: 3.0937452626664474 - amount_enasarco_taxable: 8.969578798196912 + amount_due_discount: 7.143538047012306 + amount_enasarco_taxable: 7.740351818741173 created_at: created_at visible_subject: visible_subject use_split_payment: true @@ -21523,262 +68830,75 @@ components: ei_raw: "{}" due_date: 2018-04-03 id: 6 - payment_terms: - days: 1 - type: null - paid_date: 2018-04-03 - status: not_paid - - amount: 1.45 - payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - ei_raw: "{}" - due_date: 2018-04-03 - id: 6 - payment_terms: - days: 1 - type: null - paid_date: 2018-04-03 - status: not_paid - h_margins: 2 - dn_date: 2000-01-23 - ei_other_withholding_tax_causal: ei_other_withholding_tax_causal - next_due_date: 2000-01-23 - cassa2: 1.4894159098541704 - withholding_tax_taxable: 9.369310271410669 - is_marked: true - updated_at: updated_at - amount_vat: 6.704019297950036 - amount_other_withholding_tax_taxable: 4.652396432933246 - currency: - symbol: € - exchange_rate: "1" - html_symbol: EUR - id: EUR - dn_number: 6 - amount_other_withholding_tax: 0.10263654006109402 - ei_cassa_type: ei_cassa_type - dn_ai_transporter: dn_ai_transporter - show_notification_button: true - dn_url: dn_url - show_payment_method: true - price_list_id: price_list_id - delivery_note: true - url: url - attachment_url: attachment_url - amount_withholding_tax: 7.058770351582356 - extra_data: - ts_file_id: ts_file_id - ts_flag_tipo_spesa: 3.0205796992916243 - ts_pagamento_tracciato: true - ts_status: 3 - ts_opposizione: true - ts_communication: true - ts_full_amount: true - ts_tipo_spesa: ts_tipo_spesa - multifatture_sent: 7 - imported_by: imported_by - ts_sent_date: 2000-01-23 - ei_status: attempt - seen_date: 2000-01-23 - ei_cassa2_type: ei_cassa2_type - ei_withholding_tax_causal: ei_withholding_tax_causal - cassa_taxable: 1.2315135367772556 - amount_gross: 3.353193347011243 - entity: - country: Italia - code: "123" - notes: notes - ei_code: ei_code - default_payment_terms_type: standard - vat_number: IT01234567890 - created_at: created_at - type: company - address_extra: address_extra - bank_swift_code: bank_swift_code - default_vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - address_province: BG - updated_at: updated_at - bank_name: bank_name - id: 9 - shipping_address: shipping_address - fax: fax - first_name: first_name - bank_iban: bank_iban - country_iso: Italia - email: mario.rossi@example.it - contact_person: contact_person - address_postal_code: "24010" - default_payment_method: - default_payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - name: name - bank_name: bank_name - details: - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - bank_beneficiary: bank_beneficiary - id: 3 - type: standard - is_default: true - ei_payment_method: ei_payment_method - bank_iban: bank_iban - last_name: last_name - address_city: Bergamo - tax_code: RSSMRA44A12E890Q - intent_declaration_protocol_number: intent_declaration_protocol_number - phone: phone - address_street: "Via dei tigli, 12" - e_invoice: true - name: Rossi S.r.l. - default_payment_terms: 30 - certified_email: mario.rossi@pec.example.it - has_intent_declaration: true - intent_declaration_protocol_date: 2000-01-23 - amount_cassa_taxable: 1.0246457001441578 - amount_cassa2_taxable: 1.1730742509559433 - properties: - data: - $ref: "#/components/schemas/IssuedDocument" - title: GetBinIssuedDocumentResponse - type: object - ListBinReceivedDocuments: - example: - data: - - date: 2000-01-23 - attachment_preview_url: attachment_preview_url - auto_calculate: true - tax_deductibility: 1.0246457001441578 - description: description - created_at: created_at - amortization: 1.2315135367772556 - type: expense - payments_list: - - amount: 9.369310271410669 - payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - due_date: 2000-01-23 - id: 9 - payment_terms: - days: 6 - type: standard - paid_date: 2000-01-23 - status: status - - amount: 9.369310271410669 - payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - due_date: 2000-01-23 - id: 9 - payment_terms: - days: 6 - type: standard - paid_date: 2000-01-23 - status: status - is_detailed: true - next_due_date: 2000-01-23 - rc_center: rc_center - is_marked: true - updated_at: updated_at - amount_vat: 3.616076749251911 - items_list: - - code: code - measure: measure - product_id: 7 - qty: 4.965218492984954 - name: name - vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - net_price: 1.1730742509559433 - id: 6 - category: category - stock: 5.025004791520295 - - code: code - measure: measure - product_id: 7 - qty: 4.965218492984954 - name: name - vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - net_price: 1.1730742509559433 - id: 6 - category: category - stock: 5.025004791520295 + payment_terms: + days: 1 + type: null + paid_date: 2018-04-03 + status: not_paid + - amount: 1.45 + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + ei_raw: "{}" + due_date: 2018-04-03 + id: 6 + payment_terms: + days: 1 + type: null + paid_date: 2018-04-03 + status: not_paid + h_margins: 6 + dn_date: 2000-01-23 + ei_other_withholding_tax_causal: ei_other_withholding_tax_causal + next_due_date: 2000-01-23 + cassa2: 1.4894159098541704 + withholding_tax_taxable: 9.369310271410669 + is_marked: true + updated_at: updated_at + amount_vat: 3.353193347011243 + amount_other_withholding_tax_taxable: 8.969578798196912 currency: symbol: € exchange_rate: "1" html_symbol: EUR id: EUR - id: 7 - amount_other_withholding_tax: 4.145608029883936 - locked: true - invoice_number: invoice_number - vat_deductibility: 1.4894159098541704 - attachment_token: attachment_token - amount_net: 9.301444243932576 + dn_number: 5 + amount_other_withholding_tax: 4.652396432933246 + ei_cassa_type: ei_cassa_type + dn_ai_transporter: dn_ai_transporter + show_notification_button: true + dn_url: dn_url + show_payment_method: true + price_list_id: price_list_id + delivery_note: true + url: url attachment_url: attachment_url - amount_withholding_tax: 2.027123023002322 - e_invoice: true - category: category - amount_gross: 7.386281948385884 + amount_withholding_tax: 6.519180951018382 + extra_data: + ts_file_id: ts_file_id + debt_vat_detect: true + ts_flag_tipo_spesa: 3.0576100241049344 + ts_opposizione: true + ts_tipo_spesa: ts_tipo_spesa + imported_by: imported_by + ts_sent_date: 2000-01-23 + ts_pagamento_tracciato: true + ts_status: 7 + ts_communication: true + ts_full_amount: true + multifatture_sent: 3 + revenue_detect: true + ei_status: attempt + seen_date: 2000-01-23 + ei_cassa2_type: ei_cassa2_type + ei_withholding_tax_causal: ei_withholding_tax_causal + cassa_taxable: 1.2315135367772556 + amount_gross: 3.0937452626664474 entity: country: Italia code: "123" @@ -21853,16 +68973,201 @@ components: certified_email: mario.rossi@pec.example.it has_intent_declaration: true intent_declaration_protocol_date: 2000-01-23 - - date: 2000-01-23 - attachment_preview_url: attachment_preview_url - auto_calculate: true - tax_deductibility: 1.0246457001441578 - description: description + amount_cassa_taxable: 1.0246457001441578 + amount_cassa2_taxable: 1.1730742509559433 + options: + keep_copy: true + transform: true + join_type: join_type + create_from: + - create_from + - create_from + fix_payments: true + properties: + data: + $ref: "#/components/schemas/IssuedDocument" + options: + $ref: "#/components/schemas/IssuedDocumentOptions" + title: TransformIssuedDocumentResponse + type: object + JoinIssuedDocumentsResponse: + example: + data: + date: 2000-01-23 + numeration: /A + notes: notes + year: 3 + subject: subject + rivalsa: 2.027123023002322 + dn_ai_causal: dn_ai_causal + language: + code: code + name: name + type: invoice + show_payments: true + ei_data: + original_document_type: ordine + cig: cig + bank_name: bank_name + od_number: od_number + od_date: 2000-01-23 + bank_beneficiary: bank_beneficiary + vat_kind: null + bank_iban: bank_iban + invoice_number: invoice_number + payment_method: payment_method + cup: cup + invoice_date: 2000-01-23 + dn_ai_weight: dn_ai_weight + number: 1 + rc_center: rc_center + items_list: + - code: "239874892374982" + ei_raw: "{}" + discount_highlight: true + vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + description: description + not_taxable: true + discount: 3.5571952270680973 + net_price: 1.23 + apply_withholding_taxes: true + measure: measure + product_id: 1234 + qty: 6.438423552598547 + name: Water bottle + gross_price: 1.45 + id: 9 + category: category + stock: true + in_dn: true + - code: "239874892374982" + ei_raw: "{}" + discount_highlight: true + vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + description: description + not_taxable: true + discount: 3.5571952270680973 + net_price: 1.23 + apply_withholding_taxes: true + measure: measure + product_id: 1234 + qty: 6.438423552598547 + name: Water bottle + gross_price: 1.45 + id: 9 + category: category + stock: true + in_dn: true + dn_ai_notes: dn_ai_notes + acc_inv_template: + supports_custom_taxable: true + can_disable_watermark: true + author: author + name: name + privacy: privacy + id: 2 + type: type + content: content + id: 7 + delivery_note_template: + supports_custom_taxable: true + can_disable_watermark: true + author: author + name: name + privacy: privacy + id: 2 + type: type + content: content + locked: true + show_tspay_button: true + payment_method: + default_payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + name: name + bank_name: bank_name + details: + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + bank_beneficiary: bank_beneficiary + id: 3 + type: standard + is_default: true + ei_payment_method: ei_payment_method + bank_iban: bank_iban + attachment_token: attachment_token + amount_net: 6.704019297950036 + dn_ai_destination: dn_ai_destination + ai_url: ai_url + amount_cassa: 7.386281948385884 + cassa2_taxable: 7.457744773683766 + v_margins: 6 + amount_cassa2: 6.84685269835264 + accompanying_invoice: true + amount_rivalsa_taxable: 7.058770351582356 + amount_rivalsa: 0.8851374739011653 + show_totals: all + stamp_duty: 8.762042012749001 + use_gross_prices: true + global_cassa_taxable: 4.965218492984954 + e_invoice: true + dn_ai_packages_number: dn_ai_packages_number + withholding_tax: 9.965781217890562 + amount_withholding_tax_taxable: 0.10263654006109402 + other_withholding_tax: 6.683562403749608 + ei_other_withholding_tax_type: ei_other_withholding_tax_type + template: + supports_custom_taxable: true + can_disable_watermark: true + author: author + name: name + privacy: privacy + id: 2 + type: type + content: content + cassa: 4.145608029883936 + ei_raw: "{}" + amount_global_cassa_taxable: 5.025004791520295 + amount_due_discount: 7.143538047012306 + amount_enasarco_taxable: 7.740351818741173 created_at: created_at - amortization: 1.2315135367772556 - type: expense + visible_subject: visible_subject + use_split_payment: true payments_list: - - amount: 9.369310271410669 + - amount: 1.45 payment_account: cuc: cuc virtual: true @@ -21871,14 +69176,15 @@ components: sia: sia id: 2 type: standard - due_date: 2000-01-23 - id: 9 + ei_raw: "{}" + due_date: 2018-04-03 + id: 6 payment_terms: - days: 6 - type: standard - paid_date: 2000-01-23 - status: status - - amount: 9.369310271410669 + days: 1 + type: null + paid_date: 2018-04-03 + status: not_paid + - amount: 1.45 payment_account: cuc: cuc virtual: true @@ -21887,77 +69193,61 @@ components: sia: sia id: 2 type: standard - due_date: 2000-01-23 - id: 9 + ei_raw: "{}" + due_date: 2018-04-03 + id: 6 payment_terms: - days: 6 - type: standard - paid_date: 2000-01-23 - status: status - is_detailed: true + days: 1 + type: null + paid_date: 2018-04-03 + status: not_paid + h_margins: 6 + dn_date: 2000-01-23 + ei_other_withholding_tax_causal: ei_other_withholding_tax_causal next_due_date: 2000-01-23 - rc_center: rc_center + cassa2: 1.4894159098541704 + withholding_tax_taxable: 9.369310271410669 is_marked: true updated_at: updated_at - amount_vat: 3.616076749251911 - items_list: - - code: code - measure: measure - product_id: 7 - qty: 4.965218492984954 - name: name - vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - net_price: 1.1730742509559433 - id: 6 - category: category - stock: 5.025004791520295 - - code: code - measure: measure - product_id: 7 - qty: 4.965218492984954 - name: name - vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - net_price: 1.1730742509559433 - id: 6 - category: category - stock: 5.025004791520295 + amount_vat: 3.353193347011243 + amount_other_withholding_tax_taxable: 8.969578798196912 currency: symbol: € exchange_rate: "1" html_symbol: EUR id: EUR - id: 7 - amount_other_withholding_tax: 4.145608029883936 - locked: true - invoice_number: invoice_number - vat_deductibility: 1.4894159098541704 - attachment_token: attachment_token - amount_net: 9.301444243932576 + dn_number: 5 + amount_other_withholding_tax: 4.652396432933246 + ei_cassa_type: ei_cassa_type + dn_ai_transporter: dn_ai_transporter + show_notification_button: true + dn_url: dn_url + show_payment_method: true + price_list_id: price_list_id + delivery_note: true + url: url attachment_url: attachment_url - amount_withholding_tax: 2.027123023002322 - e_invoice: true - category: category - amount_gross: 7.386281948385884 + amount_withholding_tax: 6.519180951018382 + extra_data: + ts_file_id: ts_file_id + debt_vat_detect: true + ts_flag_tipo_spesa: 3.0576100241049344 + ts_opposizione: true + ts_tipo_spesa: ts_tipo_spesa + imported_by: imported_by + ts_sent_date: 2000-01-23 + ts_pagamento_tracciato: true + ts_status: 7 + ts_communication: true + ts_full_amount: true + multifatture_sent: 3 + revenue_detect: true + ei_status: attempt + seen_date: 2000-01-23 + ei_cassa2_type: ei_cassa2_type + ei_withholding_tax_causal: ei_withholding_tax_causal + cassa_taxable: 1.2315135367772556 + amount_gross: 3.0937452626664474 entity: country: Italia code: "123" @@ -22030,943 +69320,1643 @@ components: name: Rossi S.r.l. default_payment_terms: 30 certified_email: mario.rossi@pec.example.it - has_intent_declaration: true - intent_declaration_protocol_date: 2000-01-23 - properties: - data: - items: - $ref: "#/components/schemas/ReceivedDocument" - type: array - title: ListBinReceivedDocuments - type: object - GetBinReceivedDocumentResponse: - properties: - data: - $ref: "#/components/schemas/ReceivedDocument" - title: GetBinReceivedDocumentResponse - type: object - GetEntityClientPreCreateInfoResponse: - example: - data: - payment_methods_list: - - default_payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - name: name - bank_name: bank_name - details: - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - bank_beneficiary: bank_beneficiary - id: 3 - type: standard - is_default: true - ei_payment_method: ei_payment_method - bank_iban: bank_iban - - default_payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - name: name - bank_name: bank_name - details: - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - bank_beneficiary: bank_beneficiary - id: 3 - type: standard - is_default: true - ei_payment_method: ei_payment_method - bank_iban: bank_iban - price_lists: - - prices_type: net - valid_to: valid_to - name: "123" - valid_from: valid_from - id: id - is_default: true - type: sell - - prices_type: net - valid_to: valid_to - name: "123" - valid_from: valid_from - id: id - is_default: true - type: sell - usage: 6.027456183070403 - payment_accounts_list: - - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - limit: 0.8008281904610115 - vat_types_list: - - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - countries_list: - - countries_list - - countries_list - properties: - data: - $ref: "#/components/schemas/EntityClientPreCreateInfo" - title: GetEntityClientPreCreateInfoResponse - type: object - ListPriceListsResponse: - example: - data: - - prices_type: net - valid_to: valid_to - name: "123" - valid_from: valid_from - id: id - is_default: true - type: sell - - prices_type: net - valid_to: valid_to - name: "123" - valid_from: valid_from - id: id - is_default: true - type: sell - properties: - data: - items: - $ref: "#/components/schemas/PriceList" - type: array - title: ListPriceListsResponse - type: object - GetPriceListItemsResponse: - example: - data: - key: - price: 0.8008281904610115 + has_intent_declaration: true + intent_declaration_protocol_date: 2000-01-23 + amount_cassa_taxable: 1.0246457001441578 + amount_cassa2_taxable: 1.1730742509559433 + options: + keep_copy: true + transform: true + join_type: join_type + create_from: + - create_from + - create_from + fix_payments: true properties: data: - additionalProperties: - $ref: "#/components/schemas/PriceListItem" - title: PriceListItemsList - type: object - title: GetPriceListItemsResponse - type: object - Client: - example: - country: Italia - code: "123" - notes: notes - ei_code: ei_code - default_payment_terms_type: standard - discount_highlight: true - vat_number: IT01234567890 - created_at: created_at - type: company - address_extra: address_extra - bank_swift_code: bank_swift_code - default_discount: 4.145608029883936 - default_vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - address_province: BG - updated_at: updated_at - bank_name: bank_name - id: 7 - shipping_address: shipping_address - fax: fax - first_name: first_name - bank_iban: bank_iban - country_iso: Italia - email: mario.rossi@example.it - contact_person: contact_person - address_postal_code: "24010" - default_payment_method: - default_payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - name: name - bank_name: bank_name - details: - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - bank_beneficiary: bank_beneficiary - id: 3 - type: standard - is_default: true - ei_payment_method: ei_payment_method - bank_iban: bank_iban - last_name: last_name - price_list_id: price_list_id - address_city: Bergamo - tax_code: RSSMRA44A12E890Q - intent_declaration_protocol_number: intent_declaration_protocol_number - phone: phone - address_street: "Via dei tigli, 12" - e_invoice: true - name: Rossi S.r.l. - default_payment_terms: 30 - certified_email: mario.rossi@pec.example.it - has_intent_declaration: true - intent_declaration_protocol_date: 2000-01-23 - properties: - id: - description: Client id - nullable: true - type: integer - code: - description: Client code - example: "123" - nullable: true - type: string - name: - description: Client name - example: Rossi S.r.l. - nullable: true - type: string - type: - $ref: "#/components/schemas/ClientType" - first_name: - description: Client first name - nullable: true - type: string - last_name: - description: Client last name - nullable: true - type: string - contact_person: - description: Client contact person - nullable: true - type: string - vat_number: - description: Client vat number - example: IT01234567890 - nullable: true - type: string - tax_code: - description: Client tax code - example: RSSMRA44A12E890Q - nullable: true - type: string - address_street: - description: Client address street - example: "Via dei tigli, 12" - nullable: true - type: string - address_postal_code: - description: Client address postal code - example: "24010" - nullable: true - type: string - address_city: - description: Client address city - example: Bergamo - nullable: true - type: string - address_province: - description: Client address province - example: BG - nullable: true - type: string - address_extra: - description: Client address extra info - nullable: true - type: string - country: - description: Client country - example: Italia - nullable: true - type: string - country_iso: - description: Client country iso code - example: Italia - nullable: true - type: string - email: - description: Client email - example: mario.rossi@example.it - nullable: true - type: string - certified_email: - description: Client certified email - example: mario.rossi@pec.example.it - nullable: true - type: string - phone: - description: Client phone - nullable: true - type: string - fax: - description: Client fax - nullable: true - type: string - notes: - description: Client extra - nullable: true - type: string - default_vat: - $ref: "#/components/schemas/VatType" - default_payment_terms: - description: Client default payment terms - example: 30 - nullable: true - type: integer - default_payment_terms_type: - $ref: "#/components/schemas/PaymentTermsType" - default_payment_method: - $ref: "#/components/schemas/PaymentMethod" - bank_name: - description: Client bank name - nullable: true - type: string - bank_iban: - description: Client bank iban - nullable: true - type: string - bank_swift_code: - description: Client bank swift code - nullable: true - type: string - shipping_address: - description: Client shipping address - nullable: true - type: string - e_invoice: - description: Use e-invoices for this entity - nullable: true - type: boolean - discount_highlight: - description: Highlight Discount - nullable: true - type: boolean - ei_code: - description: | - Client e-invoice code - nullable: true - type: string - default_discount: - description: Client default discount - nullable: true - type: number - has_intent_declaration: - description: Client has intent declaration - nullable: true - type: boolean - intent_declaration_protocol_number: - description: Client intent declaration protocol number - nullable: true - type: string - intent_declaration_protocol_date: - description: Client intent declaration protocol date - format: date - nullable: true - type: string - price_list_id: - description: Price list id - nullable: true - type: string - created_at: - description: Client creation date + $ref: "#/components/schemas/IssuedDocument" + options: + $ref: "#/components/schemas/IssuedDocumentOptions" + title: JoinIssuedDocumentsResponse + type: object + ListEmailsResponse: + allOf: + - $ref: "#/components/schemas/Pagination" + - $ref: "#/components/schemas/ListEmailsResponsePage" + example: + first_page_url: https://openapi-generator.tech + path: https://openapi-generator.tech + per_page: 5 + total: 2 + data: + - to_email: to_email + from_email: from_email + attachments: + - filename: filename + url: url + - filename: filename + url: url + error_log: error_log + to_name: to_name + subject: subject + kind: kind + sent_date: sent_date + from_name: from_name + recipient_status: unknown + content: content + copy_to: copy_to + id: 7 + recipient_date: 2000-01-23T04:56:07.000+00:00 + status: sending + errors_count: 9 + - to_email: to_email + from_email: from_email + attachments: + - filename: filename + url: url + - filename: filename + url: url + error_log: error_log + to_name: to_name + subject: subject + kind: kind + sent_date: sent_date + from_name: from_name + recipient_status: unknown + content: content + copy_to: copy_to + id: 7 + recipient_date: 2000-01-23T04:56:07.000+00:00 + status: sending + errors_count: 9 + last_page: 1 + last_page_url: https://openapi-generator.tech + next_page_url: https://openapi-generator.tech + from: 6 + to: 5 + prev_page_url: https://openapi-generator.tech + current_page: 0 + title: ListEmailsResponse + ListWebhooksSubscriptionsResponse: + example: + data: + - types: + - it.fattureincloud.webhooks.issued_documents.invoices.create + - it.fattureincloud.webhooks.issued_documents.invoices.create + sink: sink + verification_method: header + verified: true + id: id + config: + mapping: binary + - types: + - it.fattureincloud.webhooks.issued_documents.invoices.create + - it.fattureincloud.webhooks.issued_documents.invoices.create + sink: sink + verification_method: header + verified: true + id: id + config: + mapping: binary + properties: + data: + items: + $ref: "#/components/schemas/WebhooksSubscription" + type: array + title: ListWebhooksSubscriptionsResponse + type: object + CreateWebhooksSubscriptionRequest: + example: + data: + types: + - it.fattureincloud.webhooks.issued_documents.invoices.create + - it.fattureincloud.webhooks.issued_documents.invoices.create + sink: sink + verification_method: header + verified: true + id: id + config: + mapping: binary + properties: + data: + $ref: "#/components/schemas/WebhooksSubscription" + title: CreateWebhooksSubscriptionRequest + type: object + CreateWebhooksSubscriptionResponse: + example: + data: + types: + - it.fattureincloud.webhooks.issued_documents.invoices.create + - it.fattureincloud.webhooks.issued_documents.invoices.create + sink: sink + verification_method: header + verified: true + id: id + config: + mapping: binary + warnings: + - warnings + - warnings + properties: + data: + $ref: "#/components/schemas/WebhooksSubscription" + warnings: + description: Webhooks registration warnings + items: + type: string nullable: true - type: string - updated_at: - description: Client last update date + type: array + title: CreateWebhooksSubscriptionResponse + type: object + GetWebhooksSubscriptionResponse: + example: + data: + types: + - it.fattureincloud.webhooks.issued_documents.invoices.create + - it.fattureincloud.webhooks.issued_documents.invoices.create + sink: sink + verification_method: header + verified: true + id: id + config: + mapping: binary + properties: + data: + $ref: "#/components/schemas/WebhooksSubscription" + title: GetWebhooksSubscriptionResponse + type: object + ModifyWebhooksSubscriptionRequest: + example: + data: + types: + - it.fattureincloud.webhooks.issued_documents.invoices.create + - it.fattureincloud.webhooks.issued_documents.invoices.create + sink: sink + verification_method: header + verified: true + id: id + config: + mapping: binary + properties: + data: + $ref: "#/components/schemas/WebhooksSubscription" + title: ModifyWebhooksSubscriptionRequest + type: object + ModifyWebhooksSubscriptionResponse: + example: + data: + types: + - it.fattureincloud.webhooks.issued_documents.invoices.create + - it.fattureincloud.webhooks.issued_documents.invoices.create + sink: sink + verification_method: header + verified: true + id: id + config: + mapping: binary + warnings: + - warnings + - warnings + properties: + data: + $ref: "#/components/schemas/WebhooksSubscription" + warnings: + description: Webhooks registration warnings + items: + type: string nullable: true - type: string - title: Client + type: array + title: CreateWebhooksSubscriptionRequest type: object - Supplier: + VerifyWebhooksSubscriptionRequest: example: - country: Italia - code: "123" - notes: notes - contact_person: contact_person - address_postal_code: "24010" - vat_number: IT01234567890 - last_name: last_name - created_at: created_at - type: company - address_extra: address_extra - address_city: Bergamo - tax_code: RSSMRA44A12E890Q - address_province: BG - updated_at: updated_at - phone: phone - address_street: "Via dei tigli, 12" - name: Rossi S.r.l. - id: 7 - certified_email: mario.rossi@pec.example.it - fax: fax - first_name: first_name - bank_iban: bank_iban - country_iso: Italia - email: mario.rossi@example.it + data: + verification_method: header + id: id + properties: + data: + $ref: "#/components/schemas/VerifyWebhooksSubscription" + title: VerifyWebhooksSubscriptionRequest + type: object + ListBinIssuedDocuments: + example: + data: + - date: 2000-01-23 + numeration: /A + notes: notes + year: 3 + subject: subject + rivalsa: 2.027123023002322 + dn_ai_causal: dn_ai_causal + language: + code: code + name: name + type: invoice + show_payments: true + ei_data: + original_document_type: ordine + cig: cig + bank_name: bank_name + od_number: od_number + od_date: 2000-01-23 + bank_beneficiary: bank_beneficiary + vat_kind: null + bank_iban: bank_iban + invoice_number: invoice_number + payment_method: payment_method + cup: cup + invoice_date: 2000-01-23 + dn_ai_weight: dn_ai_weight + number: 1 + rc_center: rc_center + items_list: + - code: "239874892374982" + ei_raw: "{}" + discount_highlight: true + vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + description: description + not_taxable: true + discount: 3.5571952270680973 + net_price: 1.23 + apply_withholding_taxes: true + measure: measure + product_id: 1234 + qty: 6.438423552598547 + name: Water bottle + gross_price: 1.45 + id: 9 + category: category + stock: true + in_dn: true + - code: "239874892374982" + ei_raw: "{}" + discount_highlight: true + vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + description: description + not_taxable: true + discount: 3.5571952270680973 + net_price: 1.23 + apply_withholding_taxes: true + measure: measure + product_id: 1234 + qty: 6.438423552598547 + name: Water bottle + gross_price: 1.45 + id: 9 + category: category + stock: true + in_dn: true + dn_ai_notes: dn_ai_notes + acc_inv_template: + supports_custom_taxable: true + can_disable_watermark: true + author: author + name: name + privacy: privacy + id: 2 + type: type + content: content + id: 7 + delivery_note_template: + supports_custom_taxable: true + can_disable_watermark: true + author: author + name: name + privacy: privacy + id: 2 + type: type + content: content + locked: true + show_tspay_button: true + payment_method: + default_payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + name: name + bank_name: bank_name + details: + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + bank_beneficiary: bank_beneficiary + id: 3 + type: standard + is_default: true + ei_payment_method: ei_payment_method + bank_iban: bank_iban + attachment_token: attachment_token + amount_net: 6.704019297950036 + dn_ai_destination: dn_ai_destination + ai_url: ai_url + amount_cassa: 7.386281948385884 + cassa2_taxable: 7.457744773683766 + v_margins: 6 + amount_cassa2: 6.84685269835264 + accompanying_invoice: true + amount_rivalsa_taxable: 7.058770351582356 + amount_rivalsa: 0.8851374739011653 + show_totals: all + stamp_duty: 8.762042012749001 + use_gross_prices: true + global_cassa_taxable: 4.965218492984954 + e_invoice: true + dn_ai_packages_number: dn_ai_packages_number + withholding_tax: 9.965781217890562 + amount_withholding_tax_taxable: 0.10263654006109402 + other_withholding_tax: 6.683562403749608 + ei_other_withholding_tax_type: ei_other_withholding_tax_type + template: + supports_custom_taxable: true + can_disable_watermark: true + author: author + name: name + privacy: privacy + id: 2 + type: type + content: content + cassa: 4.145608029883936 + ei_raw: "{}" + amount_global_cassa_taxable: 5.025004791520295 + amount_due_discount: 7.143538047012306 + amount_enasarco_taxable: 7.740351818741173 + created_at: created_at + visible_subject: visible_subject + use_split_payment: true + payments_list: + - amount: 1.45 + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + ei_raw: "{}" + due_date: 2018-04-03 + id: 6 + payment_terms: + days: 1 + type: null + paid_date: 2018-04-03 + status: not_paid + - amount: 1.45 + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + ei_raw: "{}" + due_date: 2018-04-03 + id: 6 + payment_terms: + days: 1 + type: null + paid_date: 2018-04-03 + status: not_paid + h_margins: 6 + dn_date: 2000-01-23 + ei_other_withholding_tax_causal: ei_other_withholding_tax_causal + next_due_date: 2000-01-23 + cassa2: 1.4894159098541704 + withholding_tax_taxable: 9.369310271410669 + is_marked: true + updated_at: updated_at + amount_vat: 3.353193347011243 + amount_other_withholding_tax_taxable: 8.969578798196912 + currency: + symbol: € + exchange_rate: "1" + html_symbol: EUR + id: EUR + dn_number: 5 + amount_other_withholding_tax: 4.652396432933246 + ei_cassa_type: ei_cassa_type + dn_ai_transporter: dn_ai_transporter + show_notification_button: true + dn_url: dn_url + show_payment_method: true + price_list_id: price_list_id + delivery_note: true + url: url + attachment_url: attachment_url + amount_withholding_tax: 6.519180951018382 + extra_data: + ts_file_id: ts_file_id + debt_vat_detect: true + ts_flag_tipo_spesa: 3.0576100241049344 + ts_opposizione: true + ts_tipo_spesa: ts_tipo_spesa + imported_by: imported_by + ts_sent_date: 2000-01-23 + ts_pagamento_tracciato: true + ts_status: 7 + ts_communication: true + ts_full_amount: true + multifatture_sent: 3 + revenue_detect: true + ei_status: attempt + seen_date: 2000-01-23 + ei_cassa2_type: ei_cassa2_type + ei_withholding_tax_causal: ei_withholding_tax_causal + cassa_taxable: 1.2315135367772556 + amount_gross: 3.0937452626664474 + entity: + country: Italia + code: "123" + notes: notes + ei_code: ei_code + default_payment_terms_type: standard + vat_number: IT01234567890 + created_at: created_at + type: company + address_extra: address_extra + bank_swift_code: bank_swift_code + default_vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + address_province: BG + updated_at: updated_at + bank_name: bank_name + id: 9 + shipping_address: shipping_address + fax: fax + first_name: first_name + bank_iban: bank_iban + country_iso: Italia + email: mario.rossi@example.it + contact_person: contact_person + address_postal_code: "24010" + default_payment_method: + default_payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + name: name + bank_name: bank_name + details: + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + bank_beneficiary: bank_beneficiary + id: 3 + type: standard + is_default: true + ei_payment_method: ei_payment_method + bank_iban: bank_iban + last_name: last_name + address_city: Bergamo + tax_code: RSSMRA44A12E890Q + intent_declaration_protocol_number: intent_declaration_protocol_number + phone: phone + address_street: "Via dei tigli, 12" + e_invoice: true + name: Rossi S.r.l. + default_payment_terms: 30 + certified_email: mario.rossi@pec.example.it + has_intent_declaration: true + intent_declaration_protocol_date: 2000-01-23 + amount_cassa_taxable: 1.0246457001441578 + amount_cassa2_taxable: 1.1730742509559433 + - date: 2000-01-23 + numeration: /A + notes: notes + year: 3 + subject: subject + rivalsa: 2.027123023002322 + dn_ai_causal: dn_ai_causal + language: + code: code + name: name + type: invoice + show_payments: true + ei_data: + original_document_type: ordine + cig: cig + bank_name: bank_name + od_number: od_number + od_date: 2000-01-23 + bank_beneficiary: bank_beneficiary + vat_kind: null + bank_iban: bank_iban + invoice_number: invoice_number + payment_method: payment_method + cup: cup + invoice_date: 2000-01-23 + dn_ai_weight: dn_ai_weight + number: 1 + rc_center: rc_center + items_list: + - code: "239874892374982" + ei_raw: "{}" + discount_highlight: true + vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + description: description + not_taxable: true + discount: 3.5571952270680973 + net_price: 1.23 + apply_withholding_taxes: true + measure: measure + product_id: 1234 + qty: 6.438423552598547 + name: Water bottle + gross_price: 1.45 + id: 9 + category: category + stock: true + in_dn: true + - code: "239874892374982" + ei_raw: "{}" + discount_highlight: true + vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + description: description + not_taxable: true + discount: 3.5571952270680973 + net_price: 1.23 + apply_withholding_taxes: true + measure: measure + product_id: 1234 + qty: 6.438423552598547 + name: Water bottle + gross_price: 1.45 + id: 9 + category: category + stock: true + in_dn: true + dn_ai_notes: dn_ai_notes + acc_inv_template: + supports_custom_taxable: true + can_disable_watermark: true + author: author + name: name + privacy: privacy + id: 2 + type: type + content: content + id: 7 + delivery_note_template: + supports_custom_taxable: true + can_disable_watermark: true + author: author + name: name + privacy: privacy + id: 2 + type: type + content: content + locked: true + show_tspay_button: true + payment_method: + default_payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + name: name + bank_name: bank_name + details: + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + bank_beneficiary: bank_beneficiary + id: 3 + type: standard + is_default: true + ei_payment_method: ei_payment_method + bank_iban: bank_iban + attachment_token: attachment_token + amount_net: 6.704019297950036 + dn_ai_destination: dn_ai_destination + ai_url: ai_url + amount_cassa: 7.386281948385884 + cassa2_taxable: 7.457744773683766 + v_margins: 6 + amount_cassa2: 6.84685269835264 + accompanying_invoice: true + amount_rivalsa_taxable: 7.058770351582356 + amount_rivalsa: 0.8851374739011653 + show_totals: all + stamp_duty: 8.762042012749001 + use_gross_prices: true + global_cassa_taxable: 4.965218492984954 + e_invoice: true + dn_ai_packages_number: dn_ai_packages_number + withholding_tax: 9.965781217890562 + amount_withholding_tax_taxable: 0.10263654006109402 + other_withholding_tax: 6.683562403749608 + ei_other_withholding_tax_type: ei_other_withholding_tax_type + template: + supports_custom_taxable: true + can_disable_watermark: true + author: author + name: name + privacy: privacy + id: 2 + type: type + content: content + cassa: 4.145608029883936 + ei_raw: "{}" + amount_global_cassa_taxable: 5.025004791520295 + amount_due_discount: 7.143538047012306 + amount_enasarco_taxable: 7.740351818741173 + created_at: created_at + visible_subject: visible_subject + use_split_payment: true + payments_list: + - amount: 1.45 + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + ei_raw: "{}" + due_date: 2018-04-03 + id: 6 + payment_terms: + days: 1 + type: null + paid_date: 2018-04-03 + status: not_paid + - amount: 1.45 + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + ei_raw: "{}" + due_date: 2018-04-03 + id: 6 + payment_terms: + days: 1 + type: null + paid_date: 2018-04-03 + status: not_paid + h_margins: 6 + dn_date: 2000-01-23 + ei_other_withholding_tax_causal: ei_other_withholding_tax_causal + next_due_date: 2000-01-23 + cassa2: 1.4894159098541704 + withholding_tax_taxable: 9.369310271410669 + is_marked: true + updated_at: updated_at + amount_vat: 3.353193347011243 + amount_other_withholding_tax_taxable: 8.969578798196912 + currency: + symbol: € + exchange_rate: "1" + html_symbol: EUR + id: EUR + dn_number: 5 + amount_other_withholding_tax: 4.652396432933246 + ei_cassa_type: ei_cassa_type + dn_ai_transporter: dn_ai_transporter + show_notification_button: true + dn_url: dn_url + show_payment_method: true + price_list_id: price_list_id + delivery_note: true + url: url + attachment_url: attachment_url + amount_withholding_tax: 6.519180951018382 + extra_data: + ts_file_id: ts_file_id + debt_vat_detect: true + ts_flag_tipo_spesa: 3.0576100241049344 + ts_opposizione: true + ts_tipo_spesa: ts_tipo_spesa + imported_by: imported_by + ts_sent_date: 2000-01-23 + ts_pagamento_tracciato: true + ts_status: 7 + ts_communication: true + ts_full_amount: true + multifatture_sent: 3 + revenue_detect: true + ei_status: attempt + seen_date: 2000-01-23 + ei_cassa2_type: ei_cassa2_type + ei_withholding_tax_causal: ei_withholding_tax_causal + cassa_taxable: 1.2315135367772556 + amount_gross: 3.0937452626664474 + entity: + country: Italia + code: "123" + notes: notes + ei_code: ei_code + default_payment_terms_type: standard + vat_number: IT01234567890 + created_at: created_at + type: company + address_extra: address_extra + bank_swift_code: bank_swift_code + default_vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + address_province: BG + updated_at: updated_at + bank_name: bank_name + id: 9 + shipping_address: shipping_address + fax: fax + first_name: first_name + bank_iban: bank_iban + country_iso: Italia + email: mario.rossi@example.it + contact_person: contact_person + address_postal_code: "24010" + default_payment_method: + default_payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + name: name + bank_name: bank_name + details: + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + bank_beneficiary: bank_beneficiary + id: 3 + type: standard + is_default: true + ei_payment_method: ei_payment_method + bank_iban: bank_iban + last_name: last_name + address_city: Bergamo + tax_code: RSSMRA44A12E890Q + intent_declaration_protocol_number: intent_declaration_protocol_number + phone: phone + address_street: "Via dei tigli, 12" + e_invoice: true + name: Rossi S.r.l. + default_payment_terms: 30 + certified_email: mario.rossi@pec.example.it + has_intent_declaration: true + intent_declaration_protocol_date: 2000-01-23 + amount_cassa_taxable: 1.0246457001441578 + amount_cassa2_taxable: 1.1730742509559433 properties: - id: - description: Supplier id - nullable: true - type: integer - code: - description: Supplier code - example: "123" - nullable: true - type: string - name: - description: Supplier name - example: Rossi S.r.l. - nullable: true - type: string - type: - $ref: "#/components/schemas/SupplierType" - first_name: - description: Supplier first name - nullable: true - type: string - last_name: - description: Supplier last name - nullable: true - type: string - contact_person: - description: Supplier contact person - nullable: true - type: string - vat_number: - description: Supplier vat number - example: IT01234567890 - nullable: true - type: string - tax_code: - description: Supplier tax code - example: RSSMRA44A12E890Q - nullable: true - type: string - address_street: - description: Supplier street address - example: "Via dei tigli, 12" - nullable: true - type: string - address_postal_code: - description: Supplier postal code - example: "24010" - nullable: true - type: string - address_city: - description: Supplier city - example: Bergamo - nullable: true - type: string - address_province: - description: Supplier province - example: BG - nullable: true - type: string - address_extra: - description: Supplier address extra info - nullable: true - type: string - country: - description: Supplier country - example: Italia - nullable: true - type: string - country_iso: - description: Supplier country iso code - example: Italia - nullable: true - type: string - email: - description: Supplier email - example: mario.rossi@example.it - nullable: true - type: string - certified_email: - description: Supplier certified email - example: mario.rossi@pec.example.it - nullable: true - type: string - phone: - description: Supplier phone - nullable: true - type: string - fax: - description: Supplier fax - nullable: true - type: string - notes: - description: Supplier extra notes - nullable: true - type: string - bank_iban: - description: Supplier bank IBAN - nullable: true - type: string - created_at: - description: Supplier creation date - nullable: true - type: string - updated_at: - description: Supplier last update date - nullable: true - type: string - title: Supplier + data: + items: + $ref: "#/components/schemas/IssuedDocument" + type: array + title: ListBinIssuedDocuments type: object - Product: + GetBinIssuedDocumentResponse: example: - code: code - notes: notes - average_price: 1.0246457001441578 - description: description - created_at: created_at - net_price: 9.301444243932576 - in_stock: true - average_cost: 1.2315135367772556 - use_gross_price: true - stock_initial: 4.145608029883936 - stock_current: 7.386281948385884 - default_vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + data: + date: 2000-01-23 + numeration: /A + notes: notes + year: 3 + subject: subject + rivalsa: 2.027123023002322 + dn_ai_causal: dn_ai_causal + language: + code: code + name: name + type: invoice + show_payments: true + ei_data: + original_document_type: ordine + cig: cig + bank_name: bank_name + od_number: od_number + od_date: 2000-01-23 + bank_beneficiary: bank_beneficiary + vat_kind: null + bank_iban: bank_iban + invoice_number: invoice_number + payment_method: payment_method + cup: cup + invoice_date: 2000-01-23 + dn_ai_weight: dn_ai_weight + number: 1 + rc_center: rc_center + items_list: + - code: "239874892374982" + ei_raw: "{}" + discount_highlight: true + vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + description: description + not_taxable: true + discount: 3.5571952270680973 + net_price: 1.23 + apply_withholding_taxes: true + measure: measure + product_id: 1234 + qty: 6.438423552598547 + name: Water bottle + gross_price: 1.45 + id: 9 + category: category + stock: true + in_dn: true + - code: "239874892374982" + ei_raw: "{}" + discount_highlight: true + vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + description: description + not_taxable: true + discount: 3.5571952270680973 + net_price: 1.23 + apply_withholding_taxes: true + measure: measure + product_id: 1234 + qty: 6.438423552598547 + name: Water bottle + gross_price: 1.45 + id: 9 + category: category + stock: true + in_dn: true + dn_ai_notes: dn_ai_notes + acc_inv_template: + supports_custom_taxable: true + can_disable_watermark: true + author: author + name: name + privacy: privacy + id: 2 + type: type + content: content + id: 7 + delivery_note_template: + supports_custom_taxable: true + can_disable_watermark: true + author: author + name: name + privacy: privacy + id: 2 + type: type + content: content + locked: true + show_tspay_button: true + payment_method: + default_payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + name: name + bank_name: bank_name + details: + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + bank_beneficiary: bank_beneficiary + id: 3 + type: standard + is_default: true + ei_payment_method: ei_payment_method + bank_iban: bank_iban + attachment_token: attachment_token + amount_net: 6.704019297950036 + dn_ai_destination: dn_ai_destination + ai_url: ai_url + amount_cassa: 7.386281948385884 + cassa2_taxable: 7.457744773683766 + v_margins: 6 + amount_cassa2: 6.84685269835264 + accompanying_invoice: true + amount_rivalsa_taxable: 7.058770351582356 + amount_rivalsa: 0.8851374739011653 + show_totals: all + stamp_duty: 8.762042012749001 + use_gross_prices: true + global_cassa_taxable: 4.965218492984954 e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - measure: measure - updated_at: updated_at - name: name - gross_price: 3.616076749251911 - id: 7 - category: category - net_cost: 2.027123023002322 - properties: - id: - description: Product id - nullable: true - type: integer - name: - description: Product name - nullable: true - type: string - code: - description: Product code - nullable: true - type: string - net_price: - description: Product net price - nullable: true - type: number - gross_price: - description: Product gross price - nullable: true - type: number - use_gross_price: - description: Product uses gross prices - nullable: true - type: boolean - default_vat: - $ref: "#/components/schemas/VatType" - net_cost: - description: Product net cost - nullable: true - type: number - measure: - description: Product measure - nullable: true - type: string - description: - description: Product description - nullable: true - type: string - category: - description: Product category - nullable: true - type: string - notes: - description: Product extra notes - nullable: true - type: string - in_stock: - description: Product has stock - nullable: true - type: boolean - stock_initial: - description: Product initial stock - nullable: true - type: number - stock_current: - description: |- - [Read Only] - Product current stock - nullable: true - readOnly: true - type: number - average_cost: - description: Product average cost - nullable: true - type: number - average_price: - description: Product average price - nullable: true - type: number - created_at: - description: Product creation date - nullable: true - type: string - updated_at: - description: Product last update date - nullable: true - type: string - title: Product + dn_ai_packages_number: dn_ai_packages_number + withholding_tax: 9.965781217890562 + amount_withholding_tax_taxable: 0.10263654006109402 + other_withholding_tax: 6.683562403749608 + ei_other_withholding_tax_type: ei_other_withholding_tax_type + template: + supports_custom_taxable: true + can_disable_watermark: true + author: author + name: name + privacy: privacy + id: 2 + type: type + content: content + cassa: 4.145608029883936 + ei_raw: "{}" + amount_global_cassa_taxable: 5.025004791520295 + amount_due_discount: 7.143538047012306 + amount_enasarco_taxable: 7.740351818741173 + created_at: created_at + visible_subject: visible_subject + use_split_payment: true + payments_list: + - amount: 1.45 + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + ei_raw: "{}" + due_date: 2018-04-03 + id: 6 + payment_terms: + days: 1 + type: null + paid_date: 2018-04-03 + status: not_paid + - amount: 1.45 + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + ei_raw: "{}" + due_date: 2018-04-03 + id: 6 + payment_terms: + days: 1 + type: null + paid_date: 2018-04-03 + status: not_paid + h_margins: 6 + dn_date: 2000-01-23 + ei_other_withholding_tax_causal: ei_other_withholding_tax_causal + next_due_date: 2000-01-23 + cassa2: 1.4894159098541704 + withholding_tax_taxable: 9.369310271410669 + is_marked: true + updated_at: updated_at + amount_vat: 3.353193347011243 + amount_other_withholding_tax_taxable: 8.969578798196912 + currency: + symbol: € + exchange_rate: "1" + html_symbol: EUR + id: EUR + dn_number: 5 + amount_other_withholding_tax: 4.652396432933246 + ei_cassa_type: ei_cassa_type + dn_ai_transporter: dn_ai_transporter + show_notification_button: true + dn_url: dn_url + show_payment_method: true + price_list_id: price_list_id + delivery_note: true + url: url + attachment_url: attachment_url + amount_withholding_tax: 6.519180951018382 + extra_data: + ts_file_id: ts_file_id + debt_vat_detect: true + ts_flag_tipo_spesa: 3.0576100241049344 + ts_opposizione: true + ts_tipo_spesa: ts_tipo_spesa + imported_by: imported_by + ts_sent_date: 2000-01-23 + ts_pagamento_tracciato: true + ts_status: 7 + ts_communication: true + ts_full_amount: true + multifatture_sent: 3 + revenue_detect: true + ei_status: attempt + seen_date: 2000-01-23 + ei_cassa2_type: ei_cassa2_type + ei_withholding_tax_causal: ei_withholding_tax_causal + cassa_taxable: 1.2315135367772556 + amount_gross: 3.0937452626664474 + entity: + country: Italia + code: "123" + notes: notes + ei_code: ei_code + default_payment_terms_type: standard + vat_number: IT01234567890 + created_at: created_at + type: company + address_extra: address_extra + bank_swift_code: bank_swift_code + default_vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + address_province: BG + updated_at: updated_at + bank_name: bank_name + id: 9 + shipping_address: shipping_address + fax: fax + first_name: first_name + bank_iban: bank_iban + country_iso: Italia + email: mario.rossi@example.it + contact_person: contact_person + address_postal_code: "24010" + default_payment_method: + default_payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + name: name + bank_name: bank_name + details: + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + bank_beneficiary: bank_beneficiary + id: 3 + type: standard + is_default: true + ei_payment_method: ei_payment_method + bank_iban: bank_iban + last_name: last_name + address_city: Bergamo + tax_code: RSSMRA44A12E890Q + intent_declaration_protocol_number: intent_declaration_protocol_number + phone: phone + address_street: "Via dei tigli, 12" + e_invoice: true + name: Rossi S.r.l. + default_payment_terms: 30 + certified_email: mario.rossi@pec.example.it + has_intent_declaration: true + intent_declaration_protocol_date: 2000-01-23 + amount_cassa_taxable: 1.0246457001441578 + amount_cassa2_taxable: 1.1730742509559433 + properties: + data: + $ref: "#/components/schemas/IssuedDocument" + title: GetBinIssuedDocumentResponse type: object - IssuedDocument: + ListBinReceivedDocuments: example: - date: 2000-01-23 - numeration: /A - notes: notes - year: 3 - subject: subject - rivalsa: 2.027123023002322 - dn_ai_causal: dn_ai_causal - language: - code: code - name: name - type: invoice - show_payments: true - ei_data: - original_document_type: ordine - cig: cig - bank_name: bank_name - od_number: od_number - od_date: 2000-01-23 - bank_beneficiary: bank_beneficiary - vat_kind: null - bank_iban: bank_iban - invoice_number: invoice_number - payment_method: payment_method - cup: cup - invoice_date: 2000-01-23 - dn_ai_weight: dn_ai_weight - number: 1 - rc_center: rc_center - items_list: - - code: "239874892374982" - ei_raw: "{}" - discount_highlight: true - vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 + data: + - date: 2000-01-23 + ei_reception_date: ei_reception_date + attachment_preview_url: attachment_preview_url + auto_calculate: true + tax_deductibility: 1.0246457001441578 description: description - not_taxable: true - discount: 3.5571952270680973 - net_price: 1.23 - apply_withholding_taxes: true - measure: measure - product_id: 1234 - qty: 6.438423552598547 - name: Water bottle - gross_price: 1.45 - id: 9 + created_at: created_at + is_from_pending_expenses: true + amortization: 1.2315135367772556 + type: expense + payments_list: + - amount: 6.683562403749608 + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + due_date: 2000-01-23 + id: 9 + payment_terms: + days: 8 + type: standard + paid_date: 2000-01-23 + status: status + - amount: 6.683562403749608 + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + due_date: 2000-01-23 + id: 9 + payment_terms: + days: 8 + type: standard + paid_date: 2000-01-23 + status: status + is_detailed: true + next_due_date: 2000-01-23 + rc_center: rc_center + is_marked: true + updated_at: updated_at + amount_vat: 3.616076749251911 + items_list: + - code: code + measure: measure + product_id: 7 + qty: 4.965218492984954 + name: name + vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + net_price: 1.1730742509559433 + id: 6 + category: category + stock: 5.025004791520295 + deductibility_vat_percentage: 9.965781217890562 + - code: code + measure: measure + product_id: 7 + qty: 4.965218492984954 + name: name + vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + net_price: 1.1730742509559433 + id: 6 + category: category + stock: 5.025004791520295 + deductibility_vat_percentage: 9.965781217890562 + currency: + symbol: € + exchange_rate: "1" + html_symbol: EUR + id: EUR + id: 7 + amount_other_withholding_tax: 4.145608029883936 + locked: true + invoice_number: invoice_number + vat_deductibility: 1.4894159098541704 + attachment_token: attachment_token + amount_net: 9.301444243932576 + attachment_url: attachment_url + amount_withholding_tax: 2.027123023002322 + e_invoice: true category: category - stock: true - in_dn: true - - code: "239874892374982" - ei_raw: "{}" - discount_highlight: true - vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 + amount_gross: 7.386281948385884 + entity: + country: Italia + code: "123" + notes: notes + ei_code: ei_code + default_payment_terms_type: standard + vat_number: IT01234567890 + created_at: created_at + type: company + address_extra: address_extra + bank_swift_code: bank_swift_code + default_vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + address_province: BG + updated_at: updated_at + bank_name: bank_name id: 9 - value: 22 + shipping_address: shipping_address + fax: fax + first_name: first_name + bank_iban: bank_iban + country_iso: Italia + email: mario.rossi@example.it + contact_person: contact_person + address_postal_code: "24010" + default_payment_method: + default_payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + name: name + bank_name: bank_name + details: + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + bank_beneficiary: bank_beneficiary + id: 3 + type: standard + is_default: true + ei_payment_method: ei_payment_method + bank_iban: bank_iban + last_name: last_name + address_city: Bergamo + tax_code: RSSMRA44A12E890Q + intent_declaration_protocol_number: intent_declaration_protocol_number + phone: phone + address_street: "Via dei tigli, 12" + e_invoice: true + name: Rossi S.r.l. + default_payment_terms: 30 + certified_email: mario.rossi@pec.example.it + has_intent_declaration: true + intent_declaration_protocol_date: 2000-01-23 + - date: 2000-01-23 + ei_reception_date: ei_reception_date + attachment_preview_url: attachment_preview_url + auto_calculate: true + tax_deductibility: 1.0246457001441578 description: description - not_taxable: true - discount: 3.5571952270680973 - net_price: 1.23 - apply_withholding_taxes: true - measure: measure - product_id: 1234 - qty: 6.438423552598547 - name: Water bottle - gross_price: 1.45 - id: 9 - category: category - stock: true - in_dn: true - dn_ai_notes: dn_ai_notes - acc_inv_template: - name: Light Smoke - id: 123 - type: type - id: 7 - delivery_note_template: - name: Light Smoke - id: 123 - type: type - locked: true - show_tspay_button: true - payment_method: - default_payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - name: name - bank_name: bank_name - details: - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - bank_beneficiary: bank_beneficiary - id: 3 - type: standard - is_default: true - ei_payment_method: ei_payment_method - bank_iban: bank_iban - attachment_token: attachment_token - amount_net: 5.944895607614016 - dn_ai_destination: dn_ai_destination - ai_url: ai_url - amount_cassa: 7.386281948385884 - cassa2_taxable: 7.457744773683766 - v_margins: 6 - amount_cassa2: 6.84685269835264 - accompanying_invoice: true - amount_rivalsa_taxable: 0.8851374739011653 - amount_rivalsa: 7.143538047012306 - show_totals: all - stamp_duty: 8.762042012749001 - use_gross_prices: true - global_cassa_taxable: 4.965218492984954 - e_invoice: true - dn_ai_packages_number: dn_ai_packages_number - withholding_tax: 9.965781217890562 - amount_withholding_tax_taxable: 6.519180951018382 - other_withholding_tax: 6.683562403749608 - ei_other_withholding_tax_type: ei_other_withholding_tax_type - template: - name: Light Smoke - id: 123 - type: type - cassa: 4.145608029883936 - ei_raw: "{}" - amount_global_cassa_taxable: 5.025004791520295 - amount_due_discount: 3.0937452626664474 - amount_enasarco_taxable: 8.969578798196912 - created_at: created_at - visible_subject: visible_subject - use_split_payment: true - payments_list: - - amount: 1.45 - payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - ei_raw: "{}" - due_date: 2018-04-03 - id: 6 - payment_terms: - days: 1 - type: null - paid_date: 2018-04-03 - status: not_paid - - amount: 1.45 - payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - ei_raw: "{}" - due_date: 2018-04-03 - id: 6 - payment_terms: - days: 1 - type: null - paid_date: 2018-04-03 - status: not_paid - h_margins: 2 - dn_date: 2000-01-23 - ei_other_withholding_tax_causal: ei_other_withholding_tax_causal - next_due_date: 2000-01-23 - cassa2: 1.4894159098541704 - withholding_tax_taxable: 9.369310271410669 - is_marked: true - updated_at: updated_at - amount_vat: 6.704019297950036 - amount_other_withholding_tax_taxable: 4.652396432933246 - currency: - symbol: € - exchange_rate: "1" - html_symbol: EUR - id: EUR - dn_number: 6 - amount_other_withholding_tax: 0.10263654006109402 - ei_cassa_type: ei_cassa_type - dn_ai_transporter: dn_ai_transporter - show_notification_button: true - dn_url: dn_url - show_payment_method: true - price_list_id: price_list_id - delivery_note: true - url: url - attachment_url: attachment_url - amount_withholding_tax: 7.058770351582356 - extra_data: - ts_file_id: ts_file_id - ts_flag_tipo_spesa: 3.0205796992916243 - ts_pagamento_tracciato: true - ts_status: 3 - ts_opposizione: true - ts_communication: true - ts_full_amount: true - ts_tipo_spesa: ts_tipo_spesa - multifatture_sent: 7 - imported_by: imported_by - ts_sent_date: 2000-01-23 - ei_status: attempt - seen_date: 2000-01-23 - ei_cassa2_type: ei_cassa2_type - ei_withholding_tax_causal: ei_withholding_tax_causal - cassa_taxable: 1.2315135367772556 - amount_gross: 3.353193347011243 - entity: - country: Italia - code: "123" - notes: notes - ei_code: ei_code - default_payment_terms_type: standard - vat_number: IT01234567890 created_at: created_at - type: company - address_extra: address_extra - bank_swift_code: bank_swift_code - default_vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + is_from_pending_expenses: true + amortization: 1.2315135367772556 + type: expense + payments_list: + - amount: 6.683562403749608 + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + due_date: 2000-01-23 + id: 9 + payment_terms: + days: 8 + type: standard + paid_date: 2000-01-23 + status: status + - amount: 6.683562403749608 + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + due_date: 2000-01-23 + id: 9 + payment_terms: + days: 8 + type: standard + paid_date: 2000-01-23 + status: status + is_detailed: true + next_due_date: 2000-01-23 + rc_center: rc_center + is_marked: true + updated_at: updated_at + amount_vat: 3.616076749251911 + items_list: + - code: code + measure: measure + product_id: 7 + qty: 4.965218492984954 + name: name + vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + net_price: 1.1730742509559433 + id: 6 + category: category + stock: 5.025004791520295 + deductibility_vat_percentage: 9.965781217890562 + - code: code + measure: measure + product_id: 7 + qty: 4.965218492984954 + name: name + vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + net_price: 1.1730742509559433 + id: 6 + category: category + stock: 5.025004791520295 + deductibility_vat_percentage: 9.965781217890562 + currency: + symbol: € + exchange_rate: "1" + html_symbol: EUR + id: EUR + id: 7 + amount_other_withholding_tax: 4.145608029883936 + locked: true + invoice_number: invoice_number + vat_deductibility: 1.4894159098541704 + attachment_token: attachment_token + amount_net: 9.301444243932576 + attachment_url: attachment_url + amount_withholding_tax: 2.027123023002322 + e_invoice: true + category: category + amount_gross: 7.386281948385884 + entity: + country: Italia + code: "123" + notes: notes + ei_code: ei_code + default_payment_terms_type: standard + vat_number: IT01234567890 + created_at: created_at + type: company + address_extra: address_extra + bank_swift_code: bank_swift_code + default_vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + address_province: BG + updated_at: updated_at + bank_name: bank_name + id: 9 + shipping_address: shipping_address + fax: fax + first_name: first_name + bank_iban: bank_iban + country_iso: Italia + email: mario.rossi@example.it + contact_person: contact_person + address_postal_code: "24010" + default_payment_method: + default_payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + name: name + bank_name: bank_name + details: + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + bank_beneficiary: bank_beneficiary + id: 3 + type: standard + is_default: true + ei_payment_method: ei_payment_method + bank_iban: bank_iban + last_name: last_name + address_city: Bergamo + tax_code: RSSMRA44A12E890Q + intent_declaration_protocol_number: intent_declaration_protocol_number + phone: phone + address_street: "Via dei tigli, 12" e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 + name: Rossi S.r.l. + default_payment_terms: 30 + certified_email: mario.rossi@pec.example.it + has_intent_declaration: true + intent_declaration_protocol_date: 2000-01-23 + properties: + data: + items: + $ref: "#/components/schemas/ReceivedDocument" + type: array + title: ListBinReceivedDocuments + type: object + GetBinReceivedDocumentResponse: + example: + data: + date: 2000-01-23 + ei_reception_date: ei_reception_date + attachment_preview_url: attachment_preview_url + auto_calculate: true + tax_deductibility: 1.0246457001441578 + description: description + created_at: created_at + is_from_pending_expenses: true + amortization: 1.2315135367772556 + type: expense + payments_list: + - amount: 6.683562403749608 + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + due_date: 2000-01-23 id: 9 - value: 22 - address_province: BG - updated_at: updated_at - bank_name: bank_name - id: 9 - shipping_address: shipping_address - fax: fax - first_name: first_name - bank_iban: bank_iban - country_iso: Italia - email: mario.rossi@example.it - contact_person: contact_person - address_postal_code: "24010" - default_payment_method: - default_payment_account: + payment_terms: + days: 8 + type: standard + paid_date: 2000-01-23 + status: status + - amount: 6.683562403749608 + payment_account: cuc: cuc virtual: true iban: iban @@ -22974,566 +70964,787 @@ components: sia: sia id: 2 type: standard + due_date: 2000-01-23 + id: 9 + payment_terms: + days: 8 + type: standard + paid_date: 2000-01-23 + status: status + is_detailed: true + next_due_date: 2000-01-23 + rc_center: rc_center + is_marked: true + updated_at: updated_at + amount_vat: 3.616076749251911 + items_list: + - code: code + measure: measure + product_id: 7 + qty: 4.965218492984954 + name: name + vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + net_price: 1.1730742509559433 + id: 6 + category: category + stock: 5.025004791520295 + deductibility_vat_percentage: 9.965781217890562 + - code: code + measure: measure + product_id: 7 + qty: 4.965218492984954 name: name + vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + net_price: 1.1730742509559433 + id: 6 + category: category + stock: 5.025004791520295 + deductibility_vat_percentage: 9.965781217890562 + currency: + symbol: € + exchange_rate: "1" + html_symbol: EUR + id: EUR + id: 7 + amount_other_withholding_tax: 4.145608029883936 + locked: true + invoice_number: invoice_number + vat_deductibility: 1.4894159098541704 + attachment_token: attachment_token + amount_net: 9.301444243932576 + attachment_url: attachment_url + amount_withholding_tax: 2.027123023002322 + e_invoice: true + category: category + amount_gross: 7.386281948385884 + entity: + country: Italia + code: "123" + notes: notes + ei_code: ei_code + default_payment_terms_type: standard + vat_number: IT01234567890 + created_at: created_at + type: company + address_extra: address_extra + bank_swift_code: bank_swift_code + default_vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + address_province: BG + updated_at: updated_at bank_name: bank_name - details: - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - bank_beneficiary: bank_beneficiary - id: 3 - type: standard - is_default: true - ei_payment_method: ei_payment_method + id: 9 + shipping_address: shipping_address + fax: fax + first_name: first_name bank_iban: bank_iban - last_name: last_name - address_city: Bergamo - tax_code: RSSMRA44A12E890Q - intent_declaration_protocol_number: intent_declaration_protocol_number - phone: phone - address_street: "Via dei tigli, 12" - e_invoice: true - name: Rossi S.r.l. - default_payment_terms: 30 - certified_email: mario.rossi@pec.example.it - has_intent_declaration: true - intent_declaration_protocol_date: 2000-01-23 - amount_cassa_taxable: 1.0246457001441578 - amount_cassa2_taxable: 1.1730742509559433 + country_iso: Italia + email: mario.rossi@example.it + contact_person: contact_person + address_postal_code: "24010" + default_payment_method: + default_payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + name: name + bank_name: bank_name + details: + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + bank_beneficiary: bank_beneficiary + id: 3 + type: standard + is_default: true + ei_payment_method: ei_payment_method + bank_iban: bank_iban + last_name: last_name + address_city: Bergamo + tax_code: RSSMRA44A12E890Q + intent_declaration_protocol_number: intent_declaration_protocol_number + phone: phone + address_street: "Via dei tigli, 12" + e_invoice: true + name: Rossi S.r.l. + default_payment_terms: 30 + certified_email: mario.rossi@pec.example.it + has_intent_declaration: true + intent_declaration_protocol_date: 2000-01-23 + properties: + data: + $ref: "#/components/schemas/ReceivedDocument" + title: GetBinReceivedDocumentResponse + type: object + ListPriceListsResponse: + example: + data: + - prices_type: net + valid_to: valid_to + name: "123" + valid_from: valid_from + id: id + is_default: true + type: sell + - prices_type: net + valid_to: valid_to + name: "123" + valid_from: valid_from + id: id + is_default: true + type: sell + properties: + data: + items: + $ref: "#/components/schemas/PriceList" + type: array + title: ListPriceListsResponse + type: object + GetPriceListItemsResponse: + example: + data: + key: + price: 0.8008281904610115 + properties: + data: + additionalProperties: + $ref: "#/components/schemas/PriceListItem" + title: PriceListItemsList + type: object + title: GetPriceListItemsResponse + type: object + User: + example: + name: Mario Rossi + last_name: Rossi + id: 12345 + first_name: Mario + email: mario.rossi@example.com + hash: 5add29e1234532a1bf2ed7b612043029 + picture: picture.jpg properties: id: - description: Issued document id - nullable: true - type: integer - entity: - $ref: "#/components/schemas/Entity" - type: - $ref: "#/components/schemas/IssuedDocumentType" - number: - description: |- - Issued document number - [If not specified, next number is used] - example: 1 - nullable: true - type: integer - numeration: - description: |- - Issued document numeration - [Not available if type=delivery_note] - example: /A - nullable: true - type: string - date: - description: |- - Issued document date - [defaults to today's date] - format: date - nullable: true - type: string - year: - description: Issued document year - nullable: true - type: integer - currency: - $ref: "#/components/schemas/Currency" - language: - $ref: "#/components/schemas/Language" - subject: - description: "Issued document subject [not shown on the PDF]" - nullable: true - type: string - visible_subject: - description: Issued document visible subject - nullable: true - type: string - rc_center: - description: "Issued document revenue center [or cost center if type=supplier_order]." - nullable: true - type: string - notes: - description: Issued document extra notes - nullable: true - type: string - rivalsa: - description: Issued document "Rivalsa INPS" percentual value - nullable: true - type: number - cassa: - description: Issued document "Cassa previdenziale" percentual value - nullable: true - type: number - amount_cassa: - description: |- - [Read Only] - Issued document cassa amount. - nullable: true - readOnly: true - type: number - cassa_taxable: - description: Issued document cassa taxable percentage - nullable: true - type: number - amount_cassa_taxable: - description: |- - [Can be set only if cassa_taxable is NULL] - Issued document cassa taxable amount - nullable: true - type: number - cassa2: - description: Issued document "Cassa previdenziale 2" percentual value - nullable: true - type: number - amount_cassa2: - description: |- - [Read Only] - Issued document cassa2 amount - nullable: true - readOnly: true - type: number - cassa2_taxable: - description: Issued document cassa2 taxable percentage - nullable: true - type: number - amount_cassa2_taxable: - description: |- - [Can be set only if cassa2_taxable is NULL] - Issued document cassa2 taxable amount - nullable: true - type: number - global_cassa_taxable: - description: Issued document global cassa taxable percentage - nullable: true - type: number - amount_global_cassa_taxable: - description: |- - [Can be set only if global_cassa_taxable is NULL] - Issued document global cassa taxable amount + description: User id + example: 12345 nullable: true - type: number - withholding_tax: - description: Issued document withholding tax (ritenuta d'acconto) percentual - value + type: integer + name: + description: User full name + example: Mario Rossi nullable: true - type: number - withholding_tax_taxable: - description: Issued document withholding tax taxable (imponibile) percentual - value + type: string + first_name: + description: User first name + example: Mario nullable: true - type: number - other_withholding_tax: - description: Issued document other withholding tax (altra ritenuta) percentual - value + type: string + last_name: + description: User last name + example: Rossi nullable: true - type: number - stamp_duty: - description: |- - Issued document stamp duty value - [0 if not present] + type: string + email: + description: User email address + example: mario.rossi@example.com nullable: true - type: number - payment_method: - $ref: "#/components/schemas/PaymentMethod" - use_split_payment: - description: Issued document uses split payment + type: string + hash: + description: User hash + example: 5add29e1234532a1bf2ed7b612043029 nullable: true - type: boolean - use_gross_prices: - description: Issued document uses gross prices + type: string + picture: + description: User picture + example: picture.jpg nullable: true - type: boolean - e_invoice: - description: Issued document is an e-invoice. + type: string + title: User + type: object + Company: + example: + access_token: fd015011d2dbf8a9d38e810b325b11b56d02e51688e5261a245933b8e677b8b44ff5f0fe5ccaaf1d7157fa13ca72ab62b6183db0667a576a0e19164801c18c4fd81273fc1f95bf460b869015cf99acba + tax_code: tax_code + fic_license_expire: 2000-01-23 + connection_id: 6 + vat_number: vat_number + name: Rossi S.r.l. + id: 12345 + type: company + fic_plan: null + controlled_companies: + - access_token: fd015011d2dbf8a9d38e810b325b11b56d02e51688e5261a245933b8e677b8b44ff5f0fe5ccaaf1d7157fa13ca72ab62b6183db0667a576a0e19164801c18c4fd81273fc1f95bf460b869015cf99acba + tax_code: tax_code + fic_license_expire: 2000-01-23 + connection_id: 0.8008281904610115 + name: Rossi S.r.l. + id: 12345 + type: null + fic_plan: trial + - access_token: fd015011d2dbf8a9d38e810b325b11b56d02e51688e5261a245933b8e677b8b44ff5f0fe5ccaaf1d7157fa13ca72ab62b6183db0667a576a0e19164801c18c4fd81273fc1f95bf460b869015cf99acba + tax_code: tax_code + fic_license_expire: 2000-01-23 + connection_id: 0.8008281904610115 + name: Rossi S.r.l. + id: 12345 + type: null + fic_plan: trial + properties: + id: + description: Company id + example: 12345 nullable: true - type: boolean - ei_data: - $ref: "#/components/schemas/IssuedDocument_ei_data" - ei_cassa_type: - description: E-invoice cassa type + type: integer + name: + description: Company name + example: Rossi S.r.l. nullable: true type: string - ei_cassa2_type: - description: E-invoice cassa2 type + type: + $ref: "#/components/schemas/CompanyType" + access_token: + description: |- + Company authentication token for this company. + [Only if type=company] + example: fd015011d2dbf8a9d38e810b325b11b56d02e51688e5261a245933b8e677b8b44ff5f0fe5ccaaf1d7157fa13ca72ab62b6183db0667a576a0e19164801c18c4fd81273fc1f95bf460b869015cf99acba nullable: true type: string - ei_withholding_tax_causal: - description: E-invoice withholding tax causal + controlled_companies: + description: |- + Company list of controlled companies + [Only if type=accountant] + items: + $ref: "#/components/schemas/ControlledCompany" + nullable: true + type: array + fic_license_expire: + format: date nullable: true type: string - ei_other_withholding_tax_type: - description: E-invoice other withholding tax type + fic_plan: + $ref: "#/components/schemas/FattureInCloudPlanType" + connection_id: + description: Company connection id + nullable: true + type: integer + tax_code: + description: Company tax code nullable: true type: string - ei_other_withholding_tax_causal: - description: E-invoice other withholding tax causal + vat_number: + description: Company vat number nullable: true type: string - items_list: - items: - $ref: "#/components/schemas/IssuedDocumentItemsListItem" + title: Company + type: object + CompanyInfo: + example: + fic_plan_name: trial + fic_license_expire: 2000-01-23 + accountant_id: 5 + name: Mario Rossi S.r.l. + is_accountant: true + plan_info: + functions: + smtp: true + recurring: true + ts_invoice_trading: true + archive: true + payment_notifications: true + receipts: true + cerved: true + document_attachments: true + genius: true + ts_digital: true + e_invoice: true + subaccounts: true + ts_pay: true + stock: true + paypal: true + mail_tracking: true + tessera_sanitaria: true + functions_status: + ts_digital: + active: true + ts_pay: + active: true + limits: + clients: 0 + suppliers: 6 + documents: 5 + products: 1 + id: 12345 + access_info: + role: master + through_accountant: true + permissions: + dic_settings: null + fic_import_bankstatements: null + fic_suppliers: null + fic_products: null + fic_taxes: null + fic_export: null + fic_import_clients_suppliers: null + fic_riba: null + fic_emails: null + fic_stock: null + fic_import_issued_documents: null + fic_clients: null + fic_situation: none + fic_calendar: null + fic_issued_documents: null + fic_settings: null + fic_recurring: null + fic_received_documents: null + fic_cashbook: null + fic_archive: null + dic_timesheet: null + dic_employees: null + fic_receipts: null + fic_issued_documents_detailed: + receipts: null + supplier_orders: null + delivery_notes: null + invoices: null + credit_notes: null + proformas: null + orders: null + work_reports: null + self_invoices: null + quotes: null + fic_import_products: null + type: company + email: mario@rossi-example.it + properties: + id: + description: Company id + example: 12345 nullable: true - type: array - payments_list: - items: - $ref: "#/components/schemas/IssuedDocumentPaymentsListItem" + type: integer + name: + description: Company name + example: Mario Rossi S.r.l. nullable: true - type: array - template: - $ref: "#/components/schemas/DocumentTemplate" - delivery_note_template: - $ref: "#/components/schemas/DocumentTemplate" - acc_inv_template: - $ref: "#/components/schemas/DocumentTemplate" - h_margins: - description: Issued document PDF horizontal margins + type: string + email: + description: Company email + example: mario@rossi-example.it nullable: true - type: integer - v_margins: - description: Issued document PDF vertical margins + type: string + type: + $ref: "#/components/schemas/CompanyType" + access_info: + $ref: "#/components/schemas/CompanyInfo_access_info" + fic_license_expire: + format: date + nullable: true + type: string + fic_plan_name: + $ref: "#/components/schemas/FattureInCloudPlanType" + plan_info: + $ref: "#/components/schemas/CompanyInfo_plan_info" + accountant_id: + description: Company accountant id nullable: true type: integer - show_payments: - description: Show the expiration dates of the payments on the document - nullable: true - type: boolean - show_payment_method: - description: Show the payment method details on the document + is_accountant: + description: Is the logged account an accountant. nullable: true type: boolean - show_totals: - $ref: "#/components/schemas/ShowTotalsMode" - show_notification_button: - description: Show notification button in the PDF + title: CompanyInfo + type: object + CompanyPlanUsage: + example: + usage: 6.027456183070403 + limit: 0.8008281904610115 + properties: + limit: + description: Plan limit nullable: true - type: boolean - show_tspay_button: - description: Show ts pay button in the PDF + type: number + usage: + description: Plan usage nullable: true - type: boolean - delivery_note: - description: Issued document has delivery note + type: number + title: CompanyPlanUsage + type: object + Pagination: + description: "" + properties: + current_page: + description: Current page number. nullable: true - type: boolean - accompanying_invoice: - description: Issued document has an accompanying invoice + type: integer + first_page_url: + description: First page url. + format: uri nullable: true - type: boolean - dn_number: - description: Issued document attached delivery note number + type: string + from: + description: First result of the page. nullable: true type: integer - dn_date: - description: Issued document attached delivery note date - format: date + last_page: + description: Last page number. nullable: true - type: string - dn_ai_packages_number: - description: Issued document attached delivery note number of packages + type: integer + last_page_url: + description: Last page url. + format: uri nullable: true type: string - dn_ai_weight: - description: Issued document attached delivery note package weight + next_page_url: + description: Next page url + format: uri nullable: true type: string - dn_ai_causal: - description: Issued document attached delivery note causal + path: + description: Request path. + format: uri nullable: true type: string - dn_ai_destination: - description: Issued document attached delivery note destination + per_page: + description: Number of result per page. nullable: true - type: string - dn_ai_transporter: - description: Issued document attached delivery note transporter + type: integer + prev_page_url: + description: Previous page url. + format: uri nullable: true type: string - dn_ai_notes: - description: Issued document attached delivery note notes + to: + description: Last result of the page. nullable: true - type: string - is_marked: - description: Issued document is marked + type: integer + total: + description: Total number of results nullable: true - type: boolean - amount_net: - description: |- - [Read only] - Issued document total net amount + type: integer + title: Pagination + type: object + ListClientsResponsePage: + properties: + data: + items: + $ref: "#/components/schemas/Client" nullable: true - readOnly: true - type: number - amount_vat: - description: |- - [Read Only] - Issued document total vat amount + type: array + title: ListClientsResponsePage + type: object + Client: + example: + country: Italia + code: "123" + notes: notes + ei_code: ei_code + default_payment_terms_type: standard + discount_highlight: true + vat_number: IT01234567890 + created_at: created_at + type: company + address_extra: address_extra + bank_swift_code: bank_swift_code + default_discount: 4.145608029883936 + default_vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + address_province: BG + updated_at: updated_at + bank_name: bank_name + id: 7 + shipping_address: shipping_address + fax: fax + first_name: first_name + bank_iban: bank_iban + country_iso: Italia + email: mario.rossi@example.it + contact_person: contact_person + address_postal_code: "24010" + default_payment_method: + default_payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + name: name + bank_name: bank_name + details: + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + bank_beneficiary: bank_beneficiary + id: 3 + type: standard + is_default: true + ei_payment_method: ei_payment_method + bank_iban: bank_iban + last_name: last_name + price_list_id: price_list_id + address_city: Bergamo + tax_code: RSSMRA44A12E890Q + intent_declaration_protocol_number: intent_declaration_protocol_number + phone: phone + address_street: "Via dei tigli, 12" + e_invoice: true + name: Rossi S.r.l. + default_payment_terms: 30 + certified_email: mario.rossi@pec.example.it + has_intent_declaration: true + intent_declaration_protocol_date: 2000-01-23 + properties: + id: + description: Client id nullable: true - readOnly: true - type: number - amount_gross: - description: |- - [Read Only] - Issued document total gross amount + type: integer + code: + description: Client code + example: "123" nullable: true - readOnly: true - type: number - amount_due_discount: - description: Issued document amount due discount + type: string + name: + description: Client name + example: Rossi S.r.l. nullable: true - type: number - amount_rivalsa: - description: |- - [Read Only] - Issued document rivalsa amount + type: string + type: + $ref: "#/components/schemas/ClientType" + first_name: + description: Client first name nullable: true - readOnly: true - type: number - amount_rivalsa_taxable: - description: Issued document taxable rivalsa amount + type: string + last_name: + description: Client last name nullable: true - type: number - amount_withholding_tax: - description: |- - [Read Only] - Issued document withholding tax amount (ritenuta d'acconto). + type: string + contact_person: + description: Client contact person nullable: true - readOnly: true - type: number - amount_withholding_tax_taxable: - description: Issued document taxable withholding tax amount + type: string + vat_number: + description: Client vat number + example: IT01234567890 nullable: true - type: number - amount_other_withholding_tax: - description: |- - [Read Only] - Issued document other withholding tax amount (altra ritenuta) + type: string + tax_code: + description: Client tax code + example: RSSMRA44A12E890Q nullable: true - readOnly: true - type: number - amount_other_withholding_tax_taxable: - description: Issued document taxable other withholding tax amount + type: string + address_street: + description: Client address street + example: "Via dei tigli, 12" nullable: true - type: number - amount_enasarco_taxable: - description: Issued document taxable enasarco amount + type: string + address_postal_code: + description: Client address postal code + example: "24010" nullable: true - type: number - extra_data: - $ref: "#/components/schemas/IssuedDocument_extra_data" - seen_date: - description: Issued document seen date - format: date + type: string + address_city: + description: Client address city + example: Bergamo nullable: true type: string - next_due_date: - description: Issued document date of the next not paid payment - format: date + address_province: + description: Client address province + example: BG nullable: true type: string - url: - description: |- - [Temporary] [Read Only] - Issued document url of the document PDF file + address_extra: + description: Client address extra info nullable: true type: string - dn_url: - description: |- - [Temporary] [Read Only] - Issued document url of the attached delivery note PDF file + country: + description: Client country + example: Italia nullable: true type: string - ai_url: - description: |- - [Temporary] [Read Only] - Issued document url of the accompanying invoice PDF file + country_iso: + description: Client country iso code + example: Italia nullable: true type: string - attachment_url: - description: |- - [Temporary] [Read Only] - Issued document url of the attached file + email: + description: Client email + example: mario.rossi@example.it nullable: true - readOnly: true type: string - attachment_token: - description: |- - [Write Only] - Issued document attachment token returned by POST /issued_documents/attachment + certified_email: + description: Client certified email + example: mario.rossi@pec.example.it nullable: true type: string - writeOnly: true - ei_raw: - description: Issued document advanced raw attributes for e-invoices + phone: + description: Client phone nullable: true - type: object - ei_status: - description: | - [Read only] Status of the e-invoice. - * **attempt** - We are trying to send the invoice, please wait up to 2 hours - * **missing** - The invoice is missing - * **not_sent** - The invoice has yet to be sent - * **sent** - The invoice was sent - * **pending** - The checks for the digital signature and sending are in progress - * **processing** - The SDI is delivering the invoice to the customer - * **error** - An error occurred while handling the invoice, please try to resend it or contact support - * **discarded** - The invoice has been rejected by the SDI, so it must be corrected and re-sent - * **not_delivered** - The SDI was unable to deliver the invoice - * **accepted** - The customer accepted the invoice - * **rejected** - The customer rejected the invoice, so it must be corrected - * **no_response** - A response has not yet been received whithin the deadline, contact the customer to ascertain the status of the invoice - * **manual_accepted** - The customer accepted the invoice - * **manual_rejected** - The customer rejected the invoice - enum: - - attempt - - missing - - not_sent - - sent - - pending - - processing - - error - - discarded - - not_delivered - - accepted - - rejected - - no_response - - manual_accepted - - manual_rejected + type: string + fax: + description: Client fax nullable: true type: string - price_list_id: - description: Price list id + notes: + description: Client extra nullable: true type: string - locked: - description: Issued Document can't be edited + default_vat: + $ref: "#/components/schemas/VatType" + default_payment_terms: + description: Client default payment terms + example: 30 nullable: true - type: boolean - created_at: - description: Issued document creation date + type: integer + default_payment_terms_type: + $ref: "#/components/schemas/PaymentTermsType" + default_payment_method: + $ref: "#/components/schemas/PaymentMethod" + bank_name: + description: Client bank name nullable: true type: string - updated_at: - description: Issued document last update date + bank_iban: + description: Client bank iban nullable: true type: string - title: IssuedDocument - type: object - IssuedDocumentOptions: - example: - keep_copy: true - transform: true - join_type: join_type - create_from: - - create_from - - create_from - fix_payments: true - properties: - fix_payments: - description: Fixes your last payment amount to match your document total + bank_swift_code: + description: Client bank swift code nullable: true - type: boolean - create_from: - description: "Original documents ids [only for join/transform]" - items: - type: string + type: string + shipping_address: + description: Client shipping address nullable: true - type: array - transform: - description: "Tranform a document [only for transform]" + type: string + e_invoice: + description: Use e-invoices for this entity nullable: true type: boolean - keep_copy: - description: "Keep original document [only for transform]" + discount_highlight: + description: Highlight Discount nullable: true type: boolean - join_type: - description: "Join type [only for join]" + ei_code: + description: | + Client e-invoice code nullable: true type: string - title: IssuedDocumentOptions - type: object - EmailSchedule: - example: - include: - attachment: true - document: true - accompanying_invoice: true - delivery_note: true - subject: subject - recipient_email: recipient_email - attach_pdf: true - body: body - send_copy: true - sender_id: 0 - sender_email: sender_email - properties: - sender_id: - description: "Email sender id [required if **sender_email** is not specified]" + default_discount: + description: Client default discount nullable: true - type: integer - sender_email: - description: "Email sender address [required if **sender_id** is not specified]" + type: number + has_intent_declaration: + description: Client has intent declaration nullable: true - type: string - recipient_email: - description: "Email recipient emails [comma separated]" + type: boolean + intent_declaration_protocol_number: + description: Client intent declaration protocol number nullable: true type: string - subject: - description: Email subject + intent_declaration_protocol_date: + description: Client intent declaration protocol date + format: date nullable: true type: string - body: - description: "Email body [HTML Escaped] [max size 50KiB]" + price_list_id: + description: Price list id nullable: true type: string - include: - $ref: "#/components/schemas/EmailSchedule_include" - attach_pdf: - description: Attach the pdf of the document + created_at: + description: Client creation date nullable: true - type: boolean - send_copy: - description: Send a copy of the email to the **cc_email** specified by **Get - email data** + type: string + updated_at: + description: Client last update date nullable: true - type: boolean - title: EmailSchedule + type: string + title: Client type: object - ReceivedDocument: + EntityClientPreCreateInfo: example: - date: 2000-01-23 - attachment_preview_url: attachment_preview_url - auto_calculate: true - tax_deductibility: 1.0246457001441578 - description: description - created_at: created_at - amortization: 1.2315135367772556 - type: expense - payments_list: - - amount: 9.369310271410669 - payment_account: + payment_methods_list: + - default_payment_account: cuc: cuc virtual: true iban: iban name: Conto Banca Intesa sia: sia - id: 2 - type: standard - due_date: 2000-01-23 - id: 9 - payment_terms: - days: 6 - type: standard - paid_date: 2000-01-23 - status: status - - amount: 9.369310271410669 - payment_account: + id: 2 + type: standard + name: name + bank_name: bank_name + details: + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + bank_beneficiary: bank_beneficiary + id: 3 + type: standard + is_default: true + ei_payment_method: ei_payment_method + bank_iban: bank_iban + - default_payment_account: cuc: cuc virtual: true iban: iban @@ -23541,330 +71752,664 @@ components: sia: sia id: 2 type: standard - due_date: 2000-01-23 - id: 9 - payment_terms: - days: 6 - type: standard - paid_date: 2000-01-23 - status: status - is_detailed: true - next_due_date: 2000-01-23 - rc_center: rc_center - is_marked: true - updated_at: updated_at - amount_vat: 3.616076749251911 - items_list: - - code: code - measure: measure - product_id: 7 - qty: 4.965218492984954 - name: name - vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - net_price: 1.1730742509559433 - id: 6 - category: category - stock: 5.025004791520295 - - code: code - measure: measure - product_id: 7 - qty: 4.965218492984954 name: name - vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - net_price: 1.1730742509559433 - id: 6 - category: category - stock: 5.025004791520295 - currency: - symbol: € - exchange_rate: "1" - html_symbol: EUR - id: EUR - id: 7 - amount_other_withholding_tax: 4.145608029883936 - locked: true - invoice_number: invoice_number - vat_deductibility: 1.4894159098541704 - attachment_token: attachment_token - amount_net: 9.301444243932576 - attachment_url: attachment_url - amount_withholding_tax: 2.027123023002322 - e_invoice: true - category: category - amount_gross: 7.386281948385884 - entity: - country: Italia - code: "123" - notes: notes - ei_code: ei_code - default_payment_terms_type: standard - vat_number: IT01234567890 - created_at: created_at - type: company - address_extra: address_extra - bank_swift_code: bank_swift_code - default_vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - address_province: BG - updated_at: updated_at bank_name: bank_name - id: 9 - shipping_address: shipping_address - fax: fax - first_name: first_name + details: + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + bank_beneficiary: bank_beneficiary + id: 3 + type: standard + is_default: true + ei_payment_method: ei_payment_method bank_iban: bank_iban - country_iso: Italia - email: mario.rossi@example.it - contact_person: contact_person - address_postal_code: "24010" - default_payment_method: - default_payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - name: name - bank_name: bank_name - details: - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - bank_beneficiary: bank_beneficiary - id: 3 - type: standard - is_default: true - ei_payment_method: ei_payment_method - bank_iban: bank_iban - last_name: last_name - address_city: Bergamo - tax_code: RSSMRA44A12E890Q - intent_declaration_protocol_number: intent_declaration_protocol_number - phone: phone - address_street: "Via dei tigli, 12" + price_lists: + - prices_type: net + valid_to: valid_to + name: "123" + valid_from: valid_from + id: id + is_default: true + type: sell + - prices_type: net + valid_to: valid_to + name: "123" + valid_from: valid_from + id: id + is_default: true + type: sell + usage: 6.027456183070403 + payment_accounts_list: + - cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + - cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + limit: 0.8008281904610115 + vat_types_list: + - ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" e_invoice: true - name: Rossi S.r.l. - default_payment_terms: 30 - certified_email: mario.rossi@pec.example.it - has_intent_declaration: true - intent_declaration_protocol_date: 2000-01-23 + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + - ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + countries_list: + - countries_list + - countries_list + properties: + countries_list: + description: Countries list + items: + type: string + nullable: true + type: array + payment_methods_list: + description: Entity payment methods list + items: + $ref: "#/components/schemas/PaymentMethod" + nullable: true + type: array + payment_accounts_list: + description: Entity payment accounts list + items: + $ref: "#/components/schemas/PaymentAccount" + nullable: true + type: array + vat_types_list: + description: Vat types list + items: + $ref: "#/components/schemas/VatType" + nullable: true + type: array + price_lists: + description: Entity price lists + items: + $ref: "#/components/schemas/PriceList" + nullable: true + type: array + limit: + description: Entity limit + nullable: true + type: number + usage: + description: Entity usage + nullable: true + type: number + title: EntityClientPreCreateInfo + type: object + ListSuppliersResponsePage: + properties: + data: + items: + $ref: "#/components/schemas/Supplier" + nullable: true + type: array + title: ListSuppliersResponsePage + type: object + Supplier: + example: + country: Italia + code: "123" + notes: notes + contact_person: contact_person + address_postal_code: "24010" + vat_number: IT01234567890 + last_name: last_name + created_at: created_at + type: company + address_extra: address_extra + address_city: Bergamo + tax_code: RSSMRA44A12E890Q + address_province: BG + updated_at: updated_at + phone: phone + address_street: "Via dei tigli, 12" + name: Rossi S.r.l. + id: 7 + certified_email: mario.rossi@pec.example.it + fax: fax + first_name: first_name + bank_iban: bank_iban + country_iso: Italia + email: mario.rossi@example.it properties: id: - description: Received document id + description: Supplier id nullable: true type: integer + code: + description: Supplier code + example: "123" + nullable: true + type: string + name: + description: Supplier name + example: Rossi S.r.l. + nullable: true + type: string type: - $ref: "#/components/schemas/ReceivedDocumentType" - entity: - $ref: "#/components/schemas/Entity" - date: - description: "Received document date [defaults to today's date]" - format: date + $ref: "#/components/schemas/SupplierType" + first_name: + description: Supplier first name nullable: true type: string - category: - description: Received document category + last_name: + description: Supplier last name nullable: true type: string - description: - description: Received document description + contact_person: + description: Supplier contact person nullable: true type: string - amount_net: - description: Received document total net amount + vat_number: + description: Supplier vat number + example: IT01234567890 nullable: true - type: number - amount_vat: - description: Received document total vat amount + type: string + tax_code: + description: Supplier tax code + example: RSSMRA44A12E890Q nullable: true - type: number - amount_withholding_tax: - description: Received document withholding tax amount + type: string + address_street: + description: Supplier street address + example: "Via dei tigli, 12" nullable: true - type: number - amount_other_withholding_tax: - description: Received document other withholding tax amount + type: string + address_postal_code: + description: Supplier postal code + example: "24010" nullable: true - type: number - amount_gross: - description: |- - [Read Only] - Received document total gross amount + type: string + address_city: + description: Supplier city + example: Bergamo nullable: true - readOnly: true - type: number - amortization: - description: Received document amortization value + type: string + address_province: + description: Supplier province + example: BG nullable: true - type: number - rc_center: - description: Received document revenue center + type: string + address_extra: + description: Supplier address extra info nullable: true type: string - invoice_number: - description: Received document invoice number + country: + description: Supplier country + example: Italia nullable: true type: string - is_marked: - description: Received document is marked + country_iso: + description: Supplier country iso code + example: Italia nullable: true - type: boolean - is_detailed: - description: Received document has items + type: string + email: + description: Supplier email + example: mario.rossi@example.it nullable: true - type: boolean - e_invoice: - description: |- - [Read Only] - Received document is an e-invoice + type: string + certified_email: + description: Supplier certified email + example: mario.rossi@pec.example.it nullable: true - type: boolean - next_due_date: - description: |- - [Read Only] - Received document date of the next not paid payment - format: date + type: string + phone: + description: Supplier phone nullable: true - readOnly: true type: string - currency: - $ref: "#/components/schemas/Currency" - tax_deductibility: - description: Received document tax deducibility percentage + fax: + description: Supplier fax + nullable: true + type: string + notes: + description: Supplier extra notes + nullable: true + type: string + bank_iban: + description: Supplier bank IBAN + nullable: true + type: string + created_at: + description: Supplier creation date + nullable: true + type: string + updated_at: + description: Supplier last update date + nullable: true + type: string + title: Supplier + type: object + ListProductsResponsePage: + properties: + data: + items: + $ref: "#/components/schemas/Product" + nullable: true + type: array + title: ListProductsResponsePage + type: object + Product: + example: + code: code + notes: notes + average_price: 1.0246457001441578 + description: description + created_at: created_at + net_price: 9.301444243932576 + in_stock: true + average_cost: 1.2315135367772556 + use_gross_price: true + stock_initial: 4.145608029883936 + stock_current: 7.386281948385884 + default_vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + measure: measure + updated_at: updated_at + name: name + gross_price: 3.616076749251911 + id: 7 + category: category + net_cost: 2.027123023002322 + properties: + id: + description: Product id + nullable: true + type: integer + name: + description: Product name + nullable: true + type: string + code: + description: Product code + nullable: true + type: string + net_price: + description: Product net price + nullable: true + type: number + gross_price: + description: Product gross price + nullable: true + type: number + use_gross_price: + description: Product uses gross prices nullable: true - type: number - vat_deductibility: - description: Received document vat deducibility percentage + type: boolean + default_vat: + $ref: "#/components/schemas/VatType" + net_cost: + description: Product net cost nullable: true type: number - items_list: - items: - $ref: "#/components/schemas/ReceivedDocumentItemsListItem" + measure: + description: Product measure nullable: true - type: array - payments_list: - items: - $ref: "#/components/schemas/ReceivedDocumentPaymentsListItem" + type: string + description: + description: Product description nullable: true - type: array - attachment_url: - description: |- - [Temporary] - [Read Only] - Received document url of the attached file + type: string + category: + description: Product category nullable: true - readOnly: true type: string - attachment_preview_url: - description: |- - [Temporary] - [Read Only] - Received document url of the attachment preview + notes: + description: Product extra notes nullable: true - readOnly: true type: string - auto_calculate: - description: Received document total items amount and total payments amount - can differ if this field is set to false + in_stock: + description: Product has stock nullable: true type: boolean - attachment_token: + stock_initial: + description: Product initial stock + nullable: true + type: number + stock_current: description: |- - [Write Only] - Received document attachment token returned by POST /received_documents/attachment + [Read Only] + Product current stock nullable: true - type: string - locked: - description: Received Document can't be edited + readOnly: true + type: number + average_cost: + description: Product average cost nullable: true - type: boolean + type: number + average_price: + description: Product average price + nullable: true + type: number created_at: - description: Received document creation date + description: Product creation date nullable: true type: string updated_at: - description: Received document last update date + description: Product last update date nullable: true type: string - title: ReceivedDocument + title: Product type: object - Receipt: + ListIssuedDocumentsResponsePage: + properties: + data: + items: + $ref: "#/components/schemas/IssuedDocument" + nullable: true + type: array + title: ListIssuedDocumentResponsePage + type: object + IssuedDocument: example: date: 2000-01-23 - amount_net: 3.616076749251911 - numeration: numeration - description: description - created_at: created_at - type: till_receipt - number: 9.301444243932576 - use_gross_prices: true + numeration: /A + notes: notes + year: 3 + subject: subject + rivalsa: 2.027123023002322 + dn_ai_causal: dn_ai_causal + language: + code: code + name: name + type: invoice + show_payments: true + ei_data: + original_document_type: ordine + cig: cig + bank_name: bank_name + od_number: od_number + od_date: 2000-01-23 + bank_beneficiary: bank_beneficiary + vat_kind: null + bank_iban: bank_iban + invoice_number: invoice_number + payment_method: payment_method + cup: cup + invoice_date: 2000-01-23 + dn_ai_weight: dn_ai_weight + number: 1 rc_center: rc_center - payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia + items_list: + - code: "239874892374982" + ei_raw: "{}" + discount_highlight: true + vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + description: description + not_taxable: true + discount: 3.5571952270680973 + net_price: 1.23 + apply_withholding_taxes: true + measure: measure + product_id: 1234 + qty: 6.438423552598547 + name: Water bottle + gross_price: 1.45 + id: 9 + category: category + stock: true + in_dn: true + - code: "239874892374982" + ei_raw: "{}" + discount_highlight: true + vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + description: description + not_taxable: true + discount: 3.5571952270680973 + net_price: 1.23 + apply_withholding_taxes: true + measure: measure + product_id: 1234 + qty: 6.438423552598547 + name: Water bottle + gross_price: 1.45 + id: 9 + category: category + stock: true + in_dn: true + dn_ai_notes: dn_ai_notes + acc_inv_template: + supports_custom_taxable: true + can_disable_watermark: true + author: author + name: name + privacy: privacy + id: 2 + type: type + content: content + id: 7 + delivery_note_template: + supports_custom_taxable: true + can_disable_watermark: true + author: author + name: name + privacy: privacy id: 2 + type: type + content: content + locked: true + show_tspay_button: true + payment_method: + default_payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + name: name + bank_name: bank_name + details: + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + bank_beneficiary: bank_beneficiary + id: 3 type: standard + is_default: true + ei_payment_method: ei_payment_method + bank_iban: bank_iban + attachment_token: attachment_token + amount_net: 6.704019297950036 + dn_ai_destination: dn_ai_destination + ai_url: ai_url + amount_cassa: 7.386281948385884 + cassa2_taxable: 7.457744773683766 + v_margins: 6 + amount_cassa2: 6.84685269835264 + accompanying_invoice: true + amount_rivalsa_taxable: 7.058770351582356 + amount_rivalsa: 0.8851374739011653 + show_totals: all + stamp_duty: 8.762042012749001 + use_gross_prices: true + global_cassa_taxable: 4.965218492984954 + e_invoice: true + dn_ai_packages_number: dn_ai_packages_number + withholding_tax: 9.965781217890562 + amount_withholding_tax_taxable: 0.10263654006109402 + other_withholding_tax: 6.683562403749608 + ei_other_withholding_tax_type: ei_other_withholding_tax_type + template: + supports_custom_taxable: true + can_disable_watermark: true + author: author + name: name + privacy: privacy + id: 2 + type: type + content: content + cassa: 4.145608029883936 + ei_raw: "{}" + amount_global_cassa_taxable: 5.025004791520295 + amount_due_discount: 7.143538047012306 + amount_enasarco_taxable: 7.740351818741173 + created_at: created_at + visible_subject: visible_subject + use_split_payment: true + payments_list: + - amount: 1.45 + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + ei_raw: "{}" + due_date: 2018-04-03 + id: 6 + payment_terms: + days: 1 + type: null + paid_date: 2018-04-03 + status: not_paid + - amount: 1.45 + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + ei_raw: "{}" + due_date: 2018-04-03 + id: 6 + payment_terms: + days: 1 + type: null + paid_date: 2018-04-03 + status: not_paid + h_margins: 6 + dn_date: 2000-01-23 + ei_other_withholding_tax_causal: ei_other_withholding_tax_causal + next_due_date: 2000-01-23 + cassa2: 1.4894159098541704 + withholding_tax_taxable: 9.369310271410669 + is_marked: true updated_at: updated_at - amount_vat: 2.027123023002322 - items_list: - - amount_net: 1.2315135367772556 - vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - id: 7 - category: category - amount_gross: 1.0246457001441578 - - amount_net: 1.2315135367772556 - vat: + amount_vat: 3.353193347011243 + amount_other_withholding_tax_taxable: 8.969578798196912 + currency: + symbol: € + exchange_rate: "1" + html_symbol: EUR + id: EUR + dn_number: 5 + amount_other_withholding_tax: 4.652396432933246 + ei_cassa_type: ei_cassa_type + dn_ai_transporter: dn_ai_transporter + show_notification_button: true + dn_url: dn_url + show_payment_method: true + price_list_id: price_list_id + delivery_note: true + url: url + attachment_url: attachment_url + amount_withholding_tax: 6.519180951018382 + extra_data: + ts_file_id: ts_file_id + debt_vat_detect: true + ts_flag_tipo_spesa: 3.0576100241049344 + ts_opposizione: true + ts_tipo_spesa: ts_tipo_spesa + imported_by: imported_by + ts_sent_date: 2000-01-23 + ts_pagamento_tracciato: true + ts_status: 7 + ts_communication: true + ts_full_amount: true + multifatture_sent: 3 + revenue_detect: true + ei_status: attempt + seen_date: 2000-01-23 + ei_cassa2_type: ei_cassa2_type + ei_withholding_tax_causal: ei_withholding_tax_causal + cassa_taxable: 1.2315135367772556 + amount_gross: 3.0937452626664474 + entity: + country: Italia + code: "123" + notes: notes + ei_code: ei_code + default_payment_terms_type: standard + vat_number: IT01234567890 + created_at: created_at + type: company + address_extra: address_extra + bank_swift_code: bank_swift_code + default_vat: ei_description: ei_description default: true notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" @@ -23875,904 +72420,1122 @@ components: description: Non imponibile art. 123 id: 9 value: 22 - id: 7 - category: category - amount_gross: 1.0246457001441578 - id: 7 - amount_gross: 4.145608029883936 + address_province: BG + updated_at: updated_at + bank_name: bank_name + id: 9 + shipping_address: shipping_address + fax: fax + first_name: first_name + bank_iban: bank_iban + country_iso: Italia + email: mario.rossi@example.it + contact_person: contact_person + address_postal_code: "24010" + default_payment_method: + default_payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + name: name + bank_name: bank_name + details: + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + bank_beneficiary: bank_beneficiary + id: 3 + type: standard + is_default: true + ei_payment_method: ei_payment_method + bank_iban: bank_iban + last_name: last_name + address_city: Bergamo + tax_code: RSSMRA44A12E890Q + intent_declaration_protocol_number: intent_declaration_protocol_number + phone: phone + address_street: "Via dei tigli, 12" + e_invoice: true + name: Rossi S.r.l. + default_payment_terms: 30 + certified_email: mario.rossi@pec.example.it + has_intent_declaration: true + intent_declaration_protocol_date: 2000-01-23 + amount_cassa_taxable: 1.0246457001441578 + amount_cassa2_taxable: 1.1730742509559433 properties: id: - description: Receipt id + description: Issued document id nullable: true type: integer - date: - description: Receipt date - format: date - nullable: true - type: string + entity: + $ref: "#/components/schemas/Entity" + type: + $ref: "#/components/schemas/IssuedDocumentType" number: - description: Receipt number + description: |- + Issued document number + [If not specified, next number is used] + example: 1 nullable: true - type: number + type: integer numeration: - description: Receipt numeration + description: |- + Issued document numeration + [Not available if type=delivery_note] + example: /A nullable: true type: string - amount_net: - description: Receipt total net amount - nullable: true - type: number - amount_vat: - description: Receipt total vat amount + date: + description: |- + Issued document date + [defaults to today's date] + format: date nullable: true - type: number - amount_gross: - description: Receipt total gross amount + type: string + year: + description: Issued document year nullable: true - type: number - use_gross_prices: - description: Receipt uses gross prices + type: integer + currency: + $ref: "#/components/schemas/Currency" + language: + $ref: "#/components/schemas/Language" + subject: + description: "Issued document subject [not shown on the PDF]" nullable: true - type: boolean - type: - $ref: "#/components/schemas/ReceiptType" - description: - description: Receipt description + type: string + visible_subject: + description: Issued document visible subject nullable: true type: string rc_center: - description: Receipt revenue center + description: "Issued document revenue center [or cost center if type=supplier_order]." nullable: true type: string - created_at: - description: Receipt creation date + notes: + description: Issued document extra notes nullable: true type: string - updated_at: - description: Receipt last update date + rivalsa: + description: Issued document "Rivalsa INPS" percentual value nullable: true - type: string - payment_account: - $ref: "#/components/schemas/PaymentAccount" - items_list: - items: - $ref: "#/components/schemas/ReceiptItemsListItem" + type: number + cassa: + description: Issued document "Cassa previdenziale" percentual value nullable: true - type: array - title: Receipt - type: object - F24: - example: - attachment_token: attachment_token - amount: 300 - payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - due_date: 2018-02-12 - description: description - id: 7 - attachment_url: attachment_url - status: paid - properties: - id: - description: F24 id + type: number + amount_cassa: + description: |- + [Read Only] + Issued document cassa amount. + nullable: true + readOnly: true + type: number + cassa_taxable: + description: Issued document cassa taxable percentage nullable: true - type: integer - due_date: - description: F24 due date - example: 2018-02-12 - format: date + type: number + amount_cassa_taxable: + description: |- + [Can be set only if cassa_taxable is NULL] + Issued document cassa taxable amount nullable: true - type: string - status: - $ref: "#/components/schemas/F24Status" - payment_account: - $ref: "#/components/schemas/PaymentAccount" - amount: - description: F24 amount - example: 300 + type: number + cassa2: + description: Issued document "Cassa previdenziale 2" percentual value nullable: true type: number - attachment_url: + amount_cassa2: description: |- - [Temporary] [Read Only] - F24 url of the attached file + [Read Only] + Issued document cassa2 amount nullable: true readOnly: true - type: string - attachment_token: - description: "[Write Only] \nF24 attachment token returned by POST /taxes/attachment" + type: number + cassa2_taxable: + description: Issued document cassa2 taxable percentage nullable: true - type: string - writeOnly: true - description: - description: F24 description + type: number + amount_cassa2_taxable: + description: |- + [Can be set only if cassa2_taxable is NULL] + Issued document cassa2 taxable amount nullable: true - type: string - title: F24 - type: object - ArchiveDocument: - example: - date: 2000-01-23 - attachment_token: attachment_token - description: description - id: 7 - category: category - attachment_url: attachment_url - properties: - id: - description: Archive document id + type: number + global_cassa_taxable: + description: Issued document global cassa taxable percentage nullable: true - type: integer - date: - description: Archive document date - format: date + type: number + amount_global_cassa_taxable: + description: |- + [Can be set only if global_cassa_taxable is NULL] + Issued document global cassa taxable amount nullable: true - type: string - description: - description: Archive Document description + type: number + withholding_tax: + description: Issued document withholding tax (ritenuta d'acconto) percentual + value nullable: true - type: string - attachment_url: + type: number + withholding_tax_taxable: + description: Issued document withholding tax taxable (imponibile) percentual + value + nullable: true + type: number + other_withholding_tax: + description: Issued document other withholding tax (altra ritenuta) percentual + value + nullable: true + type: number + stamp_duty: description: |- - [Temporary] [Read Only] - Archive Document url of the attached file + Issued document stamp duty value + [0 if not present] nullable: true - readOnly: true - type: string - category: - description: Archive document category + type: number + payment_method: + $ref: "#/components/schemas/PaymentMethod" + use_split_payment: + description: Issued document uses split payment nullable: true - type: string - attachment_token: - description: "[Write Only] \n[Required]\nArchive document attachment token\ - \ returned by POST /archive/attachment" + type: boolean + use_gross_prices: + description: Issued document uses gross prices + nullable: true + type: boolean + e_invoice: + description: Issued document is an e-invoice. + nullable: true + type: boolean + ei_data: + $ref: "#/components/schemas/IssuedDocument_ei_data" + ei_cassa_type: + description: E-invoice cassa type nullable: true type: string - writeOnly: true - title: ArchiveDocument - type: object - CashbookEntry: - example: - date: 2000-01-23 - amount_out: 1.4658129805029452 - amount_in: 6.027456183070403 - entity_name: entity_name - kind: cashbook - payment_account_in: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - payment_account_out: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - document: - path: path - id: 0 - type: type - description: description - id: id - type: in - properties: - id: - description: Cashbook id + ei_cassa2_type: + description: E-invoice cassa2 type nullable: true type: string - date: - description: Cashbook date - format: date + ei_withholding_tax_causal: + description: E-invoice withholding tax causal nullable: true type: string - description: - description: Cashbook description + ei_other_withholding_tax_type: + description: E-invoice other withholding tax type nullable: true type: string - kind: - $ref: "#/components/schemas/CashbookEntryKind" - type: - $ref: "#/components/schemas/CashbookEntryType" - entity_name: - description: Cashbook entity name + ei_other_withholding_tax_causal: + description: E-invoice other withholding tax causal nullable: true type: string - document: - $ref: "#/components/schemas/CashbookEntry_document" - amount_in: - description: |- - [Only for cashbook entry in] - Cashbook total amount in + items_list: + items: + $ref: "#/components/schemas/IssuedDocumentItemsListItem" nullable: true - type: number - payment_account_in: - $ref: "#/components/schemas/PaymentAccount" - amount_out: - description: |- - [Only for cashbook entry out] - Cashbook total amount out + type: array + payments_list: + items: + $ref: "#/components/schemas/IssuedDocumentPaymentsListItem" nullable: true - type: number - payment_account_out: - $ref: "#/components/schemas/PaymentAccount" - title: CashbookEntry - type: object - PaymentMethod: - description: "" - example: - default_payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - name: name - bank_name: bank_name - details: - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - bank_beneficiary: bank_beneficiary - id: 3 - type: standard - is_default: true - ei_payment_method: ei_payment_method - bank_iban: bank_iban - properties: - id: - description: Payment method id + type: array + template: + $ref: "#/components/schemas/DocumentTemplate" + delivery_note_template: + $ref: "#/components/schemas/DocumentTemplate" + acc_inv_template: + $ref: "#/components/schemas/DocumentTemplate" + h_margins: + description: Issued document PDF horizontal margins nullable: true type: integer - name: - description: Payment method name + v_margins: + description: Issued document PDF vertical margins nullable: true - type: string - type: - $ref: "#/components/schemas/PaymentMethodType" - is_default: - description: Payment method is default + type: integer + show_payments: + description: Show the expiration dates of the payments on the document nullable: true type: boolean - default_payment_account: - $ref: "#/components/schemas/PaymentAccount" - details: - description: Payment method details - items: - $ref: "#/components/schemas/PaymentMethodDetails" - maxItems: 5 + show_payment_method: + description: Show the payment method details on the document nullable: true - type: array - bank_iban: - description: Payment method bank iban + type: boolean + show_totals: + $ref: "#/components/schemas/ShowTotalsMode" + show_notification_button: + description: Show notification button in the PDF nullable: true - type: string - bank_name: - description: Payment method bank name + type: boolean + show_tspay_button: + description: Show ts pay button in the PDF nullable: true - type: string - bank_beneficiary: - description: Payment method bank beneficiary + type: boolean + delivery_note: + description: Issued document has delivery note nullable: true - type: string - ei_payment_method: - description: E-invoice payment method + type: boolean + accompanying_invoice: + description: Issued document has an accompanying invoice nullable: true - type: string - title: PaymentMethod - type: object - PaymentAccount: - example: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - nullable: true - properties: - id: - description: Payment account id + type: boolean + dn_number: + description: Issued document attached delivery note number nullable: true type: integer - name: - description: Payment account name - example: Conto Banca Intesa + dn_date: + description: Issued document attached delivery note date + format: date nullable: true type: string - type: - $ref: "#/components/schemas/PaymentAccountType" - iban: - description: Payment account iban + dn_ai_packages_number: + description: Issued document attached delivery note number of packages nullable: true type: string - sia: - description: Payment account sia + dn_ai_weight: + description: Issued document attached delivery note package weight nullable: true type: string - cuc: - description: Payment account cuc + dn_ai_causal: + description: Issued document attached delivery note causal nullable: true type: string - virtual: - description: Payment method is virtual - nullable: true - type: boolean - title: PaymentAccount - type: object - VatType: - example: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - nullable: true - properties: - id: - description: Vat type id - nullable: true - type: integer - value: - description: "[Read Only] Vat type percentual value" - example: 22 + dn_ai_destination: + description: Issued document attached delivery note destination nullable: true - type: number - description: - description: Vat type short description - example: Non imponibile art. 123 + type: string + dn_ai_transporter: + description: Issued document attached delivery note transporter nullable: true type: string - notes: - description: Vat type notes shown in documents - example: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + dn_ai_notes: + description: Issued document attached delivery note notes nullable: true type: string - e_invoice: - description: Vat type is usable for e-invoices + is_marked: + description: Issued document is marked nullable: true type: boolean - ei_type: - description: Vat type e-invoice type (natura) - example: "2" - nullable: true - type: string - ei_description: - description: Vat type e-invoice description + amount_net: + description: |- + [Read only] + Issued document total net amount nullable: true - type: string - editable: + readOnly: true + type: number + amount_vat: description: |- [Read Only] - Is the vat type is editable. + Issued document total vat amount nullable: true readOnly: true - type: boolean - is_disabled: - description: Is the vat type disabled + type: number + amount_gross: + description: |- + [Read Only] + Issued document total gross amount nullable: true - type: boolean - default: - description: If the vat type is default + readOnly: true + type: number + amount_due_discount: + description: Issued document amount due discount nullable: true - type: boolean - title: VatType - type: object - WebhooksSubscription: - example: - types: - - it.fattureincloud.webhooks.issued_documents.invoices.create - - it.fattureincloud.webhooks.issued_documents.invoices.create - sink: sink - verification_method: header - verified: true - id: id - config: - mapping: binary - properties: - id: - description: Webhooks subscription id + type: number + amount_rivalsa: + description: |- + [Read Only] + Issued document rivalsa amount nullable: true - type: string - sink: - description: Webhooks callback uri. + readOnly: true + type: number + amount_rivalsa_taxable: + description: Issued document taxable rivalsa amount nullable: true - type: string - verified: - description: "[Read Only] True if the webhooks subscription has been verified." + type: number + amount_withholding_tax: + description: |- + [Read Only] + Issued document withholding tax amount (ritenuta d'acconto). nullable: true - type: boolean - types: - description: Webhooks events types. - items: - $ref: "#/components/schemas/EventType" + readOnly: true + type: number + amount_withholding_tax_taxable: + description: Issued document taxable withholding tax amount nullable: true - type: array - config: - $ref: "#/components/schemas/WebhooksSubscriptionConfig" - verification_method: - $ref: "#/components/schemas/WebhooksSubscriptionVerificationMethod" - title: WebhooksSubscription - type: object - VerifyWebhooksSubscription: - example: - verification_method: header - id: id - properties: - id: - description: Webhooks subscription id + type: number + amount_other_withholding_tax: + description: |- + [Read Only] + Issued document other withholding tax amount (altra ritenuta) nullable: true - type: string - verification_method: - $ref: "#/components/schemas/WebhooksSubscriptionVerificationMethod" - title: VerifyWebhooksSubscription - type: object - User: - example: - name: Mario Rossi - last_name: Rossi - id: 12345 - first_name: Mario - email: mario.rossi@example.com - hash: 5add29e1234532a1bf2ed7b612043029 - picture: picture.jpg - properties: - id: - description: User id - example: 12345 + readOnly: true + type: number + amount_other_withholding_tax_taxable: + description: Issued document taxable other withholding tax amount nullable: true - type: integer - name: - description: User full name - example: Mario Rossi + type: number + amount_enasarco_taxable: + description: Issued document taxable enasarco amount nullable: true - type: string - first_name: - description: User first name - example: Mario + type: number + extra_data: + $ref: "#/components/schemas/IssuedDocument_extra_data" + seen_date: + description: Issued document seen date + format: date nullable: true type: string - last_name: - description: User last name - example: Rossi + next_due_date: + description: Issued document date of the next not paid payment + format: date nullable: true type: string - email: - description: User email address - example: mario.rossi@example.com + url: + description: |- + [Temporary] [Read Only] + Issued document url of the document PDF file nullable: true type: string - hash: - description: User hash - example: 5add29e1234532a1bf2ed7b612043029 + dn_url: + description: |- + [Temporary] [Read Only] + Issued document url of the attached delivery note PDF file nullable: true type: string - picture: - description: User picture - example: picture.jpg + ai_url: + description: |- + [Temporary] [Read Only] + Issued document url of the accompanying invoice PDF file nullable: true type: string - title: User - type: object - Company: - example: - access_token: fd015011d2dbf8a9d38e810b325b11b56d02e51688e5261a245933b8e677b8b44ff5f0fe5ccaaf1d7157fa13ca72ab62b6183db0667a576a0e19164801c18c4fd81273fc1f95bf460b869015cf99acba - tax_code: tax_code - fic_license_expire: 2000-01-23 - connection_id: 6 - vat_number: vat_number - name: Rossi S.r.l. - id: 12345 - type: company - fic_plan: null - controlled_companies: - - access_token: fd015011d2dbf8a9d38e810b325b11b56d02e51688e5261a245933b8e677b8b44ff5f0fe5ccaaf1d7157fa13ca72ab62b6183db0667a576a0e19164801c18c4fd81273fc1f95bf460b869015cf99acba - tax_code: tax_code - fic_license_expire: 2000-01-23 - connection_id: 0.8008281904610115 - name: Rossi S.r.l. - id: 12345 - type: null - fic_plan: trial - - access_token: fd015011d2dbf8a9d38e810b325b11b56d02e51688e5261a245933b8e677b8b44ff5f0fe5ccaaf1d7157fa13ca72ab62b6183db0667a576a0e19164801c18c4fd81273fc1f95bf460b869015cf99acba - tax_code: tax_code - fic_license_expire: 2000-01-23 - connection_id: 0.8008281904610115 - name: Rossi S.r.l. - id: 12345 - type: null - fic_plan: trial - properties: - id: - description: Company id - example: 12345 - nullable: true - type: integer - name: - description: Company name - example: Rossi S.r.l. + attachment_url: + description: |- + [Temporary] [Read Only] + Issued document url of the attached file nullable: true + readOnly: true type: string - type: - $ref: "#/components/schemas/CompanyType" - access_token: + attachment_token: description: |- - Company authentication token for this company. - [Only if type=company] - example: fd015011d2dbf8a9d38e810b325b11b56d02e51688e5261a245933b8e677b8b44ff5f0fe5ccaaf1d7157fa13ca72ab62b6183db0667a576a0e19164801c18c4fd81273fc1f95bf460b869015cf99acba + [Write Only] + Issued document attachment token returned by POST /issued_documents/attachment nullable: true type: string - controlled_companies: - description: |- - Company list of controlled companies - [Only if type=accountant] - items: - $ref: "#/components/schemas/ControlledCompany" + writeOnly: true + ei_raw: + description: Issued document advanced raw attributes for e-invoices nullable: true - type: array - fic_license_expire: - format: date + type: object + ei_status: + description: | + [Read only] Status of the e-invoice. + * **attempt** - We are trying to send the invoice, please wait up to 2 hours + * **missing** - The invoice is missing + * **not_sent** - The invoice has yet to be sent + * **sent** - The invoice was sent + * **pending** - The checks for the digital signature and sending are in progress + * **processing** - The SDI is delivering the invoice to the customer + * **error** - An error occurred while handling the invoice, please try to resend it or contact support + * **discarded** - The invoice has been rejected by the SDI, so it must be corrected and re-sent + * **not_delivered** - The SDI was unable to deliver the invoice + * **accepted** - The customer accepted the invoice + * **rejected** - The customer rejected the invoice, so it must be corrected + * **no_response** - A response has not yet been received whithin the deadline, contact the customer to ascertain the status of the invoice + * **manual_accepted** - The customer accepted the invoice + * **manual_rejected** - The customer rejected the invoice + enum: + - attempt + - missing + - not_sent + - sent + - pending + - processing + - error + - discarded + - not_delivered + - accepted + - rejected + - no_response + - manual_accepted + - manual_rejected nullable: true type: string - fic_plan: - $ref: "#/components/schemas/FattureInCloudPlanType" - connection_id: - description: Company connection id + price_list_id: + description: Price list id nullable: true - type: integer - tax_code: - description: Company tax code + type: string + locked: + description: Issued Document can't be edited + nullable: true + type: boolean + created_at: + description: Issued document creation date nullable: true type: string - vat_number: - description: Company vat number + updated_at: + description: Issued document last update date nullable: true type: string - title: Company + title: IssuedDocument type: object - CompanyInfo: + IssuedDocumentOptions: example: - fic_plan_name: trial - fic_license_expire: 2000-01-23 - accountant_id: 5 - name: Mario Rossi S.r.l. - is_accountant: true - plan_info: - functions: - smtp: true - recurring: true - ts_invoice_trading: true - archive: true - payment_notifications: true - receipts: true - cerved: true - document_attachments: true - genius: true - ts_digital: true - e_invoice: true - subaccounts: true - ts_pay: true - stock: true - paypal: true - mail_tracking: true - tessera_sanitaria: true - functions_status: - ts_digital: - active: true - ts_pay: - active: true - limits: - clients: 0 - suppliers: 6 - documents: 5 - products: 1 - id: 12345 - access_info: - role: master - through_accountant: true - permissions: - dic_settings: null - fic_import_bankstatements: null - fic_suppliers: null - fic_products: null - fic_taxes: null - fic_export: null - fic_import_clients_suppliers: null - fic_riba: null - fic_emails: null - fic_stock: null - fic_import_issued_documents: null - fic_clients: null - fic_situation: none - fic_calendar: null - fic_issued_documents: null - fic_settings: null - fic_recurring: null - fic_received_documents: null - fic_cashbook: null - fic_archive: null - dic_timesheet: null - dic_employees: null - fic_receipts: null - fic_issued_documents_detailed: - receipts: null - supplier_orders: null - delivery_notes: null - invoices: null - credit_notes: null - proformas: null - orders: null - work_reports: null - self_invoices: null - quotes: null - fic_import_products: null - type: company - email: mario@rossi-example.it + keep_copy: true + transform: true + join_type: join_type + create_from: + - create_from + - create_from + fix_payments: true + properties: + fix_payments: + description: Fixes your last payment amount to match your document total + nullable: true + type: boolean + create_from: + description: "Original documents ids [only for join/transform]" + items: + type: string + nullable: true + type: array + transform: + description: "Tranform a document [only for transform]" + nullable: true + type: boolean + keep_copy: + description: "Keep original document [only for transform]" + nullable: true + type: boolean + join_type: + description: "Join type [only for join]" + nullable: true + type: string + title: IssuedDocumentOptions + type: object + IssuedDocumentTotals: + example: + amount_net: 0.8008281904610115 + taxable_amount_withholding_tax: 3.616076749251911 + amount_cassa: 5.962133916683182 + taxable_amount_other_withholding_tax: 4.145608029883936 + amount_net_with_rivalsa: 1.4658129805029452 + payments_sum: 1.4894159098541704 + amount_rivalsa: 6.027456183070403 + stamp_duty: 1.2315135367772556 + amount_withholding_tax: 2.027123023002322 + vat_list: + key: + amount_net: 6.84685269835264 + amount_vat: 7.457744773683766 + not_taxable_amount: 2.3021358869347655 + amount_vat: 7.061401241503109 + is_enasarco_maximal_exceeded: true + amount_due: 1.0246457001441578 + amount_other_withholding_tax: 7.386281948385884 + taxable_amount: 5.637376656633329 + amount_gross: 9.301444243932576 properties: - id: - description: Company id - example: 12345 + amount_net: + description: Issued document total net amount nullable: true - type: integer - name: - description: Company name - example: Mario Rossi S.r.l. + type: number + amount_rivalsa: + description: Issued document rivalsa amount nullable: true - type: string - email: - description: Company email - example: mario@rossi-example.it + type: number + amount_net_with_rivalsa: + description: Issued document net amount with rivalsa nullable: true - type: string - type: - $ref: "#/components/schemas/CompanyType" - access_info: - $ref: "#/components/schemas/CompanyInfo_access_info" - fic_license_expire: - format: date + type: number + amount_cassa: + description: Issued document cassa amount nullable: true - type: string - fic_plan_name: - $ref: "#/components/schemas/FattureInCloudPlanType" - plan_info: - $ref: "#/components/schemas/CompanyInfo_plan_info" - accountant_id: - description: Company accountant id + type: number + taxable_amount: + description: Issued document taxable amount nullable: true - type: integer - is_accountant: - description: Is the logged account an accountant. + type: number + not_taxable_amount: + description: Issued document not taxable amount + nullable: true + type: number + amount_vat: + description: Issued document total vat amount + nullable: true + type: number + amount_gross: + description: Issued document total gross amount + nullable: true + type: number + taxable_amount_withholding_tax: + description: Issued document Taxable withholding tax amount + nullable: true + type: number + amount_withholding_tax: + description: Issued document withholding tax amount + nullable: true + type: number + taxable_amount_other_withholding_tax: + description: Issued document other withholding tax taxable amount + nullable: true + type: number + amount_other_withholding_tax: + description: Issued document other withholding tax amount + nullable: true + type: number + stamp_duty: + description: "Issued document stamp duty value [0 if not present]." + nullable: true + type: number + amount_due: + description: Issued document total amount due + nullable: true + type: number + is_enasarco_maximal_exceeded: + description: Is enasarco maximal excedeed nullable: true type: boolean - title: CompanyInfo + payments_sum: + description: Issued document payments sum + nullable: true + type: number + vat_list: + additionalProperties: + $ref: "#/components/schemas/VatItem" + title: VatList + type: object + title: IssuedDocumentTotals type: object - Pagination: - description: "" + AttachmentData: + example: + attachment_token: YmMyNWYxYzIwMTU3N2Y4ZGE3ZjZiMzg5OWY0ODNkZDQveXl5LmRvYw + properties: + attachment_token: + description: Uploaded attachment token. + example: YmMyNWYxYzIwMTU3N2Y4ZGE3ZjZiMzg5OWY0ODNkZDQveXl5LmRvYw + nullable: true + type: string + title: AttachmentData + type: object + IssuedDocumentPreCreateInfo: + example: + numerations: + key: null + payment_methods_list: + - default_payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + name: name + bank_name: bank_name + details: + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + bank_beneficiary: bank_beneficiary + id: 3 + type: standard + is_default: true + ei_payment_method: ei_payment_method + bank_iban: bank_iban + - default_payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + name: name + bank_name: bank_name + details: + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + bank_beneficiary: bank_beneficiary + id: 3 + type: standard + is_default: true + ei_payment_method: ei_payment_method + bank_iban: bank_iban + price_lists: + - prices_type: net + valid_to: valid_to + name: "123" + valid_from: valid_from + id: id + is_default: true + type: sell + - prices_type: net + valid_to: valid_to + name: "123" + valid_from: valid_from + id: id + is_default: true + type: sell + items_default_values: + vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + extra_data_default_values: + ts_flag_tipo_spesa: 2 + ts_pagamento_tracciato: true + ts_communication: true + ts_tipo_spesa: ts_tipo_spesa + languages_list: + - code: code + name: name + - code: code + name: name + payment_accounts_list: + - cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + - cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + currencies_list: + - symbol: € + exchange_rate: "1" + html_symbol: EUR + id: EUR + - symbol: € + exchange_rate: "1" + html_symbol: EUR + id: EUR + ai_templates_list: + - supports_custom_taxable: true + can_disable_watermark: true + author: author + name: name + privacy: privacy + id: 2 + type: type + content: content + - supports_custom_taxable: true + can_disable_watermark: true + author: author + name: name + privacy: privacy + id: 2 + type: type + content: content + countries_list: + - countries_list + - countries_list + templates_list: + - supports_custom_taxable: true + can_disable_watermark: true + author: author + name: name + privacy: privacy + id: 2 + type: type + content: content + - supports_custom_taxable: true + can_disable_watermark: true + author: author + name: name + privacy: privacy + id: 2 + type: type + content: content + dn_templates_list: + - supports_custom_taxable: true + can_disable_watermark: true + author: author + name: name + privacy: privacy + id: 2 + type: type + content: content + - supports_custom_taxable: true + can_disable_watermark: true + author: author + name: name + privacy: privacy + id: 2 + type: type + content: content + default_values: + use_gross_prices: true + notes: notes + cassa: 6.027456183070403 + withholding_tax_taxable: 5.962133916683182 + ai_template: + supports_custom_taxable: true + can_disable_watermark: true + author: author + name: name + privacy: privacy + id: 2 + type: type + content: content + rivalsa: 0.8008281904610115 + withholding_tax: 1.4658129805029452 + default_template: + supports_custom_taxable: true + can_disable_watermark: true + author: author + name: name + privacy: privacy + id: 2 + type: type + content: content + dn_template: + supports_custom_taxable: true + can_disable_watermark: true + author: author + name: name + privacy: privacy + id: 2 + type: type + content: content + other_withholding_tax: 5.637376656633329 + payment_method: + default_payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + name: name + bank_name: bank_name + details: + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + bank_beneficiary: bank_beneficiary + id: 3 + type: standard + is_default: true + ei_payment_method: ei_payment_method + bank_iban: bank_iban + dn_numerations: + key: null + vat_types_list: + - ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + - ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 properties: - current_page: - description: Current page number. - nullable: true - type: integer - first_page_url: - description: First page url. - format: uri - nullable: true - type: string - from: - description: First result of the page. - nullable: true - type: integer - last_page: - description: Last page number. - nullable: true - type: integer - last_page_url: - description: Last page url. - format: uri - nullable: true - type: string - next_page_url: - description: Next page url - format: uri - nullable: true - type: string - path: - description: Request path. - format: uri + numerations: + additionalProperties: + $ref: "#/components/schemas/NumerationItem" + title: Numeration + type: object + dn_numerations: + additionalProperties: + $ref: "#/components/schemas/NumerationItem" + title: Numeration + type: object + default_values: + $ref: "#/components/schemas/IssuedDocumentPreCreateInfo_default_values" + extra_data_default_values: + $ref: "#/components/schemas/IssuedDocumentPreCreateInfo_extra_data_default_values" + items_default_values: + $ref: "#/components/schemas/IssuedDocumentPreCreateInfo_items_default_values" + countries_list: + description: Countries list + items: + type: string nullable: true - type: string - per_page: - description: Number of result per page. + type: array + currencies_list: + description: Currencies list + items: + $ref: "#/components/schemas/Currency" nullable: true - type: integer - prev_page_url: - description: Previous page url. - format: uri + type: array + templates_list: + description: Document templates list + items: + $ref: "#/components/schemas/DocumentTemplate" nullable: true - type: string - to: - description: Last result of the page. + type: array + dn_templates_list: + description: Delivery note templates list + items: + $ref: "#/components/schemas/DocumentTemplate" nullable: true - type: integer - total: - description: Total number of results + type: array + ai_templates_list: + description: Accompanying invoice templates list + items: + $ref: "#/components/schemas/DocumentTemplate" nullable: true - type: integer - title: Pagination - type: object - ListClientsResponsePage: - properties: - data: + type: array + payment_methods_list: + description: Payment methods list items: - $ref: "#/components/schemas/Client" + $ref: "#/components/schemas/PaymentMethod" nullable: true type: array - title: ListClientsResponsePage - type: object - ListSuppliersResponsePage: - properties: - data: + payment_accounts_list: + description: Payment accounts list items: - $ref: "#/components/schemas/Supplier" + $ref: "#/components/schemas/PaymentAccount" nullable: true type: array - title: ListSuppliersResponsePage - type: object - ListProductsResponsePage: - properties: - data: + vat_types_list: + description: Vat types list items: - $ref: "#/components/schemas/Product" + $ref: "#/components/schemas/VatType" nullable: true type: array - title: ListProductsResponsePage - type: object - ListIssuedDocumentsResponsePage: - properties: - data: + languages_list: + description: Languages list items: - $ref: "#/components/schemas/IssuedDocument" + $ref: "#/components/schemas/Language" nullable: true type: array - title: ListIssuedDocumentResponsePage + price_lists: + description: Price lists + items: + $ref: "#/components/schemas/PriceList" + type: array + title: IssuedDocumentPreCreateInfo type: object - IssuedDocumentTotals: + EmailData: example: - amount_net: 0.8008281904610115 - taxable_amount_withholding_tax: 3.616076749251911 - amount_cassa: 5.962133916683182 - taxable_amount_other_withholding_tax: 4.145608029883936 - amount_net_with_rivalsa: 1.4658129805029452 - payments_sum: 1.4894159098541704 - amount_rivalsa: 6.027456183070403 - stamp_duty: 1.2315135367772556 - amount_withholding_tax: 2.027123023002322 - vat_list: - key: - amount_net: 6.84685269835264 - amount_vat: 7.457744773683766 - not_taxable_amount: 2.3021358869347655 - amount_vat: 7.061401241503109 - is_enasarco_maximal_exceeded: true - amount_due: 1.0246457001441578 - amount_other_withholding_tax: 7.386281948385884 - taxable_amount: 5.637376656633329 - amount_gross: 9.301444243932576 + delivery_note_exists: true + accompanying_invoice_exists: true + default_attach_pdf: true + default_sender_email: + id: 0 + email: email + sender_emails_list: + - id: 6 + email: email + - id: 6 + email: email + cc_email: cc_email + subject: subject + recipient_email: recipient_email + attachment_exists: true + document_exists: true + body: body properties: - amount_net: - description: Issued document total net amount + recipient_email: + description: Email recipient nullable: true - type: number - amount_rivalsa: - description: Issued document rivalsa amount + type: string + default_sender_email: + $ref: "#/components/schemas/EmailData_default_sender_email" + sender_emails_list: + description: List of all emails from which the document can be sent + items: + $ref: "#/components/schemas/SenderEmail" nullable: true - type: number - amount_net_with_rivalsa: - description: Issued document net amount with rivalsa + type: array + cc_email: + description: "Email cc [by default is the logged company email]" nullable: true - type: number - amount_cassa: - description: Issued document cassa amount + type: string + subject: + description: Email subject nullable: true - type: number - taxable_amount: - description: Issued document taxable amount + type: string + body: + description: Email body nullable: true - type: number - not_taxable_amount: - description: Issued document not taxable amount + type: string + document_exists: + description: Document exists if it is not a delivery note nullable: true - type: number - amount_vat: - description: Issued document total vat amount + type: boolean + delivery_note_exists: + description: Document is a delivery note nullable: true - type: number - amount_gross: - description: Issued document total gross amount + type: boolean + attachment_exists: + description: Document has attachment nullable: true - type: number - taxable_amount_withholding_tax: - description: Issued document Taxable withholding tax amount + type: boolean + accompanying_invoice_exists: + description: Document has accompanying invoice nullable: true - type: number - amount_withholding_tax: - description: Issued document withholding tax amount + type: boolean + default_attach_pdf: + description: Attach document pdf nullable: true - type: number - taxable_amount_other_withholding_tax: - description: Issued document other withholding tax taxable amount + type: boolean + title: EmailData + type: object + EmailSchedule: + example: + include: + attachment: true + document: true + accompanying_invoice: true + delivery_note: true + subject: subject + recipient_email: recipient_email + attach_pdf: true + body: body + send_copy: true + sender_id: 0 + sender_email: sender_email + properties: + sender_id: + description: "Email sender id [required if **sender_email** is not specified]" nullable: true - type: number - amount_other_withholding_tax: - description: Issued document other withholding tax amount + type: integer + sender_email: + description: "Email sender address [required if **sender_id** is not specified]" nullable: true - type: number - stamp_duty: - description: "Issued document stamp duty value [0 if not present]." + type: string + recipient_email: + description: "Email recipient emails [comma separated]" nullable: true - type: number - amount_due: - description: Issued document total amount due + type: string + subject: + description: Email subject nullable: true - type: number - is_enasarco_maximal_exceeded: - description: Is enasarco maximal excedeed + type: string + body: + description: "Email body [HTML Escaped] [max size 50KiB]" + nullable: true + type: string + include: + $ref: "#/components/schemas/EmailSchedule_include" + attach_pdf: + description: Attach the pdf of the document nullable: true type: boolean - payments_sum: - description: Issued document payments sum + send_copy: + description: Send a copy of the email to the **cc_email** specified by **Get + email data** nullable: true - type: number - vat_list: - additionalProperties: - $ref: "#/components/schemas/VatItem" - title: VatList - type: object - title: IssuedDocumentTotals + type: boolean + title: EmailSchedule type: object - AttachmentData: + EInvoiceRejectionReason: example: - attachment_token: YmMyNWYxYzIwMTU3N2Y4ZGE3ZjZiMzg5OWY0ODNkZDQveXl5LmRvYw + date: 2000-01-23T04:56:07.000+00:00 + reason: reason + code: code + solution: solution + ei_status: ei_status properties: - attachment_token: - description: Uploaded attachment token. - example: YmMyNWYxYzIwMTU3N2Y4ZGE3ZjZiMzg5OWY0ODNkZDQveXl5LmRvYw + reason: + description: E-invoice rejection reason nullable: true type: string - title: AttachmentData + ei_status: + description: E-invoice status + nullable: true + type: string + solution: + description: Error solution. + nullable: true + type: string + code: + description: E-invoice rejection error code + nullable: true + type: string + date: + description: E-invoice rejection date + format: date-time + nullable: true + type: string + title: EInvoiceRejectionReason type: object - IssuedDocumentPreCreateInfo: + ListReceivedDocumentsResponsePage: + properties: + data: + items: + $ref: "#/components/schemas/ReceivedDocument" + nullable: true + type: array + title: ListReceivedDocumentsResponsePage + type: object + ReceivedDocument: example: - numerations: - key: null - payment_methods_list: - - default_payment_account: + date: 2000-01-23 + ei_reception_date: ei_reception_date + attachment_preview_url: attachment_preview_url + auto_calculate: true + tax_deductibility: 1.0246457001441578 + description: description + created_at: created_at + is_from_pending_expenses: true + amortization: 1.2315135367772556 + type: expense + payments_list: + - amount: 6.683562403749608 + payment_account: cuc: cuc virtual: true iban: iban @@ -24780,68 +73543,41 @@ components: sia: sia id: 2 type: standard - name: name - bank_name: bank_name - details: - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - bank_beneficiary: bank_beneficiary - id: 3 - type: standard - is_default: true - ei_payment_method: ei_payment_method - bank_iban: bank_iban - - default_payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 + due_date: 2000-01-23 + id: 9 + payment_terms: + days: 8 type: standard - name: name - bank_name: bank_name - details: - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - bank_beneficiary: bank_beneficiary - id: 3 - type: standard - is_default: true - ei_payment_method: ei_payment_method - bank_iban: bank_iban - price_lists: - - prices_type: net - valid_to: valid_to - name: "123" - valid_from: valid_from - id: id - is_default: true - type: sell - - prices_type: net - valid_to: valid_to - name: "123" - valid_from: valid_from - id: id - is_default: true - type: sell - items_default_values: + paid_date: 2000-01-23 + status: status + - amount: 6.683562403749608 + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + due_date: 2000-01-23 + id: 9 + payment_terms: + days: 8 + type: standard + paid_date: 2000-01-23 + status: status + is_detailed: true + next_due_date: 2000-01-23 + rc_center: rc_center + is_marked: true + updated_at: updated_at + amount_vat: 3.616076749251911 + items_list: + - code: code + measure: measure + product_id: 7 + qty: 4.965218492984954 + name: name vat: ei_description: ei_description default: true @@ -24853,85 +73589,84 @@ components: description: Non imponibile art. 123 id: 9 value: 22 - extra_data_default_values: - ts_flag_tipo_spesa: 2 - ts_pagamento_tracciato: true - ts_communication: true - ts_tipo_spesa: ts_tipo_spesa - languages_list: - - code: code - name: name + net_price: 1.1730742509559433 + id: 6 + category: category + stock: 5.025004791520295 + deductibility_vat_percentage: 9.965781217890562 - code: code + measure: measure + product_id: 7 + qty: 4.965218492984954 name: name - payment_accounts_list: - - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - currencies_list: - - symbol: € - exchange_rate: "1" - html_symbol: EUR - id: EUR - - symbol: € + vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + net_price: 1.1730742509559433 + id: 6 + category: category + stock: 5.025004791520295 + deductibility_vat_percentage: 9.965781217890562 + currency: + symbol: € exchange_rate: "1" html_symbol: EUR id: EUR - ai_templates_list: - - name: Light Smoke - id: 123 - type: type - - name: Light Smoke - id: 123 - type: type - countries_list: - - countries_list - - countries_list - templates_list: - - name: Light Smoke - id: 123 - type: type - - name: Light Smoke - id: 123 - type: type - dn_templates_list: - - name: Light Smoke - id: 123 - type: type - - name: Light Smoke - id: 123 - type: type - default_values: - use_gross_prices: true + id: 7 + amount_other_withholding_tax: 4.145608029883936 + locked: true + invoice_number: invoice_number + vat_deductibility: 1.4894159098541704 + attachment_token: attachment_token + amount_net: 9.301444243932576 + attachment_url: attachment_url + amount_withholding_tax: 2.027123023002322 + e_invoice: true + category: category + amount_gross: 7.386281948385884 + entity: + country: Italia + code: "123" notes: notes - cassa: 6.027456183070403 - withholding_tax_taxable: 5.962133916683182 - ai_template: - name: Light Smoke - id: 123 - type: type - rivalsa: 0.8008281904610115 - withholding_tax: 1.4658129805029452 - default_template: - name: Light Smoke - id: 123 - type: type - dn_template: - name: Light Smoke - id: 123 - type: type - other_withholding_tax: 5.637376656633329 - payment_method: + ei_code: ei_code + default_payment_terms_type: standard + vat_number: IT01234567890 + created_at: created_at + type: company + address_extra: address_extra + bank_swift_code: bank_swift_code + default_vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + address_province: BG + updated_at: updated_at + bank_name: bank_name + id: 9 + shipping_address: shipping_address + fax: fax + first_name: first_name + bank_iban: bank_iban + country_iso: Italia + email: mario.rossi@example.it + contact_person: contact_person + address_postal_code: "24010" + default_payment_method: default_payment_account: cuc: cuc virtual: true @@ -24959,181 +73694,324 @@ components: is_default: true ei_payment_method: ei_payment_method bank_iban: bank_iban - dn_numerations: - key: null - vat_types_list: - - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + last_name: last_name + address_city: Bergamo + tax_code: RSSMRA44A12E890Q + intent_declaration_protocol_number: intent_declaration_protocol_number + phone: phone + address_street: "Via dei tigli, 12" e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 + name: Rossi S.r.l. + default_payment_terms: 30 + certified_email: mario.rossi@pec.example.it + has_intent_declaration: true + intent_declaration_protocol_date: 2000-01-23 properties: - numerations: - additionalProperties: - $ref: "#/components/schemas/NumerationItem" - title: Numeration - type: object - dn_numerations: - additionalProperties: - $ref: "#/components/schemas/NumerationItem" - title: Numeration - type: object - default_values: - $ref: "#/components/schemas/IssuedDocumentPreCreateInfo_default_values" - extra_data_default_values: - $ref: "#/components/schemas/IssuedDocumentPreCreateInfo_extra_data_default_values" - items_default_values: - $ref: "#/components/schemas/IssuedDocumentPreCreateInfo_items_default_values" - countries_list: - description: Countries list - items: - type: string + id: + description: Received document id + nullable: true + type: integer + type: + $ref: "#/components/schemas/ReceivedDocumentType" + entity: + $ref: "#/components/schemas/Entity" + date: + description: "Received document date [defaults to today's date]" + format: date + nullable: true + type: string + category: + description: Received document category + nullable: true + type: string + description: + description: Received document description + nullable: true + type: string + amount_net: + description: Received document total net amount + nullable: true + type: number + amount_vat: + description: Received document total vat amount + nullable: true + type: number + amount_withholding_tax: + description: Received document withholding tax amount + nullable: true + type: number + amount_other_withholding_tax: + description: Received document other withholding tax amount + nullable: true + type: number + amount_gross: + description: |- + [Read Only] + Received document total gross amount + nullable: true + readOnly: true + type: number + amortization: + description: Received document amortization value + nullable: true + type: number + rc_center: + description: Received document revenue center + nullable: true + type: string + invoice_number: + description: Received document invoice number nullable: true - type: array - currencies_list: - description: Currencies list - items: - $ref: "#/components/schemas/Currency" + type: string + is_marked: + description: Received document is marked nullable: true - type: array - templates_list: - description: Document templates list - items: - $ref: "#/components/schemas/DocumentTemplate" + type: boolean + is_detailed: + description: Received document has items nullable: true - type: array - dn_templates_list: - description: Delivery note templates list - items: - $ref: "#/components/schemas/DocumentTemplate" + type: boolean + e_invoice: + description: |- + [Read Only] + Received document is an e-invoice nullable: true - type: array - ai_templates_list: - description: Accompanying invoice templates list - items: - $ref: "#/components/schemas/DocumentTemplate" + type: boolean + next_due_date: + description: |- + [Read Only] + Received document date of the next not paid payment + format: date nullable: true - type: array - payment_methods_list: - description: Payment methods list - items: - $ref: "#/components/schemas/PaymentMethod" + readOnly: true + type: string + currency: + $ref: "#/components/schemas/Currency" + tax_deductibility: + description: Received document tax deducibility percentage nullable: true - type: array - payment_accounts_list: - description: Payment accounts list - items: - $ref: "#/components/schemas/PaymentAccount" + type: number + vat_deductibility: + description: Received document vat deducibility percentage nullable: true - type: array - vat_types_list: - description: Vat types list + type: number + items_list: items: - $ref: "#/components/schemas/VatType" + $ref: "#/components/schemas/ReceivedDocumentItemsListItem" nullable: true type: array - languages_list: - description: Languages list + payments_list: items: - $ref: "#/components/schemas/Language" + $ref: "#/components/schemas/ReceivedDocumentPaymentsListItem" nullable: true type: array - price_lists: - description: Price lists + attachment_url: + description: |- + [Temporary] + [Read Only] + Received document url of the attached file + nullable: true + readOnly: true + type: string + attachment_preview_url: + description: |- + [Temporary] + [Read Only] + Received document url of the attachment preview + nullable: true + readOnly: true + type: string + auto_calculate: + description: Received document total items amount and total payments amount + can differ if this field is set to false + nullable: true + type: boolean + attachment_token: + description: |- + [Write Only] + Received document attachment token returned by POST /received_documents/attachment + nullable: true + type: string + locked: + description: Received Document can't be edited + nullable: true + type: boolean + created_at: + description: Received document creation date + nullable: true + type: string + updated_at: + description: Received document last update date + nullable: true + type: string + ei_reception_date: + description: "[Read Only]\nReceived document e-invoice reception date, needs\ + \ fic_view \nfieldset" + nullable: true + readOnly: true + type: string + is_from_pending_expenses: + description: "[Read Only]\nTrue if received document is generated from pending\ + \ expenses, \nneeds fic_view fieldset" + nullable: true + readOnly: true + type: boolean + title: ReceivedDocument + type: object + ListPendingReceivedDocumentsResponsePage: + properties: + data: items: - $ref: "#/components/schemas/PriceList" + $ref: "#/components/schemas/PendingReceivedDocument" + nullable: true type: array - title: IssuedDocumentPreCreateInfo + title: ListPendingReceivedDocumentsResponsePage type: object - EmailData: + PendingReceivedDocument: example: - delivery_note_exists: true - accompanying_invoice_exists: true - default_attach_pdf: true - default_sender_email: - id: 0 - email: email - sender_emails_list: - - id: 6 - email: email - - id: 6 - email: email - cc_email: cc_email + date: 2000-01-23 + amount_net: 4.145608029883936 subject: subject - recipient_email: recipient_email - attachment_exists: true - document_exists: true - body: body + import_error: import_error + type: agyo + attachment_url: attachment_url + payments_list: + - amount: 3.616076749251911 + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + due_date: 2000-01-23 + paid_with_ts_pay: true + payment_terms: + days: 2 + type: standard + paid_date: 2000-01-23 + status: status + - amount: 3.616076749251911 + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + due_date: 2000-01-23 + paid_with_ts_pay: true + payment_terms: + days: 2 + type: standard + paid_date: 2000-01-23 + status: status + extracted_data: + mining: + save_entity: true + emssion_date: 2000-01-23 + filename: filename + cost_center: cost_center + amount_vat: 7.386281948385884 + currency: + symbol: € + exchange_rate: "1" + html_symbol: EUR + id: EUR + id: 7 + supplier_name: supplier_name + category: category + amount_gross: 9.301444243932576 + other_attachments: + - filename: attachment.pdf + attachment: "" + - filename: attachment.pdf + attachment: "" + document_type: expense properties: - recipient_email: - description: Email recipient - nullable: true - type: string - default_sender_email: - $ref: "#/components/schemas/EmailData_default_sender_email" - sender_emails_list: - description: List of all emails from which the document can be sent - items: - $ref: "#/components/schemas/SenderEmail" + id: + description: Pending received document id nullable: true - type: array - cc_email: - description: "Email cc [by default is the logged company email]" + type: integer + date: + description: Pending received document date + format: date nullable: true type: string subject: - description: Email subject + description: Pending received document subject nullable: true type: string - body: - description: Email body + filename: + description: Pending received document filename nullable: true type: string - document_exists: - description: Document exists if it is not a delivery note + type: + $ref: "#/components/schemas/PendingReceivedDocumentType" + attachment_url: + description: |- + [Temporary] + [Read Only] + Pending received document url of the attached file nullable: true - type: boolean - delivery_note_exists: - description: Document is a delivery note + readOnly: true + type: string + amount_gross: + description: |- + [Read Only] + Pending received document total gross amount nullable: true - type: boolean - attachment_exists: - description: Document has attachment + readOnly: true + type: number + currency: + $ref: "#/components/schemas/Currency" + document_type: + $ref: "#/components/schemas/ReceivedDocumentType" + supplier_name: + description: Pending received document supplier name nullable: true - type: boolean - accompanying_invoice_exists: - description: Document has accompanying invoice + type: string + cost_center: + description: Pending received document cost center nullable: true - type: boolean - default_attach_pdf: - description: Attach document pdf + type: string + category: + description: Pending received document category nullable: true - type: boolean - title: EmailData - type: object - ListReceivedDocumentsResponsePage: - properties: - data: + type: string + other_attachments: + description: Pending received document other attachments items: - $ref: "#/components/schemas/ReceivedDocument" + $ref: "#/components/schemas/Attachment" + nullable: true + type: array + emssion_date: + description: Pending received document emission date + format: date + nullable: true + type: string + payments_list: + items: + $ref: "#/components/schemas/PendingReceivedDocumentPaymentsListItem" + nullable: true + type: array + amount_net: + description: Pending received document total net amount + nullable: true + type: number + amount_vat: + description: Pending received document total vat amount + nullable: true + type: number + import_error: + description: Pending received document import error nullable: true - type: array - title: ListReceivedDocumentsResponsePage + type: string + extracted_data: + $ref: "#/components/schemas/PendingReceivedDocument_extracted_data" + title: PendingReceivedDocument type: object ReceivedDocumentTotals: example: @@ -25278,6 +74156,121 @@ components: type: array title: ListReceiptsResponsePage type: object + Receipt: + example: + date: 2000-01-23 + amount_net: 3.616076749251911 + numeration: numeration + description: description + created_at: created_at + type: till_receipt + number: 9.301444243932576 + use_gross_prices: true + rc_center: rc_center + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + updated_at: updated_at + amount_vat: 2.027123023002322 + items_list: + - amount_net: 1.2315135367772556 + vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + id: 7 + category: category + amount_gross: 1.0246457001441578 + - amount_net: 1.2315135367772556 + vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + id: 7 + category: category + amount_gross: 1.0246457001441578 + id: 7 + amount_gross: 4.145608029883936 + properties: + id: + description: Receipt id + nullable: true + type: integer + date: + description: Receipt date + format: date + nullable: true + type: string + number: + description: Receipt number + nullable: true + type: number + numeration: + description: Receipt numeration + nullable: true + type: string + amount_net: + description: Receipt total net amount + nullable: true + type: number + amount_vat: + description: Receipt total vat amount + nullable: true + type: number + amount_gross: + description: Receipt total gross amount + nullable: true + type: number + use_gross_prices: + description: Receipt uses gross prices + nullable: true + type: boolean + type: + $ref: "#/components/schemas/ReceiptType" + description: + description: Receipt description + nullable: true + type: string + rc_center: + description: Receipt revenue center + nullable: true + type: string + created_at: + description: Receipt creation date + nullable: true + type: string + updated_at: + description: Receipt last update date + nullable: true + type: string + payment_account: + $ref: "#/components/schemas/PaymentAccount" + items_list: + items: + $ref: "#/components/schemas/ReceiptItemsListItem" + nullable: true + type: array + title: Receipt + type: object ReceiptPreCreateInfo: example: numerations_list: @@ -25356,58 +74349,256 @@ components: items: type: string nullable: true - type: array - vat_types_list: - description: Vat types list - items: - $ref: "#/components/schemas/VatType" + type: array + vat_types_list: + description: Vat types list + items: + $ref: "#/components/schemas/VatType" + nullable: true + type: array + title: ReceiptPreCreateInfo + type: object + MonthlyTotal: + example: + gross: 6.027456183070403 + count: 1.4658129805029452 + net: 0.8008281904610115 + properties: + net: + description: Monthly total net amount + nullable: true + type: number + gross: + description: Monthly total gross amount + nullable: true + type: number + count: + description: Monthly total receipt number + nullable: true + type: number + title: MonthlyTotal + type: object + ListF24ResponsePage: + properties: + data: + items: + $ref: "#/components/schemas/F24" + nullable: true + type: array + title: ListF24ResponsePage + type: object + ListF24ResponseAggregation: + properties: + aggregated_data: + $ref: "#/components/schemas/ListF24ResponseAggregatedData" + title: ListF24ResponseAggregatedData + type: object + F24: + example: + attachment_token: attachment_token + amount: 300 + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + due_date: 2018-02-12 + description: description + id: 7 + attachment_url: attachment_url + status: paid + properties: + id: + description: F24 id + nullable: true + type: integer + due_date: + description: F24 due date + example: 2018-02-12 + format: date + nullable: true + type: string + status: + $ref: "#/components/schemas/F24Status" + payment_account: + $ref: "#/components/schemas/PaymentAccount" + amount: + description: F24 amount + example: 300 + nullable: true + type: number + attachment_url: + description: |- + [Temporary] [Read Only] + F24 url of the attached file + nullable: true + readOnly: true + type: string + attachment_token: + description: "[Write Only] \nF24 attachment token returned by POST /taxes/attachment" + nullable: true + type: string + writeOnly: true + description: + description: F24 description + nullable: true + type: string + title: F24 + type: object + ListArchiveDocumentsResponsePage: + properties: + data: + items: + $ref: "#/components/schemas/ArchiveDocument" + nullable: true + type: array + title: ListArchiveDocumentsResponsePage + type: object + ArchiveDocument: + example: + date: 2000-01-23 + attachment_token: attachment_token + description: description + id: 7 + category: category + attachment_url: attachment_url + properties: + id: + description: Archive document id + nullable: true + type: integer + date: + description: Archive document date + format: date + nullable: true + type: string + description: + description: Archive Document description + nullable: true + type: string + attachment_url: + description: |- + [Temporary] [Read Only] + Archive Document url of the attached file + nullable: true + readOnly: true + type: string + category: + description: Archive document category + nullable: true + type: string + attachment_token: + description: "[Write Only] \n[Required]\nArchive document attachment token\ + \ returned by POST /archive/attachment" nullable: true - type: array - title: ReceiptPreCreateInfo + type: string + writeOnly: true + title: ArchiveDocument type: object - MonthlyTotal: + CashbookEntry: example: - gross: 6.027456183070403 - count: 1.4658129805029452 - net: 0.8008281904610115 + date: 2000-01-23 + amount_out: 1.4658129805029452 + amount_in: 6.027456183070403 + entity_name: entity_name + kind: cashbook + payment_account_in: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + payment_account_out: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + document: + path: path + id: 0 + type: type + description: description + id: id + type: in properties: - net: - description: Monthly total net amount + id: + description: Cashbook id nullable: true - type: number - gross: - description: Monthly total gross amount + type: string + date: + description: Cashbook date + format: date + nullable: true + type: string + description: + description: Cashbook description + nullable: true + type: string + kind: + $ref: "#/components/schemas/CashbookEntryKind" + type: + $ref: "#/components/schemas/CashbookEntryType" + entity_name: + description: Cashbook entity name + nullable: true + type: string + document: + $ref: "#/components/schemas/CashbookEntry_document" + amount_in: + description: |- + [Only for cashbook entry in] + Cashbook total amount in nullable: true type: number - count: - description: Monthly total receipt number + payment_account_in: + $ref: "#/components/schemas/PaymentAccount" + amount_out: + description: |- + [Only for cashbook entry out] + Cashbook total amount out nullable: true type: number - title: MonthlyTotal + payment_account_out: + $ref: "#/components/schemas/PaymentAccount" + title: CashbookEntry type: object - ListF24ResponsePage: + DetailedCountry: + example: + iso: iso + name: name + settings_name: settings_name + fiscal_iso: fiscal_iso + uic: uic properties: - data: - items: - $ref: "#/components/schemas/F24" + name: + description: Country name nullable: true - type: array - title: ListF24ResponsePage - type: object - ListF24ResponseAggregation: - properties: - aggregated_data: - $ref: "#/components/schemas/ListF24ResponseAggregatedData" - title: ListF24ResponseAggregatedData - type: object - ListArchiveDocumentsResponsePage: - properties: - data: - items: - $ref: "#/components/schemas/ArchiveDocument" + type: string + settings_name: + description: Country settings name nullable: true - type: array - title: ListArchiveDocumentsResponsePage + type: string + iso: + description: Country iso code + nullable: true + type: string + fiscal_iso: + description: Country fiscal iso code + nullable: true + type: string + uic: + description: Country uic + nullable: true + type: string + title: DetailedCountry type: object City: example: @@ -25446,138 +74637,243 @@ components: type: object DocumentTemplate: example: - name: Light Smoke - id: 123 + supports_custom_taxable: true + can_disable_watermark: true + author: author + name: name + privacy: privacy + id: 2 type: type + content: content + properties: + id: + description: Template id + type: integer + privacy: + description: Template privacy + type: string + type: + $ref: "#/components/schemas/TemplateType" + name: + description: Template name + type: string + can_disable_watermark: + description: Can disable watermark + type: boolean + author: + description: Template author + type: string + content: + description: Template definition content + type: string + supports_custom_taxable: + description: Supports custom taxable + type: boolean + title: DocumentTemplate + type: object + Currency: + example: + symbol: € + exchange_rate: "1" + html_symbol: EUR + id: EUR + properties: + id: + description: Currency code + example: EUR + nullable: true + type: string + symbol: + description: Currency symbol + example: € + nullable: true + type: string + exchange_rate: + description: Currency exchange rate (EUR to this) + example: "1" + nullable: true + type: string + html_symbol: + description: Currency html code + example: EUR + nullable: true + type: string + title: Currency + type: object + VatType: + example: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + nullable: true + properties: + id: + description: Vat type id + nullable: true + type: integer + value: + description: "[Read Only] Vat type percentual value" + example: 22 + nullable: true + type: number + description: + description: Vat type short description + example: Non imponibile art. 123 + nullable: true + type: string + notes: + description: Vat type notes shown in documents + example: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + nullable: true + type: string + e_invoice: + description: Vat type is usable for e-invoices + nullable: true + type: boolean + ei_type: + description: Vat type e-invoice type (natura) + example: "2" + nullable: true + type: string + ei_description: + description: Vat type e-invoice description + nullable: true + type: string + editable: + description: |- + [Read Only] + Is the vat type is editable. + nullable: true + readOnly: true + type: boolean + is_disabled: + description: Is the vat type disabled + nullable: true + type: boolean + default: + description: If the vat type is default + nullable: true + type: boolean + title: VatType + type: object + PaymentMethod: + description: "" + example: + default_payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + name: name + bank_name: bank_name + details: + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + bank_beneficiary: bank_beneficiary + id: 3 + type: standard + is_default: true + ei_payment_method: ei_payment_method + bank_iban: bank_iban properties: id: - description: Template id - example: 123 + description: Payment method id nullable: true type: integer name: - description: Template name - example: Light Smoke + description: Payment method name nullable: true type: string type: - description: Template type - nullable: true - type: string - title: DocumentTemplate - type: object - Currency: - example: - symbol: € - exchange_rate: "1" - html_symbol: EUR - id: EUR - properties: - id: - description: Currency code - example: EUR - nullable: true - type: string - symbol: - description: Currency symbol - example: € - nullable: true - type: string - exchange_rate: - description: Currency exchange rate (EUR to this) - example: "1" - nullable: true - type: string - html_symbol: - description: Currency html code - example: EUR + $ref: "#/components/schemas/PaymentMethodType" + is_default: + description: Payment method is default nullable: true - type: string - title: Currency - type: object - EInvoiceRejectionReason: - example: - date: 2000-01-23T04:56:07.000+00:00 - reason: reason - code: code - solution: solution - ei_status: ei_status - properties: - reason: - description: E-invoice rejection reason + type: boolean + default_payment_account: + $ref: "#/components/schemas/PaymentAccount" + details: + description: Payment method details + items: + $ref: "#/components/schemas/PaymentMethodDetails" + maxItems: 5 nullable: true - type: string - ei_status: - description: E-invoice status + type: array + bank_iban: + description: Payment method bank iban nullable: true type: string - solution: - description: Error solution. + bank_name: + description: Payment method bank name nullable: true type: string - code: - description: E-invoice rejection error code + bank_beneficiary: + description: Payment method bank beneficiary nullable: true type: string - date: - description: E-invoice rejection date - format: date-time + ei_payment_method: + description: E-invoice payment method nullable: true type: string - title: EInvoiceRejectionReason + title: PaymentMethod type: object - DetailedCountry: + PaymentAccount: example: - iso: iso - name: name - settings_name: settings_name - fiscal_iso: fiscal_iso - uic: uic + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + nullable: true properties: - name: - description: Country name + id: + description: Payment account id nullable: true - type: string - settings_name: - description: Country settings name + type: integer + name: + description: Payment account name + example: Conto Banca Intesa nullable: true type: string - iso: - description: Country iso code + type: + $ref: "#/components/schemas/PaymentAccountType" + iban: + description: Payment account iban nullable: true type: string - fiscal_iso: - description: Country fiscal iso code + sia: + description: Payment account sia nullable: true type: string - uic: - description: Country uic + cuc: + description: Payment account cuc nullable: true type: string - title: DetailedCountry - type: object - ListEmailsResponsePage: - properties: - data: - items: - $ref: "#/components/schemas/Email" - type: array - title: ListEmailsResponsePage - type: object - CompanyPlanUsage: - example: - usage: 6.027456183070403 - limit: 0.8008281904610115 - properties: - limit: - description: Plan limit - nullable: true - type: number - usage: - description: Plan usage + virtual: + description: Payment method is virtual nullable: true - type: number - title: CompanyPlanUsage + type: boolean + title: PaymentAccount type: object TaxProfile: example: @@ -25681,217 +74977,291 @@ components: description: The enasarco type nullable: true type: string - contributions_percentage: - description: The contributions percentage + contributions_percentage: + description: The contributions percentage + nullable: true + type: number + profit_coefficient: + description: The profit coefficient + nullable: true + type: number + med: + description: If the health card system is active + nullable: true + type: boolean + default_vat: + $ref: "#/components/schemas/VatType" + title: TaxProfile + type: object + ListEmailsResponsePage: + properties: + data: + items: + $ref: "#/components/schemas/Email" + type: array + title: ListEmailsResponsePage + type: object + WebhooksSubscription: + example: + types: + - it.fattureincloud.webhooks.issued_documents.invoices.create + - it.fattureincloud.webhooks.issued_documents.invoices.create + sink: sink + verification_method: header + verified: true + id: id + config: + mapping: binary + properties: + id: + description: Webhooks subscription id + nullable: true + type: string + sink: + description: Webhooks callback uri. + nullable: true + type: string + verified: + description: "[Read Only] True if the webhooks subscription has been verified." + nullable: true + type: boolean + types: + description: Webhooks events types. + items: + $ref: "#/components/schemas/EventType" + nullable: true + type: array + config: + $ref: "#/components/schemas/WebhooksSubscriptionConfig" + verification_method: + $ref: "#/components/schemas/WebhooksSubscriptionVerificationMethod" + title: WebhooksSubscription + type: object + VerifyWebhooksSubscription: + example: + verification_method: header + id: id + properties: + id: + description: Webhooks subscription id + nullable: true + type: string + verification_method: + $ref: "#/components/schemas/WebhooksSubscriptionVerificationMethod" + title: VerifyWebhooksSubscription + type: object + PriceList: + example: + prices_type: net + valid_to: valid_to + name: "123" + valid_from: valid_from + id: id + is_default: true + type: sell + properties: + id: + description: Price list id + nullable: true + type: string + name: + description: Price list name + example: "123" + nullable: true + type: string + prices_type: + $ref: "#/components/schemas/PriceListPricesType" + is_default: + description: This entity is default nullable: true - type: number - profit_coefficient: - description: The profit coefficient + type: boolean + valid_from: + description: Price list validity start date nullable: true - type: number - med: - description: If the health card system is active + type: string + valid_to: + description: Price list validity end date nullable: true - type: boolean - default_vat: - $ref: "#/components/schemas/VatType" - title: TaxProfile + type: string + type: + $ref: "#/components/schemas/PriceListType" + title: PriceList type: object - EntityClientPreCreateInfo: + PriceListItemsList: + additionalProperties: + $ref: "#/components/schemas/PriceListItem" + title: PriceListItemsList + type: object + CompanyType: + description: Company type + enum: + - company + - accountant + title: CompanyType + type: string + ControlledCompany: example: - payment_methods_list: - - default_payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - name: name - bank_name: bank_name - details: - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - bank_beneficiary: bank_beneficiary - id: 3 - type: standard - is_default: true - ei_payment_method: ei_payment_method - bank_iban: bank_iban - - default_payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - name: name - bank_name: bank_name - details: - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - bank_beneficiary: bank_beneficiary - id: 3 - type: standard - is_default: true - ei_payment_method: ei_payment_method - bank_iban: bank_iban - price_lists: - - prices_type: net - valid_to: valid_to - name: "123" - valid_from: valid_from - id: id - is_default: true - type: sell - - prices_type: net - valid_to: valid_to - name: "123" - valid_from: valid_from - id: id - is_default: true - type: sell - usage: 6.027456183070403 - payment_accounts_list: - - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - limit: 0.8008281904610115 - vat_types_list: - - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - countries_list: - - countries_list - - countries_list + access_token: fd015011d2dbf8a9d38e810b325b11b56d02e51688e5261a245933b8e677b8b44ff5f0fe5ccaaf1d7157fa13ca72ab62b6183db0667a576a0e19164801c18c4fd81273fc1f95bf460b869015cf99acba + tax_code: tax_code + fic_license_expire: 2000-01-23 + connection_id: 0.8008281904610115 + name: Rossi S.r.l. + id: 12345 + type: null + fic_plan: trial properties: - countries_list: - description: Countries list - items: - type: string - nullable: true - type: array - payment_methods_list: - description: Entity payment methods list - items: - $ref: "#/components/schemas/PaymentMethod" + id: + description: Controlled company id + example: 12345 nullable: true - type: array - payment_accounts_list: - description: Entity payment accounts list - items: - $ref: "#/components/schemas/PaymentAccount" + type: integer + name: + description: Controlled company id + example: Rossi S.r.l. nullable: true - type: array - vat_types_list: - description: Vat types list - items: - $ref: "#/components/schemas/VatType" + type: string + type: + $ref: "#/components/schemas/CompanyType" + access_token: + description: |- + Controlled company access token + Only if type=company] + example: fd015011d2dbf8a9d38e810b325b11b56d02e51688e5261a245933b8e677b8b44ff5f0fe5ccaaf1d7157fa13ca72ab62b6183db0667a576a0e19164801c18c4fd81273fc1f95bf460b869015cf99acba nullable: true - type: array - price_lists: - description: Entity price lists - items: - $ref: "#/components/schemas/PriceList" + type: string + fic_license_expire: + format: date nullable: true - type: array - limit: - description: Entity limit + type: string + fic_plan: + $ref: "#/components/schemas/FattureInCloudPlanType" + connection_id: + description: Controlled company connection id nullable: true type: number - usage: - description: Entity usage + tax_code: + description: Controlled company tax code nullable: true - type: number - title: EntityClientPreCreateInfo + type: string + title: Controlled Company + type: object + FattureInCloudPlanType: + description: Fatture in Cloud account plan type. + enum: + - trial + - standard + - premium + - premium_plus + - complete + title: FattureInCloudPlanType + type: string + UserCompanyRole: + description: User company role + enum: + - master + - subaccount + - employee + title: UserCompanyRole + type: string + Permissions: + description: "" + example: + dic_settings: null + fic_import_bankstatements: null + fic_suppliers: null + fic_products: null + fic_taxes: null + fic_export: null + fic_import_clients_suppliers: null + fic_riba: null + fic_emails: null + fic_stock: null + fic_import_issued_documents: null + fic_clients: null + fic_situation: none + fic_calendar: null + fic_issued_documents: null + fic_settings: null + fic_recurring: null + fic_received_documents: null + fic_cashbook: null + fic_archive: null + dic_timesheet: null + dic_employees: null + fic_receipts: null + fic_issued_documents_detailed: + receipts: null + supplier_orders: null + delivery_notes: null + invoices: null + credit_notes: null + proformas: null + orders: null + work_reports: null + self_invoices: null + quotes: null + fic_import_products: null + properties: + fic_situation: + $ref: "#/components/schemas/PermissionLevel" + fic_clients: + $ref: "#/components/schemas/PermissionLevel" + fic_suppliers: + $ref: "#/components/schemas/PermissionLevel" + fic_products: + $ref: "#/components/schemas/PermissionLevel" + fic_issued_documents: + $ref: "#/components/schemas/PermissionLevel" + fic_received_documents: + $ref: "#/components/schemas/PermissionLevel" + fic_receipts: + $ref: "#/components/schemas/PermissionLevel" + fic_calendar: + $ref: "#/components/schemas/PermissionLevel" + fic_archive: + $ref: "#/components/schemas/PermissionLevel" + fic_taxes: + $ref: "#/components/schemas/PermissionLevel" + fic_stock: + $ref: "#/components/schemas/PermissionLevel" + fic_cashbook: + $ref: "#/components/schemas/PermissionLevel" + fic_settings: + $ref: "#/components/schemas/PermissionLevel" + fic_emails: + $ref: "#/components/schemas/PermissionLevel" + fic_export: + $ref: "#/components/schemas/PermissionLevel" + fic_import_bankstatements: + $ref: "#/components/schemas/PermissionLevel" + fic_import_clients_suppliers: + $ref: "#/components/schemas/PermissionLevel" + fic_import_issued_documents: + $ref: "#/components/schemas/PermissionLevel" + fic_import_products: + $ref: "#/components/schemas/PermissionLevel" + fic_recurring: + $ref: "#/components/schemas/PermissionLevel" + fic_riba: + $ref: "#/components/schemas/PermissionLevel" + dic_employees: + $ref: "#/components/schemas/PermissionLevel" + dic_settings: + $ref: "#/components/schemas/PermissionLevel" + dic_timesheet: + $ref: "#/components/schemas/PermissionLevel" + fic_issued_documents_detailed: + $ref: "#/components/schemas/Permissions_fic_issued_documents_detailed" + title: Permissions type: object - PriceList: + FunctionStatus: example: - prices_type: net - valid_to: valid_to - name: "123" - valid_from: valid_from - id: id - is_default: true - type: sell + active: true properties: - id: - description: Price list id - nullable: true - type: string - name: - description: Price list name - example: "123" - nullable: true - type: string - prices_type: - $ref: "#/components/schemas/PriceListPricesType" - is_default: - description: This entity is default + active: nullable: true type: boolean - valid_from: - description: Price list validity start date - nullable: true - type: string - valid_to: - description: Price list validity end date - nullable: true - type: string - type: - $ref: "#/components/schemas/PriceListType" - title: PriceList - type: object - PriceListItemsList: - additionalProperties: - $ref: "#/components/schemas/PriceListItem" - title: PriceListItemsList + title: FunctionStatus type: object ClientType: description: Client type @@ -26326,568 +75696,307 @@ components: type: standard ei_raw: "{}" due_date: 2018-04-03 - id: 6 - payment_terms: - days: 1 - type: null - paid_date: 2018-04-03 - status: not_paid - properties: - id: - description: Issued document payment item id - nullable: true - type: integer - due_date: - description: Issued document payment due date - example: 2018-04-03 - format: date - nullable: true - type: string - amount: - description: Issued document payment amount - example: 1.45 - nullable: true - type: number - status: - $ref: "#/components/schemas/IssuedDocumentStatus" - payment_account: - $ref: "#/components/schemas/PaymentAccount" - paid_date: - description: |- - Issued document payment date - [Only if status is paid] - example: 2018-04-03 - format: date - nullable: true - type: string - ei_raw: - description: Issued document payment advanced raw attributes for e-invoices - nullable: true - type: object - payment_terms: - $ref: "#/components/schemas/IssuedDocumentPaymentsListItem_payment_terms" - title: IssuedDocumentPaymentsListItem - type: object - ShowTotalsMode: - default: all - description: Show totals mode - enum: - - none - - nets - - all - title: ShowTotalsMode - type: string - ReceivedDocumentType: - default: expense - description: Received document type - enum: - - expense - - passive_credit_note - - passive_delivery_note - - self_invoice - title: ReceivedDocumentType - type: string - ReceivedDocumentItemsListItem: - example: - code: code - measure: measure - product_id: 7 - qty: 4.965218492984954 - name: name - vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - net_price: 1.1730742509559433 - id: 6 - category: category - stock: 5.025004791520295 - properties: - id: - description: Received document item id - nullable: true - type: integer - product_id: - description: Received document product id - nullable: true - type: integer - code: - description: Received document item product code - nullable: true - type: string - name: - description: Received document item product name - nullable: true - type: string - measure: - description: Received document item measure - nullable: true - type: string - net_price: - description: Received document item product net price - nullable: true - type: number - category: - description: Received document item product category - nullable: true - type: string - qty: - description: Received document item quantity - nullable: true - type: number - vat: - $ref: "#/components/schemas/VatType" - stock: - description: Received document item product number of items in stock - nullable: true - type: number - title: ReceivedDocumentItemsListItem - type: object - ReceivedDocumentPaymentsListItem: - example: - amount: 9.369310271410669 - payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - due_date: 2000-01-23 - id: 9 - payment_terms: - days: 6 - type: standard - paid_date: 2000-01-23 - status: status + id: 6 + payment_terms: + days: 1 + type: null + paid_date: 2018-04-03 + status: not_paid properties: id: - description: Received document payment id + description: Issued document payment item id nullable: true type: integer - amount: - description: Received document payment total amount - nullable: true - type: number due_date: - description: Due date + description: Issued document payment due date + example: 2018-04-03 format: date nullable: true type: string + amount: + description: Issued document payment amount + example: 1.45 + nullable: true + type: number + status: + $ref: "#/components/schemas/IssuedDocumentStatus" + payment_account: + $ref: "#/components/schemas/PaymentAccount" paid_date: - description: Received document payment paid date + description: |- + Issued document payment date + [Only if status is paid] + example: 2018-04-03 format: date nullable: true type: string - payment_terms: - $ref: "#/components/schemas/ReceivedDocumentPaymentsListItem_payment_terms" - status: - description: Received document payment status + ei_raw: + description: Issued document payment advanced raw attributes for e-invoices nullable: true - type: string - payment_account: - $ref: "#/components/schemas/PaymentAccount" - title: ReceivedDocumentPaymentsListItem + type: object + payment_terms: + $ref: "#/components/schemas/IssuedDocumentPaymentsListItem_payment_terms" + title: IssuedDocumentPaymentsListItem type: object - ReceiptType: - description: Receipt type + ShowTotalsMode: + default: all + description: Show totals mode enum: - - till_receipt - - sales_receipt - title: ReceiptType + - none + - nets + - all + title: ShowTotalsMode type: string - ReceiptItemsListItem: + VatList: + additionalProperties: + $ref: "#/components/schemas/VatItem" + title: VatList + type: object + Numeration: + additionalProperties: + $ref: "#/components/schemas/NumerationItem" + title: Numeration + type: object + SenderEmail: example: - amount_net: 1.2315135367772556 - vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - id: 7 - category: category - amount_gross: 1.0246457001441578 + id: 6 + email: email properties: id: - description: Receipt item id + description: Sender email id nullable: true type: integer - amount_net: - description: Receipt item total net amount - nullable: true - type: number - amount_gross: - description: Receipt item total gross amount - nullable: true - type: number - category: - description: Receipt item category - nullable: true - type: string - vat: - $ref: "#/components/schemas/VatType" - title: ReceiptItemsListItem - type: object - F24Status: - description: F24 status - enum: - - paid - - not_paid - - reversed - title: F24Status - type: string - CashbookEntryKind: - description: Cashbook kind - enum: - - cashbook - - issued_document - - received_document - - tax - - receipt - title: CashbookEntryKind - type: string - CashbookEntryType: - description: Cashbook type - enum: - - in - - out - nullable: true - title: CashbookEntryType - type: string - PaymentMethodType: - default: standard - description: Payment method type - enum: - - standard - - riba - title: PaymentMethodType - type: string - PaymentMethodDetails: - example: - description: description - title: title - properties: - title: - description: Payment method details title - nullable: true - type: string - description: - description: Payment method details description + email: + description: Sender email address nullable: true - type: string - title: PaymentMethodDetails - type: object - PaymentAccountType: - default: standard - description: Payment account type - enum: - - standard - - bank - title: PaymentAccountType - type: string - EventType: - description: Webhooks event type - enum: - - it.fattureincloud.webhooks.issued_documents.invoices.create - - it.fattureincloud.webhooks.issued_documents.invoices.update - - it.fattureincloud.webhooks.issued_documents.invoices.delete - - it.fattureincloud.webhooks.issued_documents.quotes.create - - it.fattureincloud.webhooks.issued_documents.quotes.update - - it.fattureincloud.webhooks.issued_documents.quotes.delete - - it.fattureincloud.webhooks.issued_documents.proformas.create - - it.fattureincloud.webhooks.issued_documents.proformas.update - - it.fattureincloud.webhooks.issued_documents.proformas.delete - - it.fattureincloud.webhooks.issued_documents.receipts.create - - it.fattureincloud.webhooks.issued_documents.receipts.update - - it.fattureincloud.webhooks.issued_documents.receipts.delete - - it.fattureincloud.webhooks.issued_documents.delivery_notes.create - - it.fattureincloud.webhooks.issued_documents.delivery_notes.update - - it.fattureincloud.webhooks.issued_documents.delivery_notes.delete - - it.fattureincloud.webhooks.issued_documents.credit_notes.create - - it.fattureincloud.webhooks.issued_documents.credit_notes.update - - it.fattureincloud.webhooks.issued_documents.credit_notes.delete - - it.fattureincloud.webhooks.issued_documents.orders.create - - it.fattureincloud.webhooks.issued_documents.orders.update - - it.fattureincloud.webhooks.issued_documents.orders.delete - - it.fattureincloud.webhooks.issued_documents.work_reports.create - - it.fattureincloud.webhooks.issued_documents.work_reports.update - - it.fattureincloud.webhooks.issued_documents.work_reports.delete - - it.fattureincloud.webhooks.issued_documents.supplier_orders.create - - it.fattureincloud.webhooks.issued_documents.supplier_orders.update - - it.fattureincloud.webhooks.issued_documents.supplier_orders.delete - - it.fattureincloud.webhooks.issued_documents.self_invoices.create - - it.fattureincloud.webhooks.issued_documents.self_invoices.update - - it.fattureincloud.webhooks.issued_documents.self_invoices.delete - - it.fattureincloud.webhooks.issued_documents.all.create - - it.fattureincloud.webhooks.issued_documents.all.update - - it.fattureincloud.webhooks.issued_documents.all.delete - - it.fattureincloud.webhooks.received_documents.create - - it.fattureincloud.webhooks.received_documents.update - - it.fattureincloud.webhooks.received_documents.delete - - it.fattureincloud.webhooks.receipts.create - - it.fattureincloud.webhooks.receipts.update - - it.fattureincloud.webhooks.receipts.delete - - it.fattureincloud.webhooks.taxes.create - - it.fattureincloud.webhooks.taxes.update - - it.fattureincloud.webhooks.taxes.delete - - it.fattureincloud.webhooks.archive_documents.create - - it.fattureincloud.webhooks.archive_documents.update - - it.fattureincloud.webhooks.archive_documents.delete - - it.fattureincloud.webhooks.cashbook.create - - it.fattureincloud.webhooks.cashbook.update - - it.fattureincloud.webhooks.cashbook.delete - - it.fattureincloud.webhooks.products.create - - it.fattureincloud.webhooks.products.update - - it.fattureincloud.webhooks.products.delete - - it.fattureincloud.webhooks.products.stock_update - - it.fattureincloud.webhooks.entities.clients.create - - it.fattureincloud.webhooks.entities.clients.update - - it.fattureincloud.webhooks.entities.clients.delete - - it.fattureincloud.webhooks.entities.suppliers.create - - it.fattureincloud.webhooks.entities.suppliers.update - - it.fattureincloud.webhooks.entities.suppliers.delete - - it.fattureincloud.webhooks.entities.all.create - - it.fattureincloud.webhooks.entities.all.update - - it.fattureincloud.webhooks.entities.all.delete - - it.fattureincloud.webhooks.issued_documents.e_invoices.status_update - - it.fattureincloud.webhooks.received_documents.e_invoices.receive - - it.fattureincloud.webhooks.issued_documents.invoices.email_sent - - it.fattureincloud.webhooks.issued_documents.quotes.email_sent - - it.fattureincloud.webhooks.issued_documents.proformas.email_sent - - it.fattureincloud.webhooks.issued_documents.receipts.email_sent - - it.fattureincloud.webhooks.issued_documents.delivery_notes.email_sent - - it.fattureincloud.webhooks.issued_documents.credit_notes.email_sent - - it.fattureincloud.webhooks.issued_documents.orders.email_sent - - it.fattureincloud.webhooks.issued_documents.work_reports.email_sent - - it.fattureincloud.webhooks.issued_documents.supplier_orders.email_sent - - it.fattureincloud.webhooks.issued_documents.self_invoices.email_sent - - it.fattureincloud.webhooks.issued_documents.all.email_sent - title: EventType - type: string - WebhooksSubscriptionConfig: - example: - mapping: binary - properties: - mapping: - $ref: "#/components/schemas/WebhooksSubscriptionMapping" - title: WebhooksSubscriptionConfig - type: object - WebhooksSubscriptionVerificationMethod: - description: Webhooks Subscription verification method - enum: - - header - - query - title: WebhooksSubscriptionVerificationMethod - type: string - CompanyType: - description: Company type + type: string + title: SenderEmail + type: object + ReceivedDocumentType: + default: expense + description: Received document type enum: - - company - - accountant - title: CompanyType + - expense + - passive_credit_note + - passive_delivery_note + - self_invoice + title: ReceivedDocumentType type: string - ControlledCompany: + ReceivedDocumentItemsListItem: example: - access_token: fd015011d2dbf8a9d38e810b325b11b56d02e51688e5261a245933b8e677b8b44ff5f0fe5ccaaf1d7157fa13ca72ab62b6183db0667a576a0e19164801c18c4fd81273fc1f95bf460b869015cf99acba - tax_code: tax_code - fic_license_expire: 2000-01-23 - connection_id: 0.8008281904610115 - name: Rossi S.r.l. - id: 12345 - type: null - fic_plan: trial + code: code + measure: measure + product_id: 7 + qty: 4.965218492984954 + name: name + vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + net_price: 1.1730742509559433 + id: 6 + category: category + stock: 5.025004791520295 + deductibility_vat_percentage: 9.965781217890562 properties: id: - description: Controlled company id - example: 12345 + description: Received document item id nullable: true type: integer - name: - description: Controlled company id - example: Rossi S.r.l. + product_id: + description: Received document product id + nullable: true + type: integer + code: + description: Received document item product code nullable: true type: string - type: - $ref: "#/components/schemas/CompanyType" - access_token: - description: |- - Controlled company access token - Only if type=company] - example: fd015011d2dbf8a9d38e810b325b11b56d02e51688e5261a245933b8e677b8b44ff5f0fe5ccaaf1d7157fa13ca72ab62b6183db0667a576a0e19164801c18c4fd81273fc1f95bf460b869015cf99acba + name: + description: Received document item product name nullable: true type: string - fic_license_expire: - format: date + measure: + description: Received document item measure nullable: true type: string - fic_plan: - $ref: "#/components/schemas/FattureInCloudPlanType" - connection_id: - description: Controlled company connection id + net_price: + description: Received document item product net price nullable: true type: number - tax_code: - description: Controlled company tax code + category: + description: Received document item product category nullable: true type: string - title: Controlled Company + qty: + description: Received document item quantity + nullable: true + type: number + vat: + $ref: "#/components/schemas/VatType" + stock: + description: Received document item product number of items in stock + nullable: true + type: number + deductibility_vat_percentage: + description: Received document item deductibility vat percentage + nullable: true + type: number + title: ReceivedDocumentItemsListItem type: object - FattureInCloudPlanType: - description: Fatture in Cloud account plan type. - enum: - - trial - - standard - - premium - - premium_plus - - complete - title: FattureInCloudPlanType - type: string - UserCompanyRole: - description: User company role - enum: - - master - - subaccount - - employee - title: UserCompanyRole - type: string - Permissions: - description: "" + ReceivedDocumentPaymentsListItem: example: - dic_settings: null - fic_import_bankstatements: null - fic_suppliers: null - fic_products: null - fic_taxes: null - fic_export: null - fic_import_clients_suppliers: null - fic_riba: null - fic_emails: null - fic_stock: null - fic_import_issued_documents: null - fic_clients: null - fic_situation: none - fic_calendar: null - fic_issued_documents: null - fic_settings: null - fic_recurring: null - fic_received_documents: null - fic_cashbook: null - fic_archive: null - dic_timesheet: null - dic_employees: null - fic_receipts: null - fic_issued_documents_detailed: - receipts: null - supplier_orders: null - delivery_notes: null - invoices: null - credit_notes: null - proformas: null - orders: null - work_reports: null - self_invoices: null - quotes: null - fic_import_products: null + amount: 6.683562403749608 + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + due_date: 2000-01-23 + id: 9 + payment_terms: + days: 8 + type: standard + paid_date: 2000-01-23 + status: status properties: - fic_situation: - $ref: "#/components/schemas/PermissionLevel" - fic_clients: - $ref: "#/components/schemas/PermissionLevel" - fic_suppliers: - $ref: "#/components/schemas/PermissionLevel" - fic_products: - $ref: "#/components/schemas/PermissionLevel" - fic_issued_documents: - $ref: "#/components/schemas/PermissionLevel" - fic_received_documents: - $ref: "#/components/schemas/PermissionLevel" - fic_receipts: - $ref: "#/components/schemas/PermissionLevel" - fic_calendar: - $ref: "#/components/schemas/PermissionLevel" - fic_archive: - $ref: "#/components/schemas/PermissionLevel" - fic_taxes: - $ref: "#/components/schemas/PermissionLevel" - fic_stock: - $ref: "#/components/schemas/PermissionLevel" - fic_cashbook: - $ref: "#/components/schemas/PermissionLevel" - fic_settings: - $ref: "#/components/schemas/PermissionLevel" - fic_emails: - $ref: "#/components/schemas/PermissionLevel" - fic_export: - $ref: "#/components/schemas/PermissionLevel" - fic_import_bankstatements: - $ref: "#/components/schemas/PermissionLevel" - fic_import_clients_suppliers: - $ref: "#/components/schemas/PermissionLevel" - fic_import_issued_documents: - $ref: "#/components/schemas/PermissionLevel" - fic_import_products: - $ref: "#/components/schemas/PermissionLevel" - fic_recurring: - $ref: "#/components/schemas/PermissionLevel" - fic_riba: - $ref: "#/components/schemas/PermissionLevel" - dic_employees: - $ref: "#/components/schemas/PermissionLevel" - dic_settings: - $ref: "#/components/schemas/PermissionLevel" - dic_timesheet: - $ref: "#/components/schemas/PermissionLevel" - fic_issued_documents_detailed: - $ref: "#/components/schemas/Permissions_fic_issued_documents_detailed" - title: Permissions + id: + description: Received document payment id + nullable: true + type: integer + amount: + description: Received document payment total amount + nullable: true + type: number + due_date: + description: Due date + format: date + nullable: true + type: string + paid_date: + description: Received document payment paid date + format: date + nullable: true + type: string + payment_terms: + $ref: "#/components/schemas/ReceivedDocumentPaymentsListItem_payment_terms" + status: + description: Received document payment status + nullable: true + type: string + payment_account: + $ref: "#/components/schemas/PaymentAccount" + title: ReceivedDocumentPaymentsListItem type: object - FunctionStatus: + PendingReceivedDocumentType: + default: agyo + description: Pending received document type + enum: + - agyo + - mail + - browser + title: PendingReceivedDocumentType + type: string + PendingReceivedDocumentPaymentsListItem: example: - active: true + amount: 3.616076749251911 + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + due_date: 2000-01-23 + paid_with_ts_pay: true + payment_terms: + days: 2 + type: standard + paid_date: 2000-01-23 + status: status properties: - active: + amount: + description: Pending received document payment total amount + nullable: true + type: number + due_date: + description: Due date + format: date + nullable: true + type: string + paid_date: + description: Pending received document payment paid date + format: date + nullable: true + type: string + payment_terms: + $ref: "#/components/schemas/PendingReceivedDocumentPaymentsListItem_payment_terms" + status: + description: Pending received document payment status + nullable: true + type: string + paid_with_ts_pay: + description: True if paid with TS Pay nullable: true type: boolean - title: FunctionStatus - type: object - VatList: - additionalProperties: - $ref: "#/components/schemas/VatItem" - title: VatList - type: object - Numeration: - additionalProperties: - $ref: "#/components/schemas/NumerationItem" - title: Numeration + payment_account: + $ref: "#/components/schemas/PaymentAccount" + title: PendingReceivedDocumentPaymentsListItem type: object - SenderEmail: + ReceiptType: + description: Receipt type + enum: + - till_receipt + - sales_receipt + title: ReceiptType + type: string + ReceiptItemsListItem: example: - id: 6 - email: email + amount_net: 1.2315135367772556 + vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + id: 7 + category: category + amount_gross: 1.0246457001441578 properties: id: - description: Sender email id + description: Receipt item id nullable: true type: integer - email: - description: Sender email address + amount_net: + description: Receipt item total net amount + nullable: true + type: number + amount_gross: + description: Receipt item total gross amount + nullable: true + type: number + category: + description: Receipt item category nullable: true type: string - title: SenderEmail + vat: + $ref: "#/components/schemas/VatType" + title: ReceiptItemsListItem type: object ListF24ResponseAggregatedData: example: @@ -26899,6 +76008,72 @@ components: type: number title: ListF24ResponseAggregatedData type: object + F24Status: + description: F24 status + enum: + - paid + - not_paid + - reversed + title: F24Status + type: string + CashbookEntryKind: + description: Cashbook kind + enum: + - cashbook + - issued_document + - received_document + - tax + - receipt + - ts_pay + title: CashbookEntryKind + type: string + CashbookEntryType: + description: Cashbook type + enum: + - in + - out + nullable: true + title: CashbookEntryType + type: string + TemplateType: + description: Template type + enum: + - standard + - delivery_note + - accompanying_invoice + title: TemplateType + type: string + PaymentMethodType: + default: standard + description: Payment method type + enum: + - standard + - riba + title: PaymentMethodType + type: string + PaymentMethodDetails: + example: + description: description + title: title + properties: + title: + description: Payment method details title + nullable: true + type: string + description: + description: Payment method details description + nullable: true + type: string + title: PaymentMethodDetails + type: object + PaymentAccountType: + default: standard + description: Payment account type + enum: + - standard + - bank + title: PaymentAccountType + type: string Email: example: to_email: to_email @@ -26987,6 +76162,100 @@ components: type: array title: Email type: object + EventType: + description: Webhooks event type + enum: + - it.fattureincloud.webhooks.issued_documents.invoices.create + - it.fattureincloud.webhooks.issued_documents.invoices.update + - it.fattureincloud.webhooks.issued_documents.invoices.delete + - it.fattureincloud.webhooks.issued_documents.quotes.create + - it.fattureincloud.webhooks.issued_documents.quotes.update + - it.fattureincloud.webhooks.issued_documents.quotes.delete + - it.fattureincloud.webhooks.issued_documents.proformas.create + - it.fattureincloud.webhooks.issued_documents.proformas.update + - it.fattureincloud.webhooks.issued_documents.proformas.delete + - it.fattureincloud.webhooks.issued_documents.receipts.create + - it.fattureincloud.webhooks.issued_documents.receipts.update + - it.fattureincloud.webhooks.issued_documents.receipts.delete + - it.fattureincloud.webhooks.issued_documents.delivery_notes.create + - it.fattureincloud.webhooks.issued_documents.delivery_notes.update + - it.fattureincloud.webhooks.issued_documents.delivery_notes.delete + - it.fattureincloud.webhooks.issued_documents.credit_notes.create + - it.fattureincloud.webhooks.issued_documents.credit_notes.update + - it.fattureincloud.webhooks.issued_documents.credit_notes.delete + - it.fattureincloud.webhooks.issued_documents.orders.create + - it.fattureincloud.webhooks.issued_documents.orders.update + - it.fattureincloud.webhooks.issued_documents.orders.delete + - it.fattureincloud.webhooks.issued_documents.work_reports.create + - it.fattureincloud.webhooks.issued_documents.work_reports.update + - it.fattureincloud.webhooks.issued_documents.work_reports.delete + - it.fattureincloud.webhooks.issued_documents.supplier_orders.create + - it.fattureincloud.webhooks.issued_documents.supplier_orders.update + - it.fattureincloud.webhooks.issued_documents.supplier_orders.delete + - it.fattureincloud.webhooks.issued_documents.self_invoices.create + - it.fattureincloud.webhooks.issued_documents.self_invoices.update + - it.fattureincloud.webhooks.issued_documents.self_invoices.delete + - it.fattureincloud.webhooks.issued_documents.all.create + - it.fattureincloud.webhooks.issued_documents.all.update + - it.fattureincloud.webhooks.issued_documents.all.delete + - it.fattureincloud.webhooks.received_documents.create + - it.fattureincloud.webhooks.received_documents.update + - it.fattureincloud.webhooks.received_documents.delete + - it.fattureincloud.webhooks.receipts.create + - it.fattureincloud.webhooks.receipts.update + - it.fattureincloud.webhooks.receipts.delete + - it.fattureincloud.webhooks.taxes.create + - it.fattureincloud.webhooks.taxes.update + - it.fattureincloud.webhooks.taxes.delete + - it.fattureincloud.webhooks.archive_documents.create + - it.fattureincloud.webhooks.archive_documents.update + - it.fattureincloud.webhooks.archive_documents.delete + - it.fattureincloud.webhooks.cashbook.create + - it.fattureincloud.webhooks.cashbook.update + - it.fattureincloud.webhooks.cashbook.delete + - it.fattureincloud.webhooks.products.create + - it.fattureincloud.webhooks.products.update + - it.fattureincloud.webhooks.products.delete + - it.fattureincloud.webhooks.products.stock_update + - it.fattureincloud.webhooks.entities.clients.create + - it.fattureincloud.webhooks.entities.clients.update + - it.fattureincloud.webhooks.entities.clients.delete + - it.fattureincloud.webhooks.entities.suppliers.create + - it.fattureincloud.webhooks.entities.suppliers.update + - it.fattureincloud.webhooks.entities.suppliers.delete + - it.fattureincloud.webhooks.entities.all.create + - it.fattureincloud.webhooks.entities.all.update + - it.fattureincloud.webhooks.entities.all.delete + - it.fattureincloud.webhooks.issued_documents.e_invoices.status_update + - it.fattureincloud.webhooks.received_documents.e_invoices.receive + - it.fattureincloud.webhooks.issued_documents.invoices.email_sent + - it.fattureincloud.webhooks.issued_documents.quotes.email_sent + - it.fattureincloud.webhooks.issued_documents.proformas.email_sent + - it.fattureincloud.webhooks.issued_documents.receipts.email_sent + - it.fattureincloud.webhooks.issued_documents.delivery_notes.email_sent + - it.fattureincloud.webhooks.issued_documents.credit_notes.email_sent + - it.fattureincloud.webhooks.issued_documents.orders.email_sent + - it.fattureincloud.webhooks.issued_documents.work_reports.email_sent + - it.fattureincloud.webhooks.issued_documents.supplier_orders.email_sent + - it.fattureincloud.webhooks.issued_documents.self_invoices.email_sent + - it.fattureincloud.webhooks.issued_documents.all.email_sent + title: EventType + type: string + WebhooksSubscriptionConfig: + example: + mapping: binary + properties: + mapping: + $ref: "#/components/schemas/WebhooksSubscriptionMapping" + title: WebhooksSubscriptionConfig + type: object + WebhooksSubscriptionVerificationMethod: + description: Webhooks Subscription verification method + enum: + - header + - query + title: WebhooksSubscriptionVerificationMethod + type: string PriceListPricesType: description: Price list prices type enum: @@ -27009,6 +76278,15 @@ components: type: number title: PriceListItem type: object + PermissionLevel: + description: Permission level + enum: + - none + - read + - write + - detailed + title: PermissionLevel + type: string EntityType: description: Entity type enum: @@ -27021,28 +76299,12 @@ components: type: string IssuedDocumentStatus: default: not_paid - description: Issued document status - enum: - - not_paid - - paid - - reversed - title: IssuedDocumentStatus - type: string - WebhooksSubscriptionMapping: - description: Webhooks Subscription mapping - enum: - - binary - - structured - title: WebhooksSubscriptionMapping - type: string - PermissionLevel: - description: Permission level + description: Issued document status enum: - - none - - read - - write - - detailed - title: PermissionLevel + - not_paid + - paid + - reversed + title: IssuedDocumentStatus type: string VatItem: example: @@ -27093,33 +76355,13 @@ components: type: string title: EmailAttachment type: object - SendEInvoiceRequest_data: - example: - withholding_tax_causal: withholding_tax_causal - cassa_type: cassa_type - nullable: true - properties: - cassa_type: - description: "Value of TipoCassa used (optional, override the company default\ - \ value)." - nullable: true - type: string - withholding_tax_causal: - description: "Value of CausalePagamento used (optional, override the company\ - \ default value)." - nullable: true - type: string - type: object - SendEInvoiceRequest_options: - example: - dry_run: true - nullable: true - properties: - dry_run: - description: If set to true the e-invoice will not be sent to the SDI. - nullable: true - type: boolean - type: object + WebhooksSubscriptionMapping: + description: Webhooks Subscription mapping + enum: + - binary + - structured + title: WebhooksSubscriptionMapping + type: string GetUserInfoResponse_info: example: need_password_change: true @@ -27209,6 +76451,33 @@ components: nullable: true type: array type: object + SendEInvoiceRequest_data: + example: + withholding_tax_causal: withholding_tax_causal + cassa_type: cassa_type + nullable: true + properties: + cassa_type: + description: "Value of TipoCassa used (optional, override the company default\ + \ value)." + nullable: true + type: string + withholding_tax_causal: + description: "Value of CausalePagamento used (optional, override the company\ + \ default value)." + nullable: true + type: string + type: object + SendEInvoiceRequest_options: + example: + dry_run: true + nullable: true + properties: + dry_run: + description: If set to true the e-invoice will not be sent to the SDI. + nullable: true + type: boolean + type: object SendEInvoiceResponse_data: example: date: date @@ -27260,196 +76529,20 @@ components: nullable: true type: string validation_result: - $ref: "#/components/schemas/VerifyEInvoiceXmlErrorResponse_error_validation_result" - type: object - VerifyEInvoiceXmlErrorResponse_extra: - example: - errors: - - errors - - errors - nullable: true - properties: - errors: - items: - type: string - nullable: true - type: array - type: object - IssuedDocument_ei_data: - description: |- - Issued document e-invoice data - [Only if e_invoice=true] - example: - original_document_type: ordine - cig: cig - bank_name: bank_name - od_number: od_number - od_date: 2000-01-23 - bank_beneficiary: bank_beneficiary - vat_kind: null - bank_iban: bank_iban - invoice_number: invoice_number - payment_method: payment_method - cup: cup - invoice_date: 2000-01-23 - nullable: true - properties: - vat_kind: - $ref: "#/components/schemas/VatKind" - original_document_type: - $ref: "#/components/schemas/OriginalDocumentType" - od_number: - description: E-invoice original document number - nullable: true - type: string - od_date: - description: E-invoice original document date - format: date - nullable: true - type: string - cig: - description: E-invoice CIG - nullable: true - type: string - cup: - description: E-invoice CUP - nullable: true - type: string - payment_method: - description: "E-invoice payment method [required for e-invoices] (see [here](https://www.fatturapa.gov.it/export/documenti/fatturapa/v1.2.2/Rappresentazione_Tabellare_FattOrdinaria_V1.2.2.pdf)\ - \ for the accepted values of ModalitaPagamento)" - nullable: true - type: string - bank_name: - description: E-invoice bank name - nullable: true - type: string - bank_iban: - description: E-invoice bank IBAN - nullable: true - type: string - bank_beneficiary: - description: E-invoice bank beneficiary - nullable: true - type: string - invoice_number: - description: E-invoice invoice number - nullable: true - type: string - invoice_date: - description: E-invoice invoice date - format: date - nullable: true - type: string - type: object - IssuedDocument_extra_data: - description: "Issued document extra data [TS fields follow the technical specifications\ - \ provided by \"Sistema Tessera Sanitaria\"]" - example: - ts_file_id: ts_file_id - ts_flag_tipo_spesa: 3.0205796992916243 - ts_pagamento_tracciato: true - ts_status: 3 - ts_opposizione: true - ts_communication: true - ts_full_amount: true - ts_tipo_spesa: ts_tipo_spesa - multifatture_sent: 7 - imported_by: imported_by - ts_sent_date: 2000-01-23 - nullable: true - properties: - multifatture_sent: - nullable: true - type: integer - ts_communication: - description: Send issued document to "Sistema Tessera Sanitaria" - nullable: true - type: boolean - ts_flag_tipo_spesa: - description: "Issued document ts \"tipo spesa\" [TK, FC, FV, SV,SP, AD,\ - \ AS, ECG, SR]" - nullable: true - type: number - ts_pagamento_tracciato: - description: Issued document ts traced payment - nullable: true - type: boolean - ts_tipo_spesa: - description: "Can be [ 'TK', 'FC', 'FV', 'SV', 'SP', 'AD', 'AS', 'SR', 'CT',\ - \ 'PI', 'IC', 'AA' ]. Refer to the technical specifications to learn more." - nullable: true - type: string - ts_opposizione: - description: Issued document ts "opposizione" - nullable: true - type: boolean - ts_status: - description: Issued document ts status - nullable: true - type: integer - ts_file_id: - description: Issued document ts file id - nullable: true - type: string - ts_sent_date: - description: Issued document ts sent date - format: date - nullable: true - type: string - ts_full_amount: - description: Issued document ts total amount - nullable: true - type: boolean - imported_by: - description: Issued document imported by software - nullable: true - type: string - type: object - EmailSchedule_include: - example: - attachment: true - document: true - accompanying_invoice: true - delivery_note: true - nullable: true - properties: - document: - description: Include a button to view the document - nullable: true - type: boolean - delivery_note: - description: Include a button to view the delivery note - nullable: true - type: boolean - attachment: - description: Include a button to view the attachment - nullable: true - type: boolean - accompanying_invoice: - description: Include a button to view the accompanying invoice - nullable: true - type: boolean - type: object - CashbookEntry_document: - example: - path: path - id: 0 - type: type - nullable: true - properties: - id: - description: Cashbook related document id - nullable: true - type: integer - type: - description: Cashbook related document type - nullable: true - type: string - path: - description: Cashbook related document path + $ref: "#/components/schemas/VerifyEInvoiceXmlErrorResponse_error_validation_result" + type: object + VerifyEInvoiceXmlErrorResponse_extra: + example: + errors: + - errors + - errors + nullable: true + properties: + errors: + items: + type: string nullable: true - type: string + type: array type: object CompanyInfo_access_info: example: @@ -27655,6 +76748,147 @@ components: functions_status: $ref: "#/components/schemas/CompanyInfo_plan_info_functions_status" type: object + IssuedDocument_ei_data: + description: |- + Issued document e-invoice data + [Only if e_invoice=true] + example: + original_document_type: ordine + cig: cig + bank_name: bank_name + od_number: od_number + od_date: 2000-01-23 + bank_beneficiary: bank_beneficiary + vat_kind: null + bank_iban: bank_iban + invoice_number: invoice_number + payment_method: payment_method + cup: cup + invoice_date: 2000-01-23 + nullable: true + properties: + vat_kind: + $ref: "#/components/schemas/VatKind" + original_document_type: + $ref: "#/components/schemas/OriginalDocumentType" + od_number: + description: E-invoice original document number + nullable: true + type: string + od_date: + description: E-invoice original document date + format: date + nullable: true + type: string + cig: + description: E-invoice CIG + nullable: true + type: string + cup: + description: E-invoice CUP + nullable: true + type: string + payment_method: + description: "E-invoice payment method [required for e-invoices] (see [here](https://www.fatturapa.gov.it/export/documenti/fatturapa/v1.2.2/Rappresentazione_Tabellare_FattOrdinaria_V1.2.2.pdf)\ + \ for the accepted values of ModalitaPagamento)" + nullable: true + type: string + bank_name: + description: E-invoice bank name + nullable: true + type: string + bank_iban: + description: E-invoice bank IBAN + nullable: true + type: string + bank_beneficiary: + description: E-invoice bank beneficiary + nullable: true + type: string + invoice_number: + description: E-invoice invoice number + nullable: true + type: string + invoice_date: + description: E-invoice invoice date + format: date + nullable: true + type: string + type: object + IssuedDocument_extra_data: + description: "Issued document extra data [TS fields follow the technical specifications\ + \ provided by \"Sistema Tessera Sanitaria\"]" + example: + ts_file_id: ts_file_id + debt_vat_detect: true + ts_flag_tipo_spesa: 3.0576100241049344 + ts_opposizione: true + ts_tipo_spesa: ts_tipo_spesa + imported_by: imported_by + ts_sent_date: 2000-01-23 + ts_pagamento_tracciato: true + ts_status: 7 + ts_communication: true + ts_full_amount: true + multifatture_sent: 3 + revenue_detect: true + nullable: true + properties: + multifatture_sent: + nullable: true + type: integer + ts_communication: + description: Send issued document to "Sistema Tessera Sanitaria" + nullable: true + type: boolean + ts_flag_tipo_spesa: + description: "Issued document ts \"tipo spesa\" [TK, FC, FV, SV,SP, AD,\ + \ AS, ECG, SR]" + nullable: true + type: number + ts_pagamento_tracciato: + description: Issued document ts traced payment + nullable: true + type: boolean + ts_tipo_spesa: + description: "Can be [ 'TK', 'FC', 'FV', 'SV', 'SP', 'AD', 'AS', 'SR', 'CT',\ + \ 'PI', 'IC', 'AA' ]. Refer to the technical specifications to learn more." + nullable: true + type: string + ts_opposizione: + description: Issued document ts "opposizione" + nullable: true + type: boolean + ts_status: + description: Issued document ts status + nullable: true + type: integer + ts_file_id: + description: Issued document ts file id + nullable: true + type: string + ts_sent_date: + description: Issued document ts sent date + format: date + nullable: true + type: string + ts_full_amount: + description: Issued document ts total amount + nullable: true + type: boolean + imported_by: + description: Issued document imported by software + nullable: true + type: string + debt_vat_detect: + description: Issued document debt VAT detect + nullable: true + type: boolean + revenue_detect: + description: Issued document revenue detect + nullable: true + type: boolean + type: object IssuedDocumentPreCreateInfo_default_values: description: Issued document default values example: @@ -27663,19 +76897,34 @@ components: cassa: 6.027456183070403 withholding_tax_taxable: 5.962133916683182 ai_template: - name: Light Smoke - id: 123 + supports_custom_taxable: true + can_disable_watermark: true + author: author + name: name + privacy: privacy + id: 2 type: type + content: content rivalsa: 0.8008281904610115 withholding_tax: 1.4658129805029452 default_template: - name: Light Smoke - id: 123 + supports_custom_taxable: true + can_disable_watermark: true + author: author + name: name + privacy: privacy + id: 2 type: type + content: content dn_template: - name: Light Smoke - id: 123 + supports_custom_taxable: true + can_disable_watermark: true + author: author + name: name + privacy: privacy + id: 2 type: type + content: content other_withholding_tax: 5.637376656633329 payment_method: default_payment_account: @@ -27801,6 +77050,47 @@ components: nullable: true type: string type: object + EmailSchedule_include: + example: + attachment: true + document: true + accompanying_invoice: true + delivery_note: true + nullable: true + properties: + document: + description: Include a button to view the document + nullable: true + type: boolean + delivery_note: + description: Include a button to view the delivery note + nullable: true + type: boolean + attachment: + description: Include a button to view the attachment + nullable: true + type: boolean + accompanying_invoice: + description: Include a button to view the accompanying invoice + nullable: true + type: boolean + type: object + PendingReceivedDocument_extracted_data_mining: + example: + save_entity: true + properties: + save_entity: + type: boolean + type: object + PendingReceivedDocument_extracted_data: + example: + mining: + save_entity: true + nullable: true + properties: + mining: + $ref: "#/components/schemas/PendingReceivedDocument_extracted_data_mining" + type: object ReceivedDocumentInfo_default_values: description: Received document default values example: @@ -27822,32 +77112,25 @@ components: nullable: true type: number type: object - IssuedDocumentPaymentsListItem_payment_terms: - example: - days: 1 - type: null - properties: - days: - description: Issued document payment number of days by which the payment - must be made - nullable: true - type: integer - type: - $ref: "#/components/schemas/PaymentTermsType" - type: object - ReceivedDocumentPaymentsListItem_payment_terms: + CashbookEntry_document: example: - days: 6 - type: standard + path: path + id: 0 + type: type nullable: true properties: - days: - description: Received document payment number of days by which the payment - must be made + id: + description: Cashbook related document id nullable: true type: integer type: - $ref: "#/components/schemas/PaymentTermsType" + description: Cashbook related document type + nullable: true + type: string + path: + description: Cashbook related document path + nullable: true + type: string type: object Permissions_fic_issued_documents_detailed: example: @@ -27884,6 +77167,47 @@ components: self_invoices: $ref: "#/components/schemas/PermissionLevel" type: object + IssuedDocumentPaymentsListItem_payment_terms: + example: + days: 1 + type: null + properties: + days: + description: Issued document payment number of days by which the payment + must be made + nullable: true + type: integer + type: + $ref: "#/components/schemas/PaymentTermsType" + type: object + ReceivedDocumentPaymentsListItem_payment_terms: + example: + days: 8 + type: standard + nullable: true + properties: + days: + description: Received document payment number of days by which the payment + must be made + nullable: true + type: integer + type: + $ref: "#/components/schemas/PaymentTermsType" + type: object + PendingReceivedDocumentPaymentsListItem_payment_terms: + example: + days: 2 + type: standard + nullable: true + properties: + days: + description: Pending received document payment number of days by which the + payment must be made + nullable: true + type: integer + type: + $ref: "#/components/schemas/PaymentTermsType" + type: object securitySchemes: OAuth2AuthenticationCodeFlow: flows: diff --git a/docs/ArchiveApi.md b/docs/ArchiveApi.md index d42847a5..8ab8a734 100644 --- a/docs/ArchiveApi.md +++ b/docs/ArchiveApi.md @@ -103,9 +103,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | The Archive Document. | - | -| **401** | Unauthorized | - | -| **404** | Not Found | - | +| **200** | The Archive Document. | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -191,15 +198,22 @@ void (empty response body) ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: Not defined + - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Document removed. | - | -| **401** | Unauthorized | - | -| **404** | Not Found | - | +| **200** | Document removed. | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -299,9 +313,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Archive Document Details | - | -| **401** | Unauthorized | - | -| **404** | Not Found | - | +| **200** | Archive Document Details | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -407,9 +428,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Results list. | - | -| **401** | Unauthorized | - | -| **404** | Not Found | - | +| **200** | Results list. | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -507,9 +535,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | The modified Archived Document | - | -| **401** | Unauthorized | - | -| **404** | Not Found | - | +| **200** | The modified Archived Document | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -607,9 +642,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Example response | - | -| **401** | Unauthorized | - | -| **404** | Not Found | - | +| **200** | Example response | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/docs/Attachment.md b/docs/Attachment.md new file mode 100644 index 00000000..44304a66 --- /dev/null +++ b/docs/Attachment.md @@ -0,0 +1,11 @@ +# It.FattureInCloud.Sdk.Model.Attachment + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Filename** | **string** | Attachment file name | [optional] +**VarAttachment** | **System.IO.Stream** | Attachment file [.png, .jpg, .gif, .pdf, .zip, .xls, .xlsx, .doc, .docx] | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/CashbookApi.md b/docs/CashbookApi.md index 0b0e931a..61c31162 100644 --- a/docs/CashbookApi.md +++ b/docs/CashbookApi.md @@ -102,9 +102,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | The created Cashbook Entry. | - | -| **401** | Unauthorized | - | -| **404** | Not Found | - | +| **200** | The created Cashbook Entry. | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -190,15 +197,22 @@ void (empty response body) ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: Not defined + - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Document removed. | - | -| **401** | Unauthorized | - | -| **404** | Not Found | - | +| **200** | Document removed. | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -298,9 +312,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Cashbook Entry. | - | -| **401** | Unauthorized | - | -| **404** | Not Found | - | +| **200** | Cashbook Entry. | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -404,9 +425,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Results list. | - | -| **401** | Unauthorized | - | -| **404** | Not Found | - | +| **200** | Results list. | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -504,9 +532,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | The modified Cashbook Entry | - | -| **401** | Unauthorized | - | -| **404** | Not Found | - | +| **200** | The modified Cashbook Entry | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/docs/ClientsApi.md b/docs/ClientsApi.md index db4e97d0..c1d99deb 100644 --- a/docs/ClientsApi.md +++ b/docs/ClientsApi.md @@ -103,7 +103,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Example response | - | +| **200** | Example response | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -189,15 +198,22 @@ void (empty response body) ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: Not defined + - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Entity Removed | - | -| **401** | Unauthorized | - | -| **404** | Not Found | - | +| **200** | Entity Removed | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -297,9 +313,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Client Details. | - | -| **401** | Unauthorized | - | -| **404** | Not Found | - | +| **200** | Client Details. | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -393,9 +416,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Example response | - | -| **401** | Unauthorized | - | -| **404** | Not Found | - | +| **200** | Example response | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -501,8 +531,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Example response | - | -| **401** | Unauthorized | - | +| **200** | Example response | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -600,9 +638,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Client modified. | - | -| **401** | Unauthorized | - | -| **404** | Not Found | - | +| **200** | Client modified. | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/docs/CompaniesApi.md b/docs/CompaniesApi.md index e318a918..56c87ca2 100644 --- a/docs/CompaniesApi.md +++ b/docs/CompaniesApi.md @@ -97,8 +97,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Company info. | - | -| **401** | Unauthorized. | - | +| **200** | Company info. | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -194,8 +202,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Example response | - | -| **401** | Unauthorized. | - | +| **200** | Example response | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/docs/DocumentTemplate.md b/docs/DocumentTemplate.md index c268412a..4353e9b7 100644 --- a/docs/DocumentTemplate.md +++ b/docs/DocumentTemplate.md @@ -4,9 +4,14 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Id** | **int?** | Template id | [optional] +**Id** | **int** | Template id | [optional] +**Privacy** | **string** | Template privacy | [optional] +**Type** | **TemplateType** | | [optional] **Name** | **string** | Template name | [optional] -**Type** | **string** | Template type | [optional] +**CanDisableWatermark** | **bool** | Can disable watermark | [optional] +**Author** | **string** | Template author | [optional] +**Content** | **string** | Template definition content | [optional] +**SupportsCustomTaxable** | **bool** | Supports custom taxable | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EmailsApi.md b/docs/EmailsApi.md index d6f46a7a..ee79e092 100644 --- a/docs/EmailsApi.md +++ b/docs/EmailsApi.md @@ -108,7 +108,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Example response | - | +| **200** | Example response | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/docs/GetPendingReceivedDocumentResponse.md b/docs/GetPendingReceivedDocumentResponse.md new file mode 100644 index 00000000..8e4e4bc0 --- /dev/null +++ b/docs/GetPendingReceivedDocumentResponse.md @@ -0,0 +1,10 @@ +# It.FattureInCloud.Sdk.Model.GetPendingReceivedDocumentResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Data** | [**PendingReceivedDocument**](PendingReceivedDocument.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/GetTemplatesResponse.md b/docs/GetTemplatesResponse.md new file mode 100644 index 00000000..b6850ebf --- /dev/null +++ b/docs/GetTemplatesResponse.md @@ -0,0 +1,10 @@ +# It.FattureInCloud.Sdk.Model.GetTemplatesResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Data** | [**DocumentTemplate**](DocumentTemplate.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/InfoApi.md b/docs/InfoApi.md index 4a814196..0b924aec 100644 --- a/docs/InfoApi.md +++ b/docs/InfoApi.md @@ -9,6 +9,7 @@ All URIs are relative to *https://api-v2.fattureincloud.it* | [**ListCostCenters**](InfoApi.md#listcostcenters) | **GET** /c/{company_id}/info/cost_centers | List Cost Centers | | [**ListCountries**](InfoApi.md#listcountries) | **GET** /info/countries | List Countries | | [**ListCurrencies**](InfoApi.md#listcurrencies) | **GET** /info/currencies | List Currencies | +| [**ListDefaultTemplates**](InfoApi.md#listdefaulttemplates) | **GET** /info/templates | List Default Templates | | [**ListDeliveryNotesDefaultCausals**](InfoApi.md#listdeliverynotesdefaultcausals) | **GET** /info/dn_causals | List Delivery Notes Default Causals | | [**ListDetailedCountries**](InfoApi.md#listdetailedcountries) | **GET** /info/detailed_countries | List Detailed Countries | | [**ListLanguages**](InfoApi.md#listlanguages) | **GET** /info/languages | List Languages | @@ -17,7 +18,6 @@ All URIs are relative to *https://api-v2.fattureincloud.it* | [**ListProductCategories**](InfoApi.md#listproductcategories) | **GET** /c/{company_id}/info/product_categories | List Product Categories | | [**ListReceivedDocumentCategories**](InfoApi.md#listreceiveddocumentcategories) | **GET** /c/{company_id}/info/received_document_categories | List Received Document Categories | | [**ListRevenueCenters**](InfoApi.md#listrevenuecenters) | **GET** /c/{company_id}/info/revenue_centers | List Revenue Centers | -| [**ListTemplates**](InfoApi.md#listtemplates) | **GET** /info/templates | List Templates | | [**ListUnitsOfMeasure**](InfoApi.md#listunitsofmeasure) | **GET** /info/measures | List Units of Measure | | [**ListVatTypes**](InfoApi.md#listvattypes) | **GET** /c/{company_id}/info/vat_types | List Vat Types | @@ -111,9 +111,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Archive Categories list. | - | -| **401** | Unauthorized | - | -| **404** | Not Found | - | +| **200** | Archive Categories list. | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -209,7 +216,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Cities List. | - | +| **200** | Cities List. | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -303,9 +319,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | List of Cost Centers | - | -| **401** | Unauthorized | - | -| **404** | Not Found | - | +| **200** | List of Cost Centers | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -394,8 +417,16 @@ This endpoint does not need any parameter. ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | List of countries | - | -| **401** | Unauthorized | - | +| **200** | List of countries | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -484,8 +515,121 @@ This endpoint does not need any parameter. ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Currencies List. | - | -| **401** | Unauthorized | - | +| **200** | Currencies List. | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **ListDefaultTemplates** +> ListTemplatesResponse ListDefaultTemplates (string type = null, bool? byType = null) + +List Default Templates + +Lists the default available templates. + +### Example +```csharp +using System.Collections.Generic; +using System.Diagnostics; +using It.FattureInCloud.Sdk.Api; +using It.FattureInCloud.Sdk.Client; +using It.FattureInCloud.Sdk.Model; + +namespace Example +{ + public class ListDefaultTemplatesExample + { + public static void Main() + { + Configuration config = new Configuration(); + config.BasePath = "https://api-v2.fattureincloud.it"; + // Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow + config.AccessToken = "YOUR_ACCESS_TOKEN"; + + var apiInstance = new InfoApi(config); + var type = "all"; // string | Type of the templates. (optional) (default to all) + var byType = false; // bool? | [Only if type=all] If true, splits the list in objects, grouping templates by type. (optional) (default to false) + + try + { + // List Default Templates + ListTemplatesResponse result = apiInstance.ListDefaultTemplates(type, byType); + Debug.WriteLine(result); + } + catch (ApiException e) + { + Debug.Print("Exception when calling InfoApi.ListDefaultTemplates: " + e.Message); + Debug.Print("Status Code: " + e.ErrorCode); + Debug.Print(e.StackTrace); + } + } + } +} +``` + +#### Using the ListDefaultTemplatesWithHttpInfo variant +This returns an ApiResponse object which contains the response data, status code and headers. + +```csharp +try +{ + // List Default Templates + ApiResponse response = apiInstance.ListDefaultTemplatesWithHttpInfo(type, byType); + Debug.Write("Status Code: " + response.StatusCode); + Debug.Write("Response Headers: " + response.Headers); + Debug.Write("Response Body: " + response.Data); +} +catch (ApiException e) +{ + Debug.Print("Exception when calling InfoApi.ListDefaultTemplatesWithHttpInfo: " + e.Message); + Debug.Print("Status Code: " + e.ErrorCode); + Debug.Print(e.StackTrace); +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------|------|-------------|-------| +| **type** | **string** | Type of the templates. | [optional] [default to all] | +| **byType** | **bool?** | [Only if type=all] If true, splits the list in objects, grouping templates by type. | [optional] [default to false] | + +### Return type + +[**ListTemplatesResponse**](ListTemplatesResponse.md) + +### Authorization + +[OAuth2AuthenticationCodeFlow](../README.md#OAuth2AuthenticationCodeFlow) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | Templates list. | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -574,8 +718,16 @@ This endpoint does not need any parameter. ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | List of Delivery Notes Default Causals | - | -| **401** | Unauthorized | - | +| **200** | List of Delivery Notes Default Causals | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -664,8 +816,16 @@ This endpoint does not need any parameter. ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | List of detailed countries | - | -| **401** | Unauthorized | - | +| **200** | List of detailed countries | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -754,8 +914,16 @@ This endpoint does not need any parameter. ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | LanguagesList | - | -| **401** | Unauthorized | - | +| **200** | LanguagesList | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -855,9 +1023,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Payment accounts list. | - | -| **401** | Unauthorized | - | -| **404** | Not Found | - | +| **200** | Payment accounts list. | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -957,9 +1132,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Payment methods list. | - | -| **401** | Unauthorized | - | -| **404** | Not Found | - | +| **200** | Payment methods list. | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -1055,9 +1237,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Product Categories List | - | -| **401** | Unauthorized | - | -| **404** | Not Found | - | +| **200** | Product Categories List | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -1151,7 +1340,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Received Document Categories List | - | +| **200** | Received Document Categories List | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -1245,106 +1443,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | List of Revenue Centers | - | -| **401** | Unauthorized | - | -| **404** | Not Found | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - - -# **ListTemplates** -> ListTemplatesResponse ListTemplates (string type = null, bool? byType = null) - -List Templates - -Lists the available templates. - -### Example -```csharp -using System.Collections.Generic; -using System.Diagnostics; -using It.FattureInCloud.Sdk.Api; -using It.FattureInCloud.Sdk.Client; -using It.FattureInCloud.Sdk.Model; - -namespace Example -{ - public class ListTemplatesExample - { - public static void Main() - { - Configuration config = new Configuration(); - config.BasePath = "https://api-v2.fattureincloud.it"; - // Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow - config.AccessToken = "YOUR_ACCESS_TOKEN"; - - var apiInstance = new InfoApi(config); - var type = "all"; // string | Type of the templates. (optional) (default to all) - var byType = false; // bool? | [Only if type=all] If true, splits the list in objects, grouping templates by type. (optional) (default to false) - - try - { - // List Templates - ListTemplatesResponse result = apiInstance.ListTemplates(type, byType); - Debug.WriteLine(result); - } - catch (ApiException e) - { - Debug.Print("Exception when calling InfoApi.ListTemplates: " + e.Message); - Debug.Print("Status Code: " + e.ErrorCode); - Debug.Print(e.StackTrace); - } - } - } -} -``` - -#### Using the ListTemplatesWithHttpInfo variant -This returns an ApiResponse object which contains the response data, status code and headers. - -```csharp -try -{ - // List Templates - ApiResponse response = apiInstance.ListTemplatesWithHttpInfo(type, byType); - Debug.Write("Status Code: " + response.StatusCode); - Debug.Write("Response Headers: " + response.Headers); - Debug.Write("Response Body: " + response.Data); -} -catch (ApiException e) -{ - Debug.Print("Exception when calling InfoApi.ListTemplatesWithHttpInfo: " + e.Message); - Debug.Print("Status Code: " + e.ErrorCode); - Debug.Print(e.StackTrace); -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------|------|-------------|-------| -| **type** | **string** | Type of the templates. | [optional] [default to all] | -| **byType** | **bool?** | [Only if type=all] If true, splits the list in objects, grouping templates by type. | [optional] [default to false] | - -### Return type - -[**ListTemplatesResponse**](ListTemplatesResponse.md) - -### Authorization - -[OAuth2AuthenticationCodeFlow](../README.md#OAuth2AuthenticationCodeFlow) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Templates list. | - | -| **401** | Unauthorized | - | +| **200** | List of Revenue Centers | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -1433,8 +1541,16 @@ This endpoint does not need any parameter. ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Units of measure. | - | -| **401** | Unauthorized | - | +| **200** | Units of measure. | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -1530,9 +1646,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | List of Vat Types. | - | -| **401** | Unauthorized | - | -| **404** | Not Found | - | +| **200** | List of Vat Types. | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/docs/IssuedDocumentExtraData.md b/docs/IssuedDocumentExtraData.md index 0ba0a753..fb6d2421 100644 --- a/docs/IssuedDocumentExtraData.md +++ b/docs/IssuedDocumentExtraData.md @@ -16,6 +16,8 @@ Name | Type | Description | Notes **TsSentDate** | **DateTime?** | Issued document ts sent date | [optional] **TsFullAmount** | **bool?** | Issued document ts total amount | [optional] **ImportedBy** | **string** | Issued document imported by software | [optional] +**DebtVatDetect** | **bool?** | Issued document debt VAT detect | [optional] +**RevenueDetect** | **bool?** | Issued document revenue detect | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/IssuedDocumentsApi.md b/docs/IssuedDocumentsApi.md index e0528d44..91c44c62 100644 --- a/docs/IssuedDocumentsApi.md +++ b/docs/IssuedDocumentsApi.md @@ -115,8 +115,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Document created. | - | -| **401** | Unauthorized | - | +| **200** | Document created. | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -202,13 +210,22 @@ void (empty response body) ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: Not defined + - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | OK | - | +| **200** | OK | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -294,15 +311,22 @@ void (empty response body) ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: Not defined + - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Document removed | - | -| **401** | Unauthorized | - | -| **404** | Not Found | - | +| **200** | Document removed | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -388,15 +412,22 @@ void (empty response body) ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: Not defined + - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | File removed. | - | -| **401** | Unauthorized | - | -| **404** | Not Found | - | +| **200** | File removed. | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -492,7 +523,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Bin issued document details | - | +| **200** | Bin issued document details | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -588,7 +628,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | EmailData | - | +| **200** | EmailData | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -686,9 +735,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Totals. | - | -| **401** | Unauthorized | - | -| **404** | Not Found | - | +| **200** | Totals. | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -788,9 +844,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Document Details. | - | -| **401** | Unauthorized | - | -| **404** | Not Found | - | +| **200** | Document Details. | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -886,7 +949,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Pre-create info. | - | +| **200** | Pre-create info. | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -982,8 +1054,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Totals. | - | -| **401** | Unauthorized | - | +| **200** | Totals. | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -1083,7 +1163,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Example response | - | +| **200** | Example response | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -1177,7 +1266,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Bin Issued Documents List | - | +| **200** | Bin Issued Documents List | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -1287,9 +1385,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Results list. | - | -| **401** | Unauthorized | - | -| **404** | Not Found | - | +| **200** | Results list. | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -1387,9 +1492,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Document edited | - | -| **401** | Unauthorized | - | -| **404** | Not Found | - | +| **200** | Document edited | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -1475,13 +1587,22 @@ void (empty response body) ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: Not defined + - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | OK | - | +| **200** | OK | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -1569,15 +1690,22 @@ void (empty response body) ### HTTP request headers - **Content-Type**: application/json - - **Accept**: Not defined + - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | OK | - | -| **401** | Unauthorized | - | -| **404** | Not Found | - | +| **200** | OK | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -1681,7 +1809,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Example response | - | +| **200** | Example response | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -1779,8 +1916,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Attachment Token. | - | -| **401** | Unauthorized | - | +| **200** | Attachment Token. | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/docs/IssuedEInvoicesApi.md b/docs/IssuedEInvoicesApi.md index 6fbba901..999f306d 100644 --- a/docs/IssuedEInvoicesApi.md +++ b/docs/IssuedEInvoicesApi.md @@ -101,7 +101,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Example response | - | +| **200** | Example response | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -193,15 +202,22 @@ catch (ApiException e) ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: text/xml + - **Accept**: text/xml, application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | | - | -| **401** | Unauthorized | - | -| **404** | Not Found | - | +| **200** | | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -299,9 +315,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Example response | - | -| **401** | Unauthorized | - | -| **404** | Not Found | - | +| **200** | Example response | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -397,10 +420,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Example response | - | -| **401** | Unauthorized | - | -| **404** | Not Found | - | -| **422** | Example response | - | +| **200** | Example response | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | Example response | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/docs/ListPendingReceivedDocumentsResponse.md b/docs/ListPendingReceivedDocumentsResponse.md new file mode 100644 index 00000000..49b7813e --- /dev/null +++ b/docs/ListPendingReceivedDocumentsResponse.md @@ -0,0 +1,21 @@ +# It.FattureInCloud.Sdk.Model.ListPendingReceivedDocumentsResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**CurrentPage** | **int?** | Current page number. | [optional] +**FirstPageUrl** | **string** | First page url. | [optional] +**From** | **int?** | First result of the page. | [optional] +**LastPage** | **int?** | Last page number. | [optional] +**LastPageUrl** | **string** | Last page url. | [optional] +**NextPageUrl** | **string** | Next page url | [optional] +**Path** | **string** | Request path. | [optional] +**PerPage** | **int?** | Number of result per page. | [optional] +**PrevPageUrl** | **string** | Previous page url. | [optional] +**To** | **int?** | Last result of the page. | [optional] +**Total** | **int?** | Total number of results | [optional] +**Data** | [**List<PendingReceivedDocument>**](PendingReceivedDocument.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/ListPendingReceivedDocumentsResponsePage.md b/docs/ListPendingReceivedDocumentsResponsePage.md new file mode 100644 index 00000000..f6ac043c --- /dev/null +++ b/docs/ListPendingReceivedDocumentsResponsePage.md @@ -0,0 +1,10 @@ +# It.FattureInCloud.Sdk.Model.ListPendingReceivedDocumentsResponsePage + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Data** | [**List<PendingReceivedDocument>**](PendingReceivedDocument.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PendingReceivedDocument.md b/docs/PendingReceivedDocument.md new file mode 100644 index 00000000..40cc78ca --- /dev/null +++ b/docs/PendingReceivedDocument.md @@ -0,0 +1,28 @@ +# It.FattureInCloud.Sdk.Model.PendingReceivedDocument + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **int?** | Pending received document id | [optional] +**Date** | **DateTime?** | Pending received document date | [optional] +**Subject** | **string** | Pending received document subject | [optional] +**Filename** | **string** | Pending received document filename | [optional] +**Type** | **PendingReceivedDocumentType** | | [optional] +**AttachmentUrl** | **string** | [Temporary] [Read Only] Pending received document url of the attached file | [optional] [readonly] +**AmountGross** | **decimal?** | [Read Only] Pending received document total gross amount | [optional] [readonly] +**Currency** | [**Currency**](Currency.md) | | [optional] +**DocumentType** | **ReceivedDocumentType** | | [optional] +**SupplierName** | **string** | Pending received document supplier name | [optional] +**CostCenter** | **string** | Pending received document cost center | [optional] +**Category** | **string** | Pending received document category | [optional] +**OtherAttachments** | [**List<Attachment>**](Attachment.md) | Pending received document other attachments | [optional] +**EmssionDate** | **DateTime?** | Pending received document emission date | [optional] +**PaymentsList** | [**List<PendingReceivedDocumentPaymentsListItem>**](PendingReceivedDocumentPaymentsListItem.md) | | [optional] +**AmountNet** | **decimal?** | Pending received document total net amount | [optional] +**AmountVat** | **decimal?** | Pending received document total vat amount | [optional] +**ImportError** | **string** | Pending received document import error | [optional] +**ExtractedData** | [**PendingReceivedDocumentExtractedData**](PendingReceivedDocumentExtractedData.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PendingReceivedDocumentExtractedData.md b/docs/PendingReceivedDocumentExtractedData.md new file mode 100644 index 00000000..3a7baa27 --- /dev/null +++ b/docs/PendingReceivedDocumentExtractedData.md @@ -0,0 +1,10 @@ +# It.FattureInCloud.Sdk.Model.PendingReceivedDocumentExtractedData + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Mining** | [**PendingReceivedDocumentExtractedDataMining**](PendingReceivedDocumentExtractedDataMining.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PendingReceivedDocumentExtractedDataMining.md b/docs/PendingReceivedDocumentExtractedDataMining.md new file mode 100644 index 00000000..6a6f0831 --- /dev/null +++ b/docs/PendingReceivedDocumentExtractedDataMining.md @@ -0,0 +1,10 @@ +# It.FattureInCloud.Sdk.Model.PendingReceivedDocumentExtractedDataMining + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**SaveEntity** | **bool** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PendingReceivedDocumentPaymentsListItem.md b/docs/PendingReceivedDocumentPaymentsListItem.md new file mode 100644 index 00000000..a22f0227 --- /dev/null +++ b/docs/PendingReceivedDocumentPaymentsListItem.md @@ -0,0 +1,16 @@ +# It.FattureInCloud.Sdk.Model.PendingReceivedDocumentPaymentsListItem + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Amount** | **decimal?** | Pending received document payment total amount | [optional] +**DueDate** | **DateTime?** | Due date | [optional] +**PaidDate** | **DateTime?** | Pending received document payment paid date | [optional] +**PaymentTerms** | [**PendingReceivedDocumentPaymentsListItemPaymentTerms**](PendingReceivedDocumentPaymentsListItemPaymentTerms.md) | | [optional] +**Status** | **string** | Pending received document payment status | [optional] +**PaidWithTsPay** | **bool?** | True if paid with TS Pay | [optional] +**PaymentAccount** | [**PaymentAccount**](PaymentAccount.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PendingReceivedDocumentPaymentsListItemPaymentTerms.md b/docs/PendingReceivedDocumentPaymentsListItemPaymentTerms.md new file mode 100644 index 00000000..ae0537f5 --- /dev/null +++ b/docs/PendingReceivedDocumentPaymentsListItemPaymentTerms.md @@ -0,0 +1,11 @@ +# It.FattureInCloud.Sdk.Model.PendingReceivedDocumentPaymentsListItemPaymentTerms + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Days** | **int?** | Pending received document payment number of days by which the payment must be made | [optional] +**Type** | **PaymentTermsType** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PendingReceivedDocumentType.md b/docs/PendingReceivedDocumentType.md new file mode 100644 index 00000000..3f76418f --- /dev/null +++ b/docs/PendingReceivedDocumentType.md @@ -0,0 +1,10 @@ +# It.FattureInCloud.Sdk.Model.PendingReceivedDocumentType +Pending received document type + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PriceListsApi.md b/docs/PriceListsApi.md index e9b31cee..91f13061 100644 --- a/docs/PriceListsApi.md +++ b/docs/PriceListsApi.md @@ -99,9 +99,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Example response | - | -| **401** | Unauthorized | - | -| **404** | Not Found | - | +| **200** | Example response | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -195,9 +202,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Example response | - | -| **401** | Unauthorized | - | -| **404** | Not Found | - | +| **200** | Example response | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/docs/ProductsApi.md b/docs/ProductsApi.md index 845cce76..7ef980f6 100644 --- a/docs/ProductsApi.md +++ b/docs/ProductsApi.md @@ -102,7 +102,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Example response | - | +| **200** | Example response | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -188,15 +197,22 @@ void (empty response body) ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: Not defined + - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Product removed. | - | -| **401** | Unauthorized | - | -| **404** | Not Found | - | +| **200** | Product removed. | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -296,9 +312,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Example response | - | -| **401** | Unauthorized | - | -| **404** | Not Found | - | +| **200** | Example response | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -404,8 +427,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Products List. | - | -| **401** | Unauthorized | - | +| **200** | Products List. | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -503,9 +534,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Example response | - | -| **401** | Unauthorized | - | -| **404** | Not Found | - | +| **200** | Example response | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/docs/ReceiptsApi.md b/docs/ReceiptsApi.md index a1786ccf..e537e624 100644 --- a/docs/ReceiptsApi.md +++ b/docs/ReceiptsApi.md @@ -104,8 +104,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Created Receipt. | - | -| **401** | Unauthorized | - | +| **200** | Created Receipt. | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -191,15 +199,22 @@ void (empty response body) ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: Not defined + - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Document removed. | - | -| **401** | Unauthorized | - | -| **404** | Not Found | - | +| **200** | Document removed. | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -299,9 +314,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Receipt Details. | - | -| **401** | Unauthorized | - | -| **404** | Not Found | - | +| **200** | Receipt Details. | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -395,9 +417,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Pre-create info. | - | -| **401** | Unauthorized | - | -| **404** | Not Found | - | +| **200** | Pre-create info. | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -495,9 +524,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Monthly Totals. | - | -| **401** | Unauthorized | - | -| **404** | Not Found | - | +| **200** | Monthly Totals. | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -603,8 +639,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Receipts list. | - | -| **401** | Unauthorized | - | +| **200** | Receipts list. | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -702,9 +746,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Modified receipt. | - | -| **401** | Unauthorized | - | -| **404** | Not Found | - | +| **200** | Modified receipt. | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/docs/ReceivedDocument.md b/docs/ReceivedDocument.md index 23b885a3..0d1235fa 100644 --- a/docs/ReceivedDocument.md +++ b/docs/ReceivedDocument.md @@ -34,6 +34,8 @@ Name | Type | Description | Notes **Locked** | **bool?** | Received Document can't be edited | [optional] **CreatedAt** | **string** | Received document creation date | [optional] **UpdatedAt** | **string** | Received document last update date | [optional] +**EiReceptionDate** | **string** | [Read Only] Received document e-invoice reception date, needs fic_view fieldset | [optional] [readonly] +**IsFromPendingExpenses** | **bool?** | [Read Only] True if received document is generated from pending expenses, needs fic_view fieldset | [optional] [readonly] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ReceivedDocumentItemsListItem.md b/docs/ReceivedDocumentItemsListItem.md index ebcb113d..19b4e4ee 100644 --- a/docs/ReceivedDocumentItemsListItem.md +++ b/docs/ReceivedDocumentItemsListItem.md @@ -14,6 +14,7 @@ Name | Type | Description | Notes **Qty** | **decimal?** | Received document item quantity | [optional] **Vat** | [**VatType**](VatType.md) | | [optional] **Stock** | **decimal?** | Received document item product number of items in stock | [optional] +**DeductibilityVatPercentage** | **decimal?** | Received document item deductibility vat percentage | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ReceivedDocumentsApi.md b/docs/ReceivedDocumentsApi.md index 4d3f34aa..9a600c46 100644 --- a/docs/ReceivedDocumentsApi.md +++ b/docs/ReceivedDocumentsApi.md @@ -11,9 +11,11 @@ All URIs are relative to *https://api-v2.fattureincloud.it* | [**GetBinReceivedDocument**](ReceivedDocumentsApi.md#getbinreceiveddocument) | **GET** /c/{company_id}/bin/received_documents/{document_id} | Get Bin Received Documents List | | [**GetExistingReceivedDocumentTotals**](ReceivedDocumentsApi.md#getexistingreceiveddocumenttotals) | **POST** /c/{company_id}/received_documents/{document_id}/totals | Get Existing Received Document Totals | | [**GetNewReceivedDocumentTotals**](ReceivedDocumentsApi.md#getnewreceiveddocumenttotals) | **POST** /c/{company_id}/received_documents/totals | Get New Received Document Totals | +| [**GetPendingReceivedDocument**](ReceivedDocumentsApi.md#getpendingreceiveddocument) | **GET** /c/{company_id}/received_documents/pending/{document_id} | Get Pending Received Document | | [**GetReceivedDocument**](ReceivedDocumentsApi.md#getreceiveddocument) | **GET** /c/{company_id}/received_documents/{document_id} | Get Received Document | | [**GetReceivedDocumentPreCreateInfo**](ReceivedDocumentsApi.md#getreceiveddocumentprecreateinfo) | **GET** /c/{company_id}/received_documents/info | Get Received Document Pre-Create Info | | [**ListBinReceivedDocuments**](ReceivedDocumentsApi.md#listbinreceiveddocuments) | **GET** /c/{company_id}/bin/received_documents | Get Bin Received Documents List | +| [**ListPendingReceivedDocuments**](ReceivedDocumentsApi.md#listpendingreceiveddocuments) | **GET** /c/{company_id}/received_documents/pending | List Pending Received Documents | | [**ListReceivedDocuments**](ReceivedDocumentsApi.md#listreceiveddocuments) | **GET** /c/{company_id}/received_documents | List Received Documents | | [**ModifyReceivedDocument**](ReceivedDocumentsApi.md#modifyreceiveddocument) | **PUT** /c/{company_id}/received_documents/{document_id} | Modify Received Document | | [**RecoverBinReceivedDocument**](ReceivedDocumentsApi.md#recoverbinreceiveddocument) | **POST** /c/{company_id}/bin/received_documents/{document_id}/recover | Recover Received Document From The Bin | @@ -111,7 +113,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Document created. | - | +| **200** | Document created. | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -197,13 +208,22 @@ void (empty response body) ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: Not defined + - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | OK | - | +| **200** | OK | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -289,15 +309,22 @@ void (empty response body) ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: Not defined + - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Document removed. | - | -| **401** | Unauthorized | - | -| **404** | Not Found | - | +| **200** | Document removed. | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -383,21 +410,28 @@ void (empty response body) ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: Not defined + - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | File removed | - | -| **401** | Unauthorized | - | -| **404** | Not Found | - | +| **200** | File removed | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **GetBinReceivedDocument** -> GetBinIssuedDocumentResponse GetBinReceivedDocument (int companyId, int documentId) +> GetBinReceivedDocumentResponse GetBinReceivedDocument (int companyId, int documentId) Get Bin Received Documents List @@ -429,7 +463,7 @@ namespace Example try { // Get Bin Received Documents List - GetBinIssuedDocumentResponse result = apiInstance.GetBinReceivedDocument(companyId, documentId); + GetBinReceivedDocumentResponse result = apiInstance.GetBinReceivedDocument(companyId, documentId); Debug.WriteLine(result); } catch (ApiException e) @@ -450,7 +484,7 @@ This returns an ApiResponse object which contains the response data, status code try { // Get Bin Received Documents List - ApiResponse response = apiInstance.GetBinReceivedDocumentWithHttpInfo(companyId, documentId); + ApiResponse response = apiInstance.GetBinReceivedDocumentWithHttpInfo(companyId, documentId); Debug.Write("Status Code: " + response.StatusCode); Debug.Write("Response Headers: " + response.Headers); Debug.Write("Response Body: " + response.Data); @@ -472,7 +506,7 @@ catch (ApiException e) ### Return type -[**GetBinIssuedDocumentResponse**](GetBinIssuedDocumentResponse.md) +[**GetBinReceivedDocumentResponse**](GetBinReceivedDocumentResponse.md) ### Authorization @@ -487,7 +521,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Bin issued document details | - | +| **200** | Bin received document details | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -585,7 +628,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Document Totals. | - | +| **200** | Document Totals. | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -681,9 +733,125 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Document Totals. | - | -| **401** | Unauthorized | - | -| **404** | Not Found | - | +| **200** | Document Totals. | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **GetPendingReceivedDocument** +> GetPendingReceivedDocumentResponse GetPendingReceivedDocument (int companyId, int documentId, string fields = null, string fieldset = null) + +Get Pending Received Document + +Gets the specified pending received document. + +### Example +```csharp +using System.Collections.Generic; +using System.Diagnostics; +using It.FattureInCloud.Sdk.Api; +using It.FattureInCloud.Sdk.Client; +using It.FattureInCloud.Sdk.Model; + +namespace Example +{ + public class GetPendingReceivedDocumentExample + { + public static void Main() + { + Configuration config = new Configuration(); + config.BasePath = "https://api-v2.fattureincloud.it"; + // Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow + config.AccessToken = "YOUR_ACCESS_TOKEN"; + + var apiInstance = new ReceivedDocumentsApi(config); + var companyId = 12345; // int | The ID of the company. + var documentId = 56; // int | The ID of the document. + var fields = "fields_example"; // string | List of comma-separated fields. (optional) + var fieldset = "basic"; // string | Name of the fieldset. (optional) + + try + { + // Get Pending Received Document + GetPendingReceivedDocumentResponse result = apiInstance.GetPendingReceivedDocument(companyId, documentId, fields, fieldset); + Debug.WriteLine(result); + } + catch (ApiException e) + { + Debug.Print("Exception when calling ReceivedDocumentsApi.GetPendingReceivedDocument: " + e.Message); + Debug.Print("Status Code: " + e.ErrorCode); + Debug.Print(e.StackTrace); + } + } + } +} +``` + +#### Using the GetPendingReceivedDocumentWithHttpInfo variant +This returns an ApiResponse object which contains the response data, status code and headers. + +```csharp +try +{ + // Get Pending Received Document + ApiResponse response = apiInstance.GetPendingReceivedDocumentWithHttpInfo(companyId, documentId, fields, fieldset); + Debug.Write("Status Code: " + response.StatusCode); + Debug.Write("Response Headers: " + response.Headers); + Debug.Write("Response Body: " + response.Data); +} +catch (ApiException e) +{ + Debug.Print("Exception when calling ReceivedDocumentsApi.GetPendingReceivedDocumentWithHttpInfo: " + e.Message); + Debug.Print("Status Code: " + e.ErrorCode); + Debug.Print(e.StackTrace); +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------|------|-------------|-------| +| **companyId** | **int** | The ID of the company. | | +| **documentId** | **int** | The ID of the document. | | +| **fields** | **string** | List of comma-separated fields. | [optional] | +| **fieldset** | **string** | Name of the fieldset. | [optional] | + +### Return type + +[**GetPendingReceivedDocumentResponse**](GetPendingReceivedDocumentResponse.md) + +### Authorization + +[OAuth2AuthenticationCodeFlow](../README.md#OAuth2AuthenticationCodeFlow) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | Document details. | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -783,9 +951,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Document details. | - | -| **401** | Unauthorized | - | -| **404** | Not Found | - | +| **200** | Document details. | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -881,7 +1056,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Pre-create info | - | +| **200** | Pre-create info | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -975,7 +1159,133 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Example response | - | +| **200** | Example response | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **ListPendingReceivedDocuments** +> ListPendingReceivedDocumentsResponse ListPendingReceivedDocuments (int companyId, string type, string fields = null, string fieldset = null, string sort = null, int? page = null, int? perPage = null, string q = null) + +List Pending Received Documents + +Lists the pending received documents. + +### Example +```csharp +using System.Collections.Generic; +using System.Diagnostics; +using It.FattureInCloud.Sdk.Api; +using It.FattureInCloud.Sdk.Client; +using It.FattureInCloud.Sdk.Model; + +namespace Example +{ + public class ListPendingReceivedDocumentsExample + { + public static void Main() + { + Configuration config = new Configuration(); + config.BasePath = "https://api-v2.fattureincloud.it"; + // Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow + config.AccessToken = "YOUR_ACCESS_TOKEN"; + + var apiInstance = new ReceivedDocumentsApi(config); + var companyId = 12345; // int | The ID of the company. + var type = "agyo"; // string | The type of the pending received document. + var fields = "fields_example"; // string | List of comma-separated fields. (optional) + var fieldset = "basic"; // string | Name of the fieldset. (optional) + var sort = "sort_example"; // string | List of comma-separated fields for result sorting (minus for desc sorting). (optional) + var page = 1; // int? | The page to retrieve. (optional) (default to 1) + var perPage = 5; // int? | The size of the page. (optional) (default to 5) + var q = "q_example"; // string | Query for filtering the results. (optional) + + try + { + // List Pending Received Documents + ListPendingReceivedDocumentsResponse result = apiInstance.ListPendingReceivedDocuments(companyId, type, fields, fieldset, sort, page, perPage, q); + Debug.WriteLine(result); + } + catch (ApiException e) + { + Debug.Print("Exception when calling ReceivedDocumentsApi.ListPendingReceivedDocuments: " + e.Message); + Debug.Print("Status Code: " + e.ErrorCode); + Debug.Print(e.StackTrace); + } + } + } +} +``` + +#### Using the ListPendingReceivedDocumentsWithHttpInfo variant +This returns an ApiResponse object which contains the response data, status code and headers. + +```csharp +try +{ + // List Pending Received Documents + ApiResponse response = apiInstance.ListPendingReceivedDocumentsWithHttpInfo(companyId, type, fields, fieldset, sort, page, perPage, q); + Debug.Write("Status Code: " + response.StatusCode); + Debug.Write("Response Headers: " + response.Headers); + Debug.Write("Response Body: " + response.Data); +} +catch (ApiException e) +{ + Debug.Print("Exception when calling ReceivedDocumentsApi.ListPendingReceivedDocumentsWithHttpInfo: " + e.Message); + Debug.Print("Status Code: " + e.ErrorCode); + Debug.Print(e.StackTrace); +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------|------|-------------|-------| +| **companyId** | **int** | The ID of the company. | | +| **type** | **string** | The type of the pending received document. | | +| **fields** | **string** | List of comma-separated fields. | [optional] | +| **fieldset** | **string** | Name of the fieldset. | [optional] | +| **sort** | **string** | List of comma-separated fields for result sorting (minus for desc sorting). | [optional] | +| **page** | **int?** | The page to retrieve. | [optional] [default to 1] | +| **perPage** | **int?** | The size of the page. | [optional] [default to 5] | +| **q** | **string** | Query for filtering the results. | [optional] | + +### Return type + +[**ListPendingReceivedDocumentsResponse**](ListPendingReceivedDocumentsResponse.md) + +### Authorization + +[OAuth2AuthenticationCodeFlow](../README.md#OAuth2AuthenticationCodeFlow) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | Results list. | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -1083,8 +1393,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Results list. | - | -| **401** | Unauthorized | - | +| **200** | Results list. | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -1182,9 +1500,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Modified document. | - | -| **401** | Unauthorized | - | -| **404** | Not Found | - | +| **200** | Modified document. | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -1270,13 +1595,22 @@ void (empty response body) ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: Not defined + - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | OK | - | +| **200** | OK | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -1374,8 +1708,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Attachment Token. | - | -| **401** | Unauthorized | - | +| **200** | Attachment Token. | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/docs/SettingsApi.md b/docs/SettingsApi.md index c0f4f9f5..1660e053 100644 --- a/docs/SettingsApi.md +++ b/docs/SettingsApi.md @@ -13,7 +13,9 @@ All URIs are relative to *https://api-v2.fattureincloud.it* | [**GetPaymentAccount**](SettingsApi.md#getpaymentaccount) | **GET** /c/{company_id}/settings/payment_accounts/{payment_account_id} | Get Payment Account | | [**GetPaymentMethod**](SettingsApi.md#getpaymentmethod) | **GET** /c/{company_id}/settings/payment_methods/{payment_method_id} | Get Payment Method | | [**GetTaxProfile**](SettingsApi.md#gettaxprofile) | **GET** /c/{company_id}/settings/tax_profile | Get Tax Profile | +| [**GetTemplate**](SettingsApi.md#gettemplate) | **GET** /c/{company_id}/settings/templates/{template_id} | Get Template | | [**GetVatType**](SettingsApi.md#getvattype) | **GET** /c/{company_id}/settings/vat_types/{vat_type_id} | Get Vat Type | +| [**ListTemplates**](SettingsApi.md#listtemplates) | **GET** /c/{company_id}/settings/templates | List Templates | | [**ModifyPaymentAccount**](SettingsApi.md#modifypaymentaccount) | **PUT** /c/{company_id}/settings/payment_accounts/{payment_account_id} | Modify Payment Account | | [**ModifyPaymentMethod**](SettingsApi.md#modifypaymentmethod) | **PUT** /c/{company_id}/settings/payment_methods/{payment_method_id} | Modify Payment Method | | [**ModifyVatType**](SettingsApi.md#modifyvattype) | **PUT** /c/{company_id}/settings/vat_types/{vat_type_id} | Modify Vat Type | @@ -110,7 +112,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Example response | - | +| **200** | Example response | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -206,7 +217,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Example response | - | +| **200** | Example response | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -302,7 +322,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Example response | - | +| **200** | Example response | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -388,13 +417,22 @@ void (empty response body) ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: Not defined + - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | OK | - | +| **200** | OK | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -480,13 +518,22 @@ void (empty response body) ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: Not defined + - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | OK | - | +| **200** | OK | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -572,13 +619,22 @@ void (empty response body) ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: Not defined + - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | OK | - | +| **200** | OK | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -678,7 +734,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Example response | - | +| **200** | Example response | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -778,7 +843,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Example response | - | +| **200** | Example response | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -872,7 +946,125 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Example response | - | +| **200** | Example response | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **GetTemplate** +> GetTemplatesResponse GetTemplate (int companyId, int templateId, string fields = null, string fieldset = null) + +Get Template + +Gets a specified template. + +### Example +```csharp +using System.Collections.Generic; +using System.Diagnostics; +using It.FattureInCloud.Sdk.Api; +using It.FattureInCloud.Sdk.Client; +using It.FattureInCloud.Sdk.Model; + +namespace Example +{ + public class GetTemplateExample + { + public static void Main() + { + Configuration config = new Configuration(); + config.BasePath = "https://api-v2.fattureincloud.it"; + // Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow + config.AccessToken = "YOUR_ACCESS_TOKEN"; + + var apiInstance = new SettingsApi(config); + var companyId = 12345; // int | The ID of the company. + var templateId = 56; // int | The Referred Template Id. + var fields = "fields_example"; // string | List of comma-separated fields. (optional) + var fieldset = "basic"; // string | Name of the fieldset. (optional) + + try + { + // Get Template + GetTemplatesResponse result = apiInstance.GetTemplate(companyId, templateId, fields, fieldset); + Debug.WriteLine(result); + } + catch (ApiException e) + { + Debug.Print("Exception when calling SettingsApi.GetTemplate: " + e.Message); + Debug.Print("Status Code: " + e.ErrorCode); + Debug.Print(e.StackTrace); + } + } + } +} +``` + +#### Using the GetTemplateWithHttpInfo variant +This returns an ApiResponse object which contains the response data, status code and headers. + +```csharp +try +{ + // Get Template + ApiResponse response = apiInstance.GetTemplateWithHttpInfo(companyId, templateId, fields, fieldset); + Debug.Write("Status Code: " + response.StatusCode); + Debug.Write("Response Headers: " + response.Headers); + Debug.Write("Response Body: " + response.Data); +} +catch (ApiException e) +{ + Debug.Print("Exception when calling SettingsApi.GetTemplateWithHttpInfo: " + e.Message); + Debug.Print("Status Code: " + e.ErrorCode); + Debug.Print(e.StackTrace); +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------|------|-------------|-------| +| **companyId** | **int** | The ID of the company. | | +| **templateId** | **int** | The Referred Template Id. | | +| **fields** | **string** | List of comma-separated fields. | [optional] | +| **fieldset** | **string** | Name of the fieldset. | [optional] | + +### Return type + +[**GetTemplatesResponse**](GetTemplatesResponse.md) + +### Authorization + +[OAuth2AuthenticationCodeFlow](../README.md#OAuth2AuthenticationCodeFlow) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | Example response | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -968,7 +1160,123 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Example response | - | +| **200** | Example response | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **ListTemplates** +> ListTemplatesResponse ListTemplates (int companyId, string fields = null, string fieldset = null) + +List Templates + +Gets all the standard and private templates. + +### Example +```csharp +using System.Collections.Generic; +using System.Diagnostics; +using It.FattureInCloud.Sdk.Api; +using It.FattureInCloud.Sdk.Client; +using It.FattureInCloud.Sdk.Model; + +namespace Example +{ + public class ListTemplatesExample + { + public static void Main() + { + Configuration config = new Configuration(); + config.BasePath = "https://api-v2.fattureincloud.it"; + // Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow + config.AccessToken = "YOUR_ACCESS_TOKEN"; + + var apiInstance = new SettingsApi(config); + var companyId = 12345; // int | The ID of the company. + var fields = "fields_example"; // string | List of comma-separated fields. (optional) + var fieldset = "basic"; // string | Name of the fieldset. (optional) + + try + { + // List Templates + ListTemplatesResponse result = apiInstance.ListTemplates(companyId, fields, fieldset); + Debug.WriteLine(result); + } + catch (ApiException e) + { + Debug.Print("Exception when calling SettingsApi.ListTemplates: " + e.Message); + Debug.Print("Status Code: " + e.ErrorCode); + Debug.Print(e.StackTrace); + } + } + } +} +``` + +#### Using the ListTemplatesWithHttpInfo variant +This returns an ApiResponse object which contains the response data, status code and headers. + +```csharp +try +{ + // List Templates + ApiResponse response = apiInstance.ListTemplatesWithHttpInfo(companyId, fields, fieldset); + Debug.Write("Status Code: " + response.StatusCode); + Debug.Write("Response Headers: " + response.Headers); + Debug.Write("Response Body: " + response.Data); +} +catch (ApiException e) +{ + Debug.Print("Exception when calling SettingsApi.ListTemplatesWithHttpInfo: " + e.Message); + Debug.Print("Status Code: " + e.ErrorCode); + Debug.Print(e.StackTrace); +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------|------|-------------|-------| +| **companyId** | **int** | The ID of the company. | | +| **fields** | **string** | List of comma-separated fields. | [optional] | +| **fieldset** | **string** | Name of the fieldset. | [optional] | + +### Return type + +[**ListTemplatesResponse**](ListTemplatesResponse.md) + +### Authorization + +[OAuth2AuthenticationCodeFlow](../README.md#OAuth2AuthenticationCodeFlow) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | Templates list. | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -1066,7 +1374,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Example response | - | +| **200** | Example response | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -1164,7 +1481,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Example response | - | +| **200** | Example response | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -1262,7 +1588,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Example response | - | +| **200** | Example response | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/docs/SuppliersApi.md b/docs/SuppliersApi.md index 671143a1..a901a3a0 100644 --- a/docs/SuppliersApi.md +++ b/docs/SuppliersApi.md @@ -102,7 +102,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Example response | - | +| **200** | Example response | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -188,15 +197,22 @@ void (empty response body) ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: Not defined + - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Entity Removed | - | -| **401** | Unauthorized | - | -| **404** | Not Found | - | +| **200** | Entity Removed | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -296,9 +312,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Example response | - | -| **401** | Unauthorized | - | -| **404** | Not Found | - | +| **200** | Example response | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -404,8 +427,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Example response | - | -| **401** | Unauthorized | - | +| **200** | Example response | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -503,9 +534,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Example response | - | -| **401** | Unauthorized | - | -| **404** | Not Found | - | +| **200** | Example response | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/docs/TaxesApi.md b/docs/TaxesApi.md index deb8dab9..3dad60e5 100644 --- a/docs/TaxesApi.md +++ b/docs/TaxesApi.md @@ -104,9 +104,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | The created F24 | - | -| **401** | Unauthorized | - | -| **404** | Not Found | - | +| **200** | The created F24 | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -192,15 +199,22 @@ void (empty response body) ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: Not defined + - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Document removed. | - | -| **401** | Unauthorized | - | -| **404** | Not Found | - | +| **200** | Document removed. | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -286,15 +300,22 @@ void (empty response body) ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: Not defined + - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | File Removed. | - | -| **401** | Unauthorized | - | -| **404** | Not Found | - | +| **200** | File Removed. | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -394,9 +415,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | The F24 | - | -| **401** | Unauthorized | - | -| **404** | Not Found | - | +| **200** | The F24 | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -502,8 +530,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Results list. | - | -| **401** | Unauthorized | - | +| **200** | Results list. | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -601,9 +637,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | The modified F24 | - | -| **401** | Unauthorized | - | -| **404** | Not Found | - | +| **200** | The modified F24 | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -701,7 +744,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Attachment Token. | - | +| **200** | Attachment Token. | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/docs/TemplateType.md b/docs/TemplateType.md new file mode 100644 index 00000000..e77244c0 --- /dev/null +++ b/docs/TemplateType.md @@ -0,0 +1,10 @@ +# It.FattureInCloud.Sdk.Model.TemplateType +Template type + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/UserApi.md b/docs/UserApi.md index fa219738..6d071c5e 100644 --- a/docs/UserApi.md +++ b/docs/UserApi.md @@ -92,8 +92,16 @@ This endpoint does not need any parameter. ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | | - | -| **401** | Unauthorized. | - | +| **200** | | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -182,8 +190,16 @@ This endpoint does not need any parameter. ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | User Companies. | - | -| **401** | Unauthorized | - | +| **200** | User Companies. | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/docs/WebhooksApi.md b/docs/WebhooksApi.md index ee2fc382..fe4fabc6 100644 --- a/docs/WebhooksApi.md +++ b/docs/WebhooksApi.md @@ -103,7 +103,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Example response | - | +| **200** | Example response | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -189,13 +198,22 @@ void (empty response body) ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: Not defined + - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | OK | - | +| **200** | OK | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -291,7 +309,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Example response | - | +| **200** | Example response | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -385,7 +412,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Example response | - | +| **200** | Example response | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -483,7 +519,16 @@ catch (ApiException e) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Example response | - | +| **200** | Example response | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -571,13 +616,22 @@ void (empty response body) ### HTTP request headers - **Content-Type**: application/json - - **Accept**: Not defined + - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | OK | - | +| **200** | OK | * RateLimit-HourlyRemaining -
* RateLimit-HourlyLimit -
* RateLimit-MonthlyRemaining -
* RateLimit-MonthlyLimit -
| +| **400** | ErrorResponse | * Retry-After -
| +| **401** | ErrorResponse | * Retry-After -
| +| **403** | ErrorResponse | * Retry-After -
| +| **404** | ErrorResponse | * Retry-After -
| +| **405** | ErrorResponse | * Retry-After -
| +| **409** | ErrorResponse | * Retry-After -
| +| **422** | ErrorResponse | * Retry-After -
| +| **429** | ErrorResponse | * Retry-After -
| +| **500** | ErrorResponse | * Retry-After -
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/sdk-version.yaml b/sdk-version.yaml index 16565b6b..f82ddaa2 100644 --- a/sdk-version.yaml +++ b/sdk-version.yaml @@ -1,2 +1,2 @@ info: - version: 2.1.2 + version: 2.1.3 diff --git a/src/It.FattureInCloud.Sdk.Test/It.FattureInCloud.Sdk.Test.csproj b/src/It.FattureInCloud.Sdk.Test/It.FattureInCloud.Sdk.Test.csproj index 0d806eac..807edd3c 100644 --- a/src/It.FattureInCloud.Sdk.Test/It.FattureInCloud.Sdk.Test.csproj +++ b/src/It.FattureInCloud.Sdk.Test/It.FattureInCloud.Sdk.Test.csproj @@ -17,4 +17,4 @@ - \ No newline at end of file + diff --git a/src/It.FattureInCloud.Sdk.Test/Model/AttachmentTests.cs b/src/It.FattureInCloud.Sdk.Test/Model/AttachmentTests.cs new file mode 100644 index 00000000..bc6b7b8c --- /dev/null +++ b/src/It.FattureInCloud.Sdk.Test/Model/AttachmentTests.cs @@ -0,0 +1,76 @@ +/* + * Fatture in Cloud API v2 - API Reference + * + * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. + * + * The version of the OpenAPI document: 2.1.8 + * Contact: info@fattureincloud.it + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using It.FattureInCloud.Sdk.Model; +using It.FattureInCloud.Sdk.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace It.FattureInCloud.Sdk.Test.Model +{ + /// + /// Class for testing Attachment + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class AttachmentTests : IDisposable + { + // TODO uncomment below to declare an instance variable for Attachment + //private Attachment instance; + + public AttachmentTests() + { + // TODO uncomment below to create an instance of Attachment + //instance = new Attachment(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of Attachment + /// + [Fact] + public void AttachmentInstanceTest() + { + // TODO uncomment below to test "IsType" Attachment + //Assert.IsType(instance); + } + + /// + /// Test the property 'Filename' + /// + [Fact] + public void FilenameTest() + { + // TODO unit test for the property 'Filename' + } + + /// + /// Test the property 'VarAttachment' + /// + [Fact] + public void VarAttachmentTest() + { + // TODO unit test for the property 'VarAttachment' + } + } +} diff --git a/src/It.FattureInCloud.Sdk.Test/Model/GetPendingReceivedDocumentResponseTests.cs b/src/It.FattureInCloud.Sdk.Test/Model/GetPendingReceivedDocumentResponseTests.cs new file mode 100644 index 00000000..e37ead38 --- /dev/null +++ b/src/It.FattureInCloud.Sdk.Test/Model/GetPendingReceivedDocumentResponseTests.cs @@ -0,0 +1,67 @@ +/* + * Fatture in Cloud API v2 - API Reference + * + * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. + * + * The version of the OpenAPI document: 2.1.8 + * Contact: info@fattureincloud.it + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using It.FattureInCloud.Sdk.Model; +using It.FattureInCloud.Sdk.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace It.FattureInCloud.Sdk.Test.Model +{ + /// + /// Class for testing GetPendingReceivedDocumentResponse + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class GetPendingReceivedDocumentResponseTests : IDisposable + { + // TODO uncomment below to declare an instance variable for GetPendingReceivedDocumentResponse + //private GetPendingReceivedDocumentResponse instance; + + public GetPendingReceivedDocumentResponseTests() + { + // TODO uncomment below to create an instance of GetPendingReceivedDocumentResponse + //instance = new GetPendingReceivedDocumentResponse(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of GetPendingReceivedDocumentResponse + /// + [Fact] + public void GetPendingReceivedDocumentResponseInstanceTest() + { + // TODO uncomment below to test "IsType" GetPendingReceivedDocumentResponse + //Assert.IsType(instance); + } + + /// + /// Test the property 'Data' + /// + [Fact] + public void DataTest() + { + // TODO unit test for the property 'Data' + } + } +} diff --git a/src/It.FattureInCloud.Sdk.Test/Model/GetTemplatesResponseTests.cs b/src/It.FattureInCloud.Sdk.Test/Model/GetTemplatesResponseTests.cs new file mode 100644 index 00000000..87282b56 --- /dev/null +++ b/src/It.FattureInCloud.Sdk.Test/Model/GetTemplatesResponseTests.cs @@ -0,0 +1,67 @@ +/* + * Fatture in Cloud API v2 - API Reference + * + * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. + * + * The version of the OpenAPI document: 2.1.8 + * Contact: info@fattureincloud.it + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using It.FattureInCloud.Sdk.Model; +using It.FattureInCloud.Sdk.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace It.FattureInCloud.Sdk.Test.Model +{ + /// + /// Class for testing GetTemplatesResponse + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class GetTemplatesResponseTests : IDisposable + { + // TODO uncomment below to declare an instance variable for GetTemplatesResponse + //private GetTemplatesResponse instance; + + public GetTemplatesResponseTests() + { + // TODO uncomment below to create an instance of GetTemplatesResponse + //instance = new GetTemplatesResponse(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of GetTemplatesResponse + /// + [Fact] + public void GetTemplatesResponseInstanceTest() + { + // TODO uncomment below to test "IsType" GetTemplatesResponse + //Assert.IsType(instance); + } + + /// + /// Test the property 'Data' + /// + [Fact] + public void DataTest() + { + // TODO unit test for the property 'Data' + } + } +} diff --git a/src/It.FattureInCloud.Sdk.Test/Model/ListPendingReceivedDocumentsResponsePageTests.cs b/src/It.FattureInCloud.Sdk.Test/Model/ListPendingReceivedDocumentsResponsePageTests.cs new file mode 100644 index 00000000..feb48fbf --- /dev/null +++ b/src/It.FattureInCloud.Sdk.Test/Model/ListPendingReceivedDocumentsResponsePageTests.cs @@ -0,0 +1,67 @@ +/* + * Fatture in Cloud API v2 - API Reference + * + * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. + * + * The version of the OpenAPI document: 2.1.8 + * Contact: info@fattureincloud.it + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using It.FattureInCloud.Sdk.Model; +using It.FattureInCloud.Sdk.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace It.FattureInCloud.Sdk.Test.Model +{ + /// + /// Class for testing ListPendingReceivedDocumentsResponsePage + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class ListPendingReceivedDocumentsResponsePageTests : IDisposable + { + // TODO uncomment below to declare an instance variable for ListPendingReceivedDocumentsResponsePage + //private ListPendingReceivedDocumentsResponsePage instance; + + public ListPendingReceivedDocumentsResponsePageTests() + { + // TODO uncomment below to create an instance of ListPendingReceivedDocumentsResponsePage + //instance = new ListPendingReceivedDocumentsResponsePage(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of ListPendingReceivedDocumentsResponsePage + /// + [Fact] + public void ListPendingReceivedDocumentsResponsePageInstanceTest() + { + // TODO uncomment below to test "IsType" ListPendingReceivedDocumentsResponsePage + //Assert.IsType(instance); + } + + /// + /// Test the property 'Data' + /// + [Fact] + public void DataTest() + { + // TODO unit test for the property 'Data' + } + } +} diff --git a/src/It.FattureInCloud.Sdk.Test/Model/ListPendingReceivedDocumentsResponseTests.cs b/src/It.FattureInCloud.Sdk.Test/Model/ListPendingReceivedDocumentsResponseTests.cs new file mode 100644 index 00000000..162e61d5 --- /dev/null +++ b/src/It.FattureInCloud.Sdk.Test/Model/ListPendingReceivedDocumentsResponseTests.cs @@ -0,0 +1,166 @@ +/* + * Fatture in Cloud API v2 - API Reference + * + * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. + * + * The version of the OpenAPI document: 2.1.8 + * Contact: info@fattureincloud.it + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using It.FattureInCloud.Sdk.Model; +using It.FattureInCloud.Sdk.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace It.FattureInCloud.Sdk.Test.Model +{ + /// + /// Class for testing ListPendingReceivedDocumentsResponse + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class ListPendingReceivedDocumentsResponseTests : IDisposable + { + // TODO uncomment below to declare an instance variable for ListPendingReceivedDocumentsResponse + //private ListPendingReceivedDocumentsResponse instance; + + public ListPendingReceivedDocumentsResponseTests() + { + // TODO uncomment below to create an instance of ListPendingReceivedDocumentsResponse + //instance = new ListPendingReceivedDocumentsResponse(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of ListPendingReceivedDocumentsResponse + /// + [Fact] + public void ListPendingReceivedDocumentsResponseInstanceTest() + { + // TODO uncomment below to test "IsType" ListPendingReceivedDocumentsResponse + //Assert.IsType(instance); + } + + /// + /// Test the property 'CurrentPage' + /// + [Fact] + public void CurrentPageTest() + { + // TODO unit test for the property 'CurrentPage' + } + + /// + /// Test the property 'FirstPageUrl' + /// + [Fact] + public void FirstPageUrlTest() + { + // TODO unit test for the property 'FirstPageUrl' + } + + /// + /// Test the property 'From' + /// + [Fact] + public void FromTest() + { + // TODO unit test for the property 'From' + } + + /// + /// Test the property 'LastPage' + /// + [Fact] + public void LastPageTest() + { + // TODO unit test for the property 'LastPage' + } + + /// + /// Test the property 'LastPageUrl' + /// + [Fact] + public void LastPageUrlTest() + { + // TODO unit test for the property 'LastPageUrl' + } + + /// + /// Test the property 'NextPageUrl' + /// + [Fact] + public void NextPageUrlTest() + { + // TODO unit test for the property 'NextPageUrl' + } + + /// + /// Test the property 'Path' + /// + [Fact] + public void PathTest() + { + // TODO unit test for the property 'Path' + } + + /// + /// Test the property 'PerPage' + /// + [Fact] + public void PerPageTest() + { + // TODO unit test for the property 'PerPage' + } + + /// + /// Test the property 'PrevPageUrl' + /// + [Fact] + public void PrevPageUrlTest() + { + // TODO unit test for the property 'PrevPageUrl' + } + + /// + /// Test the property 'To' + /// + [Fact] + public void ToTest() + { + // TODO unit test for the property 'To' + } + + /// + /// Test the property 'Total' + /// + [Fact] + public void TotalTest() + { + // TODO unit test for the property 'Total' + } + + /// + /// Test the property 'Data' + /// + [Fact] + public void DataTest() + { + // TODO unit test for the property 'Data' + } + } +} diff --git a/src/It.FattureInCloud.Sdk.Test/Model/PendingReceivedDocumentExtractedDataMiningTests.cs b/src/It.FattureInCloud.Sdk.Test/Model/PendingReceivedDocumentExtractedDataMiningTests.cs new file mode 100644 index 00000000..1b484d62 --- /dev/null +++ b/src/It.FattureInCloud.Sdk.Test/Model/PendingReceivedDocumentExtractedDataMiningTests.cs @@ -0,0 +1,67 @@ +/* + * Fatture in Cloud API v2 - API Reference + * + * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. + * + * The version of the OpenAPI document: 2.1.8 + * Contact: info@fattureincloud.it + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using It.FattureInCloud.Sdk.Model; +using It.FattureInCloud.Sdk.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace It.FattureInCloud.Sdk.Test.Model +{ + /// + /// Class for testing PendingReceivedDocumentExtractedDataMining + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class PendingReceivedDocumentExtractedDataMiningTests : IDisposable + { + // TODO uncomment below to declare an instance variable for PendingReceivedDocumentExtractedDataMining + //private PendingReceivedDocumentExtractedDataMining instance; + + public PendingReceivedDocumentExtractedDataMiningTests() + { + // TODO uncomment below to create an instance of PendingReceivedDocumentExtractedDataMining + //instance = new PendingReceivedDocumentExtractedDataMining(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of PendingReceivedDocumentExtractedDataMining + /// + [Fact] + public void PendingReceivedDocumentExtractedDataMiningInstanceTest() + { + // TODO uncomment below to test "IsType" PendingReceivedDocumentExtractedDataMining + //Assert.IsType(instance); + } + + /// + /// Test the property 'SaveEntity' + /// + [Fact] + public void SaveEntityTest() + { + // TODO unit test for the property 'SaveEntity' + } + } +} diff --git a/src/It.FattureInCloud.Sdk.Test/Model/PendingReceivedDocumentExtractedDataTests.cs b/src/It.FattureInCloud.Sdk.Test/Model/PendingReceivedDocumentExtractedDataTests.cs new file mode 100644 index 00000000..fc886512 --- /dev/null +++ b/src/It.FattureInCloud.Sdk.Test/Model/PendingReceivedDocumentExtractedDataTests.cs @@ -0,0 +1,67 @@ +/* + * Fatture in Cloud API v2 - API Reference + * + * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. + * + * The version of the OpenAPI document: 2.1.8 + * Contact: info@fattureincloud.it + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using It.FattureInCloud.Sdk.Model; +using It.FattureInCloud.Sdk.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace It.FattureInCloud.Sdk.Test.Model +{ + /// + /// Class for testing PendingReceivedDocumentExtractedData + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class PendingReceivedDocumentExtractedDataTests : IDisposable + { + // TODO uncomment below to declare an instance variable for PendingReceivedDocumentExtractedData + //private PendingReceivedDocumentExtractedData instance; + + public PendingReceivedDocumentExtractedDataTests() + { + // TODO uncomment below to create an instance of PendingReceivedDocumentExtractedData + //instance = new PendingReceivedDocumentExtractedData(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of PendingReceivedDocumentExtractedData + /// + [Fact] + public void PendingReceivedDocumentExtractedDataInstanceTest() + { + // TODO uncomment below to test "IsType" PendingReceivedDocumentExtractedData + //Assert.IsType(instance); + } + + /// + /// Test the property 'Mining' + /// + [Fact] + public void MiningTest() + { + // TODO unit test for the property 'Mining' + } + } +} diff --git a/src/It.FattureInCloud.Sdk.Test/Model/PendingReceivedDocumentPaymentsListItemPaymentTermsTests.cs b/src/It.FattureInCloud.Sdk.Test/Model/PendingReceivedDocumentPaymentsListItemPaymentTermsTests.cs new file mode 100644 index 00000000..1ae0f073 --- /dev/null +++ b/src/It.FattureInCloud.Sdk.Test/Model/PendingReceivedDocumentPaymentsListItemPaymentTermsTests.cs @@ -0,0 +1,76 @@ +/* + * Fatture in Cloud API v2 - API Reference + * + * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. + * + * The version of the OpenAPI document: 2.1.8 + * Contact: info@fattureincloud.it + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using It.FattureInCloud.Sdk.Model; +using It.FattureInCloud.Sdk.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace It.FattureInCloud.Sdk.Test.Model +{ + /// + /// Class for testing PendingReceivedDocumentPaymentsListItemPaymentTerms + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class PendingReceivedDocumentPaymentsListItemPaymentTermsTests : IDisposable + { + // TODO uncomment below to declare an instance variable for PendingReceivedDocumentPaymentsListItemPaymentTerms + //private PendingReceivedDocumentPaymentsListItemPaymentTerms instance; + + public PendingReceivedDocumentPaymentsListItemPaymentTermsTests() + { + // TODO uncomment below to create an instance of PendingReceivedDocumentPaymentsListItemPaymentTerms + //instance = new PendingReceivedDocumentPaymentsListItemPaymentTerms(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of PendingReceivedDocumentPaymentsListItemPaymentTerms + /// + [Fact] + public void PendingReceivedDocumentPaymentsListItemPaymentTermsInstanceTest() + { + // TODO uncomment below to test "IsType" PendingReceivedDocumentPaymentsListItemPaymentTerms + //Assert.IsType(instance); + } + + /// + /// Test the property 'Days' + /// + [Fact] + public void DaysTest() + { + // TODO unit test for the property 'Days' + } + + /// + /// Test the property 'Type' + /// + [Fact] + public void TypeTest() + { + // TODO unit test for the property 'Type' + } + } +} diff --git a/src/It.FattureInCloud.Sdk.Test/Model/PendingReceivedDocumentPaymentsListItemTests.cs b/src/It.FattureInCloud.Sdk.Test/Model/PendingReceivedDocumentPaymentsListItemTests.cs new file mode 100644 index 00000000..3853c12d --- /dev/null +++ b/src/It.FattureInCloud.Sdk.Test/Model/PendingReceivedDocumentPaymentsListItemTests.cs @@ -0,0 +1,121 @@ +/* + * Fatture in Cloud API v2 - API Reference + * + * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. + * + * The version of the OpenAPI document: 2.1.8 + * Contact: info@fattureincloud.it + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using It.FattureInCloud.Sdk.Model; +using It.FattureInCloud.Sdk.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace It.FattureInCloud.Sdk.Test.Model +{ + /// + /// Class for testing PendingReceivedDocumentPaymentsListItem + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class PendingReceivedDocumentPaymentsListItemTests : IDisposable + { + // TODO uncomment below to declare an instance variable for PendingReceivedDocumentPaymentsListItem + //private PendingReceivedDocumentPaymentsListItem instance; + + public PendingReceivedDocumentPaymentsListItemTests() + { + // TODO uncomment below to create an instance of PendingReceivedDocumentPaymentsListItem + //instance = new PendingReceivedDocumentPaymentsListItem(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of PendingReceivedDocumentPaymentsListItem + /// + [Fact] + public void PendingReceivedDocumentPaymentsListItemInstanceTest() + { + // TODO uncomment below to test "IsType" PendingReceivedDocumentPaymentsListItem + //Assert.IsType(instance); + } + + /// + /// Test the property 'Amount' + /// + [Fact] + public void AmountTest() + { + // TODO unit test for the property 'Amount' + } + + /// + /// Test the property 'DueDate' + /// + [Fact] + public void DueDateTest() + { + // TODO unit test for the property 'DueDate' + } + + /// + /// Test the property 'PaidDate' + /// + [Fact] + public void PaidDateTest() + { + // TODO unit test for the property 'PaidDate' + } + + /// + /// Test the property 'PaymentTerms' + /// + [Fact] + public void PaymentTermsTest() + { + // TODO unit test for the property 'PaymentTerms' + } + + /// + /// Test the property 'Status' + /// + [Fact] + public void StatusTest() + { + // TODO unit test for the property 'Status' + } + + /// + /// Test the property 'PaidWithTsPay' + /// + [Fact] + public void PaidWithTsPayTest() + { + // TODO unit test for the property 'PaidWithTsPay' + } + + /// + /// Test the property 'PaymentAccount' + /// + [Fact] + public void PaymentAccountTest() + { + // TODO unit test for the property 'PaymentAccount' + } + } +} diff --git a/src/It.FattureInCloud.Sdk.Test/Model/PendingReceivedDocumentTests.cs b/src/It.FattureInCloud.Sdk.Test/Model/PendingReceivedDocumentTests.cs new file mode 100644 index 00000000..5f744b7e --- /dev/null +++ b/src/It.FattureInCloud.Sdk.Test/Model/PendingReceivedDocumentTests.cs @@ -0,0 +1,229 @@ +/* + * Fatture in Cloud API v2 - API Reference + * + * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. + * + * The version of the OpenAPI document: 2.1.8 + * Contact: info@fattureincloud.it + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using It.FattureInCloud.Sdk.Model; +using It.FattureInCloud.Sdk.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace It.FattureInCloud.Sdk.Test.Model +{ + /// + /// Class for testing PendingReceivedDocument + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class PendingReceivedDocumentTests : IDisposable + { + // TODO uncomment below to declare an instance variable for PendingReceivedDocument + //private PendingReceivedDocument instance; + + public PendingReceivedDocumentTests() + { + // TODO uncomment below to create an instance of PendingReceivedDocument + //instance = new PendingReceivedDocument(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of PendingReceivedDocument + /// + [Fact] + public void PendingReceivedDocumentInstanceTest() + { + // TODO uncomment below to test "IsType" PendingReceivedDocument + //Assert.IsType(instance); + } + + /// + /// Test the property 'Id' + /// + [Fact] + public void IdTest() + { + // TODO unit test for the property 'Id' + } + + /// + /// Test the property 'Date' + /// + [Fact] + public void DateTest() + { + // TODO unit test for the property 'Date' + } + + /// + /// Test the property 'Subject' + /// + [Fact] + public void SubjectTest() + { + // TODO unit test for the property 'Subject' + } + + /// + /// Test the property 'Filename' + /// + [Fact] + public void FilenameTest() + { + // TODO unit test for the property 'Filename' + } + + /// + /// Test the property 'Type' + /// + [Fact] + public void TypeTest() + { + // TODO unit test for the property 'Type' + } + + /// + /// Test the property 'AttachmentUrl' + /// + [Fact] + public void AttachmentUrlTest() + { + // TODO unit test for the property 'AttachmentUrl' + } + + /// + /// Test the property 'AmountGross' + /// + [Fact] + public void AmountGrossTest() + { + // TODO unit test for the property 'AmountGross' + } + + /// + /// Test the property 'Currency' + /// + [Fact] + public void CurrencyTest() + { + // TODO unit test for the property 'Currency' + } + + /// + /// Test the property 'DocumentType' + /// + [Fact] + public void DocumentTypeTest() + { + // TODO unit test for the property 'DocumentType' + } + + /// + /// Test the property 'SupplierName' + /// + [Fact] + public void SupplierNameTest() + { + // TODO unit test for the property 'SupplierName' + } + + /// + /// Test the property 'CostCenter' + /// + [Fact] + public void CostCenterTest() + { + // TODO unit test for the property 'CostCenter' + } + + /// + /// Test the property 'Category' + /// + [Fact] + public void CategoryTest() + { + // TODO unit test for the property 'Category' + } + + /// + /// Test the property 'OtherAttachments' + /// + [Fact] + public void OtherAttachmentsTest() + { + // TODO unit test for the property 'OtherAttachments' + } + + /// + /// Test the property 'EmssionDate' + /// + [Fact] + public void EmssionDateTest() + { + // TODO unit test for the property 'EmssionDate' + } + + /// + /// Test the property 'PaymentsList' + /// + [Fact] + public void PaymentsListTest() + { + // TODO unit test for the property 'PaymentsList' + } + + /// + /// Test the property 'AmountNet' + /// + [Fact] + public void AmountNetTest() + { + // TODO unit test for the property 'AmountNet' + } + + /// + /// Test the property 'AmountVat' + /// + [Fact] + public void AmountVatTest() + { + // TODO unit test for the property 'AmountVat' + } + + /// + /// Test the property 'ImportError' + /// + [Fact] + public void ImportErrorTest() + { + // TODO unit test for the property 'ImportError' + } + + /// + /// Test the property 'ExtractedData' + /// + [Fact] + public void ExtractedDataTest() + { + // TODO unit test for the property 'ExtractedData' + } + } +} diff --git a/src/It.FattureInCloud.Sdk.Test/Model/PendingReceivedDocumentTypeTests.cs b/src/It.FattureInCloud.Sdk.Test/Model/PendingReceivedDocumentTypeTests.cs new file mode 100644 index 00000000..de6e286d --- /dev/null +++ b/src/It.FattureInCloud.Sdk.Test/Model/PendingReceivedDocumentTypeTests.cs @@ -0,0 +1,58 @@ +/* + * Fatture in Cloud API v2 - API Reference + * + * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. + * + * The version of the OpenAPI document: 2.1.8 + * Contact: info@fattureincloud.it + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using It.FattureInCloud.Sdk.Model; +using It.FattureInCloud.Sdk.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace It.FattureInCloud.Sdk.Test.Model +{ + /// + /// Class for testing PendingReceivedDocumentType + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class PendingReceivedDocumentTypeTests : IDisposable + { + // TODO uncomment below to declare an instance variable for PendingReceivedDocumentType + //private PendingReceivedDocumentType instance; + + public PendingReceivedDocumentTypeTests() + { + // TODO uncomment below to create an instance of PendingReceivedDocumentType + //instance = new PendingReceivedDocumentType(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of PendingReceivedDocumentType + /// + [Fact] + public void PendingReceivedDocumentTypeInstanceTest() + { + // TODO uncomment below to test "IsType" PendingReceivedDocumentType + //Assert.IsType(instance); + } + } +} diff --git a/src/It.FattureInCloud.Sdk.Test/Model/TemplateTypeTests.cs b/src/It.FattureInCloud.Sdk.Test/Model/TemplateTypeTests.cs new file mode 100644 index 00000000..691d5cc0 --- /dev/null +++ b/src/It.FattureInCloud.Sdk.Test/Model/TemplateTypeTests.cs @@ -0,0 +1,58 @@ +/* + * Fatture in Cloud API v2 - API Reference + * + * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. + * + * The version of the OpenAPI document: 2.1.8 + * Contact: info@fattureincloud.it + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using It.FattureInCloud.Sdk.Model; +using It.FattureInCloud.Sdk.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace It.FattureInCloud.Sdk.Test.Model +{ + /// + /// Class for testing TemplateType + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class TemplateTypeTests : IDisposable + { + // TODO uncomment below to declare an instance variable for TemplateType + //private TemplateType instance; + + public TemplateTypeTests() + { + // TODO uncomment below to create an instance of TemplateType + //instance = new TemplateType(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of TemplateType + /// + [Fact] + public void TemplateTypeInstanceTest() + { + // TODO uncomment below to test "IsType" TemplateType + //Assert.IsType(instance); + } + } +} diff --git a/src/It.FattureInCloud.Sdk/Api/ArchiveApi.cs b/src/It.FattureInCloud.Sdk/Api/ArchiveApi.cs index f23d6e26..71b88820 100644 --- a/src/It.FattureInCloud.Sdk/Api/ArchiveApi.cs +++ b/src/It.FattureInCloud.Sdk/Api/ArchiveApi.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -687,6 +687,7 @@ public It.FattureInCloud.Sdk.Client.ApiResponse DeleteArchiveDocumentWit // to determine the Accept header string[] _accepts = new string[] { + "application/json" }; var localVarContentType = It.FattureInCloud.Sdk.Client.ClientUtils.SelectHeaderContentType(_contentTypes); @@ -762,6 +763,7 @@ public async System.Threading.Tasks.Task DeleteArchiveDocumentAsync(int companyI // to determine the Accept header string[] _accepts = new string[] { + "application/json" }; var localVarContentType = It.FattureInCloud.Sdk.Client.ClientUtils.SelectHeaderContentType(_contentTypes); diff --git a/src/It.FattureInCloud.Sdk/Api/CashbookApi.cs b/src/It.FattureInCloud.Sdk/Api/CashbookApi.cs index ded84220..003c246d 100644 --- a/src/It.FattureInCloud.Sdk/Api/CashbookApi.cs +++ b/src/It.FattureInCloud.Sdk/Api/CashbookApi.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -633,6 +633,7 @@ public It.FattureInCloud.Sdk.Client.ApiResponse DeleteCashbookEntryWithH // to determine the Accept header string[] _accepts = new string[] { + "application/json" }; var localVarContentType = It.FattureInCloud.Sdk.Client.ClientUtils.SelectHeaderContentType(_contentTypes); @@ -714,6 +715,7 @@ public async System.Threading.Tasks.Task DeleteCashbookEntryAsync(int companyId, // to determine the Accept header string[] _accepts = new string[] { + "application/json" }; var localVarContentType = It.FattureInCloud.Sdk.Client.ClientUtils.SelectHeaderContentType(_contentTypes); diff --git a/src/It.FattureInCloud.Sdk/Api/ClientsApi.cs b/src/It.FattureInCloud.Sdk/Api/ClientsApi.cs index 5e60a717..4769c37a 100644 --- a/src/It.FattureInCloud.Sdk/Api/ClientsApi.cs +++ b/src/It.FattureInCloud.Sdk/Api/ClientsApi.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -679,6 +679,7 @@ public It.FattureInCloud.Sdk.Client.ApiResponse DeleteClientWithHttpInfo // to determine the Accept header string[] _accepts = new string[] { + "application/json" }; var localVarContentType = It.FattureInCloud.Sdk.Client.ClientUtils.SelectHeaderContentType(_contentTypes); @@ -754,6 +755,7 @@ public async System.Threading.Tasks.Task DeleteClientAsync(int companyId, int cl // to determine the Accept header string[] _accepts = new string[] { + "application/json" }; var localVarContentType = It.FattureInCloud.Sdk.Client.ClientUtils.SelectHeaderContentType(_contentTypes); diff --git a/src/It.FattureInCloud.Sdk/Api/CompaniesApi.cs b/src/It.FattureInCloud.Sdk/Api/CompaniesApi.cs index 959ac51b..d534e1e6 100644 --- a/src/It.FattureInCloud.Sdk/Api/CompaniesApi.cs +++ b/src/It.FattureInCloud.Sdk/Api/CompaniesApi.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Api/EmailsApi.cs b/src/It.FattureInCloud.Sdk/Api/EmailsApi.cs index b0b7ab80..b3f7522b 100644 --- a/src/It.FattureInCloud.Sdk/Api/EmailsApi.cs +++ b/src/It.FattureInCloud.Sdk/Api/EmailsApi.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Api/InfoApi.cs b/src/It.FattureInCloud.Sdk/Api/InfoApi.cs index 53f28dce..a53ba2df 100644 --- a/src/It.FattureInCloud.Sdk/Api/InfoApi.cs +++ b/src/It.FattureInCloud.Sdk/Api/InfoApi.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -141,6 +141,31 @@ public interface IInfoApiSync : IApiAccessor /// ApiResponse of ListCurrenciesResponse ApiResponse ListCurrenciesWithHttpInfo(int operationIndex = 0); /// + /// List Default Templates + /// + /// + /// Lists the default available templates. + /// + /// Thrown when fails to make API call + /// Type of the templates. (optional, default to all) + /// [Only if type=all] If true, splits the list in objects, grouping templates by type. (optional, default to false) + /// Index associated with the operation. + /// ListTemplatesResponse + ListTemplatesResponse ListDefaultTemplates(string type = default, bool? byType = default, int operationIndex = 0); + + /// + /// List Default Templates + /// + /// + /// Lists the default available templates. + /// + /// Thrown when fails to make API call + /// Type of the templates. (optional, default to all) + /// [Only if type=all] If true, splits the list in objects, grouping templates by type. (optional, default to false) + /// Index associated with the operation. + /// ApiResponse of ListTemplatesResponse + ApiResponse ListDefaultTemplatesWithHttpInfo(string type = default, bool? byType = default, int operationIndex = 0); + /// /// List Delivery Notes Default Causals /// /// @@ -333,31 +358,6 @@ public interface IInfoApiSync : IApiAccessor /// ApiResponse of ListRevenueCentersResponse ApiResponse ListRevenueCentersWithHttpInfo(int companyId, int operationIndex = 0); /// - /// List Templates - /// - /// - /// Lists the available templates. - /// - /// Thrown when fails to make API call - /// Type of the templates. (optional, default to all) - /// [Only if type=all] If true, splits the list in objects, grouping templates by type. (optional, default to false) - /// Index associated with the operation. - /// ListTemplatesResponse - ListTemplatesResponse ListTemplates(string type = default, bool? byType = default, int operationIndex = 0); - - /// - /// List Templates - /// - /// - /// Lists the available templates. - /// - /// Thrown when fails to make API call - /// Type of the templates. (optional, default to all) - /// [Only if type=all] If true, splits the list in objects, grouping templates by type. (optional, default to false) - /// Index associated with the operation. - /// ApiResponse of ListTemplatesResponse - ApiResponse ListTemplatesWithHttpInfo(string type = default, bool? byType = default, int operationIndex = 0); - /// /// List Units of Measure /// /// @@ -536,6 +536,33 @@ public interface IInfoApiAsync : IApiAccessor /// Task of ApiResponse (ListCurrenciesResponse) System.Threading.Tasks.Task> ListCurrenciesWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default); /// + /// List Default Templates + /// + /// + /// Lists the default available templates. + /// + /// Thrown when fails to make API call + /// Type of the templates. (optional, default to all) + /// [Only if type=all] If true, splits the list in objects, grouping templates by type. (optional, default to false) + /// Index associated with the operation. + /// Cancellation Token to cancel the request. + /// Task of ListTemplatesResponse + System.Threading.Tasks.Task ListDefaultTemplatesAsync(string type = default, bool? byType = default, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default); + + /// + /// List Default Templates + /// + /// + /// Lists the default available templates. + /// + /// Thrown when fails to make API call + /// Type of the templates. (optional, default to all) + /// [Only if type=all] If true, splits the list in objects, grouping templates by type. (optional, default to false) + /// Index associated with the operation. + /// Cancellation Token to cancel the request. + /// Task of ApiResponse (ListTemplatesResponse) + System.Threading.Tasks.Task> ListDefaultTemplatesWithHttpInfoAsync(string type = default, bool? byType = default, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default); + /// /// List Delivery Notes Default Causals /// /// @@ -744,33 +771,6 @@ public interface IInfoApiAsync : IApiAccessor /// Task of ApiResponse (ListRevenueCentersResponse) System.Threading.Tasks.Task> ListRevenueCentersWithHttpInfoAsync(int companyId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default); /// - /// List Templates - /// - /// - /// Lists the available templates. - /// - /// Thrown when fails to make API call - /// Type of the templates. (optional, default to all) - /// [Only if type=all] If true, splits the list in objects, grouping templates by type. (optional, default to false) - /// Index associated with the operation. - /// Cancellation Token to cancel the request. - /// Task of ListTemplatesResponse - System.Threading.Tasks.Task ListTemplatesAsync(string type = default, bool? byType = default, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default); - - /// - /// List Templates - /// - /// - /// Lists the available templates. - /// - /// Thrown when fails to make API call - /// Type of the templates. (optional, default to all) - /// [Only if type=all] If true, splits the list in objects, grouping templates by type. (optional, default to false) - /// Index associated with the operation. - /// Cancellation Token to cancel the request. - /// Task of ApiResponse (ListTemplatesResponse) - System.Threading.Tasks.Task> ListTemplatesWithHttpInfoAsync(string type = default, bool? byType = default, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default); - /// /// List Units of Measure /// /// @@ -1671,6 +1671,169 @@ public async System.Threading.Tasks.Task ListCurrenciesA return localVarResponse; } + /// + /// List Default Templates Lists the default available templates. + /// + /// Thrown when fails to make API call + /// Type of the templates. (optional, default to all) + /// [Only if type=all] If true, splits the list in objects, grouping templates by type. (optional, default to false) + /// Index associated with the operation. + /// ListTemplatesResponse + public ListTemplatesResponse ListDefaultTemplates(string type = default, bool? byType = default, int operationIndex = 0) + { + It.FattureInCloud.Sdk.Client.ApiResponse localVarResponse = ListDefaultTemplatesWithHttpInfo(type, byType); + return localVarResponse.Data; + } + + /// + /// List Default Templates Lists the default available templates. + /// + /// Thrown when fails to make API call + /// Type of the templates. (optional, default to all) + /// [Only if type=all] If true, splits the list in objects, grouping templates by type. (optional, default to false) + /// Index associated with the operation. + /// ApiResponse of ListTemplatesResponse + public It.FattureInCloud.Sdk.Client.ApiResponse ListDefaultTemplatesWithHttpInfo(string type = default, bool? byType = default, int operationIndex = 0) + { + It.FattureInCloud.Sdk.Client.RequestOptions localVarRequestOptions = new It.FattureInCloud.Sdk.Client.RequestOptions(); + + string[] _contentTypes = new string[] { + }; + + // to determine the Accept header + string[] _accepts = new string[] { + "application/json" + }; + + var localVarContentType = It.FattureInCloud.Sdk.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarMultipartFormData = localVarContentType == "multipart/form-data"; + if (localVarContentType != null) + { + localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); + } + + var localVarAccept = It.FattureInCloud.Sdk.Client.ClientUtils.SelectHeaderAccept(_accepts); + if (localVarAccept != null) + { + localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); + } + + if (type != null) + { + localVarRequestOptions.QueryParameters.Add(It.FattureInCloud.Sdk.Client.ClientUtils.ParameterToMultiMap("", "type", type)); + } + if (byType != null) + { + localVarRequestOptions.QueryParameters.Add(It.FattureInCloud.Sdk.Client.ClientUtils.ParameterToMultiMap("", "by_type", byType)); + } + + localVarRequestOptions.Operation = "InfoApi.ListDefaultTemplates"; + localVarRequestOptions.OperationIndex = operationIndex; + + // authentication (OAuth2AuthenticationCodeFlow) required + // oauth required + if (!localVarRequestOptions.HeaderParameters.ContainsKey("Authorization")) + { + localVarRequestOptions.HeaderParameters.Add("Authorization", "Bearer " + this.Configuration.AccessToken); + } + + // make the HTTP request + var localVarResponse = this.Client.Get("/info/templates", localVarRequestOptions, this.Configuration); + if (this.ExceptionFactory != null) + { + Exception _exception = this.ExceptionFactory("ListDefaultTemplates", localVarResponse); + if (_exception != null) + { + throw _exception; + } + } + + return localVarResponse; + } + + /// + /// List Default Templates Lists the default available templates. + /// + /// Thrown when fails to make API call + /// Type of the templates. (optional, default to all) + /// [Only if type=all] If true, splits the list in objects, grouping templates by type. (optional, default to false) + /// Index associated with the operation. + /// Cancellation Token to cancel the request. + /// Task of ListTemplatesResponse + public async System.Threading.Tasks.Task ListDefaultTemplatesAsync(string type = default, bool? byType = default, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default) + { + It.FattureInCloud.Sdk.Client.ApiResponse localVarResponse = await ListDefaultTemplatesWithHttpInfoAsync(type, byType, operationIndex, cancellationToken).ConfigureAwait(false); + return localVarResponse.Data; + } + + /// + /// List Default Templates Lists the default available templates. + /// + /// Thrown when fails to make API call + /// Type of the templates. (optional, default to all) + /// [Only if type=all] If true, splits the list in objects, grouping templates by type. (optional, default to false) + /// Index associated with the operation. + /// Cancellation Token to cancel the request. + /// Task of ApiResponse (ListTemplatesResponse) + public async System.Threading.Tasks.Task> ListDefaultTemplatesWithHttpInfoAsync(string type = default, bool? byType = default, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default) + { + + It.FattureInCloud.Sdk.Client.RequestOptions localVarRequestOptions = new It.FattureInCloud.Sdk.Client.RequestOptions(); + + string[] _contentTypes = new string[] { + }; + + // to determine the Accept header + string[] _accepts = new string[] { + "application/json" + }; + + var localVarContentType = It.FattureInCloud.Sdk.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + if (localVarContentType != null) + { + localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); + } + + var localVarAccept = It.FattureInCloud.Sdk.Client.ClientUtils.SelectHeaderAccept(_accepts); + if (localVarAccept != null) + { + localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); + } + + if (type != null) + { + localVarRequestOptions.QueryParameters.Add(It.FattureInCloud.Sdk.Client.ClientUtils.ParameterToMultiMap("", "type", type)); + } + if (byType != null) + { + localVarRequestOptions.QueryParameters.Add(It.FattureInCloud.Sdk.Client.ClientUtils.ParameterToMultiMap("", "by_type", byType)); + } + + localVarRequestOptions.Operation = "InfoApi.ListDefaultTemplates"; + localVarRequestOptions.OperationIndex = operationIndex; + + // authentication (OAuth2AuthenticationCodeFlow) required + // oauth required + if (!localVarRequestOptions.HeaderParameters.ContainsKey("Authorization")) + { + localVarRequestOptions.HeaderParameters.Add("Authorization", "Bearer " + this.Configuration.AccessToken); + } + + // make the HTTP request + var localVarResponse = await this.AsynchronousClient.GetAsync("/info/templates", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + + if (this.ExceptionFactory != null) + { + Exception _exception = this.ExceptionFactory("ListDefaultTemplates", localVarResponse); + if (_exception != null) + { + throw _exception; + } + } + + return localVarResponse; + } + /// /// List Delivery Notes Default Causals Lists the delivery note default causals. /// @@ -2903,169 +3066,6 @@ public async System.Threading.Tasks.Task ListRevenue return localVarResponse; } - /// - /// List Templates Lists the available templates. - /// - /// Thrown when fails to make API call - /// Type of the templates. (optional, default to all) - /// [Only if type=all] If true, splits the list in objects, grouping templates by type. (optional, default to false) - /// Index associated with the operation. - /// ListTemplatesResponse - public ListTemplatesResponse ListTemplates(string type = default, bool? byType = default, int operationIndex = 0) - { - It.FattureInCloud.Sdk.Client.ApiResponse localVarResponse = ListTemplatesWithHttpInfo(type, byType); - return localVarResponse.Data; - } - - /// - /// List Templates Lists the available templates. - /// - /// Thrown when fails to make API call - /// Type of the templates. (optional, default to all) - /// [Only if type=all] If true, splits the list in objects, grouping templates by type. (optional, default to false) - /// Index associated with the operation. - /// ApiResponse of ListTemplatesResponse - public It.FattureInCloud.Sdk.Client.ApiResponse ListTemplatesWithHttpInfo(string type = default, bool? byType = default, int operationIndex = 0) - { - It.FattureInCloud.Sdk.Client.RequestOptions localVarRequestOptions = new It.FattureInCloud.Sdk.Client.RequestOptions(); - - string[] _contentTypes = new string[] { - }; - - // to determine the Accept header - string[] _accepts = new string[] { - "application/json" - }; - - var localVarContentType = It.FattureInCloud.Sdk.Client.ClientUtils.SelectHeaderContentType(_contentTypes); - var localVarMultipartFormData = localVarContentType == "multipart/form-data"; - if (localVarContentType != null) - { - localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - } - - var localVarAccept = It.FattureInCloud.Sdk.Client.ClientUtils.SelectHeaderAccept(_accepts); - if (localVarAccept != null) - { - localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - } - - if (type != null) - { - localVarRequestOptions.QueryParameters.Add(It.FattureInCloud.Sdk.Client.ClientUtils.ParameterToMultiMap("", "type", type)); - } - if (byType != null) - { - localVarRequestOptions.QueryParameters.Add(It.FattureInCloud.Sdk.Client.ClientUtils.ParameterToMultiMap("", "by_type", byType)); - } - - localVarRequestOptions.Operation = "InfoApi.ListTemplates"; - localVarRequestOptions.OperationIndex = operationIndex; - - // authentication (OAuth2AuthenticationCodeFlow) required - // oauth required - if (!localVarRequestOptions.HeaderParameters.ContainsKey("Authorization")) - { - localVarRequestOptions.HeaderParameters.Add("Authorization", "Bearer " + this.Configuration.AccessToken); - } - - // make the HTTP request - var localVarResponse = this.Client.Get("/info/templates", localVarRequestOptions, this.Configuration); - if (this.ExceptionFactory != null) - { - Exception _exception = this.ExceptionFactory("ListTemplates", localVarResponse); - if (_exception != null) - { - throw _exception; - } - } - - return localVarResponse; - } - - /// - /// List Templates Lists the available templates. - /// - /// Thrown when fails to make API call - /// Type of the templates. (optional, default to all) - /// [Only if type=all] If true, splits the list in objects, grouping templates by type. (optional, default to false) - /// Index associated with the operation. - /// Cancellation Token to cancel the request. - /// Task of ListTemplatesResponse - public async System.Threading.Tasks.Task ListTemplatesAsync(string type = default, bool? byType = default, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default) - { - It.FattureInCloud.Sdk.Client.ApiResponse localVarResponse = await ListTemplatesWithHttpInfoAsync(type, byType, operationIndex, cancellationToken).ConfigureAwait(false); - return localVarResponse.Data; - } - - /// - /// List Templates Lists the available templates. - /// - /// Thrown when fails to make API call - /// Type of the templates. (optional, default to all) - /// [Only if type=all] If true, splits the list in objects, grouping templates by type. (optional, default to false) - /// Index associated with the operation. - /// Cancellation Token to cancel the request. - /// Task of ApiResponse (ListTemplatesResponse) - public async System.Threading.Tasks.Task> ListTemplatesWithHttpInfoAsync(string type = default, bool? byType = default, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default) - { - - It.FattureInCloud.Sdk.Client.RequestOptions localVarRequestOptions = new It.FattureInCloud.Sdk.Client.RequestOptions(); - - string[] _contentTypes = new string[] { - }; - - // to determine the Accept header - string[] _accepts = new string[] { - "application/json" - }; - - var localVarContentType = It.FattureInCloud.Sdk.Client.ClientUtils.SelectHeaderContentType(_contentTypes); - if (localVarContentType != null) - { - localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - } - - var localVarAccept = It.FattureInCloud.Sdk.Client.ClientUtils.SelectHeaderAccept(_accepts); - if (localVarAccept != null) - { - localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - } - - if (type != null) - { - localVarRequestOptions.QueryParameters.Add(It.FattureInCloud.Sdk.Client.ClientUtils.ParameterToMultiMap("", "type", type)); - } - if (byType != null) - { - localVarRequestOptions.QueryParameters.Add(It.FattureInCloud.Sdk.Client.ClientUtils.ParameterToMultiMap("", "by_type", byType)); - } - - localVarRequestOptions.Operation = "InfoApi.ListTemplates"; - localVarRequestOptions.OperationIndex = operationIndex; - - // authentication (OAuth2AuthenticationCodeFlow) required - // oauth required - if (!localVarRequestOptions.HeaderParameters.ContainsKey("Authorization")) - { - localVarRequestOptions.HeaderParameters.Add("Authorization", "Bearer " + this.Configuration.AccessToken); - } - - // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/info/templates", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); - - if (this.ExceptionFactory != null) - { - Exception _exception = this.ExceptionFactory("ListTemplates", localVarResponse); - if (_exception != null) - { - throw _exception; - } - } - - return localVarResponse; - } - /// /// List Units of Measure Lists the units of measure. /// diff --git a/src/It.FattureInCloud.Sdk/Api/IssuedDocumentsApi.cs b/src/It.FattureInCloud.Sdk/Api/IssuedDocumentsApi.cs index c838efe0..f13b4d5b 100644 --- a/src/It.FattureInCloud.Sdk/Api/IssuedDocumentsApi.cs +++ b/src/It.FattureInCloud.Sdk/Api/IssuedDocumentsApi.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -1347,6 +1347,7 @@ public It.FattureInCloud.Sdk.Client.ApiResponse DeleteBinIssuedDocumentW // to determine the Accept header string[] _accepts = new string[] { + "application/json" }; var localVarContentType = It.FattureInCloud.Sdk.Client.ClientUtils.SelectHeaderContentType(_contentTypes); @@ -1422,6 +1423,7 @@ public async System.Threading.Tasks.Task DeleteBinIssuedDocumentAsync(int compan // to determine the Accept header string[] _accepts = new string[] { + "application/json" }; var localVarContentType = It.FattureInCloud.Sdk.Client.ClientUtils.SelectHeaderContentType(_contentTypes); @@ -1494,6 +1496,7 @@ public It.FattureInCloud.Sdk.Client.ApiResponse DeleteIssuedDocumentWith // to determine the Accept header string[] _accepts = new string[] { + "application/json" }; var localVarContentType = It.FattureInCloud.Sdk.Client.ClientUtils.SelectHeaderContentType(_contentTypes); @@ -1569,6 +1572,7 @@ public async System.Threading.Tasks.Task DeleteIssuedDocumentAsync(int companyId // to determine the Accept header string[] _accepts = new string[] { + "application/json" }; var localVarContentType = It.FattureInCloud.Sdk.Client.ClientUtils.SelectHeaderContentType(_contentTypes); @@ -1641,6 +1645,7 @@ public It.FattureInCloud.Sdk.Client.ApiResponse DeleteIssuedDocumentAtta // to determine the Accept header string[] _accepts = new string[] { + "application/json" }; var localVarContentType = It.FattureInCloud.Sdk.Client.ClientUtils.SelectHeaderContentType(_contentTypes); @@ -1716,6 +1721,7 @@ public async System.Threading.Tasks.Task DeleteIssuedDocumentAttachmentAsync(int // to determine the Accept header string[] _accepts = new string[] { + "application/json" }; var localVarContentType = It.FattureInCloud.Sdk.Client.ClientUtils.SelectHeaderContentType(_contentTypes); @@ -3478,6 +3484,7 @@ public It.FattureInCloud.Sdk.Client.ApiResponse RecoverBinIssuedDocument // to determine the Accept header string[] _accepts = new string[] { + "application/json" }; var localVarContentType = It.FattureInCloud.Sdk.Client.ClientUtils.SelectHeaderContentType(_contentTypes); @@ -3553,6 +3560,7 @@ public async System.Threading.Tasks.Task RecoverBinIssuedDocumentAsync(int compa // to determine the Accept header string[] _accepts = new string[] { + "application/json" }; var localVarContentType = It.FattureInCloud.Sdk.Client.ClientUtils.SelectHeaderContentType(_contentTypes); @@ -3628,6 +3636,7 @@ public It.FattureInCloud.Sdk.Client.ApiResponse ScheduleEmailWithHttpInf // to determine the Accept header string[] _accepts = new string[] { + "application/json" }; var localVarContentType = It.FattureInCloud.Sdk.Client.ClientUtils.SelectHeaderContentType(_contentTypes); @@ -3707,6 +3716,7 @@ public async System.Threading.Tasks.Task ScheduleEmailAsync(int companyId, int d // to determine the Accept header string[] _accepts = new string[] { + "application/json" }; var localVarContentType = It.FattureInCloud.Sdk.Client.ClientUtils.SelectHeaderContentType(_contentTypes); diff --git a/src/It.FattureInCloud.Sdk/Api/IssuedEInvoicesApi.cs b/src/It.FattureInCloud.Sdk/Api/IssuedEInvoicesApi.cs index c2f97b4e..c201dd91 100644 --- a/src/It.FattureInCloud.Sdk/Api/IssuedEInvoicesApi.cs +++ b/src/It.FattureInCloud.Sdk/Api/IssuedEInvoicesApi.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -556,7 +556,8 @@ public It.FattureInCloud.Sdk.Client.ApiResponse GetEInvoiceXmlWithHttpIn // to determine the Accept header string[] _accepts = new string[] { - "text/xml" + "text/xml", + "application/json" }; var localVarContentType = It.FattureInCloud.Sdk.Client.ClientUtils.SelectHeaderContentType(_contentTypes); @@ -639,7 +640,8 @@ public async System.Threading.Tasks.Task GetEInvoiceXmlAsync(int company // to determine the Accept header string[] _accepts = new string[] { - "text/xml" + "text/xml", + "application/json" }; var localVarContentType = It.FattureInCloud.Sdk.Client.ClientUtils.SelectHeaderContentType(_contentTypes); diff --git a/src/It.FattureInCloud.Sdk/Api/PriceListsApi.cs b/src/It.FattureInCloud.Sdk/Api/PriceListsApi.cs index 5c3e8104..242d9c2c 100644 --- a/src/It.FattureInCloud.Sdk/Api/PriceListsApi.cs +++ b/src/It.FattureInCloud.Sdk/Api/PriceListsApi.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Api/ProductsApi.cs b/src/It.FattureInCloud.Sdk/Api/ProductsApi.cs index cf75cd1a..a55ee825 100644 --- a/src/It.FattureInCloud.Sdk/Api/ProductsApi.cs +++ b/src/It.FattureInCloud.Sdk/Api/ProductsApi.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -631,6 +631,7 @@ public It.FattureInCloud.Sdk.Client.ApiResponse DeleteProductWithHttpInf // to determine the Accept header string[] _accepts = new string[] { + "application/json" }; var localVarContentType = It.FattureInCloud.Sdk.Client.ClientUtils.SelectHeaderContentType(_contentTypes); @@ -706,6 +707,7 @@ public async System.Threading.Tasks.Task DeleteProductAsync(int companyId, int p // to determine the Accept header string[] _accepts = new string[] { + "application/json" }; var localVarContentType = It.FattureInCloud.Sdk.Client.ClientUtils.SelectHeaderContentType(_contentTypes); diff --git a/src/It.FattureInCloud.Sdk/Api/ReceiptsApi.cs b/src/It.FattureInCloud.Sdk/Api/ReceiptsApi.cs index 02353dfa..93689a3a 100644 --- a/src/It.FattureInCloud.Sdk/Api/ReceiptsApi.cs +++ b/src/It.FattureInCloud.Sdk/Api/ReceiptsApi.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -735,6 +735,7 @@ public It.FattureInCloud.Sdk.Client.ApiResponse DeleteReceiptWithHttpInf // to determine the Accept header string[] _accepts = new string[] { + "application/json" }; var localVarContentType = It.FattureInCloud.Sdk.Client.ClientUtils.SelectHeaderContentType(_contentTypes); @@ -810,6 +811,7 @@ public async System.Threading.Tasks.Task DeleteReceiptAsync(int companyId, int d // to determine the Accept header string[] _accepts = new string[] { + "application/json" }; var localVarContentType = It.FattureInCloud.Sdk.Client.ClientUtils.SelectHeaderContentType(_contentTypes); diff --git a/src/It.FattureInCloud.Sdk/Api/ReceivedDocumentsApi.cs b/src/It.FattureInCloud.Sdk/Api/ReceivedDocumentsApi.cs index 218583c6..96e428e6 100644 --- a/src/It.FattureInCloud.Sdk/Api/ReceivedDocumentsApi.cs +++ b/src/It.FattureInCloud.Sdk/Api/ReceivedDocumentsApi.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -137,8 +137,8 @@ public interface IReceivedDocumentsApiSync : IApiAccessor /// The ID of the company. /// The ID of the document. /// Index associated with the operation. - /// GetBinIssuedDocumentResponse - GetBinIssuedDocumentResponse GetBinReceivedDocument(int companyId, int documentId, int operationIndex = 0); + /// GetBinReceivedDocumentResponse + GetBinReceivedDocumentResponse GetBinReceivedDocument(int companyId, int documentId, int operationIndex = 0); /// /// Get Bin Received Documents List @@ -150,8 +150,8 @@ public interface IReceivedDocumentsApiSync : IApiAccessor /// The ID of the company. /// The ID of the document. /// Index associated with the operation. - /// ApiResponse of GetBinIssuedDocumentResponse - ApiResponse GetBinReceivedDocumentWithHttpInfo(int companyId, int documentId, int operationIndex = 0); + /// ApiResponse of GetBinReceivedDocumentResponse + ApiResponse GetBinReceivedDocumentWithHttpInfo(int companyId, int documentId, int operationIndex = 0); /// /// Get Existing Received Document Totals /// @@ -205,6 +205,35 @@ public interface IReceivedDocumentsApiSync : IApiAccessor /// ApiResponse of GetNewReceivedDocumentTotalsResponse ApiResponse GetNewReceivedDocumentTotalsWithHttpInfo(int companyId, GetNewReceivedDocumentTotalsRequest getNewReceivedDocumentTotalsRequest = default, int operationIndex = 0); /// + /// Get Pending Received Document + /// + /// + /// Gets the specified pending received document. + /// + /// Thrown when fails to make API call + /// The ID of the company. + /// The ID of the document. + /// List of comma-separated fields. (optional) + /// Name of the fieldset. (optional) + /// Index associated with the operation. + /// GetPendingReceivedDocumentResponse + GetPendingReceivedDocumentResponse GetPendingReceivedDocument(int companyId, int documentId, string fields = default, string fieldset = default, int operationIndex = 0); + + /// + /// Get Pending Received Document + /// + /// + /// Gets the specified pending received document. + /// + /// Thrown when fails to make API call + /// The ID of the company. + /// The ID of the document. + /// List of comma-separated fields. (optional) + /// Name of the fieldset. (optional) + /// Index associated with the operation. + /// ApiResponse of GetPendingReceivedDocumentResponse + ApiResponse GetPendingReceivedDocumentWithHttpInfo(int companyId, int documentId, string fields = default, string fieldset = default, int operationIndex = 0); + /// /// Get Received Document /// /// @@ -282,6 +311,43 @@ public interface IReceivedDocumentsApiSync : IApiAccessor /// ApiResponse of ListBinReceivedDocuments ApiResponse ListBinReceivedDocumentsWithHttpInfo(int companyId, int operationIndex = 0); /// + /// List Pending Received Documents + /// + /// + /// Lists the pending received documents. + /// + /// Thrown when fails to make API call + /// The ID of the company. + /// The type of the pending received document. + /// List of comma-separated fields. (optional) + /// Name of the fieldset. (optional) + /// List of comma-separated fields for result sorting (minus for desc sorting). (optional) + /// The page to retrieve. (optional, default to 1) + /// The size of the page. (optional, default to 5) + /// Query for filtering the results. (optional) + /// Index associated with the operation. + /// ListPendingReceivedDocumentsResponse + ListPendingReceivedDocumentsResponse ListPendingReceivedDocuments(int companyId, string type, string fields = default, string fieldset = default, string sort = default, int? page = default, int? perPage = default, string q = default, int operationIndex = 0); + + /// + /// List Pending Received Documents + /// + /// + /// Lists the pending received documents. + /// + /// Thrown when fails to make API call + /// The ID of the company. + /// The type of the pending received document. + /// List of comma-separated fields. (optional) + /// Name of the fieldset. (optional) + /// List of comma-separated fields for result sorting (minus for desc sorting). (optional) + /// The page to retrieve. (optional, default to 1) + /// The size of the page. (optional, default to 5) + /// Query for filtering the results. (optional) + /// Index associated with the operation. + /// ApiResponse of ListPendingReceivedDocumentsResponse + ApiResponse ListPendingReceivedDocumentsWithHttpInfo(int companyId, string type, string fields = default, string fieldset = default, string sort = default, int? page = default, int? perPage = default, string q = default, int operationIndex = 0); + /// /// List Received Documents /// /// @@ -525,8 +591,8 @@ public interface IReceivedDocumentsApiAsync : IApiAccessor /// The ID of the document. /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of GetBinIssuedDocumentResponse - System.Threading.Tasks.Task GetBinReceivedDocumentAsync(int companyId, int documentId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default); + /// Task of GetBinReceivedDocumentResponse + System.Threading.Tasks.Task GetBinReceivedDocumentAsync(int companyId, int documentId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default); /// /// Get Bin Received Documents List @@ -539,8 +605,8 @@ public interface IReceivedDocumentsApiAsync : IApiAccessor /// The ID of the document. /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ApiResponse (GetBinIssuedDocumentResponse) - System.Threading.Tasks.Task> GetBinReceivedDocumentWithHttpInfoAsync(int companyId, int documentId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default); + /// Task of ApiResponse (GetBinReceivedDocumentResponse) + System.Threading.Tasks.Task> GetBinReceivedDocumentWithHttpInfoAsync(int companyId, int documentId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default); /// /// Get Existing Received Document Totals /// @@ -598,6 +664,37 @@ public interface IReceivedDocumentsApiAsync : IApiAccessor /// Task of ApiResponse (GetNewReceivedDocumentTotalsResponse) System.Threading.Tasks.Task> GetNewReceivedDocumentTotalsWithHttpInfoAsync(int companyId, GetNewReceivedDocumentTotalsRequest getNewReceivedDocumentTotalsRequest = default, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default); /// + /// Get Pending Received Document + /// + /// + /// Gets the specified pending received document. + /// + /// Thrown when fails to make API call + /// The ID of the company. + /// The ID of the document. + /// List of comma-separated fields. (optional) + /// Name of the fieldset. (optional) + /// Index associated with the operation. + /// Cancellation Token to cancel the request. + /// Task of GetPendingReceivedDocumentResponse + System.Threading.Tasks.Task GetPendingReceivedDocumentAsync(int companyId, int documentId, string fields = default, string fieldset = default, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default); + + /// + /// Get Pending Received Document + /// + /// + /// Gets the specified pending received document. + /// + /// Thrown when fails to make API call + /// The ID of the company. + /// The ID of the document. + /// List of comma-separated fields. (optional) + /// Name of the fieldset. (optional) + /// Index associated with the operation. + /// Cancellation Token to cancel the request. + /// Task of ApiResponse (GetPendingReceivedDocumentResponse) + System.Threading.Tasks.Task> GetPendingReceivedDocumentWithHttpInfoAsync(int companyId, int documentId, string fields = default, string fieldset = default, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default); + /// /// Get Received Document /// /// @@ -681,6 +778,45 @@ public interface IReceivedDocumentsApiAsync : IApiAccessor /// Task of ApiResponse (ListBinReceivedDocuments) System.Threading.Tasks.Task> ListBinReceivedDocumentsWithHttpInfoAsync(int companyId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default); /// + /// List Pending Received Documents + /// + /// + /// Lists the pending received documents. + /// + /// Thrown when fails to make API call + /// The ID of the company. + /// The type of the pending received document. + /// List of comma-separated fields. (optional) + /// Name of the fieldset. (optional) + /// List of comma-separated fields for result sorting (minus for desc sorting). (optional) + /// The page to retrieve. (optional, default to 1) + /// The size of the page. (optional, default to 5) + /// Query for filtering the results. (optional) + /// Index associated with the operation. + /// Cancellation Token to cancel the request. + /// Task of ListPendingReceivedDocumentsResponse + System.Threading.Tasks.Task ListPendingReceivedDocumentsAsync(int companyId, string type, string fields = default, string fieldset = default, string sort = default, int? page = default, int? perPage = default, string q = default, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default); + + /// + /// List Pending Received Documents + /// + /// + /// Lists the pending received documents. + /// + /// Thrown when fails to make API call + /// The ID of the company. + /// The type of the pending received document. + /// List of comma-separated fields. (optional) + /// Name of the fieldset. (optional) + /// List of comma-separated fields for result sorting (minus for desc sorting). (optional) + /// The page to retrieve. (optional, default to 1) + /// The size of the page. (optional, default to 5) + /// Query for filtering the results. (optional) + /// Index associated with the operation. + /// Cancellation Token to cancel the request. + /// Task of ApiResponse (ListPendingReceivedDocumentsResponse) + System.Threading.Tasks.Task> ListPendingReceivedDocumentsWithHttpInfoAsync(int companyId, string type, string fields = default, string fieldset = default, string sort = default, int? page = default, int? perPage = default, string q = default, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default); + /// /// List Received Documents /// /// @@ -1107,6 +1243,7 @@ public It.FattureInCloud.Sdk.Client.ApiResponse DeleteBinReceivedDocumen // to determine the Accept header string[] _accepts = new string[] { + "application/json" }; var localVarContentType = It.FattureInCloud.Sdk.Client.ClientUtils.SelectHeaderContentType(_contentTypes); @@ -1182,6 +1319,7 @@ public async System.Threading.Tasks.Task DeleteBinReceivedDocumentAsync(int comp // to determine the Accept header string[] _accepts = new string[] { + "application/json" }; var localVarContentType = It.FattureInCloud.Sdk.Client.ClientUtils.SelectHeaderContentType(_contentTypes); @@ -1254,6 +1392,7 @@ public It.FattureInCloud.Sdk.Client.ApiResponse DeleteReceivedDocumentWi // to determine the Accept header string[] _accepts = new string[] { + "application/json" }; var localVarContentType = It.FattureInCloud.Sdk.Client.ClientUtils.SelectHeaderContentType(_contentTypes); @@ -1329,6 +1468,7 @@ public async System.Threading.Tasks.Task DeleteReceivedDocumentAsync(int company // to determine the Accept header string[] _accepts = new string[] { + "application/json" }; var localVarContentType = It.FattureInCloud.Sdk.Client.ClientUtils.SelectHeaderContentType(_contentTypes); @@ -1401,6 +1541,7 @@ public It.FattureInCloud.Sdk.Client.ApiResponse DeleteReceivedDocumentAt // to determine the Accept header string[] _accepts = new string[] { + "application/json" }; var localVarContentType = It.FattureInCloud.Sdk.Client.ClientUtils.SelectHeaderContentType(_contentTypes); @@ -1476,6 +1617,7 @@ public async System.Threading.Tasks.Task DeleteReceivedDocumentAttachmentAsync(i // to determine the Accept header string[] _accepts = new string[] { + "application/json" }; var localVarContentType = It.FattureInCloud.Sdk.Client.ClientUtils.SelectHeaderContentType(_contentTypes); @@ -1525,10 +1667,10 @@ public async System.Threading.Tasks.Task DeleteReceivedDocumentAttachmentAsync(i /// The ID of the company. /// The ID of the document. /// Index associated with the operation. - /// GetBinIssuedDocumentResponse - public GetBinIssuedDocumentResponse GetBinReceivedDocument(int companyId, int documentId, int operationIndex = 0) + /// GetBinReceivedDocumentResponse + public GetBinReceivedDocumentResponse GetBinReceivedDocument(int companyId, int documentId, int operationIndex = 0) { - It.FattureInCloud.Sdk.Client.ApiResponse localVarResponse = GetBinReceivedDocumentWithHttpInfo(companyId, documentId); + It.FattureInCloud.Sdk.Client.ApiResponse localVarResponse = GetBinReceivedDocumentWithHttpInfo(companyId, documentId); return localVarResponse.Data; } @@ -1539,8 +1681,8 @@ public GetBinIssuedDocumentResponse GetBinReceivedDocument(int companyId, int do /// The ID of the company. /// The ID of the document. /// Index associated with the operation. - /// ApiResponse of GetBinIssuedDocumentResponse - public It.FattureInCloud.Sdk.Client.ApiResponse GetBinReceivedDocumentWithHttpInfo(int companyId, int documentId, int operationIndex = 0) + /// ApiResponse of GetBinReceivedDocumentResponse + public It.FattureInCloud.Sdk.Client.ApiResponse GetBinReceivedDocumentWithHttpInfo(int companyId, int documentId, int operationIndex = 0) { It.FattureInCloud.Sdk.Client.RequestOptions localVarRequestOptions = new It.FattureInCloud.Sdk.Client.RequestOptions(); @@ -1579,7 +1721,7 @@ public It.FattureInCloud.Sdk.Client.ApiResponse Ge } // make the HTTP request - var localVarResponse = this.Client.Get("/c/{company_id}/bin/received_documents/{document_id}", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get("/c/{company_id}/bin/received_documents/{document_id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetBinReceivedDocument", localVarResponse); @@ -1600,10 +1742,10 @@ public It.FattureInCloud.Sdk.Client.ApiResponse Ge /// The ID of the document. /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of GetBinIssuedDocumentResponse - public async System.Threading.Tasks.Task GetBinReceivedDocumentAsync(int companyId, int documentId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default) + /// Task of GetBinReceivedDocumentResponse + public async System.Threading.Tasks.Task GetBinReceivedDocumentAsync(int companyId, int documentId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default) { - It.FattureInCloud.Sdk.Client.ApiResponse localVarResponse = await GetBinReceivedDocumentWithHttpInfoAsync(companyId, documentId, operationIndex, cancellationToken).ConfigureAwait(false); + It.FattureInCloud.Sdk.Client.ApiResponse localVarResponse = await GetBinReceivedDocumentWithHttpInfoAsync(companyId, documentId, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } @@ -1615,8 +1757,8 @@ public async System.Threading.Tasks.Task GetBinRec /// The ID of the document. /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ApiResponse (GetBinIssuedDocumentResponse) - public async System.Threading.Tasks.Task> GetBinReceivedDocumentWithHttpInfoAsync(int companyId, int documentId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default) + /// Task of ApiResponse (GetBinReceivedDocumentResponse) + public async System.Threading.Tasks.Task> GetBinReceivedDocumentWithHttpInfoAsync(int companyId, int documentId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default) { It.FattureInCloud.Sdk.Client.RequestOptions localVarRequestOptions = new It.FattureInCloud.Sdk.Client.RequestOptions(); @@ -1655,7 +1797,7 @@ public async System.Threading.Tasks.Task GetBinRec } // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/c/{company_id}/bin/received_documents/{document_id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync("/c/{company_id}/bin/received_documents/{document_id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { @@ -1981,6 +2123,181 @@ public async System.Threading.Tasks.Task G return localVarResponse; } + /// + /// Get Pending Received Document Gets the specified pending received document. + /// + /// Thrown when fails to make API call + /// The ID of the company. + /// The ID of the document. + /// List of comma-separated fields. (optional) + /// Name of the fieldset. (optional) + /// Index associated with the operation. + /// GetPendingReceivedDocumentResponse + public GetPendingReceivedDocumentResponse GetPendingReceivedDocument(int companyId, int documentId, string fields = default, string fieldset = default, int operationIndex = 0) + { + It.FattureInCloud.Sdk.Client.ApiResponse localVarResponse = GetPendingReceivedDocumentWithHttpInfo(companyId, documentId, fields, fieldset); + return localVarResponse.Data; + } + + /// + /// Get Pending Received Document Gets the specified pending received document. + /// + /// Thrown when fails to make API call + /// The ID of the company. + /// The ID of the document. + /// List of comma-separated fields. (optional) + /// Name of the fieldset. (optional) + /// Index associated with the operation. + /// ApiResponse of GetPendingReceivedDocumentResponse + public It.FattureInCloud.Sdk.Client.ApiResponse GetPendingReceivedDocumentWithHttpInfo(int companyId, int documentId, string fields = default, string fieldset = default, int operationIndex = 0) + { + It.FattureInCloud.Sdk.Client.RequestOptions localVarRequestOptions = new It.FattureInCloud.Sdk.Client.RequestOptions(); + + string[] _contentTypes = new string[] { + }; + + // to determine the Accept header + string[] _accepts = new string[] { + "application/json" + }; + + var localVarContentType = It.FattureInCloud.Sdk.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarMultipartFormData = localVarContentType == "multipart/form-data"; + if (localVarContentType != null) + { + localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); + } + + var localVarAccept = It.FattureInCloud.Sdk.Client.ClientUtils.SelectHeaderAccept(_accepts); + if (localVarAccept != null) + { + localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); + } + + localVarRequestOptions.PathParameters.Add("company_id", It.FattureInCloud.Sdk.Client.ClientUtils.ParameterToString(companyId)); // path parameter + localVarRequestOptions.PathParameters.Add("document_id", It.FattureInCloud.Sdk.Client.ClientUtils.ParameterToString(documentId)); // path parameter + if (fields != null) + { + localVarRequestOptions.QueryParameters.Add(It.FattureInCloud.Sdk.Client.ClientUtils.ParameterToMultiMap("", "fields", fields)); + } + if (fieldset != null) + { + localVarRequestOptions.QueryParameters.Add(It.FattureInCloud.Sdk.Client.ClientUtils.ParameterToMultiMap("", "fieldset", fieldset)); + } + + localVarRequestOptions.Operation = "ReceivedDocumentsApi.GetPendingReceivedDocument"; + localVarRequestOptions.OperationIndex = operationIndex; + + // authentication (OAuth2AuthenticationCodeFlow) required + // oauth required + if (!localVarRequestOptions.HeaderParameters.ContainsKey("Authorization")) + { + localVarRequestOptions.HeaderParameters.Add("Authorization", "Bearer " + this.Configuration.AccessToken); + } + + // make the HTTP request + var localVarResponse = this.Client.Get("/c/{company_id}/received_documents/pending/{document_id}", localVarRequestOptions, this.Configuration); + if (this.ExceptionFactory != null) + { + Exception _exception = this.ExceptionFactory("GetPendingReceivedDocument", localVarResponse); + if (_exception != null) + { + throw _exception; + } + } + + return localVarResponse; + } + + /// + /// Get Pending Received Document Gets the specified pending received document. + /// + /// Thrown when fails to make API call + /// The ID of the company. + /// The ID of the document. + /// List of comma-separated fields. (optional) + /// Name of the fieldset. (optional) + /// Index associated with the operation. + /// Cancellation Token to cancel the request. + /// Task of GetPendingReceivedDocumentResponse + public async System.Threading.Tasks.Task GetPendingReceivedDocumentAsync(int companyId, int documentId, string fields = default, string fieldset = default, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default) + { + It.FattureInCloud.Sdk.Client.ApiResponse localVarResponse = await GetPendingReceivedDocumentWithHttpInfoAsync(companyId, documentId, fields, fieldset, operationIndex, cancellationToken).ConfigureAwait(false); + return localVarResponse.Data; + } + + /// + /// Get Pending Received Document Gets the specified pending received document. + /// + /// Thrown when fails to make API call + /// The ID of the company. + /// The ID of the document. + /// List of comma-separated fields. (optional) + /// Name of the fieldset. (optional) + /// Index associated with the operation. + /// Cancellation Token to cancel the request. + /// Task of ApiResponse (GetPendingReceivedDocumentResponse) + public async System.Threading.Tasks.Task> GetPendingReceivedDocumentWithHttpInfoAsync(int companyId, int documentId, string fields = default, string fieldset = default, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default) + { + + It.FattureInCloud.Sdk.Client.RequestOptions localVarRequestOptions = new It.FattureInCloud.Sdk.Client.RequestOptions(); + + string[] _contentTypes = new string[] { + }; + + // to determine the Accept header + string[] _accepts = new string[] { + "application/json" + }; + + var localVarContentType = It.FattureInCloud.Sdk.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + if (localVarContentType != null) + { + localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); + } + + var localVarAccept = It.FattureInCloud.Sdk.Client.ClientUtils.SelectHeaderAccept(_accepts); + if (localVarAccept != null) + { + localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); + } + + localVarRequestOptions.PathParameters.Add("company_id", It.FattureInCloud.Sdk.Client.ClientUtils.ParameterToString(companyId)); // path parameter + localVarRequestOptions.PathParameters.Add("document_id", It.FattureInCloud.Sdk.Client.ClientUtils.ParameterToString(documentId)); // path parameter + if (fields != null) + { + localVarRequestOptions.QueryParameters.Add(It.FattureInCloud.Sdk.Client.ClientUtils.ParameterToMultiMap("", "fields", fields)); + } + if (fieldset != null) + { + localVarRequestOptions.QueryParameters.Add(It.FattureInCloud.Sdk.Client.ClientUtils.ParameterToMultiMap("", "fieldset", fieldset)); + } + + localVarRequestOptions.Operation = "ReceivedDocumentsApi.GetPendingReceivedDocument"; + localVarRequestOptions.OperationIndex = operationIndex; + + // authentication (OAuth2AuthenticationCodeFlow) required + // oauth required + if (!localVarRequestOptions.HeaderParameters.ContainsKey("Authorization")) + { + localVarRequestOptions.HeaderParameters.Add("Authorization", "Bearer " + this.Configuration.AccessToken); + } + + // make the HTTP request + var localVarResponse = await this.AsynchronousClient.GetAsync("/c/{company_id}/received_documents/pending/{document_id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + + if (this.ExceptionFactory != null) + { + Exception _exception = this.ExceptionFactory("GetPendingReceivedDocument", localVarResponse); + if (_exception != null) + { + throw _exception; + } + } + + return localVarResponse; + } + /// /// Get Received Document Gets the specified document. /// @@ -2464,6 +2781,241 @@ public async System.Threading.Tasks.Task ListBinReceiv return localVarResponse; } + /// + /// List Pending Received Documents Lists the pending received documents. + /// + /// Thrown when fails to make API call + /// The ID of the company. + /// The type of the pending received document. + /// List of comma-separated fields. (optional) + /// Name of the fieldset. (optional) + /// List of comma-separated fields for result sorting (minus for desc sorting). (optional) + /// The page to retrieve. (optional, default to 1) + /// The size of the page. (optional, default to 5) + /// Query for filtering the results. (optional) + /// Index associated with the operation. + /// ListPendingReceivedDocumentsResponse + public ListPendingReceivedDocumentsResponse ListPendingReceivedDocuments(int companyId, string type, string fields = default, string fieldset = default, string sort = default, int? page = default, int? perPage = default, string q = default, int operationIndex = 0) + { + It.FattureInCloud.Sdk.Client.ApiResponse localVarResponse = ListPendingReceivedDocumentsWithHttpInfo(companyId, type, fields, fieldset, sort, page, perPage, q); + return localVarResponse.Data; + } + + /// + /// List Pending Received Documents Lists the pending received documents. + /// + /// Thrown when fails to make API call + /// The ID of the company. + /// The type of the pending received document. + /// List of comma-separated fields. (optional) + /// Name of the fieldset. (optional) + /// List of comma-separated fields for result sorting (minus for desc sorting). (optional) + /// The page to retrieve. (optional, default to 1) + /// The size of the page. (optional, default to 5) + /// Query for filtering the results. (optional) + /// Index associated with the operation. + /// ApiResponse of ListPendingReceivedDocumentsResponse + public It.FattureInCloud.Sdk.Client.ApiResponse ListPendingReceivedDocumentsWithHttpInfo(int companyId, string type, string fields = default, string fieldset = default, string sort = default, int? page = default, int? perPage = default, string q = default, int operationIndex = 0) + { + // verify the required parameter 'type' is set + if (type == null) + { + throw new It.FattureInCloud.Sdk.Client.ApiException(400, "Missing required parameter 'type' when calling ReceivedDocumentsApi->ListPendingReceivedDocuments"); + } + + It.FattureInCloud.Sdk.Client.RequestOptions localVarRequestOptions = new It.FattureInCloud.Sdk.Client.RequestOptions(); + + string[] _contentTypes = new string[] { + }; + + // to determine the Accept header + string[] _accepts = new string[] { + "application/json" + }; + + var localVarContentType = It.FattureInCloud.Sdk.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarMultipartFormData = localVarContentType == "multipart/form-data"; + if (localVarContentType != null) + { + localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); + } + + var localVarAccept = It.FattureInCloud.Sdk.Client.ClientUtils.SelectHeaderAccept(_accepts); + if (localVarAccept != null) + { + localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); + } + + localVarRequestOptions.PathParameters.Add("company_id", It.FattureInCloud.Sdk.Client.ClientUtils.ParameterToString(companyId)); // path parameter + localVarRequestOptions.QueryParameters.Add(It.FattureInCloud.Sdk.Client.ClientUtils.ParameterToMultiMap("", "type", type)); + if (fields != null) + { + localVarRequestOptions.QueryParameters.Add(It.FattureInCloud.Sdk.Client.ClientUtils.ParameterToMultiMap("", "fields", fields)); + } + if (fieldset != null) + { + localVarRequestOptions.QueryParameters.Add(It.FattureInCloud.Sdk.Client.ClientUtils.ParameterToMultiMap("", "fieldset", fieldset)); + } + if (sort != null) + { + localVarRequestOptions.QueryParameters.Add(It.FattureInCloud.Sdk.Client.ClientUtils.ParameterToMultiMap("", "sort", sort)); + } + if (page != null) + { + localVarRequestOptions.QueryParameters.Add(It.FattureInCloud.Sdk.Client.ClientUtils.ParameterToMultiMap("", "page", page)); + } + if (perPage != null) + { + localVarRequestOptions.QueryParameters.Add(It.FattureInCloud.Sdk.Client.ClientUtils.ParameterToMultiMap("", "per_page", perPage)); + } + if (q != null) + { + localVarRequestOptions.QueryParameters.Add(It.FattureInCloud.Sdk.Client.ClientUtils.ParameterToMultiMap("", "q", q)); + } + + localVarRequestOptions.Operation = "ReceivedDocumentsApi.ListPendingReceivedDocuments"; + localVarRequestOptions.OperationIndex = operationIndex; + + // authentication (OAuth2AuthenticationCodeFlow) required + // oauth required + if (!localVarRequestOptions.HeaderParameters.ContainsKey("Authorization")) + { + localVarRequestOptions.HeaderParameters.Add("Authorization", "Bearer " + this.Configuration.AccessToken); + } + + // make the HTTP request + var localVarResponse = this.Client.Get("/c/{company_id}/received_documents/pending", localVarRequestOptions, this.Configuration); + if (this.ExceptionFactory != null) + { + Exception _exception = this.ExceptionFactory("ListPendingReceivedDocuments", localVarResponse); + if (_exception != null) + { + throw _exception; + } + } + + return localVarResponse; + } + + /// + /// List Pending Received Documents Lists the pending received documents. + /// + /// Thrown when fails to make API call + /// The ID of the company. + /// The type of the pending received document. + /// List of comma-separated fields. (optional) + /// Name of the fieldset. (optional) + /// List of comma-separated fields for result sorting (minus for desc sorting). (optional) + /// The page to retrieve. (optional, default to 1) + /// The size of the page. (optional, default to 5) + /// Query for filtering the results. (optional) + /// Index associated with the operation. + /// Cancellation Token to cancel the request. + /// Task of ListPendingReceivedDocumentsResponse + public async System.Threading.Tasks.Task ListPendingReceivedDocumentsAsync(int companyId, string type, string fields = default, string fieldset = default, string sort = default, int? page = default, int? perPage = default, string q = default, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default) + { + It.FattureInCloud.Sdk.Client.ApiResponse localVarResponse = await ListPendingReceivedDocumentsWithHttpInfoAsync(companyId, type, fields, fieldset, sort, page, perPage, q, operationIndex, cancellationToken).ConfigureAwait(false); + return localVarResponse.Data; + } + + /// + /// List Pending Received Documents Lists the pending received documents. + /// + /// Thrown when fails to make API call + /// The ID of the company. + /// The type of the pending received document. + /// List of comma-separated fields. (optional) + /// Name of the fieldset. (optional) + /// List of comma-separated fields for result sorting (minus for desc sorting). (optional) + /// The page to retrieve. (optional, default to 1) + /// The size of the page. (optional, default to 5) + /// Query for filtering the results. (optional) + /// Index associated with the operation. + /// Cancellation Token to cancel the request. + /// Task of ApiResponse (ListPendingReceivedDocumentsResponse) + public async System.Threading.Tasks.Task> ListPendingReceivedDocumentsWithHttpInfoAsync(int companyId, string type, string fields = default, string fieldset = default, string sort = default, int? page = default, int? perPage = default, string q = default, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default) + { + // verify the required parameter 'type' is set + if (type == null) + { + throw new It.FattureInCloud.Sdk.Client.ApiException(400, "Missing required parameter 'type' when calling ReceivedDocumentsApi->ListPendingReceivedDocuments"); + } + + + It.FattureInCloud.Sdk.Client.RequestOptions localVarRequestOptions = new It.FattureInCloud.Sdk.Client.RequestOptions(); + + string[] _contentTypes = new string[] { + }; + + // to determine the Accept header + string[] _accepts = new string[] { + "application/json" + }; + + var localVarContentType = It.FattureInCloud.Sdk.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + if (localVarContentType != null) + { + localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); + } + + var localVarAccept = It.FattureInCloud.Sdk.Client.ClientUtils.SelectHeaderAccept(_accepts); + if (localVarAccept != null) + { + localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); + } + + localVarRequestOptions.PathParameters.Add("company_id", It.FattureInCloud.Sdk.Client.ClientUtils.ParameterToString(companyId)); // path parameter + localVarRequestOptions.QueryParameters.Add(It.FattureInCloud.Sdk.Client.ClientUtils.ParameterToMultiMap("", "type", type)); + if (fields != null) + { + localVarRequestOptions.QueryParameters.Add(It.FattureInCloud.Sdk.Client.ClientUtils.ParameterToMultiMap("", "fields", fields)); + } + if (fieldset != null) + { + localVarRequestOptions.QueryParameters.Add(It.FattureInCloud.Sdk.Client.ClientUtils.ParameterToMultiMap("", "fieldset", fieldset)); + } + if (sort != null) + { + localVarRequestOptions.QueryParameters.Add(It.FattureInCloud.Sdk.Client.ClientUtils.ParameterToMultiMap("", "sort", sort)); + } + if (page != null) + { + localVarRequestOptions.QueryParameters.Add(It.FattureInCloud.Sdk.Client.ClientUtils.ParameterToMultiMap("", "page", page)); + } + if (perPage != null) + { + localVarRequestOptions.QueryParameters.Add(It.FattureInCloud.Sdk.Client.ClientUtils.ParameterToMultiMap("", "per_page", perPage)); + } + if (q != null) + { + localVarRequestOptions.QueryParameters.Add(It.FattureInCloud.Sdk.Client.ClientUtils.ParameterToMultiMap("", "q", q)); + } + + localVarRequestOptions.Operation = "ReceivedDocumentsApi.ListPendingReceivedDocuments"; + localVarRequestOptions.OperationIndex = operationIndex; + + // authentication (OAuth2AuthenticationCodeFlow) required + // oauth required + if (!localVarRequestOptions.HeaderParameters.ContainsKey("Authorization")) + { + localVarRequestOptions.HeaderParameters.Add("Authorization", "Bearer " + this.Configuration.AccessToken); + } + + // make the HTTP request + var localVarResponse = await this.AsynchronousClient.GetAsync("/c/{company_id}/received_documents/pending", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + + if (this.ExceptionFactory != null) + { + Exception _exception = this.ExceptionFactory("ListPendingReceivedDocuments", localVarResponse); + if (_exception != null) + { + throw _exception; + } + } + + return localVarResponse; + } + /// /// List Received Documents Lists the received documents. /// @@ -2888,6 +3440,7 @@ public It.FattureInCloud.Sdk.Client.ApiResponse RecoverBinReceivedDocume // to determine the Accept header string[] _accepts = new string[] { + "application/json" }; var localVarContentType = It.FattureInCloud.Sdk.Client.ClientUtils.SelectHeaderContentType(_contentTypes); @@ -2963,6 +3516,7 @@ public async System.Threading.Tasks.Task RecoverBinReceivedDocumentAsync(int com // to determine the Accept header string[] _accepts = new string[] { + "application/json" }; var localVarContentType = It.FattureInCloud.Sdk.Client.ClientUtils.SelectHeaderContentType(_contentTypes); diff --git a/src/It.FattureInCloud.Sdk/Api/SettingsApi.cs b/src/It.FattureInCloud.Sdk/Api/SettingsApi.cs index eef57ddd..c1ded169 100644 --- a/src/It.FattureInCloud.Sdk/Api/SettingsApi.cs +++ b/src/It.FattureInCloud.Sdk/Api/SettingsApi.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -259,6 +259,35 @@ public interface ISettingsApiSync : IApiAccessor /// ApiResponse of GetTaxProfileResponse ApiResponse GetTaxProfileWithHttpInfo(int companyId, int operationIndex = 0); /// + /// Get Template + /// + /// + /// Gets a specified template. + /// + /// Thrown when fails to make API call + /// The ID of the company. + /// The Referred Template Id. + /// List of comma-separated fields. (optional) + /// Name of the fieldset. (optional) + /// Index associated with the operation. + /// GetTemplatesResponse + GetTemplatesResponse GetTemplate(int companyId, int templateId, string fields = default, string fieldset = default, int operationIndex = 0); + + /// + /// Get Template + /// + /// + /// Gets a specified template. + /// + /// Thrown when fails to make API call + /// The ID of the company. + /// The Referred Template Id. + /// List of comma-separated fields. (optional) + /// Name of the fieldset. (optional) + /// Index associated with the operation. + /// ApiResponse of GetTemplatesResponse + ApiResponse GetTemplateWithHttpInfo(int companyId, int templateId, string fields = default, string fieldset = default, int operationIndex = 0); + /// /// Get Vat Type /// /// @@ -284,6 +313,33 @@ public interface ISettingsApiSync : IApiAccessor /// ApiResponse of GetVatTypeResponse ApiResponse GetVatTypeWithHttpInfo(int companyId, int vatTypeId, int operationIndex = 0); /// + /// List Templates + /// + /// + /// Gets all the standard and private templates. + /// + /// Thrown when fails to make API call + /// The ID of the company. + /// List of comma-separated fields. (optional) + /// Name of the fieldset. (optional) + /// Index associated with the operation. + /// ListTemplatesResponse + ListTemplatesResponse ListTemplates(int companyId, string fields = default, string fieldset = default, int operationIndex = 0); + + /// + /// List Templates + /// + /// + /// Gets all the standard and private templates. + /// + /// Thrown when fails to make API call + /// The ID of the company. + /// List of comma-separated fields. (optional) + /// Name of the fieldset. (optional) + /// Index associated with the operation. + /// ApiResponse of ListTemplatesResponse + ApiResponse ListTemplatesWithHttpInfo(int companyId, string fields = default, string fieldset = default, int operationIndex = 0); + /// /// Modify Payment Account /// /// @@ -623,6 +679,37 @@ public interface ISettingsApiAsync : IApiAccessor /// Task of ApiResponse (GetTaxProfileResponse) System.Threading.Tasks.Task> GetTaxProfileWithHttpInfoAsync(int companyId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default); /// + /// Get Template + /// + /// + /// Gets a specified template. + /// + /// Thrown when fails to make API call + /// The ID of the company. + /// The Referred Template Id. + /// List of comma-separated fields. (optional) + /// Name of the fieldset. (optional) + /// Index associated with the operation. + /// Cancellation Token to cancel the request. + /// Task of GetTemplatesResponse + System.Threading.Tasks.Task GetTemplateAsync(int companyId, int templateId, string fields = default, string fieldset = default, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default); + + /// + /// Get Template + /// + /// + /// Gets a specified template. + /// + /// Thrown when fails to make API call + /// The ID of the company. + /// The Referred Template Id. + /// List of comma-separated fields. (optional) + /// Name of the fieldset. (optional) + /// Index associated with the operation. + /// Cancellation Token to cancel the request. + /// Task of ApiResponse (GetTemplatesResponse) + System.Threading.Tasks.Task> GetTemplateWithHttpInfoAsync(int companyId, int templateId, string fields = default, string fieldset = default, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default); + /// /// Get Vat Type /// /// @@ -650,6 +737,35 @@ public interface ISettingsApiAsync : IApiAccessor /// Task of ApiResponse (GetVatTypeResponse) System.Threading.Tasks.Task> GetVatTypeWithHttpInfoAsync(int companyId, int vatTypeId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default); /// + /// List Templates + /// + /// + /// Gets all the standard and private templates. + /// + /// Thrown when fails to make API call + /// The ID of the company. + /// List of comma-separated fields. (optional) + /// Name of the fieldset. (optional) + /// Index associated with the operation. + /// Cancellation Token to cancel the request. + /// Task of ListTemplatesResponse + System.Threading.Tasks.Task ListTemplatesAsync(int companyId, string fields = default, string fieldset = default, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default); + + /// + /// List Templates + /// + /// + /// Gets all the standard and private templates. + /// + /// Thrown when fails to make API call + /// The ID of the company. + /// List of comma-separated fields. (optional) + /// Name of the fieldset. (optional) + /// Index associated with the operation. + /// Cancellation Token to cancel the request. + /// Task of ApiResponse (ListTemplatesResponse) + System.Threading.Tasks.Task> ListTemplatesWithHttpInfoAsync(int companyId, string fields = default, string fieldset = default, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default); + /// /// Modify Payment Account /// /// @@ -1345,6 +1461,7 @@ public It.FattureInCloud.Sdk.Client.ApiResponse DeletePaymentAccountWith // to determine the Accept header string[] _accepts = new string[] { + "application/json" }; var localVarContentType = It.FattureInCloud.Sdk.Client.ClientUtils.SelectHeaderContentType(_contentTypes); @@ -1420,6 +1537,7 @@ public async System.Threading.Tasks.Task DeletePaymentAccountAsync(int companyId // to determine the Accept header string[] _accepts = new string[] { + "application/json" }; var localVarContentType = It.FattureInCloud.Sdk.Client.ClientUtils.SelectHeaderContentType(_contentTypes); @@ -1492,6 +1610,7 @@ public It.FattureInCloud.Sdk.Client.ApiResponse DeletePaymentMethodWithH // to determine the Accept header string[] _accepts = new string[] { + "application/json" }; var localVarContentType = It.FattureInCloud.Sdk.Client.ClientUtils.SelectHeaderContentType(_contentTypes); @@ -1567,6 +1686,7 @@ public async System.Threading.Tasks.Task DeletePaymentMethodAsync(int companyId, // to determine the Accept header string[] _accepts = new string[] { + "application/json" }; var localVarContentType = It.FattureInCloud.Sdk.Client.ClientUtils.SelectHeaderContentType(_contentTypes); @@ -1639,6 +1759,7 @@ public It.FattureInCloud.Sdk.Client.ApiResponse DeleteVatTypeWithHttpInf // to determine the Accept header string[] _accepts = new string[] { + "application/json" }; var localVarContentType = It.FattureInCloud.Sdk.Client.ClientUtils.SelectHeaderContentType(_contentTypes); @@ -1714,6 +1835,7 @@ public async System.Threading.Tasks.Task DeleteVatTypeAsync(int companyId, int v // to determine the Accept header string[] _accepts = new string[] { + "application/json" }; var localVarContentType = It.FattureInCloud.Sdk.Client.ClientUtils.SelectHeaderContentType(_contentTypes); @@ -2251,6 +2373,181 @@ public async System.Threading.Tasks.Task GetTaxProfileAsy return localVarResponse; } + /// + /// Get Template Gets a specified template. + /// + /// Thrown when fails to make API call + /// The ID of the company. + /// The Referred Template Id. + /// List of comma-separated fields. (optional) + /// Name of the fieldset. (optional) + /// Index associated with the operation. + /// GetTemplatesResponse + public GetTemplatesResponse GetTemplate(int companyId, int templateId, string fields = default, string fieldset = default, int operationIndex = 0) + { + It.FattureInCloud.Sdk.Client.ApiResponse localVarResponse = GetTemplateWithHttpInfo(companyId, templateId, fields, fieldset); + return localVarResponse.Data; + } + + /// + /// Get Template Gets a specified template. + /// + /// Thrown when fails to make API call + /// The ID of the company. + /// The Referred Template Id. + /// List of comma-separated fields. (optional) + /// Name of the fieldset. (optional) + /// Index associated with the operation. + /// ApiResponse of GetTemplatesResponse + public It.FattureInCloud.Sdk.Client.ApiResponse GetTemplateWithHttpInfo(int companyId, int templateId, string fields = default, string fieldset = default, int operationIndex = 0) + { + It.FattureInCloud.Sdk.Client.RequestOptions localVarRequestOptions = new It.FattureInCloud.Sdk.Client.RequestOptions(); + + string[] _contentTypes = new string[] { + }; + + // to determine the Accept header + string[] _accepts = new string[] { + "application/json" + }; + + var localVarContentType = It.FattureInCloud.Sdk.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarMultipartFormData = localVarContentType == "multipart/form-data"; + if (localVarContentType != null) + { + localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); + } + + var localVarAccept = It.FattureInCloud.Sdk.Client.ClientUtils.SelectHeaderAccept(_accepts); + if (localVarAccept != null) + { + localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); + } + + localVarRequestOptions.PathParameters.Add("company_id", It.FattureInCloud.Sdk.Client.ClientUtils.ParameterToString(companyId)); // path parameter + localVarRequestOptions.PathParameters.Add("template_id", It.FattureInCloud.Sdk.Client.ClientUtils.ParameterToString(templateId)); // path parameter + if (fields != null) + { + localVarRequestOptions.QueryParameters.Add(It.FattureInCloud.Sdk.Client.ClientUtils.ParameterToMultiMap("", "fields", fields)); + } + if (fieldset != null) + { + localVarRequestOptions.QueryParameters.Add(It.FattureInCloud.Sdk.Client.ClientUtils.ParameterToMultiMap("", "fieldset", fieldset)); + } + + localVarRequestOptions.Operation = "SettingsApi.GetTemplate"; + localVarRequestOptions.OperationIndex = operationIndex; + + // authentication (OAuth2AuthenticationCodeFlow) required + // oauth required + if (!localVarRequestOptions.HeaderParameters.ContainsKey("Authorization")) + { + localVarRequestOptions.HeaderParameters.Add("Authorization", "Bearer " + this.Configuration.AccessToken); + } + + // make the HTTP request + var localVarResponse = this.Client.Get("/c/{company_id}/settings/templates/{template_id}", localVarRequestOptions, this.Configuration); + if (this.ExceptionFactory != null) + { + Exception _exception = this.ExceptionFactory("GetTemplate", localVarResponse); + if (_exception != null) + { + throw _exception; + } + } + + return localVarResponse; + } + + /// + /// Get Template Gets a specified template. + /// + /// Thrown when fails to make API call + /// The ID of the company. + /// The Referred Template Id. + /// List of comma-separated fields. (optional) + /// Name of the fieldset. (optional) + /// Index associated with the operation. + /// Cancellation Token to cancel the request. + /// Task of GetTemplatesResponse + public async System.Threading.Tasks.Task GetTemplateAsync(int companyId, int templateId, string fields = default, string fieldset = default, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default) + { + It.FattureInCloud.Sdk.Client.ApiResponse localVarResponse = await GetTemplateWithHttpInfoAsync(companyId, templateId, fields, fieldset, operationIndex, cancellationToken).ConfigureAwait(false); + return localVarResponse.Data; + } + + /// + /// Get Template Gets a specified template. + /// + /// Thrown when fails to make API call + /// The ID of the company. + /// The Referred Template Id. + /// List of comma-separated fields. (optional) + /// Name of the fieldset. (optional) + /// Index associated with the operation. + /// Cancellation Token to cancel the request. + /// Task of ApiResponse (GetTemplatesResponse) + public async System.Threading.Tasks.Task> GetTemplateWithHttpInfoAsync(int companyId, int templateId, string fields = default, string fieldset = default, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default) + { + + It.FattureInCloud.Sdk.Client.RequestOptions localVarRequestOptions = new It.FattureInCloud.Sdk.Client.RequestOptions(); + + string[] _contentTypes = new string[] { + }; + + // to determine the Accept header + string[] _accepts = new string[] { + "application/json" + }; + + var localVarContentType = It.FattureInCloud.Sdk.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + if (localVarContentType != null) + { + localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); + } + + var localVarAccept = It.FattureInCloud.Sdk.Client.ClientUtils.SelectHeaderAccept(_accepts); + if (localVarAccept != null) + { + localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); + } + + localVarRequestOptions.PathParameters.Add("company_id", It.FattureInCloud.Sdk.Client.ClientUtils.ParameterToString(companyId)); // path parameter + localVarRequestOptions.PathParameters.Add("template_id", It.FattureInCloud.Sdk.Client.ClientUtils.ParameterToString(templateId)); // path parameter + if (fields != null) + { + localVarRequestOptions.QueryParameters.Add(It.FattureInCloud.Sdk.Client.ClientUtils.ParameterToMultiMap("", "fields", fields)); + } + if (fieldset != null) + { + localVarRequestOptions.QueryParameters.Add(It.FattureInCloud.Sdk.Client.ClientUtils.ParameterToMultiMap("", "fieldset", fieldset)); + } + + localVarRequestOptions.Operation = "SettingsApi.GetTemplate"; + localVarRequestOptions.OperationIndex = operationIndex; + + // authentication (OAuth2AuthenticationCodeFlow) required + // oauth required + if (!localVarRequestOptions.HeaderParameters.ContainsKey("Authorization")) + { + localVarRequestOptions.HeaderParameters.Add("Authorization", "Bearer " + this.Configuration.AccessToken); + } + + // make the HTTP request + var localVarResponse = await this.AsynchronousClient.GetAsync("/c/{company_id}/settings/templates/{template_id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + + if (this.ExceptionFactory != null) + { + Exception _exception = this.ExceptionFactory("GetTemplate", localVarResponse); + if (_exception != null) + { + throw _exception; + } + } + + return localVarResponse; + } + /// /// Get Vat Type Gets the specified vat type. /// @@ -2402,6 +2699,175 @@ public async System.Threading.Tasks.Task GetVatTypeAsync(int return localVarResponse; } + /// + /// List Templates Gets all the standard and private templates. + /// + /// Thrown when fails to make API call + /// The ID of the company. + /// List of comma-separated fields. (optional) + /// Name of the fieldset. (optional) + /// Index associated with the operation. + /// ListTemplatesResponse + public ListTemplatesResponse ListTemplates(int companyId, string fields = default, string fieldset = default, int operationIndex = 0) + { + It.FattureInCloud.Sdk.Client.ApiResponse localVarResponse = ListTemplatesWithHttpInfo(companyId, fields, fieldset); + return localVarResponse.Data; + } + + /// + /// List Templates Gets all the standard and private templates. + /// + /// Thrown when fails to make API call + /// The ID of the company. + /// List of comma-separated fields. (optional) + /// Name of the fieldset. (optional) + /// Index associated with the operation. + /// ApiResponse of ListTemplatesResponse + public It.FattureInCloud.Sdk.Client.ApiResponse ListTemplatesWithHttpInfo(int companyId, string fields = default, string fieldset = default, int operationIndex = 0) + { + It.FattureInCloud.Sdk.Client.RequestOptions localVarRequestOptions = new It.FattureInCloud.Sdk.Client.RequestOptions(); + + string[] _contentTypes = new string[] { + }; + + // to determine the Accept header + string[] _accepts = new string[] { + "application/json" + }; + + var localVarContentType = It.FattureInCloud.Sdk.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarMultipartFormData = localVarContentType == "multipart/form-data"; + if (localVarContentType != null) + { + localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); + } + + var localVarAccept = It.FattureInCloud.Sdk.Client.ClientUtils.SelectHeaderAccept(_accepts); + if (localVarAccept != null) + { + localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); + } + + localVarRequestOptions.PathParameters.Add("company_id", It.FattureInCloud.Sdk.Client.ClientUtils.ParameterToString(companyId)); // path parameter + if (fields != null) + { + localVarRequestOptions.QueryParameters.Add(It.FattureInCloud.Sdk.Client.ClientUtils.ParameterToMultiMap("", "fields", fields)); + } + if (fieldset != null) + { + localVarRequestOptions.QueryParameters.Add(It.FattureInCloud.Sdk.Client.ClientUtils.ParameterToMultiMap("", "fieldset", fieldset)); + } + + localVarRequestOptions.Operation = "SettingsApi.ListTemplates"; + localVarRequestOptions.OperationIndex = operationIndex; + + // authentication (OAuth2AuthenticationCodeFlow) required + // oauth required + if (!localVarRequestOptions.HeaderParameters.ContainsKey("Authorization")) + { + localVarRequestOptions.HeaderParameters.Add("Authorization", "Bearer " + this.Configuration.AccessToken); + } + + // make the HTTP request + var localVarResponse = this.Client.Get("/c/{company_id}/settings/templates", localVarRequestOptions, this.Configuration); + if (this.ExceptionFactory != null) + { + Exception _exception = this.ExceptionFactory("ListTemplates", localVarResponse); + if (_exception != null) + { + throw _exception; + } + } + + return localVarResponse; + } + + /// + /// List Templates Gets all the standard and private templates. + /// + /// Thrown when fails to make API call + /// The ID of the company. + /// List of comma-separated fields. (optional) + /// Name of the fieldset. (optional) + /// Index associated with the operation. + /// Cancellation Token to cancel the request. + /// Task of ListTemplatesResponse + public async System.Threading.Tasks.Task ListTemplatesAsync(int companyId, string fields = default, string fieldset = default, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default) + { + It.FattureInCloud.Sdk.Client.ApiResponse localVarResponse = await ListTemplatesWithHttpInfoAsync(companyId, fields, fieldset, operationIndex, cancellationToken).ConfigureAwait(false); + return localVarResponse.Data; + } + + /// + /// List Templates Gets all the standard and private templates. + /// + /// Thrown when fails to make API call + /// The ID of the company. + /// List of comma-separated fields. (optional) + /// Name of the fieldset. (optional) + /// Index associated with the operation. + /// Cancellation Token to cancel the request. + /// Task of ApiResponse (ListTemplatesResponse) + public async System.Threading.Tasks.Task> ListTemplatesWithHttpInfoAsync(int companyId, string fields = default, string fieldset = default, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default) + { + + It.FattureInCloud.Sdk.Client.RequestOptions localVarRequestOptions = new It.FattureInCloud.Sdk.Client.RequestOptions(); + + string[] _contentTypes = new string[] { + }; + + // to determine the Accept header + string[] _accepts = new string[] { + "application/json" + }; + + var localVarContentType = It.FattureInCloud.Sdk.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + if (localVarContentType != null) + { + localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); + } + + var localVarAccept = It.FattureInCloud.Sdk.Client.ClientUtils.SelectHeaderAccept(_accepts); + if (localVarAccept != null) + { + localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); + } + + localVarRequestOptions.PathParameters.Add("company_id", It.FattureInCloud.Sdk.Client.ClientUtils.ParameterToString(companyId)); // path parameter + if (fields != null) + { + localVarRequestOptions.QueryParameters.Add(It.FattureInCloud.Sdk.Client.ClientUtils.ParameterToMultiMap("", "fields", fields)); + } + if (fieldset != null) + { + localVarRequestOptions.QueryParameters.Add(It.FattureInCloud.Sdk.Client.ClientUtils.ParameterToMultiMap("", "fieldset", fieldset)); + } + + localVarRequestOptions.Operation = "SettingsApi.ListTemplates"; + localVarRequestOptions.OperationIndex = operationIndex; + + // authentication (OAuth2AuthenticationCodeFlow) required + // oauth required + if (!localVarRequestOptions.HeaderParameters.ContainsKey("Authorization")) + { + localVarRequestOptions.HeaderParameters.Add("Authorization", "Bearer " + this.Configuration.AccessToken); + } + + // make the HTTP request + var localVarResponse = await this.AsynchronousClient.GetAsync("/c/{company_id}/settings/templates", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + + if (this.ExceptionFactory != null) + { + Exception _exception = this.ExceptionFactory("ListTemplates", localVarResponse); + if (_exception != null) + { + throw _exception; + } + } + + return localVarResponse; + } + /// /// Modify Payment Account Modifies the specified payment account. /// diff --git a/src/It.FattureInCloud.Sdk/Api/SuppliersApi.cs b/src/It.FattureInCloud.Sdk/Api/SuppliersApi.cs index e2a38217..8eea250b 100644 --- a/src/It.FattureInCloud.Sdk/Api/SuppliersApi.cs +++ b/src/It.FattureInCloud.Sdk/Api/SuppliersApi.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -631,6 +631,7 @@ public It.FattureInCloud.Sdk.Client.ApiResponse DeleteSupplierWithHttpIn // to determine the Accept header string[] _accepts = new string[] { + "application/json" }; var localVarContentType = It.FattureInCloud.Sdk.Client.ClientUtils.SelectHeaderContentType(_contentTypes); @@ -706,6 +707,7 @@ public async System.Threading.Tasks.Task DeleteSupplierAsync(int companyId, int // to determine the Accept header string[] _accepts = new string[] { + "application/json" }; var localVarContentType = It.FattureInCloud.Sdk.Client.ClientUtils.SelectHeaderContentType(_contentTypes); diff --git a/src/It.FattureInCloud.Sdk/Api/TaxesApi.cs b/src/It.FattureInCloud.Sdk/Api/TaxesApi.cs index 7dd7005d..37fbdfa8 100644 --- a/src/It.FattureInCloud.Sdk/Api/TaxesApi.cs +++ b/src/It.FattureInCloud.Sdk/Api/TaxesApi.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -739,6 +739,7 @@ public It.FattureInCloud.Sdk.Client.ApiResponse DeleteF24WithHttpInfo(in // to determine the Accept header string[] _accepts = new string[] { + "application/json" }; var localVarContentType = It.FattureInCloud.Sdk.Client.ClientUtils.SelectHeaderContentType(_contentTypes); @@ -814,6 +815,7 @@ public async System.Threading.Tasks.Task DeleteF24Async(int companyId, int docum // to determine the Accept header string[] _accepts = new string[] { + "application/json" }; var localVarContentType = It.FattureInCloud.Sdk.Client.ClientUtils.SelectHeaderContentType(_contentTypes); @@ -886,6 +888,7 @@ public It.FattureInCloud.Sdk.Client.ApiResponse DeleteF24AttachmentWithH // to determine the Accept header string[] _accepts = new string[] { + "application/json" }; var localVarContentType = It.FattureInCloud.Sdk.Client.ClientUtils.SelectHeaderContentType(_contentTypes); @@ -961,6 +964,7 @@ public async System.Threading.Tasks.Task DeleteF24AttachmentAsync(int companyId, // to determine the Accept header string[] _accepts = new string[] { + "application/json" }; var localVarContentType = It.FattureInCloud.Sdk.Client.ClientUtils.SelectHeaderContentType(_contentTypes); diff --git a/src/It.FattureInCloud.Sdk/Api/UserApi.cs b/src/It.FattureInCloud.Sdk/Api/UserApi.cs index 207add7a..96e9a4cd 100644 --- a/src/It.FattureInCloud.Sdk/Api/UserApi.cs +++ b/src/It.FattureInCloud.Sdk/Api/UserApi.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Api/WebhooksApi.cs b/src/It.FattureInCloud.Sdk/Api/WebhooksApi.cs index 867be3d6..54da0b51 100644 --- a/src/It.FattureInCloud.Sdk/Api/WebhooksApi.cs +++ b/src/It.FattureInCloud.Sdk/Api/WebhooksApi.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -661,6 +661,7 @@ public It.FattureInCloud.Sdk.Client.ApiResponse DeleteWebhooksSubscripti // to determine the Accept header string[] _accepts = new string[] { + "application/json" }; var localVarContentType = It.FattureInCloud.Sdk.Client.ClientUtils.SelectHeaderContentType(_contentTypes); @@ -742,6 +743,7 @@ public async System.Threading.Tasks.Task DeleteWebhooksSubscriptionAsync(int com // to determine the Accept header string[] _accepts = new string[] { + "application/json" }; var localVarContentType = It.FattureInCloud.Sdk.Client.ClientUtils.SelectHeaderContentType(_contentTypes); @@ -1302,6 +1304,7 @@ public It.FattureInCloud.Sdk.Client.ApiResponse VerifyWebhooksSubscripti // to determine the Accept header string[] _accepts = new string[] { + "application/json" }; var localVarContentType = It.FattureInCloud.Sdk.Client.ClientUtils.SelectHeaderContentType(_contentTypes); @@ -1387,6 +1390,7 @@ public async System.Threading.Tasks.Task VerifyWebhooksSubscriptionAsync(int com // to determine the Accept header string[] _accepts = new string[] { + "application/json" }; var localVarContentType = It.FattureInCloud.Sdk.Client.ClientUtils.SelectHeaderContentType(_contentTypes); diff --git a/src/It.FattureInCloud.Sdk/Client/ApiClient.cs b/src/It.FattureInCloud.Sdk/Client/ApiClient.cs index b3ea0123..ebe2d7e7 100644 --- a/src/It.FattureInCloud.Sdk/Client/ApiClient.cs +++ b/src/It.FattureInCloud.Sdk/Client/ApiClient.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Client/ApiException.cs b/src/It.FattureInCloud.Sdk/Client/ApiException.cs index c9f0feaa..1c8063e2 100644 --- a/src/It.FattureInCloud.Sdk/Client/ApiException.cs +++ b/src/It.FattureInCloud.Sdk/Client/ApiException.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Client/ApiResponse.cs b/src/It.FattureInCloud.Sdk/Client/ApiResponse.cs index 9ea49d35..3901deb1 100644 --- a/src/It.FattureInCloud.Sdk/Client/ApiResponse.cs +++ b/src/It.FattureInCloud.Sdk/Client/ApiResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Client/ClientUtils.cs b/src/It.FattureInCloud.Sdk/Client/ClientUtils.cs index 935c9da1..18761706 100644 --- a/src/It.FattureInCloud.Sdk/Client/ClientUtils.cs +++ b/src/It.FattureInCloud.Sdk/Client/ClientUtils.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Client/Configuration.cs b/src/It.FattureInCloud.Sdk/Client/Configuration.cs index e271f94e..5de5a71d 100644 --- a/src/It.FattureInCloud.Sdk/Client/Configuration.cs +++ b/src/It.FattureInCloud.Sdk/Client/Configuration.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -34,7 +34,7 @@ public class Configuration : IReadableConfiguration /// Version of the package. /// /// Version of the package. - public const string Version = "2.1.2"; + public const string Version = "2.1.3"; /// /// Identifier for ISO 8601 DateTime Format @@ -534,8 +534,8 @@ public static string ToDebugReport() string report = "C# SDK (It.FattureInCloud.Sdk) Debug Report:\n"; report += " OS: " + System.Environment.OSVersion + "\n"; report += " .NET Framework Version: " + System.Environment.Version + "\n"; - report += " Version of the API: 2.1.5\n"; - report += " SDK Package Version: 2.1.2\n"; + report += " Version of the API: 2.1.8\n"; + report += " SDK Package Version: 2.1.3\n"; return report; } diff --git a/src/It.FattureInCloud.Sdk/Client/ExceptionFactory.cs b/src/It.FattureInCloud.Sdk/Client/ExceptionFactory.cs index 333acb23..b62e7fb2 100644 --- a/src/It.FattureInCloud.Sdk/Client/ExceptionFactory.cs +++ b/src/It.FattureInCloud.Sdk/Client/ExceptionFactory.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Client/GlobalConfiguration.cs b/src/It.FattureInCloud.Sdk/Client/GlobalConfiguration.cs index 4b39af63..9390a547 100644 --- a/src/It.FattureInCloud.Sdk/Client/GlobalConfiguration.cs +++ b/src/It.FattureInCloud.Sdk/Client/GlobalConfiguration.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Client/HttpMethod.cs b/src/It.FattureInCloud.Sdk/Client/HttpMethod.cs index 92f2b641..e8fd8eb0 100644 --- a/src/It.FattureInCloud.Sdk/Client/HttpMethod.cs +++ b/src/It.FattureInCloud.Sdk/Client/HttpMethod.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Client/IApiAccessor.cs b/src/It.FattureInCloud.Sdk/Client/IApiAccessor.cs index e37a27ec..88e0e9e9 100644 --- a/src/It.FattureInCloud.Sdk/Client/IApiAccessor.cs +++ b/src/It.FattureInCloud.Sdk/Client/IApiAccessor.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Client/IAsynchronousClient.cs b/src/It.FattureInCloud.Sdk/Client/IAsynchronousClient.cs index daaf3bc8..521c7ca9 100644 --- a/src/It.FattureInCloud.Sdk/Client/IAsynchronousClient.cs +++ b/src/It.FattureInCloud.Sdk/Client/IAsynchronousClient.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Client/IReadableConfiguration.cs b/src/It.FattureInCloud.Sdk/Client/IReadableConfiguration.cs index 7b7146bd..2c6febf2 100644 --- a/src/It.FattureInCloud.Sdk/Client/IReadableConfiguration.cs +++ b/src/It.FattureInCloud.Sdk/Client/IReadableConfiguration.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Client/ISynchronousClient.cs b/src/It.FattureInCloud.Sdk/Client/ISynchronousClient.cs index b9a9b11a..79e3bf11 100644 --- a/src/It.FattureInCloud.Sdk/Client/ISynchronousClient.cs +++ b/src/It.FattureInCloud.Sdk/Client/ISynchronousClient.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Client/Multimap.cs b/src/It.FattureInCloud.Sdk/Client/Multimap.cs index dee2b202..80bcb056 100644 --- a/src/It.FattureInCloud.Sdk/Client/Multimap.cs +++ b/src/It.FattureInCloud.Sdk/Client/Multimap.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Client/OpenAPIDateConverter.cs b/src/It.FattureInCloud.Sdk/Client/OpenAPIDateConverter.cs index c97f12af..7914aeeb 100644 --- a/src/It.FattureInCloud.Sdk/Client/OpenAPIDateConverter.cs +++ b/src/It.FattureInCloud.Sdk/Client/OpenAPIDateConverter.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Client/RequestOptions.cs b/src/It.FattureInCloud.Sdk/Client/RequestOptions.cs index 1f87d81c..1fcb4f68 100644 --- a/src/It.FattureInCloud.Sdk/Client/RequestOptions.cs +++ b/src/It.FattureInCloud.Sdk/Client/RequestOptions.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Client/RetryConfiguration.cs b/src/It.FattureInCloud.Sdk/Client/RetryConfiguration.cs index 424a7597..779ec5f8 100644 --- a/src/It.FattureInCloud.Sdk/Client/RetryConfiguration.cs +++ b/src/It.FattureInCloud.Sdk/Client/RetryConfiguration.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/It.FattureInCloud.Sdk.csproj b/src/It.FattureInCloud.Sdk/It.FattureInCloud.Sdk.csproj index ed459fec..b3ffcf44 100644 --- a/src/It.FattureInCloud.Sdk/It.FattureInCloud.Sdk.csproj +++ b/src/It.FattureInCloud.Sdk/It.FattureInCloud.Sdk.csproj @@ -13,12 +13,12 @@ README.md No Copyright It.FattureInCloud.Sdk - 2.1.2 + 2.1.3 bin\$(Configuration)\$(TargetFramework)\It.FattureInCloud.Sdk.xml MIT https://github.com/fattureincloud/fattureincloud-csharp-sdk.git git - bumping version to 2.1.2 + bumping version to 2.1.3 false diff --git a/src/It.FattureInCloud.Sdk/Model/AbstractOpenAPISchema.cs b/src/It.FattureInCloud.Sdk/Model/AbstractOpenAPISchema.cs index 2e7c6064..6f9ef001 100644 --- a/src/It.FattureInCloud.Sdk/Model/AbstractOpenAPISchema.cs +++ b/src/It.FattureInCloud.Sdk/Model/AbstractOpenAPISchema.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ArchiveDocument.cs b/src/It.FattureInCloud.Sdk/Model/ArchiveDocument.cs index aa28a457..fb2f5b9b 100644 --- a/src/It.FattureInCloud.Sdk/Model/ArchiveDocument.cs +++ b/src/It.FattureInCloud.Sdk/Model/ArchiveDocument.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/Attachment.cs b/src/It.FattureInCloud.Sdk/Model/Attachment.cs new file mode 100644 index 00000000..48b1fc17 --- /dev/null +++ b/src/It.FattureInCloud.Sdk/Model/Attachment.cs @@ -0,0 +1,196 @@ +/* + * Fatture in Cloud API v2 - API Reference + * + * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. + * + * The version of the OpenAPI document: 2.1.8 + * Contact: info@fattureincloud.it + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = It.FattureInCloud.Sdk.Client.OpenAPIDateConverter; + +namespace It.FattureInCloud.Sdk.Model +{ + /// + /// Attachment + /// + [DataContract(Name = "Attachment")] + public partial class Attachment : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Attachment file name. + /// Attachment file [.png, .jpg, .gif, .pdf, .zip, .xls, .xlsx, .doc, .docx]. + public Attachment(string filename = default, System.IO.Stream varAttachment = default) + { + this._Filename = filename; + if (this.Filename != null) + { + this._flagFilename = true; + } + this._VarAttachment = varAttachment; + if (this.VarAttachment != null) + { + this._flagVarAttachment = true; + } + } + + /// + /// Attachment file name + /// + /// Attachment file name + /* + attachment.pdf + */ + [DataMember(Name = "filename", EmitDefaultValue = true)] + public string Filename + { + get { return _Filename; } + set + { + _Filename = value; + _flagFilename = true; + } + } + private string _Filename; + private bool _flagFilename; + + /// + /// Returns false as Filename should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeFilename() + { + return _flagFilename; + } + /// + /// Attachment file [.png, .jpg, .gif, .pdf, .zip, .xls, .xlsx, .doc, .docx] + /// + /// Attachment file [.png, .jpg, .gif, .pdf, .zip, .xls, .xlsx, .doc, .docx] + [DataMember(Name = "attachment", EmitDefaultValue = false)] + public System.IO.Stream VarAttachment + { + get { return _VarAttachment; } + set + { + _VarAttachment = value; + _flagVarAttachment = true; + } + } + private System.IO.Stream _VarAttachment; + private bool _flagVarAttachment; + + /// + /// Returns false as VarAttachment should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeVarAttachment() + { + return _flagVarAttachment; + } + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + sb.Append("class Attachment {\n"); + sb.Append(" Filename: ").Append(Filename).Append("\n"); + sb.Append(" VarAttachment: ").Append(VarAttachment).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as Attachment); + } + + /// + /// Returns true if Attachment instances are equal + /// + /// Instance of Attachment to be compared + /// Boolean + public bool Equals(Attachment input) + { + if (input == null) + { + return false; + } + return + ( + this.Filename == input.Filename || + (this.Filename != null && + this.Filename.Equals(input.Filename)) + ) && + ( + this.VarAttachment == input.VarAttachment || + (this.VarAttachment != null && + this.VarAttachment.Equals(input.VarAttachment)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Filename != null) + { + hashCode = (hashCode * 59) + this.Filename.GetHashCode(); + } + if (this.VarAttachment != null) + { + hashCode = (hashCode * 59) + this.VarAttachment.GetHashCode(); + } + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/src/It.FattureInCloud.Sdk/Model/AttachmentData.cs b/src/It.FattureInCloud.Sdk/Model/AttachmentData.cs index 4c8231bd..ae4af46a 100644 --- a/src/It.FattureInCloud.Sdk/Model/AttachmentData.cs +++ b/src/It.FattureInCloud.Sdk/Model/AttachmentData.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/CashbookEntry.cs b/src/It.FattureInCloud.Sdk/Model/CashbookEntry.cs index a8988717..6a13f0ad 100644 --- a/src/It.FattureInCloud.Sdk/Model/CashbookEntry.cs +++ b/src/It.FattureInCloud.Sdk/Model/CashbookEntry.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/CashbookEntryDocument.cs b/src/It.FattureInCloud.Sdk/Model/CashbookEntryDocument.cs index 3bc2453d..3f845252 100644 --- a/src/It.FattureInCloud.Sdk/Model/CashbookEntryDocument.cs +++ b/src/It.FattureInCloud.Sdk/Model/CashbookEntryDocument.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/CashbookEntryKind.cs b/src/It.FattureInCloud.Sdk/Model/CashbookEntryKind.cs index 53d20db1..a5bc5027 100644 --- a/src/It.FattureInCloud.Sdk/Model/CashbookEntryKind.cs +++ b/src/It.FattureInCloud.Sdk/Model/CashbookEntryKind.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -61,7 +61,13 @@ public enum CashbookEntryKind /// Enum Receipt for value: receipt /// [EnumMember(Value = "receipt")] - Receipt = 5 + Receipt = 5, + + /// + /// Enum TsPay for value: ts_pay + /// + [EnumMember(Value = "ts_pay")] + TsPay = 6 } } diff --git a/src/It.FattureInCloud.Sdk/Model/CashbookEntryType.cs b/src/It.FattureInCloud.Sdk/Model/CashbookEntryType.cs index a00f4fcc..83a5e89c 100644 --- a/src/It.FattureInCloud.Sdk/Model/CashbookEntryType.cs +++ b/src/It.FattureInCloud.Sdk/Model/CashbookEntryType.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/City.cs b/src/It.FattureInCloud.Sdk/Model/City.cs index 2c9f08bc..bf2c78e7 100644 --- a/src/It.FattureInCloud.Sdk/Model/City.cs +++ b/src/It.FattureInCloud.Sdk/Model/City.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ClientType.cs b/src/It.FattureInCloud.Sdk/Model/ClientType.cs index 80f0de9e..b894000f 100644 --- a/src/It.FattureInCloud.Sdk/Model/ClientType.cs +++ b/src/It.FattureInCloud.Sdk/Model/ClientType.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/Company.cs b/src/It.FattureInCloud.Sdk/Model/Company.cs index 21df5253..d0244928 100644 --- a/src/It.FattureInCloud.Sdk/Model/Company.cs +++ b/src/It.FattureInCloud.Sdk/Model/Company.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/CompanyInfo.cs b/src/It.FattureInCloud.Sdk/Model/CompanyInfo.cs index 8fc34683..3aa16666 100644 --- a/src/It.FattureInCloud.Sdk/Model/CompanyInfo.cs +++ b/src/It.FattureInCloud.Sdk/Model/CompanyInfo.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/CompanyInfoAccessInfo.cs b/src/It.FattureInCloud.Sdk/Model/CompanyInfoAccessInfo.cs index 713311f0..c61da629 100644 --- a/src/It.FattureInCloud.Sdk/Model/CompanyInfoAccessInfo.cs +++ b/src/It.FattureInCloud.Sdk/Model/CompanyInfoAccessInfo.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/CompanyInfoPlanInfo.cs b/src/It.FattureInCloud.Sdk/Model/CompanyInfoPlanInfo.cs index 70af984c..9ee1b348 100644 --- a/src/It.FattureInCloud.Sdk/Model/CompanyInfoPlanInfo.cs +++ b/src/It.FattureInCloud.Sdk/Model/CompanyInfoPlanInfo.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/CompanyInfoPlanInfoFunctions.cs b/src/It.FattureInCloud.Sdk/Model/CompanyInfoPlanInfoFunctions.cs index bb978860..258f3f42 100644 --- a/src/It.FattureInCloud.Sdk/Model/CompanyInfoPlanInfoFunctions.cs +++ b/src/It.FattureInCloud.Sdk/Model/CompanyInfoPlanInfoFunctions.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/CompanyInfoPlanInfoFunctionsStatus.cs b/src/It.FattureInCloud.Sdk/Model/CompanyInfoPlanInfoFunctionsStatus.cs index 40b391d3..056d85f3 100644 --- a/src/It.FattureInCloud.Sdk/Model/CompanyInfoPlanInfoFunctionsStatus.cs +++ b/src/It.FattureInCloud.Sdk/Model/CompanyInfoPlanInfoFunctionsStatus.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/CompanyInfoPlanInfoLimits.cs b/src/It.FattureInCloud.Sdk/Model/CompanyInfoPlanInfoLimits.cs index 0e0ca5ca..9c867548 100644 --- a/src/It.FattureInCloud.Sdk/Model/CompanyInfoPlanInfoLimits.cs +++ b/src/It.FattureInCloud.Sdk/Model/CompanyInfoPlanInfoLimits.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/CompanyPlanUsage.cs b/src/It.FattureInCloud.Sdk/Model/CompanyPlanUsage.cs index d00707a9..a1e31f3f 100644 --- a/src/It.FattureInCloud.Sdk/Model/CompanyPlanUsage.cs +++ b/src/It.FattureInCloud.Sdk/Model/CompanyPlanUsage.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/CompanyType.cs b/src/It.FattureInCloud.Sdk/Model/CompanyType.cs index 5aece92c..79c3904b 100644 --- a/src/It.FattureInCloud.Sdk/Model/CompanyType.cs +++ b/src/It.FattureInCloud.Sdk/Model/CompanyType.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ControlledCompany.cs b/src/It.FattureInCloud.Sdk/Model/ControlledCompany.cs index 4efab246..6f7f9bea 100644 --- a/src/It.FattureInCloud.Sdk/Model/ControlledCompany.cs +++ b/src/It.FattureInCloud.Sdk/Model/ControlledCompany.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/CreateArchiveDocumentRequest.cs b/src/It.FattureInCloud.Sdk/Model/CreateArchiveDocumentRequest.cs index 3eb14a38..e44a0199 100644 --- a/src/It.FattureInCloud.Sdk/Model/CreateArchiveDocumentRequest.cs +++ b/src/It.FattureInCloud.Sdk/Model/CreateArchiveDocumentRequest.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/CreateArchiveDocumentResponse.cs b/src/It.FattureInCloud.Sdk/Model/CreateArchiveDocumentResponse.cs index e373b1fb..9f174bb7 100644 --- a/src/It.FattureInCloud.Sdk/Model/CreateArchiveDocumentResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/CreateArchiveDocumentResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/CreateCashbookEntryRequest.cs b/src/It.FattureInCloud.Sdk/Model/CreateCashbookEntryRequest.cs index e96a405d..e70c3787 100644 --- a/src/It.FattureInCloud.Sdk/Model/CreateCashbookEntryRequest.cs +++ b/src/It.FattureInCloud.Sdk/Model/CreateCashbookEntryRequest.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/CreateCashbookEntryResponse.cs b/src/It.FattureInCloud.Sdk/Model/CreateCashbookEntryResponse.cs index b96075ba..c36bb1be 100644 --- a/src/It.FattureInCloud.Sdk/Model/CreateCashbookEntryResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/CreateCashbookEntryResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/CreateClientRequest.cs b/src/It.FattureInCloud.Sdk/Model/CreateClientRequest.cs index 5f3df089..cfc5b088 100644 --- a/src/It.FattureInCloud.Sdk/Model/CreateClientRequest.cs +++ b/src/It.FattureInCloud.Sdk/Model/CreateClientRequest.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/CreateClientResponse.cs b/src/It.FattureInCloud.Sdk/Model/CreateClientResponse.cs index 5ead40e5..b79b33a9 100644 --- a/src/It.FattureInCloud.Sdk/Model/CreateClientResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/CreateClientResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/CreateF24Request.cs b/src/It.FattureInCloud.Sdk/Model/CreateF24Request.cs index caa1978b..f1cd2c37 100644 --- a/src/It.FattureInCloud.Sdk/Model/CreateF24Request.cs +++ b/src/It.FattureInCloud.Sdk/Model/CreateF24Request.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/CreateF24Response.cs b/src/It.FattureInCloud.Sdk/Model/CreateF24Response.cs index c8346763..72fad568 100644 --- a/src/It.FattureInCloud.Sdk/Model/CreateF24Response.cs +++ b/src/It.FattureInCloud.Sdk/Model/CreateF24Response.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/CreateIssuedDocumentRequest.cs b/src/It.FattureInCloud.Sdk/Model/CreateIssuedDocumentRequest.cs index ce0a49d0..b7c9af0f 100644 --- a/src/It.FattureInCloud.Sdk/Model/CreateIssuedDocumentRequest.cs +++ b/src/It.FattureInCloud.Sdk/Model/CreateIssuedDocumentRequest.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/CreateIssuedDocumentResponse.cs b/src/It.FattureInCloud.Sdk/Model/CreateIssuedDocumentResponse.cs index e2bf7e4d..8c3aa6a2 100644 --- a/src/It.FattureInCloud.Sdk/Model/CreateIssuedDocumentResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/CreateIssuedDocumentResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/CreatePaymentAccountRequest.cs b/src/It.FattureInCloud.Sdk/Model/CreatePaymentAccountRequest.cs index d289aee4..b7336bc5 100644 --- a/src/It.FattureInCloud.Sdk/Model/CreatePaymentAccountRequest.cs +++ b/src/It.FattureInCloud.Sdk/Model/CreatePaymentAccountRequest.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/CreatePaymentAccountResponse.cs b/src/It.FattureInCloud.Sdk/Model/CreatePaymentAccountResponse.cs index c6c910a0..0e3dec7c 100644 --- a/src/It.FattureInCloud.Sdk/Model/CreatePaymentAccountResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/CreatePaymentAccountResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/CreatePaymentMethodRequest.cs b/src/It.FattureInCloud.Sdk/Model/CreatePaymentMethodRequest.cs index 8197b9b6..0966c1e6 100644 --- a/src/It.FattureInCloud.Sdk/Model/CreatePaymentMethodRequest.cs +++ b/src/It.FattureInCloud.Sdk/Model/CreatePaymentMethodRequest.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/CreatePaymentMethodResponse.cs b/src/It.FattureInCloud.Sdk/Model/CreatePaymentMethodResponse.cs index 81a5674c..06ef88e6 100644 --- a/src/It.FattureInCloud.Sdk/Model/CreatePaymentMethodResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/CreatePaymentMethodResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/CreateProductRequest.cs b/src/It.FattureInCloud.Sdk/Model/CreateProductRequest.cs index b303fd2e..6de76d80 100644 --- a/src/It.FattureInCloud.Sdk/Model/CreateProductRequest.cs +++ b/src/It.FattureInCloud.Sdk/Model/CreateProductRequest.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/CreateProductResponse.cs b/src/It.FattureInCloud.Sdk/Model/CreateProductResponse.cs index 14d166a1..1c98cdd2 100644 --- a/src/It.FattureInCloud.Sdk/Model/CreateProductResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/CreateProductResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/CreateReceiptRequest.cs b/src/It.FattureInCloud.Sdk/Model/CreateReceiptRequest.cs index 045521f6..93230233 100644 --- a/src/It.FattureInCloud.Sdk/Model/CreateReceiptRequest.cs +++ b/src/It.FattureInCloud.Sdk/Model/CreateReceiptRequest.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/CreateReceiptResponse.cs b/src/It.FattureInCloud.Sdk/Model/CreateReceiptResponse.cs index c95037b9..0bfca6e1 100644 --- a/src/It.FattureInCloud.Sdk/Model/CreateReceiptResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/CreateReceiptResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/CreateReceivedDocumentRequest.cs b/src/It.FattureInCloud.Sdk/Model/CreateReceivedDocumentRequest.cs index b2623233..834a08be 100644 --- a/src/It.FattureInCloud.Sdk/Model/CreateReceivedDocumentRequest.cs +++ b/src/It.FattureInCloud.Sdk/Model/CreateReceivedDocumentRequest.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/CreateReceivedDocumentResponse.cs b/src/It.FattureInCloud.Sdk/Model/CreateReceivedDocumentResponse.cs index 76d13477..743c083f 100644 --- a/src/It.FattureInCloud.Sdk/Model/CreateReceivedDocumentResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/CreateReceivedDocumentResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/CreateSupplierRequest.cs b/src/It.FattureInCloud.Sdk/Model/CreateSupplierRequest.cs index 1998b4b9..2d3c9201 100644 --- a/src/It.FattureInCloud.Sdk/Model/CreateSupplierRequest.cs +++ b/src/It.FattureInCloud.Sdk/Model/CreateSupplierRequest.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/CreateSupplierResponse.cs b/src/It.FattureInCloud.Sdk/Model/CreateSupplierResponse.cs index 15157cce..96bb393f 100644 --- a/src/It.FattureInCloud.Sdk/Model/CreateSupplierResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/CreateSupplierResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/CreateVatTypeRequest.cs b/src/It.FattureInCloud.Sdk/Model/CreateVatTypeRequest.cs index 0ce38f1f..982211af 100644 --- a/src/It.FattureInCloud.Sdk/Model/CreateVatTypeRequest.cs +++ b/src/It.FattureInCloud.Sdk/Model/CreateVatTypeRequest.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/CreateVatTypeResponse.cs b/src/It.FattureInCloud.Sdk/Model/CreateVatTypeResponse.cs index accf3d4f..01379863 100644 --- a/src/It.FattureInCloud.Sdk/Model/CreateVatTypeResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/CreateVatTypeResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/CreateWebhooksSubscriptionRequest.cs b/src/It.FattureInCloud.Sdk/Model/CreateWebhooksSubscriptionRequest.cs index 406de303..a485cd24 100644 --- a/src/It.FattureInCloud.Sdk/Model/CreateWebhooksSubscriptionRequest.cs +++ b/src/It.FattureInCloud.Sdk/Model/CreateWebhooksSubscriptionRequest.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/CreateWebhooksSubscriptionResponse.cs b/src/It.FattureInCloud.Sdk/Model/CreateWebhooksSubscriptionResponse.cs index 5a125eb9..d00a0a5c 100644 --- a/src/It.FattureInCloud.Sdk/Model/CreateWebhooksSubscriptionResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/CreateWebhooksSubscriptionResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/Currency.cs b/src/It.FattureInCloud.Sdk/Model/Currency.cs index 99799aec..db7be250 100644 --- a/src/It.FattureInCloud.Sdk/Model/Currency.cs +++ b/src/It.FattureInCloud.Sdk/Model/Currency.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/DetailedCountry.cs b/src/It.FattureInCloud.Sdk/Model/DetailedCountry.cs index dbb6526d..91bd8498 100644 --- a/src/It.FattureInCloud.Sdk/Model/DetailedCountry.cs +++ b/src/It.FattureInCloud.Sdk/Model/DetailedCountry.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/DocumentTemplate.cs b/src/It.FattureInCloud.Sdk/Model/DocumentTemplate.cs index 600b414d..8780699e 100644 --- a/src/It.FattureInCloud.Sdk/Model/DocumentTemplate.cs +++ b/src/It.FattureInCloud.Sdk/Model/DocumentTemplate.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -32,40 +32,93 @@ namespace It.FattureInCloud.Sdk.Model [DataContract(Name = "DocumentTemplate")] public partial class DocumentTemplate : IEquatable, IValidatableObject { + + /// + /// Gets or Sets Type + /// + + [DataMember(Name = "type", EmitDefaultValue = false)] + public TemplateType? Type + { + get { return _Type; } + set + { + _Type = value; + _flagType = true; + } + } + private TemplateType? _Type; + private bool _flagType; + + /// + /// Returns false as Type should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeType() + { + return _flagType; + } /// /// Initializes a new instance of the class. /// /// Template id. + /// Template privacy. + /// type. /// Template name. - /// Template type. - public DocumentTemplate(int? id = default, string name = default, string type = default) + /// Can disable watermark. + /// Template author. + /// Template definition content. + /// Supports custom taxable. + public DocumentTemplate(int id = default, string privacy = default, TemplateType? type = default, string name = default, bool canDisableWatermark = default, string author = default, string content = default, bool supportsCustomTaxable = default) { this._Id = id; if (this.Id != null) { this._flagId = true; } - this._Name = name; - if (this.Name != null) + this._Privacy = privacy; + if (this.Privacy != null) { - this._flagName = true; + this._flagPrivacy = true; } this._Type = type; if (this.Type != null) { this._flagType = true; } + this._Name = name; + if (this.Name != null) + { + this._flagName = true; + } + this._CanDisableWatermark = canDisableWatermark; + if (this.CanDisableWatermark != null) + { + this._flagCanDisableWatermark = true; + } + this._Author = author; + if (this.Author != null) + { + this._flagAuthor = true; + } + this._Content = content; + if (this.Content != null) + { + this._flagContent = true; + } + this._SupportsCustomTaxable = supportsCustomTaxable; + if (this.SupportsCustomTaxable != null) + { + this._flagSupportsCustomTaxable = true; + } } /// /// Template id /// /// Template id - /* - 123 - */ - [DataMember(Name = "id", EmitDefaultValue = true)] - public int? Id + [DataMember(Name = "id", EmitDefaultValue = false)] + public int Id { get { return _Id; } set @@ -74,7 +127,7 @@ public int? Id _flagId = true; } } - private int? _Id; + private int _Id; private bool _flagId; /// @@ -86,13 +139,35 @@ public bool ShouldSerializeId() return _flagId; } /// + /// Template privacy + /// + /// Template privacy + [DataMember(Name = "privacy", EmitDefaultValue = false)] + public string Privacy + { + get { return _Privacy; } + set + { + _Privacy = value; + _flagPrivacy = true; + } + } + private string _Privacy; + private bool _flagPrivacy; + + /// + /// Returns false as Privacy should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializePrivacy() + { + return _flagPrivacy; + } + /// /// Template name /// /// Template name - /* - Light Smoke - */ - [DataMember(Name = "name", EmitDefaultValue = true)] + [DataMember(Name = "name", EmitDefaultValue = false)] public string Name { get { return _Name; } @@ -114,29 +189,104 @@ public bool ShouldSerializeName() return _flagName; } /// - /// Template type + /// Can disable watermark /// - /// Template type - [DataMember(Name = "type", EmitDefaultValue = true)] - public string Type + /// Can disable watermark + [DataMember(Name = "can_disable_watermark", EmitDefaultValue = true)] + public bool CanDisableWatermark { - get { return _Type; } + get { return _CanDisableWatermark; } set { - _Type = value; - _flagType = true; + _CanDisableWatermark = value; + _flagCanDisableWatermark = true; } } - private string _Type; - private bool _flagType; + private bool _CanDisableWatermark; + private bool _flagCanDisableWatermark; /// - /// Returns false as Type should not be serialized given that it's read-only. + /// Returns false as CanDisableWatermark should not be serialized given that it's read-only. /// /// false (boolean) - public bool ShouldSerializeType() + public bool ShouldSerializeCanDisableWatermark() { - return _flagType; + return _flagCanDisableWatermark; + } + /// + /// Template author + /// + /// Template author + [DataMember(Name = "author", EmitDefaultValue = false)] + public string Author + { + get { return _Author; } + set + { + _Author = value; + _flagAuthor = true; + } + } + private string _Author; + private bool _flagAuthor; + + /// + /// Returns false as Author should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeAuthor() + { + return _flagAuthor; + } + /// + /// Template definition content + /// + /// Template definition content + [DataMember(Name = "content", EmitDefaultValue = false)] + public string Content + { + get { return _Content; } + set + { + _Content = value; + _flagContent = true; + } + } + private string _Content; + private bool _flagContent; + + /// + /// Returns false as Content should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeContent() + { + return _flagContent; + } + /// + /// Supports custom taxable + /// + /// Supports custom taxable + [DataMember(Name = "supports_custom_taxable", EmitDefaultValue = true)] + public bool SupportsCustomTaxable + { + get { return _SupportsCustomTaxable; } + set + { + _SupportsCustomTaxable = value; + _flagSupportsCustomTaxable = true; + } + } + private bool _SupportsCustomTaxable; + private bool _flagSupportsCustomTaxable; + + /// + /// Returns false as SupportsCustomTaxable should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeSupportsCustomTaxable() + { + return _flagSupportsCustomTaxable; } /// /// Returns the string presentation of the object @@ -147,8 +297,13 @@ public override string ToString() StringBuilder sb = new StringBuilder(); sb.Append("class DocumentTemplate {\n"); sb.Append(" Id: ").Append(Id).Append("\n"); - sb.Append(" Name: ").Append(Name).Append("\n"); + sb.Append(" Privacy: ").Append(Privacy).Append("\n"); sb.Append(" Type: ").Append(Type).Append("\n"); + sb.Append(" Name: ").Append(Name).Append("\n"); + sb.Append(" CanDisableWatermark: ").Append(CanDisableWatermark).Append("\n"); + sb.Append(" Author: ").Append(Author).Append("\n"); + sb.Append(" Content: ").Append(Content).Append("\n"); + sb.Append(" SupportsCustomTaxable: ").Append(SupportsCustomTaxable).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -186,8 +341,16 @@ public bool Equals(DocumentTemplate input) return ( this.Id == input.Id || - (this.Id != null && - this.Id.Equals(input.Id)) + this.Id.Equals(input.Id) + ) && + ( + this.Privacy == input.Privacy || + (this.Privacy != null && + this.Privacy.Equals(input.Privacy)) + ) && + ( + this.Type == input.Type || + this.Type.Equals(input.Type) ) && ( this.Name == input.Name || @@ -195,9 +358,22 @@ public bool Equals(DocumentTemplate input) this.Name.Equals(input.Name)) ) && ( - this.Type == input.Type || - (this.Type != null && - this.Type.Equals(input.Type)) + this.CanDisableWatermark == input.CanDisableWatermark || + this.CanDisableWatermark.Equals(input.CanDisableWatermark) + ) && + ( + this.Author == input.Author || + (this.Author != null && + this.Author.Equals(input.Author)) + ) && + ( + this.Content == input.Content || + (this.Content != null && + this.Content.Equals(input.Content)) + ) && + ( + this.SupportsCustomTaxable == input.SupportsCustomTaxable || + this.SupportsCustomTaxable.Equals(input.SupportsCustomTaxable) ); } @@ -210,18 +386,26 @@ public override int GetHashCode() unchecked // Overflow is fine, just wrap { int hashCode = 41; - if (this.Id != null) + hashCode = (hashCode * 59) + this.Id.GetHashCode(); + if (this.Privacy != null) { - hashCode = (hashCode * 59) + this.Id.GetHashCode(); + hashCode = (hashCode * 59) + this.Privacy.GetHashCode(); } + hashCode = (hashCode * 59) + this.Type.GetHashCode(); if (this.Name != null) { hashCode = (hashCode * 59) + this.Name.GetHashCode(); } - if (this.Type != null) + hashCode = (hashCode * 59) + this.CanDisableWatermark.GetHashCode(); + if (this.Author != null) + { + hashCode = (hashCode * 59) + this.Author.GetHashCode(); + } + if (this.Content != null) { - hashCode = (hashCode * 59) + this.Type.GetHashCode(); + hashCode = (hashCode * 59) + this.Content.GetHashCode(); } + hashCode = (hashCode * 59) + this.SupportsCustomTaxable.GetHashCode(); return hashCode; } } diff --git a/src/It.FattureInCloud.Sdk/Model/EInvoiceRejectionReason.cs b/src/It.FattureInCloud.Sdk/Model/EInvoiceRejectionReason.cs index c1267f79..cd64c446 100644 --- a/src/It.FattureInCloud.Sdk/Model/EInvoiceRejectionReason.cs +++ b/src/It.FattureInCloud.Sdk/Model/EInvoiceRejectionReason.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/Email.cs b/src/It.FattureInCloud.Sdk/Model/Email.cs index 1baf4748..61c60bc4 100644 --- a/src/It.FattureInCloud.Sdk/Model/Email.cs +++ b/src/It.FattureInCloud.Sdk/Model/Email.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/EmailAttachment.cs b/src/It.FattureInCloud.Sdk/Model/EmailAttachment.cs index eab86529..0da8f845 100644 --- a/src/It.FattureInCloud.Sdk/Model/EmailAttachment.cs +++ b/src/It.FattureInCloud.Sdk/Model/EmailAttachment.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/EmailData.cs b/src/It.FattureInCloud.Sdk/Model/EmailData.cs index 43cab06f..2c3a8607 100644 --- a/src/It.FattureInCloud.Sdk/Model/EmailData.cs +++ b/src/It.FattureInCloud.Sdk/Model/EmailData.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/EmailDataDefaultSenderEmail.cs b/src/It.FattureInCloud.Sdk/Model/EmailDataDefaultSenderEmail.cs index 52478e52..2e7ffe7f 100644 --- a/src/It.FattureInCloud.Sdk/Model/EmailDataDefaultSenderEmail.cs +++ b/src/It.FattureInCloud.Sdk/Model/EmailDataDefaultSenderEmail.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/EmailRecipientStatus.cs b/src/It.FattureInCloud.Sdk/Model/EmailRecipientStatus.cs index 282ef6c2..9771b350 100644 --- a/src/It.FattureInCloud.Sdk/Model/EmailRecipientStatus.cs +++ b/src/It.FattureInCloud.Sdk/Model/EmailRecipientStatus.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/EmailSchedule.cs b/src/It.FattureInCloud.Sdk/Model/EmailSchedule.cs index 86ecaa63..2cec1b9c 100644 --- a/src/It.FattureInCloud.Sdk/Model/EmailSchedule.cs +++ b/src/It.FattureInCloud.Sdk/Model/EmailSchedule.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/EmailScheduleInclude.cs b/src/It.FattureInCloud.Sdk/Model/EmailScheduleInclude.cs index 657b56a3..b1f81102 100644 --- a/src/It.FattureInCloud.Sdk/Model/EmailScheduleInclude.cs +++ b/src/It.FattureInCloud.Sdk/Model/EmailScheduleInclude.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/EmailStatus.cs b/src/It.FattureInCloud.Sdk/Model/EmailStatus.cs index df1ad45f..2c858184 100644 --- a/src/It.FattureInCloud.Sdk/Model/EmailStatus.cs +++ b/src/It.FattureInCloud.Sdk/Model/EmailStatus.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/Entity.cs b/src/It.FattureInCloud.Sdk/Model/Entity.cs index fd4a7b3c..6b089beb 100644 --- a/src/It.FattureInCloud.Sdk/Model/Entity.cs +++ b/src/It.FattureInCloud.Sdk/Model/Entity.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/EntityClientPreCreateInfo.cs b/src/It.FattureInCloud.Sdk/Model/EntityClientPreCreateInfo.cs index 7a8522fb..86b801bb 100644 --- a/src/It.FattureInCloud.Sdk/Model/EntityClientPreCreateInfo.cs +++ b/src/It.FattureInCloud.Sdk/Model/EntityClientPreCreateInfo.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/EntityType.cs b/src/It.FattureInCloud.Sdk/Model/EntityType.cs index 19417c89..4f88179b 100644 --- a/src/It.FattureInCloud.Sdk/Model/EntityType.cs +++ b/src/It.FattureInCloud.Sdk/Model/EntityType.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/EventType.cs b/src/It.FattureInCloud.Sdk/Model/EventType.cs index 05c463cf..11ab9f7a 100644 --- a/src/It.FattureInCloud.Sdk/Model/EventType.cs +++ b/src/It.FattureInCloud.Sdk/Model/EventType.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/F24.cs b/src/It.FattureInCloud.Sdk/Model/F24.cs index 1f97c5f7..9af0ff04 100644 --- a/src/It.FattureInCloud.Sdk/Model/F24.cs +++ b/src/It.FattureInCloud.Sdk/Model/F24.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/F24Status.cs b/src/It.FattureInCloud.Sdk/Model/F24Status.cs index 2c7cac3f..1681af4c 100644 --- a/src/It.FattureInCloud.Sdk/Model/F24Status.cs +++ b/src/It.FattureInCloud.Sdk/Model/F24Status.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/FattureInCloudPlanType.cs b/src/It.FattureInCloud.Sdk/Model/FattureInCloudPlanType.cs index 4781154f..c33d55bb 100644 --- a/src/It.FattureInCloud.Sdk/Model/FattureInCloudPlanType.cs +++ b/src/It.FattureInCloud.Sdk/Model/FattureInCloudPlanType.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/FunctionStatus.cs b/src/It.FattureInCloud.Sdk/Model/FunctionStatus.cs index a3fbf68c..db801ccc 100644 --- a/src/It.FattureInCloud.Sdk/Model/FunctionStatus.cs +++ b/src/It.FattureInCloud.Sdk/Model/FunctionStatus.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/GetArchiveDocumentResponse.cs b/src/It.FattureInCloud.Sdk/Model/GetArchiveDocumentResponse.cs index f8fbf176..40590c94 100644 --- a/src/It.FattureInCloud.Sdk/Model/GetArchiveDocumentResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/GetArchiveDocumentResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/GetBinIssuedDocumentResponse.cs b/src/It.FattureInCloud.Sdk/Model/GetBinIssuedDocumentResponse.cs index fc542739..dc0764bd 100644 --- a/src/It.FattureInCloud.Sdk/Model/GetBinIssuedDocumentResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/GetBinIssuedDocumentResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/GetBinReceivedDocumentResponse.cs b/src/It.FattureInCloud.Sdk/Model/GetBinReceivedDocumentResponse.cs index 0e0c6bf3..07f0f8d3 100644 --- a/src/It.FattureInCloud.Sdk/Model/GetBinReceivedDocumentResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/GetBinReceivedDocumentResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/GetCashbookEntryResponse.cs b/src/It.FattureInCloud.Sdk/Model/GetCashbookEntryResponse.cs index 0caf4ef3..54e67f50 100644 --- a/src/It.FattureInCloud.Sdk/Model/GetCashbookEntryResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/GetCashbookEntryResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/GetClientResponse.cs b/src/It.FattureInCloud.Sdk/Model/GetClientResponse.cs index 71e9785f..d0e6b4fc 100644 --- a/src/It.FattureInCloud.Sdk/Model/GetClientResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/GetClientResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/GetCompanyInfoResponse.cs b/src/It.FattureInCloud.Sdk/Model/GetCompanyInfoResponse.cs index 426c2995..06e3de84 100644 --- a/src/It.FattureInCloud.Sdk/Model/GetCompanyInfoResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/GetCompanyInfoResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/GetCompanyPlanUsageResponse.cs b/src/It.FattureInCloud.Sdk/Model/GetCompanyPlanUsageResponse.cs index 4932952e..74ddb020 100644 --- a/src/It.FattureInCloud.Sdk/Model/GetCompanyPlanUsageResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/GetCompanyPlanUsageResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/GetEInvoiceRejectionReasonResponse.cs b/src/It.FattureInCloud.Sdk/Model/GetEInvoiceRejectionReasonResponse.cs index 13c92010..5f6008ee 100644 --- a/src/It.FattureInCloud.Sdk/Model/GetEInvoiceRejectionReasonResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/GetEInvoiceRejectionReasonResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/GetEmailDataResponse.cs b/src/It.FattureInCloud.Sdk/Model/GetEmailDataResponse.cs index af37bb5a..5e0fdd35 100644 --- a/src/It.FattureInCloud.Sdk/Model/GetEmailDataResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/GetEmailDataResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/GetEntityClientPreCreateInfoResponse.cs b/src/It.FattureInCloud.Sdk/Model/GetEntityClientPreCreateInfoResponse.cs index 1236c327..544c6d3d 100644 --- a/src/It.FattureInCloud.Sdk/Model/GetEntityClientPreCreateInfoResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/GetEntityClientPreCreateInfoResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/GetExistingIssuedDocumentTotalsRequest.cs b/src/It.FattureInCloud.Sdk/Model/GetExistingIssuedDocumentTotalsRequest.cs index 78137fa4..a04b303c 100644 --- a/src/It.FattureInCloud.Sdk/Model/GetExistingIssuedDocumentTotalsRequest.cs +++ b/src/It.FattureInCloud.Sdk/Model/GetExistingIssuedDocumentTotalsRequest.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/GetExistingIssuedDocumentTotalsResponse.cs b/src/It.FattureInCloud.Sdk/Model/GetExistingIssuedDocumentTotalsResponse.cs index afe6bd89..edf05c64 100644 --- a/src/It.FattureInCloud.Sdk/Model/GetExistingIssuedDocumentTotalsResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/GetExistingIssuedDocumentTotalsResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/GetExistingReceivedDocumentTotalsRequest.cs b/src/It.FattureInCloud.Sdk/Model/GetExistingReceivedDocumentTotalsRequest.cs index 07cfb62b..59c32df9 100644 --- a/src/It.FattureInCloud.Sdk/Model/GetExistingReceivedDocumentTotalsRequest.cs +++ b/src/It.FattureInCloud.Sdk/Model/GetExistingReceivedDocumentTotalsRequest.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/GetExistingReceivedDocumentTotalsResponse.cs b/src/It.FattureInCloud.Sdk/Model/GetExistingReceivedDocumentTotalsResponse.cs index 51579d0f..72334ca1 100644 --- a/src/It.FattureInCloud.Sdk/Model/GetExistingReceivedDocumentTotalsResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/GetExistingReceivedDocumentTotalsResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/GetF24Response.cs b/src/It.FattureInCloud.Sdk/Model/GetF24Response.cs index e506cfed..d493d26d 100644 --- a/src/It.FattureInCloud.Sdk/Model/GetF24Response.cs +++ b/src/It.FattureInCloud.Sdk/Model/GetF24Response.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/GetIssuedDocumentPreCreateInfoResponse.cs b/src/It.FattureInCloud.Sdk/Model/GetIssuedDocumentPreCreateInfoResponse.cs index d7de08e8..1a575ef4 100644 --- a/src/It.FattureInCloud.Sdk/Model/GetIssuedDocumentPreCreateInfoResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/GetIssuedDocumentPreCreateInfoResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/GetIssuedDocumentResponse.cs b/src/It.FattureInCloud.Sdk/Model/GetIssuedDocumentResponse.cs index be0e0848..3c0de719 100644 --- a/src/It.FattureInCloud.Sdk/Model/GetIssuedDocumentResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/GetIssuedDocumentResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/GetNewIssuedDocumentTotalsRequest.cs b/src/It.FattureInCloud.Sdk/Model/GetNewIssuedDocumentTotalsRequest.cs index e7b814d1..311ef9d0 100644 --- a/src/It.FattureInCloud.Sdk/Model/GetNewIssuedDocumentTotalsRequest.cs +++ b/src/It.FattureInCloud.Sdk/Model/GetNewIssuedDocumentTotalsRequest.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/GetNewIssuedDocumentTotalsResponse.cs b/src/It.FattureInCloud.Sdk/Model/GetNewIssuedDocumentTotalsResponse.cs index 3053043f..18fcf3b7 100644 --- a/src/It.FattureInCloud.Sdk/Model/GetNewIssuedDocumentTotalsResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/GetNewIssuedDocumentTotalsResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/GetNewReceivedDocumentTotalsRequest.cs b/src/It.FattureInCloud.Sdk/Model/GetNewReceivedDocumentTotalsRequest.cs index 0c3ffafe..96e41fe7 100644 --- a/src/It.FattureInCloud.Sdk/Model/GetNewReceivedDocumentTotalsRequest.cs +++ b/src/It.FattureInCloud.Sdk/Model/GetNewReceivedDocumentTotalsRequest.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/GetNewReceivedDocumentTotalsResponse.cs b/src/It.FattureInCloud.Sdk/Model/GetNewReceivedDocumentTotalsResponse.cs index 11fef232..67b4fb73 100644 --- a/src/It.FattureInCloud.Sdk/Model/GetNewReceivedDocumentTotalsResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/GetNewReceivedDocumentTotalsResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/GetPaymentAccountResponse.cs b/src/It.FattureInCloud.Sdk/Model/GetPaymentAccountResponse.cs index 523403b6..e615be91 100644 --- a/src/It.FattureInCloud.Sdk/Model/GetPaymentAccountResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/GetPaymentAccountResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/GetPaymentMethodResponse.cs b/src/It.FattureInCloud.Sdk/Model/GetPaymentMethodResponse.cs index 0872b591..c4f22b64 100644 --- a/src/It.FattureInCloud.Sdk/Model/GetPaymentMethodResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/GetPaymentMethodResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/GetPendingReceivedDocumentResponse.cs b/src/It.FattureInCloud.Sdk/Model/GetPendingReceivedDocumentResponse.cs new file mode 100644 index 00000000..5383b6e3 --- /dev/null +++ b/src/It.FattureInCloud.Sdk/Model/GetPendingReceivedDocumentResponse.cs @@ -0,0 +1,151 @@ +/* + * Fatture in Cloud API v2 - API Reference + * + * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. + * + * The version of the OpenAPI document: 2.1.8 + * Contact: info@fattureincloud.it + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = It.FattureInCloud.Sdk.Client.OpenAPIDateConverter; + +namespace It.FattureInCloud.Sdk.Model +{ + /// + /// GetPendingReceivedDocumentResponse + /// + [DataContract(Name = "GetPendingReceivedDocumentResponse")] + public partial class GetPendingReceivedDocumentResponse : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// data. + public GetPendingReceivedDocumentResponse(PendingReceivedDocument data = default) + { + this._Data = data; + if (this.Data != null) + { + this._flagData = true; + } + } + + /// + /// Gets or Sets Data + /// + [DataMember(Name = "data", EmitDefaultValue = false)] + public PendingReceivedDocument Data + { + get { return _Data; } + set + { + _Data = value; + _flagData = true; + } + } + private PendingReceivedDocument _Data; + private bool _flagData; + + /// + /// Returns false as Data should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeData() + { + return _flagData; + } + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + sb.Append("class GetPendingReceivedDocumentResponse {\n"); + sb.Append(" Data: ").Append(Data).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as GetPendingReceivedDocumentResponse); + } + + /// + /// Returns true if GetPendingReceivedDocumentResponse instances are equal + /// + /// Instance of GetPendingReceivedDocumentResponse to be compared + /// Boolean + public bool Equals(GetPendingReceivedDocumentResponse input) + { + if (input == null) + { + return false; + } + return + ( + this.Data == input.Data || + (this.Data != null && + this.Data.Equals(input.Data)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Data != null) + { + hashCode = (hashCode * 59) + this.Data.GetHashCode(); + } + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/src/It.FattureInCloud.Sdk/Model/GetPriceListItemsResponse.cs b/src/It.FattureInCloud.Sdk/Model/GetPriceListItemsResponse.cs index 7e2035c6..d7e27b8d 100644 --- a/src/It.FattureInCloud.Sdk/Model/GetPriceListItemsResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/GetPriceListItemsResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/GetProductResponse.cs b/src/It.FattureInCloud.Sdk/Model/GetProductResponse.cs index e6909325..0eb16b2c 100644 --- a/src/It.FattureInCloud.Sdk/Model/GetProductResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/GetProductResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/GetReceiptPreCreateInfoResponse.cs b/src/It.FattureInCloud.Sdk/Model/GetReceiptPreCreateInfoResponse.cs index 9820d841..92038631 100644 --- a/src/It.FattureInCloud.Sdk/Model/GetReceiptPreCreateInfoResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/GetReceiptPreCreateInfoResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/GetReceiptResponse.cs b/src/It.FattureInCloud.Sdk/Model/GetReceiptResponse.cs index 0a98f5a3..34df65ad 100644 --- a/src/It.FattureInCloud.Sdk/Model/GetReceiptResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/GetReceiptResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/GetReceiptsMonthlyTotalsResponse.cs b/src/It.FattureInCloud.Sdk/Model/GetReceiptsMonthlyTotalsResponse.cs index c5ce7325..a407ceed 100644 --- a/src/It.FattureInCloud.Sdk/Model/GetReceiptsMonthlyTotalsResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/GetReceiptsMonthlyTotalsResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/GetReceivedDocumentPreCreateInfoResponse.cs b/src/It.FattureInCloud.Sdk/Model/GetReceivedDocumentPreCreateInfoResponse.cs index f079501f..0984c412 100644 --- a/src/It.FattureInCloud.Sdk/Model/GetReceivedDocumentPreCreateInfoResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/GetReceivedDocumentPreCreateInfoResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/GetReceivedDocumentResponse.cs b/src/It.FattureInCloud.Sdk/Model/GetReceivedDocumentResponse.cs index 400d0b3b..6d72a2cc 100644 --- a/src/It.FattureInCloud.Sdk/Model/GetReceivedDocumentResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/GetReceivedDocumentResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/GetSupplierResponse.cs b/src/It.FattureInCloud.Sdk/Model/GetSupplierResponse.cs index 231345a0..834c6c6b 100644 --- a/src/It.FattureInCloud.Sdk/Model/GetSupplierResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/GetSupplierResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/GetTaxProfileResponse.cs b/src/It.FattureInCloud.Sdk/Model/GetTaxProfileResponse.cs index cfb2371b..f29ba784 100644 --- a/src/It.FattureInCloud.Sdk/Model/GetTaxProfileResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/GetTaxProfileResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/GetTemplatesResponse.cs b/src/It.FattureInCloud.Sdk/Model/GetTemplatesResponse.cs new file mode 100644 index 00000000..3a093cf0 --- /dev/null +++ b/src/It.FattureInCloud.Sdk/Model/GetTemplatesResponse.cs @@ -0,0 +1,151 @@ +/* + * Fatture in Cloud API v2 - API Reference + * + * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. + * + * The version of the OpenAPI document: 2.1.8 + * Contact: info@fattureincloud.it + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = It.FattureInCloud.Sdk.Client.OpenAPIDateConverter; + +namespace It.FattureInCloud.Sdk.Model +{ + /// + /// GetTemplatesResponse + /// + [DataContract(Name = "GetTemplatesResponse")] + public partial class GetTemplatesResponse : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// data. + public GetTemplatesResponse(DocumentTemplate data = default) + { + this._Data = data; + if (this.Data != null) + { + this._flagData = true; + } + } + + /// + /// Gets or Sets Data + /// + [DataMember(Name = "data", EmitDefaultValue = false)] + public DocumentTemplate Data + { + get { return _Data; } + set + { + _Data = value; + _flagData = true; + } + } + private DocumentTemplate _Data; + private bool _flagData; + + /// + /// Returns false as Data should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeData() + { + return _flagData; + } + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + sb.Append("class GetTemplatesResponse {\n"); + sb.Append(" Data: ").Append(Data).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as GetTemplatesResponse); + } + + /// + /// Returns true if GetTemplatesResponse instances are equal + /// + /// Instance of GetTemplatesResponse to be compared + /// Boolean + public bool Equals(GetTemplatesResponse input) + { + if (input == null) + { + return false; + } + return + ( + this.Data == input.Data || + (this.Data != null && + this.Data.Equals(input.Data)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Data != null) + { + hashCode = (hashCode * 59) + this.Data.GetHashCode(); + } + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/src/It.FattureInCloud.Sdk/Model/GetUserInfoResponse.cs b/src/It.FattureInCloud.Sdk/Model/GetUserInfoResponse.cs index 2d2974bc..8d65db4d 100644 --- a/src/It.FattureInCloud.Sdk/Model/GetUserInfoResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/GetUserInfoResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/GetUserInfoResponseEmailConfirmationState.cs b/src/It.FattureInCloud.Sdk/Model/GetUserInfoResponseEmailConfirmationState.cs index 216cc700..bdd349c3 100644 --- a/src/It.FattureInCloud.Sdk/Model/GetUserInfoResponseEmailConfirmationState.cs +++ b/src/It.FattureInCloud.Sdk/Model/GetUserInfoResponseEmailConfirmationState.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/GetUserInfoResponseInfo.cs b/src/It.FattureInCloud.Sdk/Model/GetUserInfoResponseInfo.cs index a5d6cb18..d4d718f3 100644 --- a/src/It.FattureInCloud.Sdk/Model/GetUserInfoResponseInfo.cs +++ b/src/It.FattureInCloud.Sdk/Model/GetUserInfoResponseInfo.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/GetVatTypeResponse.cs b/src/It.FattureInCloud.Sdk/Model/GetVatTypeResponse.cs index 75f39661..e5f74e75 100644 --- a/src/It.FattureInCloud.Sdk/Model/GetVatTypeResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/GetVatTypeResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/GetWebhooksSubscriptionResponse.cs b/src/It.FattureInCloud.Sdk/Model/GetWebhooksSubscriptionResponse.cs index a42b40b9..f15848a5 100644 --- a/src/It.FattureInCloud.Sdk/Model/GetWebhooksSubscriptionResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/GetWebhooksSubscriptionResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/IssuedDocument.cs b/src/It.FattureInCloud.Sdk/Model/IssuedDocument.cs index 6001b37d..85ed1e54 100644 --- a/src/It.FattureInCloud.Sdk/Model/IssuedDocument.cs +++ b/src/It.FattureInCloud.Sdk/Model/IssuedDocument.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/IssuedDocumentEiData.cs b/src/It.FattureInCloud.Sdk/Model/IssuedDocumentEiData.cs index 56d560a2..5a8b73f6 100644 --- a/src/It.FattureInCloud.Sdk/Model/IssuedDocumentEiData.cs +++ b/src/It.FattureInCloud.Sdk/Model/IssuedDocumentEiData.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/IssuedDocumentExtraData.cs b/src/It.FattureInCloud.Sdk/Model/IssuedDocumentExtraData.cs index 3135c47b..db9c8d80 100644 --- a/src/It.FattureInCloud.Sdk/Model/IssuedDocumentExtraData.cs +++ b/src/It.FattureInCloud.Sdk/Model/IssuedDocumentExtraData.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -46,7 +46,9 @@ public partial class IssuedDocumentExtraData : IEquatableIssued document ts sent date. /// Issued document ts total amount. /// Issued document imported by software. - public IssuedDocumentExtraData(int? multifattureSent = default, bool? tsCommunication = default, decimal? tsFlagTipoSpesa = default, bool? tsPagamentoTracciato = default, string tsTipoSpesa = default, bool? tsOpposizione = default, int? tsStatus = default, string tsFileId = default, DateTime? tsSentDate = default, bool? tsFullAmount = default, string importedBy = default) + /// Issued document debt VAT detect. + /// Issued document revenue detect. + public IssuedDocumentExtraData(int? multifattureSent = default, bool? tsCommunication = default, decimal? tsFlagTipoSpesa = default, bool? tsPagamentoTracciato = default, string tsTipoSpesa = default, bool? tsOpposizione = default, int? tsStatus = default, string tsFileId = default, DateTime? tsSentDate = default, bool? tsFullAmount = default, string importedBy = default, bool? debtVatDetect = default, bool? revenueDetect = default) { this._MultifattureSent = multifattureSent; if (this.MultifattureSent != null) @@ -103,6 +105,16 @@ public IssuedDocumentExtraData(int? multifattureSent = default, bool? tsCommunic { this._flagImportedBy = true; } + this._DebtVatDetect = debtVatDetect; + if (this.DebtVatDetect != null) + { + this._flagDebtVatDetect = true; + } + this._RevenueDetect = revenueDetect; + if (this.RevenueDetect != null) + { + this._flagRevenueDetect = true; + } } /// @@ -381,6 +393,56 @@ public bool ShouldSerializeImportedBy() return _flagImportedBy; } /// + /// Issued document debt VAT detect + /// + /// Issued document debt VAT detect + [DataMember(Name = "debt_vat_detect", EmitDefaultValue = true)] + public bool? DebtVatDetect + { + get { return _DebtVatDetect; } + set + { + _DebtVatDetect = value; + _flagDebtVatDetect = true; + } + } + private bool? _DebtVatDetect; + private bool _flagDebtVatDetect; + + /// + /// Returns false as DebtVatDetect should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeDebtVatDetect() + { + return _flagDebtVatDetect; + } + /// + /// Issued document revenue detect + /// + /// Issued document revenue detect + [DataMember(Name = "revenue_detect", EmitDefaultValue = true)] + public bool? RevenueDetect + { + get { return _RevenueDetect; } + set + { + _RevenueDetect = value; + _flagRevenueDetect = true; + } + } + private bool? _RevenueDetect; + private bool _flagRevenueDetect; + + /// + /// Returns false as RevenueDetect should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeRevenueDetect() + { + return _flagRevenueDetect; + } + /// /// Returns the string presentation of the object /// /// String presentation of the object @@ -399,6 +461,8 @@ public override string ToString() sb.Append(" TsSentDate: ").Append(TsSentDate).Append("\n"); sb.Append(" TsFullAmount: ").Append(TsFullAmount).Append("\n"); sb.Append(" ImportedBy: ").Append(ImportedBy).Append("\n"); + sb.Append(" DebtVatDetect: ").Append(DebtVatDetect).Append("\n"); + sb.Append(" RevenueDetect: ").Append(RevenueDetect).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -488,6 +552,16 @@ public bool Equals(IssuedDocumentExtraData input) this.ImportedBy == input.ImportedBy || (this.ImportedBy != null && this.ImportedBy.Equals(input.ImportedBy)) + ) && + ( + this.DebtVatDetect == input.DebtVatDetect || + (this.DebtVatDetect != null && + this.DebtVatDetect.Equals(input.DebtVatDetect)) + ) && + ( + this.RevenueDetect == input.RevenueDetect || + (this.RevenueDetect != null && + this.RevenueDetect.Equals(input.RevenueDetect)) ); } @@ -544,6 +618,14 @@ public override int GetHashCode() { hashCode = (hashCode * 59) + this.ImportedBy.GetHashCode(); } + if (this.DebtVatDetect != null) + { + hashCode = (hashCode * 59) + this.DebtVatDetect.GetHashCode(); + } + if (this.RevenueDetect != null) + { + hashCode = (hashCode * 59) + this.RevenueDetect.GetHashCode(); + } return hashCode; } } diff --git a/src/It.FattureInCloud.Sdk/Model/IssuedDocumentItemsListItem.cs b/src/It.FattureInCloud.Sdk/Model/IssuedDocumentItemsListItem.cs index d767b7c7..2d9759aa 100644 --- a/src/It.FattureInCloud.Sdk/Model/IssuedDocumentItemsListItem.cs +++ b/src/It.FattureInCloud.Sdk/Model/IssuedDocumentItemsListItem.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/IssuedDocumentOptions.cs b/src/It.FattureInCloud.Sdk/Model/IssuedDocumentOptions.cs index cb18b886..33e250c6 100644 --- a/src/It.FattureInCloud.Sdk/Model/IssuedDocumentOptions.cs +++ b/src/It.FattureInCloud.Sdk/Model/IssuedDocumentOptions.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/IssuedDocumentPaymentsListItem.cs b/src/It.FattureInCloud.Sdk/Model/IssuedDocumentPaymentsListItem.cs index 4aae0a83..50e95e95 100644 --- a/src/It.FattureInCloud.Sdk/Model/IssuedDocumentPaymentsListItem.cs +++ b/src/It.FattureInCloud.Sdk/Model/IssuedDocumentPaymentsListItem.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/IssuedDocumentPaymentsListItemPaymentTerms.cs b/src/It.FattureInCloud.Sdk/Model/IssuedDocumentPaymentsListItemPaymentTerms.cs index 504f291f..04f40f49 100644 --- a/src/It.FattureInCloud.Sdk/Model/IssuedDocumentPaymentsListItemPaymentTerms.cs +++ b/src/It.FattureInCloud.Sdk/Model/IssuedDocumentPaymentsListItemPaymentTerms.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/IssuedDocumentPreCreateInfo.cs b/src/It.FattureInCloud.Sdk/Model/IssuedDocumentPreCreateInfo.cs index 7f28e9ec..277787f8 100644 --- a/src/It.FattureInCloud.Sdk/Model/IssuedDocumentPreCreateInfo.cs +++ b/src/It.FattureInCloud.Sdk/Model/IssuedDocumentPreCreateInfo.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/IssuedDocumentPreCreateInfoDefaultValues.cs b/src/It.FattureInCloud.Sdk/Model/IssuedDocumentPreCreateInfoDefaultValues.cs index 613ffe95..85900508 100644 --- a/src/It.FattureInCloud.Sdk/Model/IssuedDocumentPreCreateInfoDefaultValues.cs +++ b/src/It.FattureInCloud.Sdk/Model/IssuedDocumentPreCreateInfoDefaultValues.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/IssuedDocumentPreCreateInfoExtraDataDefaultValues.cs b/src/It.FattureInCloud.Sdk/Model/IssuedDocumentPreCreateInfoExtraDataDefaultValues.cs index 22c8fb7a..4715b6fe 100644 --- a/src/It.FattureInCloud.Sdk/Model/IssuedDocumentPreCreateInfoExtraDataDefaultValues.cs +++ b/src/It.FattureInCloud.Sdk/Model/IssuedDocumentPreCreateInfoExtraDataDefaultValues.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/IssuedDocumentPreCreateInfoItemsDefaultValues.cs b/src/It.FattureInCloud.Sdk/Model/IssuedDocumentPreCreateInfoItemsDefaultValues.cs index c1a48088..e52fabad 100644 --- a/src/It.FattureInCloud.Sdk/Model/IssuedDocumentPreCreateInfoItemsDefaultValues.cs +++ b/src/It.FattureInCloud.Sdk/Model/IssuedDocumentPreCreateInfoItemsDefaultValues.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/IssuedDocumentStatus.cs b/src/It.FattureInCloud.Sdk/Model/IssuedDocumentStatus.cs index 52e779a3..c6fb6aa7 100644 --- a/src/It.FattureInCloud.Sdk/Model/IssuedDocumentStatus.cs +++ b/src/It.FattureInCloud.Sdk/Model/IssuedDocumentStatus.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/IssuedDocumentTotals.cs b/src/It.FattureInCloud.Sdk/Model/IssuedDocumentTotals.cs index 6ffb0a14..f61e4bdc 100644 --- a/src/It.FattureInCloud.Sdk/Model/IssuedDocumentTotals.cs +++ b/src/It.FattureInCloud.Sdk/Model/IssuedDocumentTotals.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/IssuedDocumentType.cs b/src/It.FattureInCloud.Sdk/Model/IssuedDocumentType.cs index fbd05dbe..6beeb7c0 100644 --- a/src/It.FattureInCloud.Sdk/Model/IssuedDocumentType.cs +++ b/src/It.FattureInCloud.Sdk/Model/IssuedDocumentType.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/JoinIssuedDocumentsResponse.cs b/src/It.FattureInCloud.Sdk/Model/JoinIssuedDocumentsResponse.cs index fc978897..9cc7386c 100644 --- a/src/It.FattureInCloud.Sdk/Model/JoinIssuedDocumentsResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/JoinIssuedDocumentsResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/Language.cs b/src/It.FattureInCloud.Sdk/Model/Language.cs index 14f4e137..b89697b2 100644 --- a/src/It.FattureInCloud.Sdk/Model/Language.cs +++ b/src/It.FattureInCloud.Sdk/Model/Language.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ListArchiveCategoriesResponse.cs b/src/It.FattureInCloud.Sdk/Model/ListArchiveCategoriesResponse.cs index a4916b8c..512b6491 100644 --- a/src/It.FattureInCloud.Sdk/Model/ListArchiveCategoriesResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/ListArchiveCategoriesResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ListArchiveDocumentsResponse.cs b/src/It.FattureInCloud.Sdk/Model/ListArchiveDocumentsResponse.cs index 68008684..dc8586a2 100644 --- a/src/It.FattureInCloud.Sdk/Model/ListArchiveDocumentsResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/ListArchiveDocumentsResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ListArchiveDocumentsResponsePage.cs b/src/It.FattureInCloud.Sdk/Model/ListArchiveDocumentsResponsePage.cs index f1f3d457..46c24854 100644 --- a/src/It.FattureInCloud.Sdk/Model/ListArchiveDocumentsResponsePage.cs +++ b/src/It.FattureInCloud.Sdk/Model/ListArchiveDocumentsResponsePage.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ListBinIssuedDocuments.cs b/src/It.FattureInCloud.Sdk/Model/ListBinIssuedDocuments.cs index 664bac42..d0fd9ade 100644 --- a/src/It.FattureInCloud.Sdk/Model/ListBinIssuedDocuments.cs +++ b/src/It.FattureInCloud.Sdk/Model/ListBinIssuedDocuments.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ListBinReceivedDocuments.cs b/src/It.FattureInCloud.Sdk/Model/ListBinReceivedDocuments.cs index f1392756..81fd40b7 100644 --- a/src/It.FattureInCloud.Sdk/Model/ListBinReceivedDocuments.cs +++ b/src/It.FattureInCloud.Sdk/Model/ListBinReceivedDocuments.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ListCashbookEntriesResponse.cs b/src/It.FattureInCloud.Sdk/Model/ListCashbookEntriesResponse.cs index fe544517..cb97d19d 100644 --- a/src/It.FattureInCloud.Sdk/Model/ListCashbookEntriesResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/ListCashbookEntriesResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ListCitiesResponse.cs b/src/It.FattureInCloud.Sdk/Model/ListCitiesResponse.cs index eb77319c..259ec733 100644 --- a/src/It.FattureInCloud.Sdk/Model/ListCitiesResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/ListCitiesResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ListClientsResponse.cs b/src/It.FattureInCloud.Sdk/Model/ListClientsResponse.cs index 338b361d..3e84facf 100644 --- a/src/It.FattureInCloud.Sdk/Model/ListClientsResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/ListClientsResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ListClientsResponsePage.cs b/src/It.FattureInCloud.Sdk/Model/ListClientsResponsePage.cs index f9e19ede..b39d491c 100644 --- a/src/It.FattureInCloud.Sdk/Model/ListClientsResponsePage.cs +++ b/src/It.FattureInCloud.Sdk/Model/ListClientsResponsePage.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ListCostCentersResponse.cs b/src/It.FattureInCloud.Sdk/Model/ListCostCentersResponse.cs index 959ff869..e785a31a 100644 --- a/src/It.FattureInCloud.Sdk/Model/ListCostCentersResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/ListCostCentersResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ListCountriesResponse.cs b/src/It.FattureInCloud.Sdk/Model/ListCountriesResponse.cs index 9e514bb5..c5892f44 100644 --- a/src/It.FattureInCloud.Sdk/Model/ListCountriesResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/ListCountriesResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ListCurrenciesResponse.cs b/src/It.FattureInCloud.Sdk/Model/ListCurrenciesResponse.cs index 2361acb1..dbe0978f 100644 --- a/src/It.FattureInCloud.Sdk/Model/ListCurrenciesResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/ListCurrenciesResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ListDeliveryNotesDefaultCausalsResponse.cs b/src/It.FattureInCloud.Sdk/Model/ListDeliveryNotesDefaultCausalsResponse.cs index 6e2f22a7..03c46b17 100644 --- a/src/It.FattureInCloud.Sdk/Model/ListDeliveryNotesDefaultCausalsResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/ListDeliveryNotesDefaultCausalsResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ListDetailedCountriesResponse.cs b/src/It.FattureInCloud.Sdk/Model/ListDetailedCountriesResponse.cs index 2c59f051..c108268a 100644 --- a/src/It.FattureInCloud.Sdk/Model/ListDetailedCountriesResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/ListDetailedCountriesResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ListEmailsResponse.cs b/src/It.FattureInCloud.Sdk/Model/ListEmailsResponse.cs index ec0d32c9..5e60748d 100644 --- a/src/It.FattureInCloud.Sdk/Model/ListEmailsResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/ListEmailsResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ListEmailsResponsePage.cs b/src/It.FattureInCloud.Sdk/Model/ListEmailsResponsePage.cs index 1f69eb89..b9bf4f6e 100644 --- a/src/It.FattureInCloud.Sdk/Model/ListEmailsResponsePage.cs +++ b/src/It.FattureInCloud.Sdk/Model/ListEmailsResponsePage.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ListF24Response.cs b/src/It.FattureInCloud.Sdk/Model/ListF24Response.cs index 9c4f83b1..f1712907 100644 --- a/src/It.FattureInCloud.Sdk/Model/ListF24Response.cs +++ b/src/It.FattureInCloud.Sdk/Model/ListF24Response.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ListF24ResponseAggregatedData.cs b/src/It.FattureInCloud.Sdk/Model/ListF24ResponseAggregatedData.cs index 9afc8f01..3004f2b1 100644 --- a/src/It.FattureInCloud.Sdk/Model/ListF24ResponseAggregatedData.cs +++ b/src/It.FattureInCloud.Sdk/Model/ListF24ResponseAggregatedData.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ListF24ResponseAggregation.cs b/src/It.FattureInCloud.Sdk/Model/ListF24ResponseAggregation.cs index 88c56ba9..d4cd0b6d 100644 --- a/src/It.FattureInCloud.Sdk/Model/ListF24ResponseAggregation.cs +++ b/src/It.FattureInCloud.Sdk/Model/ListF24ResponseAggregation.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ListF24ResponsePage.cs b/src/It.FattureInCloud.Sdk/Model/ListF24ResponsePage.cs index cebc5cfa..68b0d5f7 100644 --- a/src/It.FattureInCloud.Sdk/Model/ListF24ResponsePage.cs +++ b/src/It.FattureInCloud.Sdk/Model/ListF24ResponsePage.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ListIssuedDocumentsResponse.cs b/src/It.FattureInCloud.Sdk/Model/ListIssuedDocumentsResponse.cs index 368ebc8b..728c705c 100644 --- a/src/It.FattureInCloud.Sdk/Model/ListIssuedDocumentsResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/ListIssuedDocumentsResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ListIssuedDocumentsResponsePage.cs b/src/It.FattureInCloud.Sdk/Model/ListIssuedDocumentsResponsePage.cs index d09659db..3b78e62a 100644 --- a/src/It.FattureInCloud.Sdk/Model/ListIssuedDocumentsResponsePage.cs +++ b/src/It.FattureInCloud.Sdk/Model/ListIssuedDocumentsResponsePage.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ListLanguagesResponse.cs b/src/It.FattureInCloud.Sdk/Model/ListLanguagesResponse.cs index c8fde02f..c6ba6efe 100644 --- a/src/It.FattureInCloud.Sdk/Model/ListLanguagesResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/ListLanguagesResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ListPaymentAccountsResponse.cs b/src/It.FattureInCloud.Sdk/Model/ListPaymentAccountsResponse.cs index 9db98abf..9b6d43ce 100644 --- a/src/It.FattureInCloud.Sdk/Model/ListPaymentAccountsResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/ListPaymentAccountsResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ListPaymentMethodsResponse.cs b/src/It.FattureInCloud.Sdk/Model/ListPaymentMethodsResponse.cs index 7e7c8288..76e53114 100644 --- a/src/It.FattureInCloud.Sdk/Model/ListPaymentMethodsResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/ListPaymentMethodsResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ListPendingReceivedDocumentsResponse.cs b/src/It.FattureInCloud.Sdk/Model/ListPendingReceivedDocumentsResponse.cs new file mode 100644 index 00000000..25c86ea6 --- /dev/null +++ b/src/It.FattureInCloud.Sdk/Model/ListPendingReceivedDocumentsResponse.cs @@ -0,0 +1,603 @@ +/* + * Fatture in Cloud API v2 - API Reference + * + * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. + * + * The version of the OpenAPI document: 2.1.8 + * Contact: info@fattureincloud.it + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = It.FattureInCloud.Sdk.Client.OpenAPIDateConverter; + +namespace It.FattureInCloud.Sdk.Model +{ + /// + /// ListPendingReceivedDocumentsResponse + /// + [DataContract(Name = "ListPendingReceivedDocumentsResponse")] + public partial class ListPendingReceivedDocumentsResponse : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Current page number.. + /// First page url.. + /// First result of the page.. + /// Last page number.. + /// Last page url.. + /// Next page url. + /// Request path.. + /// Number of result per page.. + /// Previous page url.. + /// Last result of the page.. + /// Total number of results. + /// data. + public ListPendingReceivedDocumentsResponse(int? currentPage = default, string firstPageUrl = default, int? from = default, int? lastPage = default, string lastPageUrl = default, string nextPageUrl = default, string path = default, int? perPage = default, string prevPageUrl = default, int? to = default, int? total = default, List data = default) + { + this._CurrentPage = currentPage; + if (this.CurrentPage != null) + { + this._flagCurrentPage = true; + } + this._FirstPageUrl = firstPageUrl; + if (this.FirstPageUrl != null) + { + this._flagFirstPageUrl = true; + } + this._From = from; + if (this.From != null) + { + this._flagFrom = true; + } + this._LastPage = lastPage; + if (this.LastPage != null) + { + this._flagLastPage = true; + } + this._LastPageUrl = lastPageUrl; + if (this.LastPageUrl != null) + { + this._flagLastPageUrl = true; + } + this._NextPageUrl = nextPageUrl; + if (this.NextPageUrl != null) + { + this._flagNextPageUrl = true; + } + this._Path = path; + if (this.Path != null) + { + this._flagPath = true; + } + this._PerPage = perPage; + if (this.PerPage != null) + { + this._flagPerPage = true; + } + this._PrevPageUrl = prevPageUrl; + if (this.PrevPageUrl != null) + { + this._flagPrevPageUrl = true; + } + this._To = to; + if (this.To != null) + { + this._flagTo = true; + } + this._Total = total; + if (this.Total != null) + { + this._flagTotal = true; + } + this._Data = data; + if (this.Data != null) + { + this._flagData = true; + } + } + + /// + /// Current page number. + /// + /// Current page number. + [DataMember(Name = "current_page", EmitDefaultValue = true)] + public int? CurrentPage + { + get { return _CurrentPage; } + set + { + _CurrentPage = value; + _flagCurrentPage = true; + } + } + private int? _CurrentPage; + private bool _flagCurrentPage; + + /// + /// Returns false as CurrentPage should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeCurrentPage() + { + return _flagCurrentPage; + } + /// + /// First page url. + /// + /// First page url. + [DataMember(Name = "first_page_url", EmitDefaultValue = true)] + public string FirstPageUrl + { + get { return _FirstPageUrl; } + set + { + _FirstPageUrl = value; + _flagFirstPageUrl = true; + } + } + private string _FirstPageUrl; + private bool _flagFirstPageUrl; + + /// + /// Returns false as FirstPageUrl should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeFirstPageUrl() + { + return _flagFirstPageUrl; + } + /// + /// First result of the page. + /// + /// First result of the page. + [DataMember(Name = "from", EmitDefaultValue = true)] + public int? From + { + get { return _From; } + set + { + _From = value; + _flagFrom = true; + } + } + private int? _From; + private bool _flagFrom; + + /// + /// Returns false as From should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeFrom() + { + return _flagFrom; + } + /// + /// Last page number. + /// + /// Last page number. + [DataMember(Name = "last_page", EmitDefaultValue = true)] + public int? LastPage + { + get { return _LastPage; } + set + { + _LastPage = value; + _flagLastPage = true; + } + } + private int? _LastPage; + private bool _flagLastPage; + + /// + /// Returns false as LastPage should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeLastPage() + { + return _flagLastPage; + } + /// + /// Last page url. + /// + /// Last page url. + [DataMember(Name = "last_page_url", EmitDefaultValue = true)] + public string LastPageUrl + { + get { return _LastPageUrl; } + set + { + _LastPageUrl = value; + _flagLastPageUrl = true; + } + } + private string _LastPageUrl; + private bool _flagLastPageUrl; + + /// + /// Returns false as LastPageUrl should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeLastPageUrl() + { + return _flagLastPageUrl; + } + /// + /// Next page url + /// + /// Next page url + [DataMember(Name = "next_page_url", EmitDefaultValue = true)] + public string NextPageUrl + { + get { return _NextPageUrl; } + set + { + _NextPageUrl = value; + _flagNextPageUrl = true; + } + } + private string _NextPageUrl; + private bool _flagNextPageUrl; + + /// + /// Returns false as NextPageUrl should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeNextPageUrl() + { + return _flagNextPageUrl; + } + /// + /// Request path. + /// + /// Request path. + [DataMember(Name = "path", EmitDefaultValue = true)] + public string Path + { + get { return _Path; } + set + { + _Path = value; + _flagPath = true; + } + } + private string _Path; + private bool _flagPath; + + /// + /// Returns false as Path should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializePath() + { + return _flagPath; + } + /// + /// Number of result per page. + /// + /// Number of result per page. + [DataMember(Name = "per_page", EmitDefaultValue = true)] + public int? PerPage + { + get { return _PerPage; } + set + { + _PerPage = value; + _flagPerPage = true; + } + } + private int? _PerPage; + private bool _flagPerPage; + + /// + /// Returns false as PerPage should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializePerPage() + { + return _flagPerPage; + } + /// + /// Previous page url. + /// + /// Previous page url. + [DataMember(Name = "prev_page_url", EmitDefaultValue = true)] + public string PrevPageUrl + { + get { return _PrevPageUrl; } + set + { + _PrevPageUrl = value; + _flagPrevPageUrl = true; + } + } + private string _PrevPageUrl; + private bool _flagPrevPageUrl; + + /// + /// Returns false as PrevPageUrl should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializePrevPageUrl() + { + return _flagPrevPageUrl; + } + /// + /// Last result of the page. + /// + /// Last result of the page. + [DataMember(Name = "to", EmitDefaultValue = true)] + public int? To + { + get { return _To; } + set + { + _To = value; + _flagTo = true; + } + } + private int? _To; + private bool _flagTo; + + /// + /// Returns false as To should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeTo() + { + return _flagTo; + } + /// + /// Total number of results + /// + /// Total number of results + [DataMember(Name = "total", EmitDefaultValue = true)] + public int? Total + { + get { return _Total; } + set + { + _Total = value; + _flagTotal = true; + } + } + private int? _Total; + private bool _flagTotal; + + /// + /// Returns false as Total should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeTotal() + { + return _flagTotal; + } + /// + /// Gets or Sets Data + /// + [DataMember(Name = "data", EmitDefaultValue = true)] + public List Data + { + get { return _Data; } + set + { + _Data = value; + _flagData = true; + } + } + private List _Data; + private bool _flagData; + + /// + /// Returns false as Data should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeData() + { + return _flagData; + } + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + sb.Append("class ListPendingReceivedDocumentsResponse {\n"); + sb.Append(" CurrentPage: ").Append(CurrentPage).Append("\n"); + sb.Append(" FirstPageUrl: ").Append(FirstPageUrl).Append("\n"); + sb.Append(" From: ").Append(From).Append("\n"); + sb.Append(" LastPage: ").Append(LastPage).Append("\n"); + sb.Append(" LastPageUrl: ").Append(LastPageUrl).Append("\n"); + sb.Append(" NextPageUrl: ").Append(NextPageUrl).Append("\n"); + sb.Append(" Path: ").Append(Path).Append("\n"); + sb.Append(" PerPage: ").Append(PerPage).Append("\n"); + sb.Append(" PrevPageUrl: ").Append(PrevPageUrl).Append("\n"); + sb.Append(" To: ").Append(To).Append("\n"); + sb.Append(" Total: ").Append(Total).Append("\n"); + sb.Append(" Data: ").Append(Data).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ListPendingReceivedDocumentsResponse); + } + + /// + /// Returns true if ListPendingReceivedDocumentsResponse instances are equal + /// + /// Instance of ListPendingReceivedDocumentsResponse to be compared + /// Boolean + public bool Equals(ListPendingReceivedDocumentsResponse input) + { + if (input == null) + { + return false; + } + return + ( + this.CurrentPage == input.CurrentPage || + (this.CurrentPage != null && + this.CurrentPage.Equals(input.CurrentPage)) + ) && + ( + this.FirstPageUrl == input.FirstPageUrl || + (this.FirstPageUrl != null && + this.FirstPageUrl.Equals(input.FirstPageUrl)) + ) && + ( + this.From == input.From || + (this.From != null && + this.From.Equals(input.From)) + ) && + ( + this.LastPage == input.LastPage || + (this.LastPage != null && + this.LastPage.Equals(input.LastPage)) + ) && + ( + this.LastPageUrl == input.LastPageUrl || + (this.LastPageUrl != null && + this.LastPageUrl.Equals(input.LastPageUrl)) + ) && + ( + this.NextPageUrl == input.NextPageUrl || + (this.NextPageUrl != null && + this.NextPageUrl.Equals(input.NextPageUrl)) + ) && + ( + this.Path == input.Path || + (this.Path != null && + this.Path.Equals(input.Path)) + ) && + ( + this.PerPage == input.PerPage || + (this.PerPage != null && + this.PerPage.Equals(input.PerPage)) + ) && + ( + this.PrevPageUrl == input.PrevPageUrl || + (this.PrevPageUrl != null && + this.PrevPageUrl.Equals(input.PrevPageUrl)) + ) && + ( + this.To == input.To || + (this.To != null && + this.To.Equals(input.To)) + ) && + ( + this.Total == input.Total || + (this.Total != null && + this.Total.Equals(input.Total)) + ) && + ( + this.Data == input.Data || + this.Data != null && + input.Data != null && + this.Data.SequenceEqual(input.Data) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.CurrentPage != null) + { + hashCode = (hashCode * 59) + this.CurrentPage.GetHashCode(); + } + if (this.FirstPageUrl != null) + { + hashCode = (hashCode * 59) + this.FirstPageUrl.GetHashCode(); + } + if (this.From != null) + { + hashCode = (hashCode * 59) + this.From.GetHashCode(); + } + if (this.LastPage != null) + { + hashCode = (hashCode * 59) + this.LastPage.GetHashCode(); + } + if (this.LastPageUrl != null) + { + hashCode = (hashCode * 59) + this.LastPageUrl.GetHashCode(); + } + if (this.NextPageUrl != null) + { + hashCode = (hashCode * 59) + this.NextPageUrl.GetHashCode(); + } + if (this.Path != null) + { + hashCode = (hashCode * 59) + this.Path.GetHashCode(); + } + if (this.PerPage != null) + { + hashCode = (hashCode * 59) + this.PerPage.GetHashCode(); + } + if (this.PrevPageUrl != null) + { + hashCode = (hashCode * 59) + this.PrevPageUrl.GetHashCode(); + } + if (this.To != null) + { + hashCode = (hashCode * 59) + this.To.GetHashCode(); + } + if (this.Total != null) + { + hashCode = (hashCode * 59) + this.Total.GetHashCode(); + } + if (this.Data != null) + { + hashCode = (hashCode * 59) + this.Data.GetHashCode(); + } + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/src/It.FattureInCloud.Sdk/Model/ListPendingReceivedDocumentsResponsePage.cs b/src/It.FattureInCloud.Sdk/Model/ListPendingReceivedDocumentsResponsePage.cs new file mode 100644 index 00000000..72429fed --- /dev/null +++ b/src/It.FattureInCloud.Sdk/Model/ListPendingReceivedDocumentsResponsePage.cs @@ -0,0 +1,152 @@ +/* + * Fatture in Cloud API v2 - API Reference + * + * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. + * + * The version of the OpenAPI document: 2.1.8 + * Contact: info@fattureincloud.it + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = It.FattureInCloud.Sdk.Client.OpenAPIDateConverter; + +namespace It.FattureInCloud.Sdk.Model +{ + /// + /// ListPendingReceivedDocumentsResponsePage + /// + [DataContract(Name = "ListPendingReceivedDocumentsResponsePage")] + public partial class ListPendingReceivedDocumentsResponsePage : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// data. + public ListPendingReceivedDocumentsResponsePage(List data = default) + { + this._Data = data; + if (this.Data != null) + { + this._flagData = true; + } + } + + /// + /// Gets or Sets Data + /// + [DataMember(Name = "data", EmitDefaultValue = true)] + public List Data + { + get { return _Data; } + set + { + _Data = value; + _flagData = true; + } + } + private List _Data; + private bool _flagData; + + /// + /// Returns false as Data should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeData() + { + return _flagData; + } + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + sb.Append("class ListPendingReceivedDocumentsResponsePage {\n"); + sb.Append(" Data: ").Append(Data).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ListPendingReceivedDocumentsResponsePage); + } + + /// + /// Returns true if ListPendingReceivedDocumentsResponsePage instances are equal + /// + /// Instance of ListPendingReceivedDocumentsResponsePage to be compared + /// Boolean + public bool Equals(ListPendingReceivedDocumentsResponsePage input) + { + if (input == null) + { + return false; + } + return + ( + this.Data == input.Data || + this.Data != null && + input.Data != null && + this.Data.SequenceEqual(input.Data) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Data != null) + { + hashCode = (hashCode * 59) + this.Data.GetHashCode(); + } + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/src/It.FattureInCloud.Sdk/Model/ListPriceListsResponse.cs b/src/It.FattureInCloud.Sdk/Model/ListPriceListsResponse.cs index 8ad1c8ca..65854919 100644 --- a/src/It.FattureInCloud.Sdk/Model/ListPriceListsResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/ListPriceListsResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ListProductCategoriesResponse.cs b/src/It.FattureInCloud.Sdk/Model/ListProductCategoriesResponse.cs index 39ca8cbd..1ce0ffa8 100644 --- a/src/It.FattureInCloud.Sdk/Model/ListProductCategoriesResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/ListProductCategoriesResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ListProductsResponse.cs b/src/It.FattureInCloud.Sdk/Model/ListProductsResponse.cs index 47290106..6b84b9b4 100644 --- a/src/It.FattureInCloud.Sdk/Model/ListProductsResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/ListProductsResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ListProductsResponsePage.cs b/src/It.FattureInCloud.Sdk/Model/ListProductsResponsePage.cs index c687d20d..226dcb02 100644 --- a/src/It.FattureInCloud.Sdk/Model/ListProductsResponsePage.cs +++ b/src/It.FattureInCloud.Sdk/Model/ListProductsResponsePage.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ListReceiptsResponse.cs b/src/It.FattureInCloud.Sdk/Model/ListReceiptsResponse.cs index 95875698..314d9312 100644 --- a/src/It.FattureInCloud.Sdk/Model/ListReceiptsResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/ListReceiptsResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ListReceiptsResponsePage.cs b/src/It.FattureInCloud.Sdk/Model/ListReceiptsResponsePage.cs index 3fb78778..9cc76ad4 100644 --- a/src/It.FattureInCloud.Sdk/Model/ListReceiptsResponsePage.cs +++ b/src/It.FattureInCloud.Sdk/Model/ListReceiptsResponsePage.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ListReceivedDocumentCategoriesResponse.cs b/src/It.FattureInCloud.Sdk/Model/ListReceivedDocumentCategoriesResponse.cs index cd02111c..0eb53618 100644 --- a/src/It.FattureInCloud.Sdk/Model/ListReceivedDocumentCategoriesResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/ListReceivedDocumentCategoriesResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ListReceivedDocumentsResponse.cs b/src/It.FattureInCloud.Sdk/Model/ListReceivedDocumentsResponse.cs index 533fc8a2..447c3be8 100644 --- a/src/It.FattureInCloud.Sdk/Model/ListReceivedDocumentsResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/ListReceivedDocumentsResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ListReceivedDocumentsResponsePage.cs b/src/It.FattureInCloud.Sdk/Model/ListReceivedDocumentsResponsePage.cs index 924eb242..ec204f57 100644 --- a/src/It.FattureInCloud.Sdk/Model/ListReceivedDocumentsResponsePage.cs +++ b/src/It.FattureInCloud.Sdk/Model/ListReceivedDocumentsResponsePage.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ListRevenueCentersResponse.cs b/src/It.FattureInCloud.Sdk/Model/ListRevenueCentersResponse.cs index 6f11ba07..2dff3b57 100644 --- a/src/It.FattureInCloud.Sdk/Model/ListRevenueCentersResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/ListRevenueCentersResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ListSuppliersResponse.cs b/src/It.FattureInCloud.Sdk/Model/ListSuppliersResponse.cs index ce988fbc..906f0a60 100644 --- a/src/It.FattureInCloud.Sdk/Model/ListSuppliersResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/ListSuppliersResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ListSuppliersResponsePage.cs b/src/It.FattureInCloud.Sdk/Model/ListSuppliersResponsePage.cs index 2ae6ea8a..1234a5a4 100644 --- a/src/It.FattureInCloud.Sdk/Model/ListSuppliersResponsePage.cs +++ b/src/It.FattureInCloud.Sdk/Model/ListSuppliersResponsePage.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ListTemplatesResponse.cs b/src/It.FattureInCloud.Sdk/Model/ListTemplatesResponse.cs index a21f3e37..26de8827 100644 --- a/src/It.FattureInCloud.Sdk/Model/ListTemplatesResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/ListTemplatesResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ListUnitsOfMeasureResponse.cs b/src/It.FattureInCloud.Sdk/Model/ListUnitsOfMeasureResponse.cs index 9361916e..b7aa18b9 100644 --- a/src/It.FattureInCloud.Sdk/Model/ListUnitsOfMeasureResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/ListUnitsOfMeasureResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ListUserCompaniesResponse.cs b/src/It.FattureInCloud.Sdk/Model/ListUserCompaniesResponse.cs index e01fa1f1..db84f3e8 100644 --- a/src/It.FattureInCloud.Sdk/Model/ListUserCompaniesResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/ListUserCompaniesResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ListUserCompaniesResponseData.cs b/src/It.FattureInCloud.Sdk/Model/ListUserCompaniesResponseData.cs index f7ab182b..8238a095 100644 --- a/src/It.FattureInCloud.Sdk/Model/ListUserCompaniesResponseData.cs +++ b/src/It.FattureInCloud.Sdk/Model/ListUserCompaniesResponseData.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ListVatTypesResponse.cs b/src/It.FattureInCloud.Sdk/Model/ListVatTypesResponse.cs index bb360222..09448aa8 100644 --- a/src/It.FattureInCloud.Sdk/Model/ListVatTypesResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/ListVatTypesResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ListWebhooksSubscriptionsResponse.cs b/src/It.FattureInCloud.Sdk/Model/ListWebhooksSubscriptionsResponse.cs index 6eb3e5f7..b88ad5bc 100644 --- a/src/It.FattureInCloud.Sdk/Model/ListWebhooksSubscriptionsResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/ListWebhooksSubscriptionsResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ModelClient.cs b/src/It.FattureInCloud.Sdk/Model/ModelClient.cs index d7b7d964..6dccc050 100644 --- a/src/It.FattureInCloud.Sdk/Model/ModelClient.cs +++ b/src/It.FattureInCloud.Sdk/Model/ModelClient.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ModifyArchiveDocumentRequest.cs b/src/It.FattureInCloud.Sdk/Model/ModifyArchiveDocumentRequest.cs index 8c9c779e..d14276a4 100644 --- a/src/It.FattureInCloud.Sdk/Model/ModifyArchiveDocumentRequest.cs +++ b/src/It.FattureInCloud.Sdk/Model/ModifyArchiveDocumentRequest.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ModifyArchiveDocumentResponse.cs b/src/It.FattureInCloud.Sdk/Model/ModifyArchiveDocumentResponse.cs index 0930d259..caf09c87 100644 --- a/src/It.FattureInCloud.Sdk/Model/ModifyArchiveDocumentResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/ModifyArchiveDocumentResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ModifyCashbookEntryRequest.cs b/src/It.FattureInCloud.Sdk/Model/ModifyCashbookEntryRequest.cs index e9f146d1..e3aea14d 100644 --- a/src/It.FattureInCloud.Sdk/Model/ModifyCashbookEntryRequest.cs +++ b/src/It.FattureInCloud.Sdk/Model/ModifyCashbookEntryRequest.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ModifyCashbookEntryResponse.cs b/src/It.FattureInCloud.Sdk/Model/ModifyCashbookEntryResponse.cs index e0c89223..4792d6d7 100644 --- a/src/It.FattureInCloud.Sdk/Model/ModifyCashbookEntryResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/ModifyCashbookEntryResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ModifyClientRequest.cs b/src/It.FattureInCloud.Sdk/Model/ModifyClientRequest.cs index 9922f07f..230af208 100644 --- a/src/It.FattureInCloud.Sdk/Model/ModifyClientRequest.cs +++ b/src/It.FattureInCloud.Sdk/Model/ModifyClientRequest.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ModifyClientResponse.cs b/src/It.FattureInCloud.Sdk/Model/ModifyClientResponse.cs index afccdd40..a25be601 100644 --- a/src/It.FattureInCloud.Sdk/Model/ModifyClientResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/ModifyClientResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ModifyF24Request.cs b/src/It.FattureInCloud.Sdk/Model/ModifyF24Request.cs index 490db8e4..47726e27 100644 --- a/src/It.FattureInCloud.Sdk/Model/ModifyF24Request.cs +++ b/src/It.FattureInCloud.Sdk/Model/ModifyF24Request.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ModifyF24Response.cs b/src/It.FattureInCloud.Sdk/Model/ModifyF24Response.cs index 298140ec..7e809a09 100644 --- a/src/It.FattureInCloud.Sdk/Model/ModifyF24Response.cs +++ b/src/It.FattureInCloud.Sdk/Model/ModifyF24Response.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ModifyIssuedDocumentRequest.cs b/src/It.FattureInCloud.Sdk/Model/ModifyIssuedDocumentRequest.cs index d0462b26..59112ed7 100644 --- a/src/It.FattureInCloud.Sdk/Model/ModifyIssuedDocumentRequest.cs +++ b/src/It.FattureInCloud.Sdk/Model/ModifyIssuedDocumentRequest.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ModifyIssuedDocumentResponse.cs b/src/It.FattureInCloud.Sdk/Model/ModifyIssuedDocumentResponse.cs index 74c56d70..e661f916 100644 --- a/src/It.FattureInCloud.Sdk/Model/ModifyIssuedDocumentResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/ModifyIssuedDocumentResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ModifyPaymentAccountRequest.cs b/src/It.FattureInCloud.Sdk/Model/ModifyPaymentAccountRequest.cs index bbfc8d04..909e7abc 100644 --- a/src/It.FattureInCloud.Sdk/Model/ModifyPaymentAccountRequest.cs +++ b/src/It.FattureInCloud.Sdk/Model/ModifyPaymentAccountRequest.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ModifyPaymentAccountResponse.cs b/src/It.FattureInCloud.Sdk/Model/ModifyPaymentAccountResponse.cs index 9a9432d7..ea59886f 100644 --- a/src/It.FattureInCloud.Sdk/Model/ModifyPaymentAccountResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/ModifyPaymentAccountResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ModifyPaymentMethodRequest.cs b/src/It.FattureInCloud.Sdk/Model/ModifyPaymentMethodRequest.cs index 45718bff..d581d78c 100644 --- a/src/It.FattureInCloud.Sdk/Model/ModifyPaymentMethodRequest.cs +++ b/src/It.FattureInCloud.Sdk/Model/ModifyPaymentMethodRequest.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ModifyPaymentMethodResponse.cs b/src/It.FattureInCloud.Sdk/Model/ModifyPaymentMethodResponse.cs index be76fe61..46ce02d4 100644 --- a/src/It.FattureInCloud.Sdk/Model/ModifyPaymentMethodResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/ModifyPaymentMethodResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ModifyProductRequest.cs b/src/It.FattureInCloud.Sdk/Model/ModifyProductRequest.cs index 6a8b87b9..05628a11 100644 --- a/src/It.FattureInCloud.Sdk/Model/ModifyProductRequest.cs +++ b/src/It.FattureInCloud.Sdk/Model/ModifyProductRequest.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ModifyProductResponse.cs b/src/It.FattureInCloud.Sdk/Model/ModifyProductResponse.cs index 067ffba4..403e45ec 100644 --- a/src/It.FattureInCloud.Sdk/Model/ModifyProductResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/ModifyProductResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ModifyReceiptRequest.cs b/src/It.FattureInCloud.Sdk/Model/ModifyReceiptRequest.cs index aaac03dd..22450e77 100644 --- a/src/It.FattureInCloud.Sdk/Model/ModifyReceiptRequest.cs +++ b/src/It.FattureInCloud.Sdk/Model/ModifyReceiptRequest.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ModifyReceiptResponse.cs b/src/It.FattureInCloud.Sdk/Model/ModifyReceiptResponse.cs index f8013960..cca072be 100644 --- a/src/It.FattureInCloud.Sdk/Model/ModifyReceiptResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/ModifyReceiptResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ModifyReceivedDocumentRequest.cs b/src/It.FattureInCloud.Sdk/Model/ModifyReceivedDocumentRequest.cs index caec3324..1ccf9a42 100644 --- a/src/It.FattureInCloud.Sdk/Model/ModifyReceivedDocumentRequest.cs +++ b/src/It.FattureInCloud.Sdk/Model/ModifyReceivedDocumentRequest.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ModifyReceivedDocumentResponse.cs b/src/It.FattureInCloud.Sdk/Model/ModifyReceivedDocumentResponse.cs index a7f0a7c6..10708393 100644 --- a/src/It.FattureInCloud.Sdk/Model/ModifyReceivedDocumentResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/ModifyReceivedDocumentResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ModifySupplierRequest.cs b/src/It.FattureInCloud.Sdk/Model/ModifySupplierRequest.cs index a78f1b8c..7c0ac4bc 100644 --- a/src/It.FattureInCloud.Sdk/Model/ModifySupplierRequest.cs +++ b/src/It.FattureInCloud.Sdk/Model/ModifySupplierRequest.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ModifySupplierResponse.cs b/src/It.FattureInCloud.Sdk/Model/ModifySupplierResponse.cs index bfd2907c..5c668ee2 100644 --- a/src/It.FattureInCloud.Sdk/Model/ModifySupplierResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/ModifySupplierResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ModifyVatTypeRequest.cs b/src/It.FattureInCloud.Sdk/Model/ModifyVatTypeRequest.cs index 26887725..f9c026f6 100644 --- a/src/It.FattureInCloud.Sdk/Model/ModifyVatTypeRequest.cs +++ b/src/It.FattureInCloud.Sdk/Model/ModifyVatTypeRequest.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ModifyVatTypeResponse.cs b/src/It.FattureInCloud.Sdk/Model/ModifyVatTypeResponse.cs index 4b0ca832..43092fe0 100644 --- a/src/It.FattureInCloud.Sdk/Model/ModifyVatTypeResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/ModifyVatTypeResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ModifyWebhooksSubscriptionRequest.cs b/src/It.FattureInCloud.Sdk/Model/ModifyWebhooksSubscriptionRequest.cs index e1b4f7cf..30f951ce 100644 --- a/src/It.FattureInCloud.Sdk/Model/ModifyWebhooksSubscriptionRequest.cs +++ b/src/It.FattureInCloud.Sdk/Model/ModifyWebhooksSubscriptionRequest.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ModifyWebhooksSubscriptionResponse.cs b/src/It.FattureInCloud.Sdk/Model/ModifyWebhooksSubscriptionResponse.cs index 07a99ff0..840671c7 100644 --- a/src/It.FattureInCloud.Sdk/Model/ModifyWebhooksSubscriptionResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/ModifyWebhooksSubscriptionResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/MonthlyTotal.cs b/src/It.FattureInCloud.Sdk/Model/MonthlyTotal.cs index 07e4d43e..e6bce51e 100644 --- a/src/It.FattureInCloud.Sdk/Model/MonthlyTotal.cs +++ b/src/It.FattureInCloud.Sdk/Model/MonthlyTotal.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/OriginalDocumentType.cs b/src/It.FattureInCloud.Sdk/Model/OriginalDocumentType.cs index b2437136..5358641f 100644 --- a/src/It.FattureInCloud.Sdk/Model/OriginalDocumentType.cs +++ b/src/It.FattureInCloud.Sdk/Model/OriginalDocumentType.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/Pagination.cs b/src/It.FattureInCloud.Sdk/Model/Pagination.cs index bb0d7ad9..7c540ff8 100644 --- a/src/It.FattureInCloud.Sdk/Model/Pagination.cs +++ b/src/It.FattureInCloud.Sdk/Model/Pagination.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/PaymentAccount.cs b/src/It.FattureInCloud.Sdk/Model/PaymentAccount.cs index 53bfdf28..bf18c06a 100644 --- a/src/It.FattureInCloud.Sdk/Model/PaymentAccount.cs +++ b/src/It.FattureInCloud.Sdk/Model/PaymentAccount.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/PaymentAccountType.cs b/src/It.FattureInCloud.Sdk/Model/PaymentAccountType.cs index a72378e7..b2a316a7 100644 --- a/src/It.FattureInCloud.Sdk/Model/PaymentAccountType.cs +++ b/src/It.FattureInCloud.Sdk/Model/PaymentAccountType.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/PaymentMethod.cs b/src/It.FattureInCloud.Sdk/Model/PaymentMethod.cs index c1a16c1e..5bde15ff 100644 --- a/src/It.FattureInCloud.Sdk/Model/PaymentMethod.cs +++ b/src/It.FattureInCloud.Sdk/Model/PaymentMethod.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/PaymentMethodDetails.cs b/src/It.FattureInCloud.Sdk/Model/PaymentMethodDetails.cs index cf4f4cdb..70339be0 100644 --- a/src/It.FattureInCloud.Sdk/Model/PaymentMethodDetails.cs +++ b/src/It.FattureInCloud.Sdk/Model/PaymentMethodDetails.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/PaymentMethodType.cs b/src/It.FattureInCloud.Sdk/Model/PaymentMethodType.cs index b41809b2..04f7b42e 100644 --- a/src/It.FattureInCloud.Sdk/Model/PaymentMethodType.cs +++ b/src/It.FattureInCloud.Sdk/Model/PaymentMethodType.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/PaymentTermsType.cs b/src/It.FattureInCloud.Sdk/Model/PaymentTermsType.cs index 26210653..831fa584 100644 --- a/src/It.FattureInCloud.Sdk/Model/PaymentTermsType.cs +++ b/src/It.FattureInCloud.Sdk/Model/PaymentTermsType.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/PendingReceivedDocument.cs b/src/It.FattureInCloud.Sdk/Model/PendingReceivedDocument.cs new file mode 100644 index 00000000..e071dd01 --- /dev/null +++ b/src/It.FattureInCloud.Sdk/Model/PendingReceivedDocument.cs @@ -0,0 +1,853 @@ +/* + * Fatture in Cloud API v2 - API Reference + * + * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. + * + * The version of the OpenAPI document: 2.1.8 + * Contact: info@fattureincloud.it + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = It.FattureInCloud.Sdk.Client.OpenAPIDateConverter; + +namespace It.FattureInCloud.Sdk.Model +{ + /// + /// PendingReceivedDocument + /// + [DataContract(Name = "PendingReceivedDocument")] + public partial class PendingReceivedDocument : IEquatable, IValidatableObject + { + + /// + /// Gets or Sets Type + /// + + [DataMember(Name = "type", EmitDefaultValue = false)] + public PendingReceivedDocumentType? Type + { + get { return _Type; } + set + { + _Type = value; + _flagType = true; + } + } + private PendingReceivedDocumentType? _Type; + private bool _flagType; + + /// + /// Returns false as Type should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeType() + { + return _flagType; + } + + /// + /// Gets or Sets DocumentType + /// + + [DataMember(Name = "document_type", EmitDefaultValue = false)] + public ReceivedDocumentType? DocumentType + { + get { return _DocumentType; } + set + { + _DocumentType = value; + _flagDocumentType = true; + } + } + private ReceivedDocumentType? _DocumentType; + private bool _flagDocumentType; + + /// + /// Returns false as DocumentType should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeDocumentType() + { + return _flagDocumentType; + } + /// + /// Initializes a new instance of the class. + /// + /// Pending received document id. + /// Pending received document date. + /// Pending received document subject. + /// Pending received document filename. + /// type. + /// currency. + /// documentType. + /// Pending received document supplier name. + /// Pending received document cost center. + /// Pending received document category. + /// Pending received document other attachments. + /// Pending received document emission date. + /// paymentsList. + /// Pending received document total net amount. + /// Pending received document total vat amount. + /// Pending received document import error. + /// extractedData. + public PendingReceivedDocument(int? id = default, DateTime? date = default, string subject = default, string filename = default, PendingReceivedDocumentType? type = default, Currency currency = default, ReceivedDocumentType? documentType = default, string supplierName = default, string costCenter = default, string category = default, List otherAttachments = default, DateTime? emssionDate = default, List paymentsList = default, decimal? amountNet = default, decimal? amountVat = default, string importError = default, PendingReceivedDocumentExtractedData extractedData = default) + { + this._Id = id; + if (this.Id != null) + { + this._flagId = true; + } + this._Date = date; + if (this.Date != null) + { + this._flagDate = true; + } + this._Subject = subject; + if (this.Subject != null) + { + this._flagSubject = true; + } + this._Filename = filename; + if (this.Filename != null) + { + this._flagFilename = true; + } + this._Type = type; + if (this.Type != null) + { + this._flagType = true; + } + this._Currency = currency; + if (this.Currency != null) + { + this._flagCurrency = true; + } + this._DocumentType = documentType; + if (this.DocumentType != null) + { + this._flagDocumentType = true; + } + this._SupplierName = supplierName; + if (this.SupplierName != null) + { + this._flagSupplierName = true; + } + this._CostCenter = costCenter; + if (this.CostCenter != null) + { + this._flagCostCenter = true; + } + this._Category = category; + if (this.Category != null) + { + this._flagCategory = true; + } + this._OtherAttachments = otherAttachments; + if (this.OtherAttachments != null) + { + this._flagOtherAttachments = true; + } + this._EmssionDate = emssionDate; + if (this.EmssionDate != null) + { + this._flagEmssionDate = true; + } + this._PaymentsList = paymentsList; + if (this.PaymentsList != null) + { + this._flagPaymentsList = true; + } + this._AmountNet = amountNet; + if (this.AmountNet != null) + { + this._flagAmountNet = true; + } + this._AmountVat = amountVat; + if (this.AmountVat != null) + { + this._flagAmountVat = true; + } + this._ImportError = importError; + if (this.ImportError != null) + { + this._flagImportError = true; + } + this._ExtractedData = extractedData; + if (this.ExtractedData != null) + { + this._flagExtractedData = true; + } + } + + /// + /// Pending received document id + /// + /// Pending received document id + [DataMember(Name = "id", EmitDefaultValue = true)] + public int? Id + { + get { return _Id; } + set + { + _Id = value; + _flagId = true; + } + } + private int? _Id; + private bool _flagId; + + /// + /// Returns false as Id should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeId() + { + return _flagId; + } + /// + /// Pending received document date + /// + /// Pending received document date + [JsonConverter(typeof(OpenAPIDateConverter))] + [DataMember(Name = "date", EmitDefaultValue = true)] + public DateTime? Date + { + get { return _Date; } + set + { + _Date = value; + _flagDate = true; + } + } + private DateTime? _Date; + private bool _flagDate; + + /// + /// Returns false as Date should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeDate() + { + return _flagDate; + } + /// + /// Pending received document subject + /// + /// Pending received document subject + [DataMember(Name = "subject", EmitDefaultValue = true)] + public string Subject + { + get { return _Subject; } + set + { + _Subject = value; + _flagSubject = true; + } + } + private string _Subject; + private bool _flagSubject; + + /// + /// Returns false as Subject should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeSubject() + { + return _flagSubject; + } + /// + /// Pending received document filename + /// + /// Pending received document filename + [DataMember(Name = "filename", EmitDefaultValue = true)] + public string Filename + { + get { return _Filename; } + set + { + _Filename = value; + _flagFilename = true; + } + } + private string _Filename; + private bool _flagFilename; + + /// + /// Returns false as Filename should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeFilename() + { + return _flagFilename; + } + /// + /// [Temporary] [Read Only] Pending received document url of the attached file + /// + /// [Temporary] [Read Only] Pending received document url of the attached file + [DataMember(Name = "attachment_url", EmitDefaultValue = true)] + public string AttachmentUrl { get; private set; } + + /// + /// Returns false as AttachmentUrl should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeAttachmentUrl() + { + return false; + } + /// + /// [Read Only] Pending received document total gross amount + /// + /// [Read Only] Pending received document total gross amount + [DataMember(Name = "amount_gross", EmitDefaultValue = true)] + public decimal? AmountGross { get; private set; } + + /// + /// Returns false as AmountGross should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeAmountGross() + { + return false; + } + /// + /// Gets or Sets Currency + /// + [DataMember(Name = "currency", EmitDefaultValue = false)] + public Currency Currency + { + get { return _Currency; } + set + { + _Currency = value; + _flagCurrency = true; + } + } + private Currency _Currency; + private bool _flagCurrency; + + /// + /// Returns false as Currency should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeCurrency() + { + return _flagCurrency; + } + /// + /// Pending received document supplier name + /// + /// Pending received document supplier name + [DataMember(Name = "supplier_name", EmitDefaultValue = true)] + public string SupplierName + { + get { return _SupplierName; } + set + { + _SupplierName = value; + _flagSupplierName = true; + } + } + private string _SupplierName; + private bool _flagSupplierName; + + /// + /// Returns false as SupplierName should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeSupplierName() + { + return _flagSupplierName; + } + /// + /// Pending received document cost center + /// + /// Pending received document cost center + [DataMember(Name = "cost_center", EmitDefaultValue = true)] + public string CostCenter + { + get { return _CostCenter; } + set + { + _CostCenter = value; + _flagCostCenter = true; + } + } + private string _CostCenter; + private bool _flagCostCenter; + + /// + /// Returns false as CostCenter should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeCostCenter() + { + return _flagCostCenter; + } + /// + /// Pending received document category + /// + /// Pending received document category + [DataMember(Name = "category", EmitDefaultValue = true)] + public string Category + { + get { return _Category; } + set + { + _Category = value; + _flagCategory = true; + } + } + private string _Category; + private bool _flagCategory; + + /// + /// Returns false as Category should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeCategory() + { + return _flagCategory; + } + /// + /// Pending received document other attachments + /// + /// Pending received document other attachments + [DataMember(Name = "other_attachments", EmitDefaultValue = true)] + public List OtherAttachments + { + get { return _OtherAttachments; } + set + { + _OtherAttachments = value; + _flagOtherAttachments = true; + } + } + private List _OtherAttachments; + private bool _flagOtherAttachments; + + /// + /// Returns false as OtherAttachments should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeOtherAttachments() + { + return _flagOtherAttachments; + } + /// + /// Pending received document emission date + /// + /// Pending received document emission date + [JsonConverter(typeof(OpenAPIDateConverter))] + [DataMember(Name = "emssion_date", EmitDefaultValue = true)] + public DateTime? EmssionDate + { + get { return _EmssionDate; } + set + { + _EmssionDate = value; + _flagEmssionDate = true; + } + } + private DateTime? _EmssionDate; + private bool _flagEmssionDate; + + /// + /// Returns false as EmssionDate should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeEmssionDate() + { + return _flagEmssionDate; + } + /// + /// Gets or Sets PaymentsList + /// + [DataMember(Name = "payments_list", EmitDefaultValue = true)] + public List PaymentsList + { + get { return _PaymentsList; } + set + { + _PaymentsList = value; + _flagPaymentsList = true; + } + } + private List _PaymentsList; + private bool _flagPaymentsList; + + /// + /// Returns false as PaymentsList should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializePaymentsList() + { + return _flagPaymentsList; + } + /// + /// Pending received document total net amount + /// + /// Pending received document total net amount + [DataMember(Name = "amount_net", EmitDefaultValue = true)] + public decimal? AmountNet + { + get { return _AmountNet; } + set + { + _AmountNet = value; + _flagAmountNet = true; + } + } + private decimal? _AmountNet; + private bool _flagAmountNet; + + /// + /// Returns false as AmountNet should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeAmountNet() + { + return _flagAmountNet; + } + /// + /// Pending received document total vat amount + /// + /// Pending received document total vat amount + [DataMember(Name = "amount_vat", EmitDefaultValue = true)] + public decimal? AmountVat + { + get { return _AmountVat; } + set + { + _AmountVat = value; + _flagAmountVat = true; + } + } + private decimal? _AmountVat; + private bool _flagAmountVat; + + /// + /// Returns false as AmountVat should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeAmountVat() + { + return _flagAmountVat; + } + /// + /// Pending received document import error + /// + /// Pending received document import error + [DataMember(Name = "import_error", EmitDefaultValue = true)] + public string ImportError + { + get { return _ImportError; } + set + { + _ImportError = value; + _flagImportError = true; + } + } + private string _ImportError; + private bool _flagImportError; + + /// + /// Returns false as ImportError should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeImportError() + { + return _flagImportError; + } + /// + /// Gets or Sets ExtractedData + /// + [DataMember(Name = "extracted_data", EmitDefaultValue = true)] + public PendingReceivedDocumentExtractedData ExtractedData + { + get { return _ExtractedData; } + set + { + _ExtractedData = value; + _flagExtractedData = true; + } + } + private PendingReceivedDocumentExtractedData _ExtractedData; + private bool _flagExtractedData; + + /// + /// Returns false as ExtractedData should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeExtractedData() + { + return _flagExtractedData; + } + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + sb.Append("class PendingReceivedDocument {\n"); + sb.Append(" Id: ").Append(Id).Append("\n"); + sb.Append(" Date: ").Append(Date).Append("\n"); + sb.Append(" Subject: ").Append(Subject).Append("\n"); + sb.Append(" Filename: ").Append(Filename).Append("\n"); + sb.Append(" Type: ").Append(Type).Append("\n"); + sb.Append(" AttachmentUrl: ").Append(AttachmentUrl).Append("\n"); + sb.Append(" AmountGross: ").Append(AmountGross).Append("\n"); + sb.Append(" Currency: ").Append(Currency).Append("\n"); + sb.Append(" DocumentType: ").Append(DocumentType).Append("\n"); + sb.Append(" SupplierName: ").Append(SupplierName).Append("\n"); + sb.Append(" CostCenter: ").Append(CostCenter).Append("\n"); + sb.Append(" Category: ").Append(Category).Append("\n"); + sb.Append(" OtherAttachments: ").Append(OtherAttachments).Append("\n"); + sb.Append(" EmssionDate: ").Append(EmssionDate).Append("\n"); + sb.Append(" PaymentsList: ").Append(PaymentsList).Append("\n"); + sb.Append(" AmountNet: ").Append(AmountNet).Append("\n"); + sb.Append(" AmountVat: ").Append(AmountVat).Append("\n"); + sb.Append(" ImportError: ").Append(ImportError).Append("\n"); + sb.Append(" ExtractedData: ").Append(ExtractedData).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as PendingReceivedDocument); + } + + /// + /// Returns true if PendingReceivedDocument instances are equal + /// + /// Instance of PendingReceivedDocument to be compared + /// Boolean + public bool Equals(PendingReceivedDocument input) + { + if (input == null) + { + return false; + } + return + ( + this.Id == input.Id || + (this.Id != null && + this.Id.Equals(input.Id)) + ) && + ( + this.Date == input.Date || + (this.Date != null && + this.Date.Equals(input.Date)) + ) && + ( + this.Subject == input.Subject || + (this.Subject != null && + this.Subject.Equals(input.Subject)) + ) && + ( + this.Filename == input.Filename || + (this.Filename != null && + this.Filename.Equals(input.Filename)) + ) && + ( + this.Type == input.Type || + this.Type.Equals(input.Type) + ) && + ( + this.AttachmentUrl == input.AttachmentUrl || + (this.AttachmentUrl != null && + this.AttachmentUrl.Equals(input.AttachmentUrl)) + ) && + ( + this.AmountGross == input.AmountGross || + (this.AmountGross != null && + this.AmountGross.Equals(input.AmountGross)) + ) && + ( + this.Currency == input.Currency || + (this.Currency != null && + this.Currency.Equals(input.Currency)) + ) && + ( + this.DocumentType == input.DocumentType || + this.DocumentType.Equals(input.DocumentType) + ) && + ( + this.SupplierName == input.SupplierName || + (this.SupplierName != null && + this.SupplierName.Equals(input.SupplierName)) + ) && + ( + this.CostCenter == input.CostCenter || + (this.CostCenter != null && + this.CostCenter.Equals(input.CostCenter)) + ) && + ( + this.Category == input.Category || + (this.Category != null && + this.Category.Equals(input.Category)) + ) && + ( + this.OtherAttachments == input.OtherAttachments || + this.OtherAttachments != null && + input.OtherAttachments != null && + this.OtherAttachments.SequenceEqual(input.OtherAttachments) + ) && + ( + this.EmssionDate == input.EmssionDate || + (this.EmssionDate != null && + this.EmssionDate.Equals(input.EmssionDate)) + ) && + ( + this.PaymentsList == input.PaymentsList || + this.PaymentsList != null && + input.PaymentsList != null && + this.PaymentsList.SequenceEqual(input.PaymentsList) + ) && + ( + this.AmountNet == input.AmountNet || + (this.AmountNet != null && + this.AmountNet.Equals(input.AmountNet)) + ) && + ( + this.AmountVat == input.AmountVat || + (this.AmountVat != null && + this.AmountVat.Equals(input.AmountVat)) + ) && + ( + this.ImportError == input.ImportError || + (this.ImportError != null && + this.ImportError.Equals(input.ImportError)) + ) && + ( + this.ExtractedData == input.ExtractedData || + (this.ExtractedData != null && + this.ExtractedData.Equals(input.ExtractedData)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Id != null) + { + hashCode = (hashCode * 59) + this.Id.GetHashCode(); + } + if (this.Date != null) + { + hashCode = (hashCode * 59) + this.Date.GetHashCode(); + } + if (this.Subject != null) + { + hashCode = (hashCode * 59) + this.Subject.GetHashCode(); + } + if (this.Filename != null) + { + hashCode = (hashCode * 59) + this.Filename.GetHashCode(); + } + hashCode = (hashCode * 59) + this.Type.GetHashCode(); + if (this.AttachmentUrl != null) + { + hashCode = (hashCode * 59) + this.AttachmentUrl.GetHashCode(); + } + if (this.AmountGross != null) + { + hashCode = (hashCode * 59) + this.AmountGross.GetHashCode(); + } + if (this.Currency != null) + { + hashCode = (hashCode * 59) + this.Currency.GetHashCode(); + } + hashCode = (hashCode * 59) + this.DocumentType.GetHashCode(); + if (this.SupplierName != null) + { + hashCode = (hashCode * 59) + this.SupplierName.GetHashCode(); + } + if (this.CostCenter != null) + { + hashCode = (hashCode * 59) + this.CostCenter.GetHashCode(); + } + if (this.Category != null) + { + hashCode = (hashCode * 59) + this.Category.GetHashCode(); + } + if (this.OtherAttachments != null) + { + hashCode = (hashCode * 59) + this.OtherAttachments.GetHashCode(); + } + if (this.EmssionDate != null) + { + hashCode = (hashCode * 59) + this.EmssionDate.GetHashCode(); + } + if (this.PaymentsList != null) + { + hashCode = (hashCode * 59) + this.PaymentsList.GetHashCode(); + } + if (this.AmountNet != null) + { + hashCode = (hashCode * 59) + this.AmountNet.GetHashCode(); + } + if (this.AmountVat != null) + { + hashCode = (hashCode * 59) + this.AmountVat.GetHashCode(); + } + if (this.ImportError != null) + { + hashCode = (hashCode * 59) + this.ImportError.GetHashCode(); + } + if (this.ExtractedData != null) + { + hashCode = (hashCode * 59) + this.ExtractedData.GetHashCode(); + } + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/src/It.FattureInCloud.Sdk/Model/PendingReceivedDocumentExtractedData.cs b/src/It.FattureInCloud.Sdk/Model/PendingReceivedDocumentExtractedData.cs new file mode 100644 index 00000000..81bc16aa --- /dev/null +++ b/src/It.FattureInCloud.Sdk/Model/PendingReceivedDocumentExtractedData.cs @@ -0,0 +1,151 @@ +/* + * Fatture in Cloud API v2 - API Reference + * + * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. + * + * The version of the OpenAPI document: 2.1.8 + * Contact: info@fattureincloud.it + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = It.FattureInCloud.Sdk.Client.OpenAPIDateConverter; + +namespace It.FattureInCloud.Sdk.Model +{ + /// + /// PendingReceivedDocumentExtractedData + /// + [DataContract(Name = "PendingReceivedDocument_extracted_data")] + public partial class PendingReceivedDocumentExtractedData : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// mining. + public PendingReceivedDocumentExtractedData(PendingReceivedDocumentExtractedDataMining mining = default) + { + this._Mining = mining; + if (this.Mining != null) + { + this._flagMining = true; + } + } + + /// + /// Gets or Sets Mining + /// + [DataMember(Name = "mining", EmitDefaultValue = false)] + public PendingReceivedDocumentExtractedDataMining Mining + { + get { return _Mining; } + set + { + _Mining = value; + _flagMining = true; + } + } + private PendingReceivedDocumentExtractedDataMining _Mining; + private bool _flagMining; + + /// + /// Returns false as Mining should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeMining() + { + return _flagMining; + } + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + sb.Append("class PendingReceivedDocumentExtractedData {\n"); + sb.Append(" Mining: ").Append(Mining).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as PendingReceivedDocumentExtractedData); + } + + /// + /// Returns true if PendingReceivedDocumentExtractedData instances are equal + /// + /// Instance of PendingReceivedDocumentExtractedData to be compared + /// Boolean + public bool Equals(PendingReceivedDocumentExtractedData input) + { + if (input == null) + { + return false; + } + return + ( + this.Mining == input.Mining || + (this.Mining != null && + this.Mining.Equals(input.Mining)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Mining != null) + { + hashCode = (hashCode * 59) + this.Mining.GetHashCode(); + } + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/src/It.FattureInCloud.Sdk/Model/PendingReceivedDocumentExtractedDataMining.cs b/src/It.FattureInCloud.Sdk/Model/PendingReceivedDocumentExtractedDataMining.cs new file mode 100644 index 00000000..e3d44aba --- /dev/null +++ b/src/It.FattureInCloud.Sdk/Model/PendingReceivedDocumentExtractedDataMining.cs @@ -0,0 +1,147 @@ +/* + * Fatture in Cloud API v2 - API Reference + * + * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. + * + * The version of the OpenAPI document: 2.1.8 + * Contact: info@fattureincloud.it + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = It.FattureInCloud.Sdk.Client.OpenAPIDateConverter; + +namespace It.FattureInCloud.Sdk.Model +{ + /// + /// PendingReceivedDocumentExtractedDataMining + /// + [DataContract(Name = "PendingReceivedDocument_extracted_data_mining")] + public partial class PendingReceivedDocumentExtractedDataMining : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// saveEntity. + public PendingReceivedDocumentExtractedDataMining(bool saveEntity = default) + { + this._SaveEntity = saveEntity; + if (this.SaveEntity != null) + { + this._flagSaveEntity = true; + } + } + + /// + /// Gets or Sets SaveEntity + /// + [DataMember(Name = "save_entity", EmitDefaultValue = true)] + public bool SaveEntity + { + get { return _SaveEntity; } + set + { + _SaveEntity = value; + _flagSaveEntity = true; + } + } + private bool _SaveEntity; + private bool _flagSaveEntity; + + /// + /// Returns false as SaveEntity should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeSaveEntity() + { + return _flagSaveEntity; + } + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + sb.Append("class PendingReceivedDocumentExtractedDataMining {\n"); + sb.Append(" SaveEntity: ").Append(SaveEntity).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as PendingReceivedDocumentExtractedDataMining); + } + + /// + /// Returns true if PendingReceivedDocumentExtractedDataMining instances are equal + /// + /// Instance of PendingReceivedDocumentExtractedDataMining to be compared + /// Boolean + public bool Equals(PendingReceivedDocumentExtractedDataMining input) + { + if (input == null) + { + return false; + } + return + ( + this.SaveEntity == input.SaveEntity || + this.SaveEntity.Equals(input.SaveEntity) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + hashCode = (hashCode * 59) + this.SaveEntity.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/src/It.FattureInCloud.Sdk/Model/PendingReceivedDocumentPaymentsListItem.cs b/src/It.FattureInCloud.Sdk/Model/PendingReceivedDocumentPaymentsListItem.cs new file mode 100644 index 00000000..27be6cdc --- /dev/null +++ b/src/It.FattureInCloud.Sdk/Model/PendingReceivedDocumentPaymentsListItem.cs @@ -0,0 +1,398 @@ +/* + * Fatture in Cloud API v2 - API Reference + * + * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. + * + * The version of the OpenAPI document: 2.1.8 + * Contact: info@fattureincloud.it + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = It.FattureInCloud.Sdk.Client.OpenAPIDateConverter; + +namespace It.FattureInCloud.Sdk.Model +{ + /// + /// PendingReceivedDocumentPaymentsListItem + /// + [DataContract(Name = "PendingReceivedDocumentPaymentsListItem")] + public partial class PendingReceivedDocumentPaymentsListItem : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Pending received document payment total amount. + /// Due date. + /// Pending received document payment paid date. + /// paymentTerms. + /// Pending received document payment status. + /// True if paid with TS Pay. + /// paymentAccount. + public PendingReceivedDocumentPaymentsListItem(decimal? amount = default, DateTime? dueDate = default, DateTime? paidDate = default, PendingReceivedDocumentPaymentsListItemPaymentTerms paymentTerms = default, string status = default, bool? paidWithTsPay = default, PaymentAccount paymentAccount = default) + { + this._Amount = amount; + if (this.Amount != null) + { + this._flagAmount = true; + } + this._DueDate = dueDate; + if (this.DueDate != null) + { + this._flagDueDate = true; + } + this._PaidDate = paidDate; + if (this.PaidDate != null) + { + this._flagPaidDate = true; + } + this._PaymentTerms = paymentTerms; + if (this.PaymentTerms != null) + { + this._flagPaymentTerms = true; + } + this._Status = status; + if (this.Status != null) + { + this._flagStatus = true; + } + this._PaidWithTsPay = paidWithTsPay; + if (this.PaidWithTsPay != null) + { + this._flagPaidWithTsPay = true; + } + this._PaymentAccount = paymentAccount; + if (this.PaymentAccount != null) + { + this._flagPaymentAccount = true; + } + } + + /// + /// Pending received document payment total amount + /// + /// Pending received document payment total amount + [DataMember(Name = "amount", EmitDefaultValue = true)] + public decimal? Amount + { + get { return _Amount; } + set + { + _Amount = value; + _flagAmount = true; + } + } + private decimal? _Amount; + private bool _flagAmount; + + /// + /// Returns false as Amount should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeAmount() + { + return _flagAmount; + } + /// + /// Due date + /// + /// Due date + [JsonConverter(typeof(OpenAPIDateConverter))] + [DataMember(Name = "due_date", EmitDefaultValue = true)] + public DateTime? DueDate + { + get { return _DueDate; } + set + { + _DueDate = value; + _flagDueDate = true; + } + } + private DateTime? _DueDate; + private bool _flagDueDate; + + /// + /// Returns false as DueDate should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeDueDate() + { + return _flagDueDate; + } + /// + /// Pending received document payment paid date + /// + /// Pending received document payment paid date + [JsonConverter(typeof(OpenAPIDateConverter))] + [DataMember(Name = "paid_date", EmitDefaultValue = true)] + public DateTime? PaidDate + { + get { return _PaidDate; } + set + { + _PaidDate = value; + _flagPaidDate = true; + } + } + private DateTime? _PaidDate; + private bool _flagPaidDate; + + /// + /// Returns false as PaidDate should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializePaidDate() + { + return _flagPaidDate; + } + /// + /// Gets or Sets PaymentTerms + /// + [DataMember(Name = "payment_terms", EmitDefaultValue = true)] + public PendingReceivedDocumentPaymentsListItemPaymentTerms PaymentTerms + { + get { return _PaymentTerms; } + set + { + _PaymentTerms = value; + _flagPaymentTerms = true; + } + } + private PendingReceivedDocumentPaymentsListItemPaymentTerms _PaymentTerms; + private bool _flagPaymentTerms; + + /// + /// Returns false as PaymentTerms should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializePaymentTerms() + { + return _flagPaymentTerms; + } + /// + /// Pending received document payment status + /// + /// Pending received document payment status + [DataMember(Name = "status", EmitDefaultValue = true)] + public string Status + { + get { return _Status; } + set + { + _Status = value; + _flagStatus = true; + } + } + private string _Status; + private bool _flagStatus; + + /// + /// Returns false as Status should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeStatus() + { + return _flagStatus; + } + /// + /// True if paid with TS Pay + /// + /// True if paid with TS Pay + [DataMember(Name = "paid_with_ts_pay", EmitDefaultValue = true)] + public bool? PaidWithTsPay + { + get { return _PaidWithTsPay; } + set + { + _PaidWithTsPay = value; + _flagPaidWithTsPay = true; + } + } + private bool? _PaidWithTsPay; + private bool _flagPaidWithTsPay; + + /// + /// Returns false as PaidWithTsPay should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializePaidWithTsPay() + { + return _flagPaidWithTsPay; + } + /// + /// Gets or Sets PaymentAccount + /// + [DataMember(Name = "payment_account", EmitDefaultValue = true)] + public PaymentAccount PaymentAccount + { + get { return _PaymentAccount; } + set + { + _PaymentAccount = value; + _flagPaymentAccount = true; + } + } + private PaymentAccount _PaymentAccount; + private bool _flagPaymentAccount; + + /// + /// Returns false as PaymentAccount should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializePaymentAccount() + { + return _flagPaymentAccount; + } + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + sb.Append("class PendingReceivedDocumentPaymentsListItem {\n"); + sb.Append(" Amount: ").Append(Amount).Append("\n"); + sb.Append(" DueDate: ").Append(DueDate).Append("\n"); + sb.Append(" PaidDate: ").Append(PaidDate).Append("\n"); + sb.Append(" PaymentTerms: ").Append(PaymentTerms).Append("\n"); + sb.Append(" Status: ").Append(Status).Append("\n"); + sb.Append(" PaidWithTsPay: ").Append(PaidWithTsPay).Append("\n"); + sb.Append(" PaymentAccount: ").Append(PaymentAccount).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as PendingReceivedDocumentPaymentsListItem); + } + + /// + /// Returns true if PendingReceivedDocumentPaymentsListItem instances are equal + /// + /// Instance of PendingReceivedDocumentPaymentsListItem to be compared + /// Boolean + public bool Equals(PendingReceivedDocumentPaymentsListItem input) + { + if (input == null) + { + return false; + } + return + ( + this.Amount == input.Amount || + (this.Amount != null && + this.Amount.Equals(input.Amount)) + ) && + ( + this.DueDate == input.DueDate || + (this.DueDate != null && + this.DueDate.Equals(input.DueDate)) + ) && + ( + this.PaidDate == input.PaidDate || + (this.PaidDate != null && + this.PaidDate.Equals(input.PaidDate)) + ) && + ( + this.PaymentTerms == input.PaymentTerms || + (this.PaymentTerms != null && + this.PaymentTerms.Equals(input.PaymentTerms)) + ) && + ( + this.Status == input.Status || + (this.Status != null && + this.Status.Equals(input.Status)) + ) && + ( + this.PaidWithTsPay == input.PaidWithTsPay || + (this.PaidWithTsPay != null && + this.PaidWithTsPay.Equals(input.PaidWithTsPay)) + ) && + ( + this.PaymentAccount == input.PaymentAccount || + (this.PaymentAccount != null && + this.PaymentAccount.Equals(input.PaymentAccount)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Amount != null) + { + hashCode = (hashCode * 59) + this.Amount.GetHashCode(); + } + if (this.DueDate != null) + { + hashCode = (hashCode * 59) + this.DueDate.GetHashCode(); + } + if (this.PaidDate != null) + { + hashCode = (hashCode * 59) + this.PaidDate.GetHashCode(); + } + if (this.PaymentTerms != null) + { + hashCode = (hashCode * 59) + this.PaymentTerms.GetHashCode(); + } + if (this.Status != null) + { + hashCode = (hashCode * 59) + this.Status.GetHashCode(); + } + if (this.PaidWithTsPay != null) + { + hashCode = (hashCode * 59) + this.PaidWithTsPay.GetHashCode(); + } + if (this.PaymentAccount != null) + { + hashCode = (hashCode * 59) + this.PaymentAccount.GetHashCode(); + } + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/src/It.FattureInCloud.Sdk/Model/PendingReceivedDocumentPaymentsListItemPaymentTerms.cs b/src/It.FattureInCloud.Sdk/Model/PendingReceivedDocumentPaymentsListItemPaymentTerms.cs new file mode 100644 index 00000000..d0634016 --- /dev/null +++ b/src/It.FattureInCloud.Sdk/Model/PendingReceivedDocumentPaymentsListItemPaymentTerms.cs @@ -0,0 +1,190 @@ +/* + * Fatture in Cloud API v2 - API Reference + * + * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. + * + * The version of the OpenAPI document: 2.1.8 + * Contact: info@fattureincloud.it + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = It.FattureInCloud.Sdk.Client.OpenAPIDateConverter; + +namespace It.FattureInCloud.Sdk.Model +{ + /// + /// PendingReceivedDocumentPaymentsListItemPaymentTerms + /// + [DataContract(Name = "PendingReceivedDocumentPaymentsListItem_payment_terms")] + public partial class PendingReceivedDocumentPaymentsListItemPaymentTerms : IEquatable, IValidatableObject + { + + /// + /// Gets or Sets Type + /// + + [DataMember(Name = "type", EmitDefaultValue = false)] + public PaymentTermsType? Type + { + get { return _Type; } + set + { + _Type = value; + _flagType = true; + } + } + private PaymentTermsType? _Type; + private bool _flagType; + + /// + /// Returns false as Type should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeType() + { + return _flagType; + } + /// + /// Initializes a new instance of the class. + /// + /// Pending received document payment number of days by which the payment must be made. + /// type. + public PendingReceivedDocumentPaymentsListItemPaymentTerms(int? days = default, PaymentTermsType? type = default) + { + this._Days = days; + if (this.Days != null) + { + this._flagDays = true; + } + this._Type = type; + if (this.Type != null) + { + this._flagType = true; + } + } + + /// + /// Pending received document payment number of days by which the payment must be made + /// + /// Pending received document payment number of days by which the payment must be made + [DataMember(Name = "days", EmitDefaultValue = true)] + public int? Days + { + get { return _Days; } + set + { + _Days = value; + _flagDays = true; + } + } + private int? _Days; + private bool _flagDays; + + /// + /// Returns false as Days should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeDays() + { + return _flagDays; + } + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + sb.Append("class PendingReceivedDocumentPaymentsListItemPaymentTerms {\n"); + sb.Append(" Days: ").Append(Days).Append("\n"); + sb.Append(" Type: ").Append(Type).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as PendingReceivedDocumentPaymentsListItemPaymentTerms); + } + + /// + /// Returns true if PendingReceivedDocumentPaymentsListItemPaymentTerms instances are equal + /// + /// Instance of PendingReceivedDocumentPaymentsListItemPaymentTerms to be compared + /// Boolean + public bool Equals(PendingReceivedDocumentPaymentsListItemPaymentTerms input) + { + if (input == null) + { + return false; + } + return + ( + this.Days == input.Days || + (this.Days != null && + this.Days.Equals(input.Days)) + ) && + ( + this.Type == input.Type || + this.Type.Equals(input.Type) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Days != null) + { + hashCode = (hashCode * 59) + this.Days.GetHashCode(); + } + hashCode = (hashCode * 59) + this.Type.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/src/It.FattureInCloud.Sdk/Model/PendingReceivedDocumentType.cs b/src/It.FattureInCloud.Sdk/Model/PendingReceivedDocumentType.cs new file mode 100644 index 00000000..6ea8756b --- /dev/null +++ b/src/It.FattureInCloud.Sdk/Model/PendingReceivedDocumentType.cs @@ -0,0 +1,55 @@ +/* + * Fatture in Cloud API v2 - API Reference + * + * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. + * + * The version of the OpenAPI document: 2.1.8 + * Contact: info@fattureincloud.it + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = It.FattureInCloud.Sdk.Client.OpenAPIDateConverter; + +namespace It.FattureInCloud.Sdk.Model +{ + /// + /// Pending received document type + /// + /// Pending received document type + [JsonConverter(typeof(StringEnumConverter))] + public enum PendingReceivedDocumentType + { + /// + /// Enum Agyo for value: agyo + /// + [EnumMember(Value = "agyo")] + Agyo = 1, + + /// + /// Enum Mail for value: mail + /// + [EnumMember(Value = "mail")] + Mail = 2, + + /// + /// Enum Browser for value: browser + /// + [EnumMember(Value = "browser")] + Browser = 3 + } + +} diff --git a/src/It.FattureInCloud.Sdk/Model/PermissionLevel.cs b/src/It.FattureInCloud.Sdk/Model/PermissionLevel.cs index de726d4d..238c5622 100644 --- a/src/It.FattureInCloud.Sdk/Model/PermissionLevel.cs +++ b/src/It.FattureInCloud.Sdk/Model/PermissionLevel.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/Permissions.cs b/src/It.FattureInCloud.Sdk/Model/Permissions.cs index 0c8b610d..3370e462 100644 --- a/src/It.FattureInCloud.Sdk/Model/Permissions.cs +++ b/src/It.FattureInCloud.Sdk/Model/Permissions.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/PermissionsFicIssuedDocumentsDetailed.cs b/src/It.FattureInCloud.Sdk/Model/PermissionsFicIssuedDocumentsDetailed.cs index 45fc3034..2d9460d5 100644 --- a/src/It.FattureInCloud.Sdk/Model/PermissionsFicIssuedDocumentsDetailed.cs +++ b/src/It.FattureInCloud.Sdk/Model/PermissionsFicIssuedDocumentsDetailed.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/PriceList.cs b/src/It.FattureInCloud.Sdk/Model/PriceList.cs index fa531f26..4151ce89 100644 --- a/src/It.FattureInCloud.Sdk/Model/PriceList.cs +++ b/src/It.FattureInCloud.Sdk/Model/PriceList.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/PriceListItem.cs b/src/It.FattureInCloud.Sdk/Model/PriceListItem.cs index 8e9074bf..13acf8a2 100644 --- a/src/It.FattureInCloud.Sdk/Model/PriceListItem.cs +++ b/src/It.FattureInCloud.Sdk/Model/PriceListItem.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/PriceListPricesType.cs b/src/It.FattureInCloud.Sdk/Model/PriceListPricesType.cs index e342fb71..9f98b378 100644 --- a/src/It.FattureInCloud.Sdk/Model/PriceListPricesType.cs +++ b/src/It.FattureInCloud.Sdk/Model/PriceListPricesType.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/PriceListType.cs b/src/It.FattureInCloud.Sdk/Model/PriceListType.cs index 7699cacd..7f500f74 100644 --- a/src/It.FattureInCloud.Sdk/Model/PriceListType.cs +++ b/src/It.FattureInCloud.Sdk/Model/PriceListType.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/Product.cs b/src/It.FattureInCloud.Sdk/Model/Product.cs index b1cfa3de..e666c734 100644 --- a/src/It.FattureInCloud.Sdk/Model/Product.cs +++ b/src/It.FattureInCloud.Sdk/Model/Product.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/Receipt.cs b/src/It.FattureInCloud.Sdk/Model/Receipt.cs index d0cdb92b..7a5c044e 100644 --- a/src/It.FattureInCloud.Sdk/Model/Receipt.cs +++ b/src/It.FattureInCloud.Sdk/Model/Receipt.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ReceiptItemsListItem.cs b/src/It.FattureInCloud.Sdk/Model/ReceiptItemsListItem.cs index 421f7e74..19d31577 100644 --- a/src/It.FattureInCloud.Sdk/Model/ReceiptItemsListItem.cs +++ b/src/It.FattureInCloud.Sdk/Model/ReceiptItemsListItem.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ReceiptPreCreateInfo.cs b/src/It.FattureInCloud.Sdk/Model/ReceiptPreCreateInfo.cs index 292aba1b..7fb0d8e0 100644 --- a/src/It.FattureInCloud.Sdk/Model/ReceiptPreCreateInfo.cs +++ b/src/It.FattureInCloud.Sdk/Model/ReceiptPreCreateInfo.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -41,7 +41,7 @@ public partial class ReceiptPreCreateInfo : IEquatable, IV /// Payment accounts list. /// Receipt categories list. /// Vat types list. - public ReceiptPreCreateInfo(Dictionary>> numerations = default, List numerationsList = default, List rcCentersList = default, List paymentAccountsList = default, List categoriesList = default, List vatTypesList = default) + public ReceiptPreCreateInfo(Dictionary> numerations = default, List numerationsList = default, List rcCentersList = default, List paymentAccountsList = default, List categoriesList = default, List vatTypesList = default) { this._Numerations = numerations; if (this.Numerations != null) @@ -79,7 +79,7 @@ public ReceiptPreCreateInfo(Dictionary [DataMember(Name = "numerations", EmitDefaultValue = false)] - public Dictionary>> Numerations + public Dictionary> Numerations { get { return _Numerations; } set @@ -88,7 +88,7 @@ public Dictionary>> Numeratio _flagNumerations = true; } } - private Dictionary>> _Numerations; + private Dictionary> _Numerations; private bool _flagNumerations; /// diff --git a/src/It.FattureInCloud.Sdk/Model/ReceiptType.cs b/src/It.FattureInCloud.Sdk/Model/ReceiptType.cs index e8c8ae98..e4a2400b 100644 --- a/src/It.FattureInCloud.Sdk/Model/ReceiptType.cs +++ b/src/It.FattureInCloud.Sdk/Model/ReceiptType.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ReceivedDocument.cs b/src/It.FattureInCloud.Sdk/Model/ReceivedDocument.cs index d3570fe3..3df7d24b 100644 --- a/src/It.FattureInCloud.Sdk/Model/ReceivedDocument.cs +++ b/src/It.FattureInCloud.Sdk/Model/ReceivedDocument.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -905,6 +905,36 @@ public bool ShouldSerializeUpdatedAt() return _flagUpdatedAt; } /// + /// [Read Only] Received document e-invoice reception date, needs fic_view fieldset + /// + /// [Read Only] Received document e-invoice reception date, needs fic_view fieldset + [DataMember(Name = "ei_reception_date", EmitDefaultValue = true)] + public string EiReceptionDate { get; private set; } + + /// + /// Returns false as EiReceptionDate should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeEiReceptionDate() + { + return false; + } + /// + /// [Read Only] True if received document is generated from pending expenses, needs fic_view fieldset + /// + /// [Read Only] True if received document is generated from pending expenses, needs fic_view fieldset + [DataMember(Name = "is_from_pending_expenses", EmitDefaultValue = true)] + public bool? IsFromPendingExpenses { get; private set; } + + /// + /// Returns false as IsFromPendingExpenses should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeIsFromPendingExpenses() + { + return false; + } + /// /// Returns the string presentation of the object /// /// String presentation of the object @@ -942,6 +972,8 @@ public override string ToString() sb.Append(" Locked: ").Append(Locked).Append("\n"); sb.Append(" CreatedAt: ").Append(CreatedAt).Append("\n"); sb.Append(" UpdatedAt: ").Append(UpdatedAt).Append("\n"); + sb.Append(" EiReceptionDate: ").Append(EiReceptionDate).Append("\n"); + sb.Append(" IsFromPendingExpenses: ").Append(IsFromPendingExpenses).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -1127,6 +1159,16 @@ public bool Equals(ReceivedDocument input) this.UpdatedAt == input.UpdatedAt || (this.UpdatedAt != null && this.UpdatedAt.Equals(input.UpdatedAt)) + ) && + ( + this.EiReceptionDate == input.EiReceptionDate || + (this.EiReceptionDate != null && + this.EiReceptionDate.Equals(input.EiReceptionDate)) + ) && + ( + this.IsFromPendingExpenses == input.IsFromPendingExpenses || + (this.IsFromPendingExpenses != null && + this.IsFromPendingExpenses.Equals(input.IsFromPendingExpenses)) ); } @@ -1256,6 +1298,14 @@ public override int GetHashCode() { hashCode = (hashCode * 59) + this.UpdatedAt.GetHashCode(); } + if (this.EiReceptionDate != null) + { + hashCode = (hashCode * 59) + this.EiReceptionDate.GetHashCode(); + } + if (this.IsFromPendingExpenses != null) + { + hashCode = (hashCode * 59) + this.IsFromPendingExpenses.GetHashCode(); + } return hashCode; } } diff --git a/src/It.FattureInCloud.Sdk/Model/ReceivedDocumentInfo.cs b/src/It.FattureInCloud.Sdk/Model/ReceivedDocumentInfo.cs index 0b983cbb..e3000252 100644 --- a/src/It.FattureInCloud.Sdk/Model/ReceivedDocumentInfo.cs +++ b/src/It.FattureInCloud.Sdk/Model/ReceivedDocumentInfo.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ReceivedDocumentInfoDefaultValues.cs b/src/It.FattureInCloud.Sdk/Model/ReceivedDocumentInfoDefaultValues.cs index bf809f04..a55c930a 100644 --- a/src/It.FattureInCloud.Sdk/Model/ReceivedDocumentInfoDefaultValues.cs +++ b/src/It.FattureInCloud.Sdk/Model/ReceivedDocumentInfoDefaultValues.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ReceivedDocumentInfoItemsDefaultValues.cs b/src/It.FattureInCloud.Sdk/Model/ReceivedDocumentInfoItemsDefaultValues.cs index aaaed09f..27101d1a 100644 --- a/src/It.FattureInCloud.Sdk/Model/ReceivedDocumentInfoItemsDefaultValues.cs +++ b/src/It.FattureInCloud.Sdk/Model/ReceivedDocumentInfoItemsDefaultValues.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ReceivedDocumentItemsListItem.cs b/src/It.FattureInCloud.Sdk/Model/ReceivedDocumentItemsListItem.cs index dbb62b2c..44afa0a3 100644 --- a/src/It.FattureInCloud.Sdk/Model/ReceivedDocumentItemsListItem.cs +++ b/src/It.FattureInCloud.Sdk/Model/ReceivedDocumentItemsListItem.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -45,7 +45,8 @@ public partial class ReceivedDocumentItemsListItem : IEquatableReceived document item quantity. /// vat. /// Received document item product number of items in stock. - public ReceivedDocumentItemsListItem(int? id = default, int? productId = default, string code = default, string name = default, string measure = default, decimal? netPrice = default, string category = default, decimal? qty = default, VatType vat = default, decimal? stock = default) + /// Received document item deductibility vat percentage. + public ReceivedDocumentItemsListItem(int? id = default, int? productId = default, string code = default, string name = default, string measure = default, decimal? netPrice = default, string category = default, decimal? qty = default, VatType vat = default, decimal? stock = default, decimal? deductibilityVatPercentage = default) { this._Id = id; if (this.Id != null) @@ -97,6 +98,11 @@ public ReceivedDocumentItemsListItem(int? id = default, int? productId = default { this._flagStock = true; } + this._DeductibilityVatPercentage = deductibilityVatPercentage; + if (this.DeductibilityVatPercentage != null) + { + this._flagDeductibilityVatPercentage = true; + } } /// @@ -349,6 +355,31 @@ public bool ShouldSerializeStock() return _flagStock; } /// + /// Received document item deductibility vat percentage + /// + /// Received document item deductibility vat percentage + [DataMember(Name = "deductibility_vat_percentage", EmitDefaultValue = true)] + public decimal? DeductibilityVatPercentage + { + get { return _DeductibilityVatPercentage; } + set + { + _DeductibilityVatPercentage = value; + _flagDeductibilityVatPercentage = true; + } + } + private decimal? _DeductibilityVatPercentage; + private bool _flagDeductibilityVatPercentage; + + /// + /// Returns false as DeductibilityVatPercentage should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeDeductibilityVatPercentage() + { + return _flagDeductibilityVatPercentage; + } + /// /// Returns the string presentation of the object /// /// String presentation of the object @@ -366,6 +397,7 @@ public override string ToString() sb.Append(" Qty: ").Append(Qty).Append("\n"); sb.Append(" Vat: ").Append(Vat).Append("\n"); sb.Append(" Stock: ").Append(Stock).Append("\n"); + sb.Append(" DeductibilityVatPercentage: ").Append(DeductibilityVatPercentage).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -450,6 +482,11 @@ public bool Equals(ReceivedDocumentItemsListItem input) this.Stock == input.Stock || (this.Stock != null && this.Stock.Equals(input.Stock)) + ) && + ( + this.DeductibilityVatPercentage == input.DeductibilityVatPercentage || + (this.DeductibilityVatPercentage != null && + this.DeductibilityVatPercentage.Equals(input.DeductibilityVatPercentage)) ); } @@ -502,6 +539,10 @@ public override int GetHashCode() { hashCode = (hashCode * 59) + this.Stock.GetHashCode(); } + if (this.DeductibilityVatPercentage != null) + { + hashCode = (hashCode * 59) + this.DeductibilityVatPercentage.GetHashCode(); + } return hashCode; } } diff --git a/src/It.FattureInCloud.Sdk/Model/ReceivedDocumentPaymentsListItem.cs b/src/It.FattureInCloud.Sdk/Model/ReceivedDocumentPaymentsListItem.cs index 38ae2770..cbc07857 100644 --- a/src/It.FattureInCloud.Sdk/Model/ReceivedDocumentPaymentsListItem.cs +++ b/src/It.FattureInCloud.Sdk/Model/ReceivedDocumentPaymentsListItem.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ReceivedDocumentPaymentsListItemPaymentTerms.cs b/src/It.FattureInCloud.Sdk/Model/ReceivedDocumentPaymentsListItemPaymentTerms.cs index a14aa309..02567a15 100644 --- a/src/It.FattureInCloud.Sdk/Model/ReceivedDocumentPaymentsListItemPaymentTerms.cs +++ b/src/It.FattureInCloud.Sdk/Model/ReceivedDocumentPaymentsListItemPaymentTerms.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ReceivedDocumentTotals.cs b/src/It.FattureInCloud.Sdk/Model/ReceivedDocumentTotals.cs index 519000bf..91c2ed43 100644 --- a/src/It.FattureInCloud.Sdk/Model/ReceivedDocumentTotals.cs +++ b/src/It.FattureInCloud.Sdk/Model/ReceivedDocumentTotals.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ReceivedDocumentType.cs b/src/It.FattureInCloud.Sdk/Model/ReceivedDocumentType.cs index ef6a99a4..8cb0c9e5 100644 --- a/src/It.FattureInCloud.Sdk/Model/ReceivedDocumentType.cs +++ b/src/It.FattureInCloud.Sdk/Model/ReceivedDocumentType.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ScheduleEmailRequest.cs b/src/It.FattureInCloud.Sdk/Model/ScheduleEmailRequest.cs index 9574c794..4d66ca62 100644 --- a/src/It.FattureInCloud.Sdk/Model/ScheduleEmailRequest.cs +++ b/src/It.FattureInCloud.Sdk/Model/ScheduleEmailRequest.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/SendEInvoiceRequest.cs b/src/It.FattureInCloud.Sdk/Model/SendEInvoiceRequest.cs index 8eab9323..e5856dd9 100644 --- a/src/It.FattureInCloud.Sdk/Model/SendEInvoiceRequest.cs +++ b/src/It.FattureInCloud.Sdk/Model/SendEInvoiceRequest.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/SendEInvoiceRequestData.cs b/src/It.FattureInCloud.Sdk/Model/SendEInvoiceRequestData.cs index d50abfe7..c9b51b26 100644 --- a/src/It.FattureInCloud.Sdk/Model/SendEInvoiceRequestData.cs +++ b/src/It.FattureInCloud.Sdk/Model/SendEInvoiceRequestData.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/SendEInvoiceRequestOptions.cs b/src/It.FattureInCloud.Sdk/Model/SendEInvoiceRequestOptions.cs index 7dc236d2..c07c01dd 100644 --- a/src/It.FattureInCloud.Sdk/Model/SendEInvoiceRequestOptions.cs +++ b/src/It.FattureInCloud.Sdk/Model/SendEInvoiceRequestOptions.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/SendEInvoiceResponse.cs b/src/It.FattureInCloud.Sdk/Model/SendEInvoiceResponse.cs index 6d986b79..97da5934 100644 --- a/src/It.FattureInCloud.Sdk/Model/SendEInvoiceResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/SendEInvoiceResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/SendEInvoiceResponseData.cs b/src/It.FattureInCloud.Sdk/Model/SendEInvoiceResponseData.cs index 8252a35d..67927e2e 100644 --- a/src/It.FattureInCloud.Sdk/Model/SendEInvoiceResponseData.cs +++ b/src/It.FattureInCloud.Sdk/Model/SendEInvoiceResponseData.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/SenderEmail.cs b/src/It.FattureInCloud.Sdk/Model/SenderEmail.cs index 85645624..a5aaf307 100644 --- a/src/It.FattureInCloud.Sdk/Model/SenderEmail.cs +++ b/src/It.FattureInCloud.Sdk/Model/SenderEmail.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/ShowTotalsMode.cs b/src/It.FattureInCloud.Sdk/Model/ShowTotalsMode.cs index 2c64cc79..6828b76a 100644 --- a/src/It.FattureInCloud.Sdk/Model/ShowTotalsMode.cs +++ b/src/It.FattureInCloud.Sdk/Model/ShowTotalsMode.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/Supplier.cs b/src/It.FattureInCloud.Sdk/Model/Supplier.cs index a771b202..829d4c19 100644 --- a/src/It.FattureInCloud.Sdk/Model/Supplier.cs +++ b/src/It.FattureInCloud.Sdk/Model/Supplier.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/SupplierType.cs b/src/It.FattureInCloud.Sdk/Model/SupplierType.cs index 7ad53010..29024668 100644 --- a/src/It.FattureInCloud.Sdk/Model/SupplierType.cs +++ b/src/It.FattureInCloud.Sdk/Model/SupplierType.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/TaxProfile.cs b/src/It.FattureInCloud.Sdk/Model/TaxProfile.cs index 855f0634..ed5f078a 100644 --- a/src/It.FattureInCloud.Sdk/Model/TaxProfile.cs +++ b/src/It.FattureInCloud.Sdk/Model/TaxProfile.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/TemplateType.cs b/src/It.FattureInCloud.Sdk/Model/TemplateType.cs new file mode 100644 index 00000000..089de336 --- /dev/null +++ b/src/It.FattureInCloud.Sdk/Model/TemplateType.cs @@ -0,0 +1,55 @@ +/* + * Fatture in Cloud API v2 - API Reference + * + * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. + * + * The version of the OpenAPI document: 2.1.8 + * Contact: info@fattureincloud.it + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = It.FattureInCloud.Sdk.Client.OpenAPIDateConverter; + +namespace It.FattureInCloud.Sdk.Model +{ + /// + /// Template type + /// + /// Template type + [JsonConverter(typeof(StringEnumConverter))] + public enum TemplateType + { + /// + /// Enum Standard for value: standard + /// + [EnumMember(Value = "standard")] + Standard = 1, + + /// + /// Enum DeliveryNote for value: delivery_note + /// + [EnumMember(Value = "delivery_note")] + DeliveryNote = 2, + + /// + /// Enum AccompanyingInvoice for value: accompanying_invoice + /// + [EnumMember(Value = "accompanying_invoice")] + AccompanyingInvoice = 3 + } + +} diff --git a/src/It.FattureInCloud.Sdk/Model/TransformIssuedDocumentResponse.cs b/src/It.FattureInCloud.Sdk/Model/TransformIssuedDocumentResponse.cs index 0a0bb4a8..3b702dbd 100644 --- a/src/It.FattureInCloud.Sdk/Model/TransformIssuedDocumentResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/TransformIssuedDocumentResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/UploadArchiveAttachmentResponse.cs b/src/It.FattureInCloud.Sdk/Model/UploadArchiveAttachmentResponse.cs index 7b7c62c0..339ad76b 100644 --- a/src/It.FattureInCloud.Sdk/Model/UploadArchiveAttachmentResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/UploadArchiveAttachmentResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/UploadF24AttachmentResponse.cs b/src/It.FattureInCloud.Sdk/Model/UploadF24AttachmentResponse.cs index 236b71a8..a7a44827 100644 --- a/src/It.FattureInCloud.Sdk/Model/UploadF24AttachmentResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/UploadF24AttachmentResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/UploadIssuedDocumentAttachmentResponse.cs b/src/It.FattureInCloud.Sdk/Model/UploadIssuedDocumentAttachmentResponse.cs index c2747e5e..167ebebf 100644 --- a/src/It.FattureInCloud.Sdk/Model/UploadIssuedDocumentAttachmentResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/UploadIssuedDocumentAttachmentResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/UploadReceivedDocumentAttachmentResponse.cs b/src/It.FattureInCloud.Sdk/Model/UploadReceivedDocumentAttachmentResponse.cs index 3728fd6f..0299a2f5 100644 --- a/src/It.FattureInCloud.Sdk/Model/UploadReceivedDocumentAttachmentResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/UploadReceivedDocumentAttachmentResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/User.cs b/src/It.FattureInCloud.Sdk/Model/User.cs index f761bb10..d7070daf 100644 --- a/src/It.FattureInCloud.Sdk/Model/User.cs +++ b/src/It.FattureInCloud.Sdk/Model/User.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/UserCompanyRole.cs b/src/It.FattureInCloud.Sdk/Model/UserCompanyRole.cs index 48d55fd2..ee3bfa39 100644 --- a/src/It.FattureInCloud.Sdk/Model/UserCompanyRole.cs +++ b/src/It.FattureInCloud.Sdk/Model/UserCompanyRole.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/VatItem.cs b/src/It.FattureInCloud.Sdk/Model/VatItem.cs index 329c648d..4291dbe9 100644 --- a/src/It.FattureInCloud.Sdk/Model/VatItem.cs +++ b/src/It.FattureInCloud.Sdk/Model/VatItem.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/VatKind.cs b/src/It.FattureInCloud.Sdk/Model/VatKind.cs index 331275bc..277400be 100644 --- a/src/It.FattureInCloud.Sdk/Model/VatKind.cs +++ b/src/It.FattureInCloud.Sdk/Model/VatKind.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/VatType.cs b/src/It.FattureInCloud.Sdk/Model/VatType.cs index 361d5495..0a85754c 100644 --- a/src/It.FattureInCloud.Sdk/Model/VatType.cs +++ b/src/It.FattureInCloud.Sdk/Model/VatType.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/VerifyEInvoiceXmlErrorResponse.cs b/src/It.FattureInCloud.Sdk/Model/VerifyEInvoiceXmlErrorResponse.cs index fe923690..5ed65839 100644 --- a/src/It.FattureInCloud.Sdk/Model/VerifyEInvoiceXmlErrorResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/VerifyEInvoiceXmlErrorResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/VerifyEInvoiceXmlErrorResponseError.cs b/src/It.FattureInCloud.Sdk/Model/VerifyEInvoiceXmlErrorResponseError.cs index a3e27db0..e3dd3be4 100644 --- a/src/It.FattureInCloud.Sdk/Model/VerifyEInvoiceXmlErrorResponseError.cs +++ b/src/It.FattureInCloud.Sdk/Model/VerifyEInvoiceXmlErrorResponseError.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/VerifyEInvoiceXmlErrorResponseErrorValidationResult.cs b/src/It.FattureInCloud.Sdk/Model/VerifyEInvoiceXmlErrorResponseErrorValidationResult.cs index 8d77bf89..dec1ff0c 100644 --- a/src/It.FattureInCloud.Sdk/Model/VerifyEInvoiceXmlErrorResponseErrorValidationResult.cs +++ b/src/It.FattureInCloud.Sdk/Model/VerifyEInvoiceXmlErrorResponseErrorValidationResult.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/VerifyEInvoiceXmlErrorResponseExtra.cs b/src/It.FattureInCloud.Sdk/Model/VerifyEInvoiceXmlErrorResponseExtra.cs index 6660664b..a19de5ba 100644 --- a/src/It.FattureInCloud.Sdk/Model/VerifyEInvoiceXmlErrorResponseExtra.cs +++ b/src/It.FattureInCloud.Sdk/Model/VerifyEInvoiceXmlErrorResponseExtra.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/VerifyEInvoiceXmlResponse.cs b/src/It.FattureInCloud.Sdk/Model/VerifyEInvoiceXmlResponse.cs index ea61c6ea..ba62bca5 100644 --- a/src/It.FattureInCloud.Sdk/Model/VerifyEInvoiceXmlResponse.cs +++ b/src/It.FattureInCloud.Sdk/Model/VerifyEInvoiceXmlResponse.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/VerifyEInvoiceXmlResponseData.cs b/src/It.FattureInCloud.Sdk/Model/VerifyEInvoiceXmlResponseData.cs index a894ea2e..f57bd48b 100644 --- a/src/It.FattureInCloud.Sdk/Model/VerifyEInvoiceXmlResponseData.cs +++ b/src/It.FattureInCloud.Sdk/Model/VerifyEInvoiceXmlResponseData.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/VerifyWebhooksSubscription.cs b/src/It.FattureInCloud.Sdk/Model/VerifyWebhooksSubscription.cs index dc1f9ad7..66aead13 100644 --- a/src/It.FattureInCloud.Sdk/Model/VerifyWebhooksSubscription.cs +++ b/src/It.FattureInCloud.Sdk/Model/VerifyWebhooksSubscription.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/VerifyWebhooksSubscriptionRequest.cs b/src/It.FattureInCloud.Sdk/Model/VerifyWebhooksSubscriptionRequest.cs index 79f0ff40..812ff4f1 100644 --- a/src/It.FattureInCloud.Sdk/Model/VerifyWebhooksSubscriptionRequest.cs +++ b/src/It.FattureInCloud.Sdk/Model/VerifyWebhooksSubscriptionRequest.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/WebhooksSubscription.cs b/src/It.FattureInCloud.Sdk/Model/WebhooksSubscription.cs index 14d5aa85..35ed71a6 100644 --- a/src/It.FattureInCloud.Sdk/Model/WebhooksSubscription.cs +++ b/src/It.FattureInCloud.Sdk/Model/WebhooksSubscription.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/WebhooksSubscriptionConfig.cs b/src/It.FattureInCloud.Sdk/Model/WebhooksSubscriptionConfig.cs index 7e3511f3..92c78765 100644 --- a/src/It.FattureInCloud.Sdk/Model/WebhooksSubscriptionConfig.cs +++ b/src/It.FattureInCloud.Sdk/Model/WebhooksSubscriptionConfig.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/WebhooksSubscriptionMapping.cs b/src/It.FattureInCloud.Sdk/Model/WebhooksSubscriptionMapping.cs index 95a66e49..cbf7cd9d 100644 --- a/src/It.FattureInCloud.Sdk/Model/WebhooksSubscriptionMapping.cs +++ b/src/It.FattureInCloud.Sdk/Model/WebhooksSubscriptionMapping.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/It.FattureInCloud.Sdk/Model/WebhooksSubscriptionVerificationMethod.cs b/src/It.FattureInCloud.Sdk/Model/WebhooksSubscriptionVerificationMethod.cs index a03a83b8..30ddd508 100644 --- a/src/It.FattureInCloud.Sdk/Model/WebhooksSubscriptionVerificationMethod.cs +++ b/src/It.FattureInCloud.Sdk/Model/WebhooksSubscriptionVerificationMethod.cs @@ -3,7 +3,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.1.5 + * The version of the OpenAPI document: 2.1.8 * Contact: info@fattureincloud.it * Generated by: https://github.com/openapitools/openapi-generator.git */ From ec1db80ac9a3759166dea30ae7c604d17ed72061 Mon Sep 17 00:00:00 2001 From: Antonino Segreto Date: Thu, 30 Apr 2026 17:55:43 +0200 Subject: [PATCH 2/2] fix tests --- src/It.FattureInCloud.Sdk.Test/Api/InfoApiTests.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/It.FattureInCloud.Sdk.Test/Api/InfoApiTests.cs b/src/It.FattureInCloud.Sdk.Test/Api/InfoApiTests.cs index 8b78ba56..ede0c1cd 100644 --- a/src/It.FattureInCloud.Sdk.Test/Api/InfoApiTests.cs +++ b/src/It.FattureInCloud.Sdk.Test/Api/InfoApiTests.cs @@ -135,7 +135,7 @@ public InfoApiTests() listTemplatesResponseBody = "{'data':[{'id':10,'name':'New Standard S1'},{'id':106,'name':'Minimalist'}]}"; var listTemplatesResponse = JsonConvert.DeserializeObject(listTemplatesResponseBody); instance - .Setup(p => p.ListTemplates(Moq.It.IsAny(), Moq.It.IsAny(), 0)) + .Setup(p => p.ListDefaultTemplates(Moq.It.IsAny(), Moq.It.IsAny(), 0)) .Returns(listTemplatesResponse); listUnitsOfMeasureResponseBody = "{'data':['pezzi','kg','litri','ore','giorni','km','mesi']}"; @@ -353,7 +353,7 @@ public void ListTemplatesTest() string type = ""; bool? byType = true; - var response = instance.Object.ListTemplates(type, byType); + var response = instance.Object.ListDefaultTemplates(type, byType); JObject obj = JObject.Parse(listTemplatesResponseBody); Assert.True(JToken.DeepEquals(obj, JObject.FromObject(response)));