diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index bd47aaa0..4b937584 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -269,23 +269,7 @@ 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/Api/ArchiveApi.cs src/It.FattureInCloud.Sdk/Api/CashbookApi.cs src/It.FattureInCloud.Sdk/Api/ClientsApi.cs diff --git a/.openapi-generator/VERSION b/.openapi-generator/VERSION index e465da43..971ecb25 100644 --- a/.openapi-generator/VERSION +++ b/.openapi-generator/VERSION @@ -1 +1 @@ -7.14.0 +7.16.0 diff --git a/It.FattureInCloud.Sdk.sln b/It.FattureInCloud.Sdk.sln index 85003dfa..443ff7c8 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", "{5C313711-14C9-4AC6-9AB7-51A0229D0D4B}" 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 + {5C313711-14C9-4AC6-9AB7-51A0229D0D4B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {5C313711-14C9-4AC6-9AB7-51A0229D0D4B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {5C313711-14C9-4AC6-9AB7-51A0229D0D4B}.Release|Any CPU.ActiveCfg = Release|Any CPU + {5C313711-14C9-4AC6-9AB7-51A0229D0D4B}.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..105a8785 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ 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 +- SDK version: 2.1.3 - Build package: org.openapitools.codegen.languages.CSharpClientCodegen diff --git a/api/openapi.yaml b/api/openapi.yaml index fe40382d..e6ac4120 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -40,7 +40,28 @@ 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: "" "401": description: Unauthorized. security: @@ -55,7 +76,83 @@ 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. "401": description: Unauthorized security: @@ -79,7 +176,107 @@ 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. "401": description: Unauthorized. security: @@ -116,7 +313,17 @@ 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 "401": description: Unauthorized. security: @@ -196,7 +403,99 @@ 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 "401": description: Unauthorized security: @@ -263,7 +562,53 @@ 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 security: - OAuth2AuthenticationCodeFlow: - entity.clients:a @@ -347,7 +692,48 @@ paths: 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. "401": description: Unauthorized "404": @@ -425,7 +811,48 @@ 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. "401": description: Unauthorized "404": @@ -452,7 +879,56 @@ 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 "401": description: Unauthorized "404": @@ -535,7 +1011,69 @@ 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 "401": description: Unauthorized security: @@ -589,7 +1127,37 @@ 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 security: - OAuth2AuthenticationCodeFlow: - entity.suppliers:a @@ -673,7 +1241,37 @@ paths: 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 "401": description: Unauthorized "404": @@ -738,7 +1336,37 @@ 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 "401": description: Unauthorized "404": @@ -821,7 +1449,62 @@ 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. "401": description: Unauthorized security: @@ -870,7 +1553,33 @@ 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 security: - OAuth2AuthenticationCodeFlow: - products:a @@ -954,7 +1663,37 @@ paths: 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 "401": description: Unauthorized "404": @@ -1013,7 +1752,37 @@ 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 "401": description: Unauthorized "404": @@ -1127,7 +1896,82 @@ 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. "401": description: Unauthorized "404": @@ -1225,7 +2069,126 @@ 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. "401": description: Unauthorized security: @@ -1324,7 +2287,127 @@ paths: 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. "401": description: Unauthorized "404": @@ -1427,7 +2510,127 @@ 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 "401": description: Unauthorized "404": @@ -1562,7 +2765,26 @@ 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. "401": description: Unauthorized security: @@ -1604,7 +2826,28 @@ 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. "401": description: Unauthorized "404": @@ -1643,7 +2886,16 @@ 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. "401": description: Unauthorized security: @@ -1721,13025 +2973,15213 @@ 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 + 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. + 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 + 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": + 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 + "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": + content: + application/json: + examples: + example-1: + value: + data: + success: true + schema: + $ref: "#/components/schemas/VerifyEInvoiceXmlResponse" + description: Example response + "401": + description: Unauthorized + "404": + description: Not Found + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/VerifyEInvoiceXmlErrorResponse" + description: Example response + 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: "" + "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": + 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 + 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": + 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. + "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": + 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. + 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": + 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. + "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": + 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. + "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": + 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. + "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": + 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. + 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. + "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": + 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 + 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": + 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. + "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": + 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. + "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": + 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. + "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": + 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. + "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": + 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. + "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": + 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. + "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": + 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. + "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": + 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 + "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": + 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 + "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": + 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 + "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": + content: + application/json: + examples: + example-1: + value: + data: + attachment_token: YmMyNWYxYzIwMTU3N2Y4ZGE3ZjZiMzg5OWY0ODNkZDQveXl5LmRvYw + schema: + $ref: "#/components/schemas/UploadF24AttachmentResponse" + description: Attachment Token. + 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": + 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. + "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": + 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. + "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": + 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 + "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": + 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 + "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": + content: + application/json: + examples: + example-1: + value: + data: + attachment_token: YmMyNWYxYzIwMTU3N212ABCDZjZiMzg5OWY0ODNkZDQveXl5LmRvYw + schema: + $ref: "#/components/schemas/UploadArchiveAttachmentResponse" + description: Example response + "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": + 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. + "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": + 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. + "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": + 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. + "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": + 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 + "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": + content: + application/json: + examples: + example-1: + value: + data: + - Italia + - Afghanistan + - Albania + - Algeria + - Andorra + - Angola + - Anguilla + - '...' + schema: + $ref: "#/components/schemas/ListCountriesResponse" + description: List of countries + "401": + description: Unauthorized + 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 + "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": + 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. + 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 + "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 - 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: + 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. + "401": + description: Unauthorized + security: + - OAuth2AuthenticationCodeFlow: [] + summary: List 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. + "401": + description: Unauthorized + 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. + "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": + 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 + "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": + 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. + "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": + 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. + "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": + 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. + "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": + content: + application/json: + examples: + example-1: + value: + data: + - Negozio Bergamo + - Negozio Milano + schema: + $ref: "#/components/schemas/ListRevenueCentersResponse" + description: List of Revenue Centers + "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": + content: + application/json: + examples: + example-1: + value: + data: + - Negozio Bergamo + - Negozio Milano + schema: + $ref: "#/components/schemas/ListCostCentersResponse" + description: List of Cost Centers + "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": + content: + application/json: + examples: + example-1: + value: + data: + - Alimentari + - Arredamento + schema: + $ref: "#/components/schemas/ListProductCategoriesResponse" + description: Product Categories List + "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": + 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 + 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. + "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": + 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 + 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": + 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 + 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 + 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 + 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 + 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": + 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 + 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 + 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 + 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": + 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 + 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 + 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 + 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 + 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": + 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 + 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 + 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 + 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": + 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 + 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 + 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": + 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 + 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": + 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 + 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": + 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 + 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": + 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 + 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": + 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 + "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": + content: + application/json: + examples: + example-1: + value: + data: + "1": + price: 3.5 + "2": + price: 5 + schema: + $ref: "#/components/schemas/GetPriceListItemsResponse" + description: Example response + "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: "" - 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: + 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: "" - 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: + 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: + GetUserInfoResponse: description: "" example: + email_confirmation_state: + need_confirmation: true 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 + 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/CashbookEntry" - title: CreateCashbookEntryRequest + $ref: "#/components/schemas/User" + info: + $ref: "#/components/schemas/GetUserInfoResponse_info" + email_confirmation_state: + $ref: "#/components/schemas/GetUserInfoResponse_email_confirmation_state" + title: GetUserInfoResponse type: object - ModifyCashbookEntryRequest: + ListUserCompaniesResponse: 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 + 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/PaymentMethod" - title: ModifyPaymentMethodRequest + $ref: "#/components/schemas/ListUserCompaniesResponse_data" + title: ListUserCompaniesResponse type: object - CreatePaymentAccountRequest: + GetCompanyInfoResponse: + description: "" example: data: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard + 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/PaymentAccount" - title: CreatePaymentAccountRequest + $ref: "#/components/schemas/CompanyInfo" + title: GetCompanyInfoResponse type: object - ModifyPaymentAccountRequest: + GetCompanyPlanUsageResponse: + description: "" example: data: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard + usage: 6.027456183070403 + limit: 0.8008281904610115 properties: data: - $ref: "#/components/schemas/PaymentAccount" - title: ModifyPaymentAccountRequest + $ref: "#/components/schemas/CompanyPlanUsage" + title: GetCompanyPlanUsageResponse type: object - CreateVatTypeRequest: + 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: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + - 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 - 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" + 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 - 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: "" + 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: - 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 + 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/ListUserCompaniesResponse_data" - title: ListUserCompaniesResponse + $ref: "#/components/schemas/Client" + title: CreateClientRequest type: object - GetCompanyInfoResponse: - description: "" + CreateClientResponse: 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 + 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 - email: mario@rossi-example.it + 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/CompanyInfo" - title: GetCompanyInfoResponse + $ref: "#/components/schemas/Client" + title: CreateClientResponse type: object - CreateClientResponse: + GetClientResponse: example: data: country: Italia @@ -14821,19 +18261,13 @@ components: properties: data: $ref: "#/components/schemas/Client" - title: CreateClientResponse + title: GetClientResponse type: object - ListClientsResponse: - allOf: - - $ref: "#/components/schemas/Pagination" - - $ref: "#/components/schemas/ListClientsResponsePage" + ModifyClientRequest: + description: "" example: - first_page_url: https://openapi-generator.tech - path: https://openapi-generator.tech - per_page: 5 - total: 2 data: - - country: Italia + country: Italia code: "123" notes: notes ei_code: ei_code @@ -14909,7 +18343,15 @@ components: certified_email: mario.rossi@pec.example.it has_intent_declaration: true intent_declaration_protocol_date: 2000-01-23 - - country: Italia + properties: + data: + $ref: "#/components/schemas/Client" + title: ModifyClientRequest + type: object + ModifyClientResponse: + example: + data: + country: Italia code: "123" notes: notes ei_code: ei_code @@ -14972,27 +18414,143 @@ components: 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 + 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 + 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 ListSuppliersResponse: allOf: - $ref: "#/components/schemas/Pagination" @@ -15059,7 +18617,7 @@ components: prev_page_url: https://openapi-generator.tech current_page: 0 title: ListSuppliersResponse - CreateSupplierResponse: + CreateSupplierRequest: example: data: country: Italia @@ -15089,177 +18647,73 @@ components: properties: data: $ref: "#/components/schemas/Supplier" - title: CreateSupplierResponse + title: CreateSupplierRequest type: object - GetClientResponse: + CreateSupplierResponse: example: data: country: Italia code: "123" notes: notes - ei_code: ei_code - default_payment_terms_type: standard - discount_highlight: true + 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 - 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 + address_province: BG + updated_at: updated_at 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 + 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 - 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 + email: mario.rossi@example.it + properties: + data: + $ref: "#/components/schemas/Supplier" + title: CreateSupplierResponse + 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 - price_list_id: price_list_id + created_at: created_at + type: company + address_extra: address_extra address_city: Bergamo tax_code: RSSMRA44A12E890Q - intent_declaration_protocol_number: intent_declaration_protocol_number + address_province: BG + updated_at: updated_at phone: phone address_street: "Via dei tigli, 12" - e_invoice: true name: Rossi S.r.l. - default_payment_terms: 30 + id: 7 certified_email: mario.rossi@pec.example.it - has_intent_declaration: true - intent_declaration_protocol_date: 2000-01-23 + fax: fax + first_name: first_name + bank_iban: bank_iban + country_iso: Italia + email: mario.rossi@example.it properties: data: - $ref: "#/components/schemas/Client" - title: ModifyClientResponse + $ref: "#/components/schemas/Supplier" + title: GetSupplierResponse type: object - GetSupplierResponse: + ModifySupplierRequest: example: data: country: Italia @@ -15289,7 +18743,7 @@ components: properties: data: $ref: "#/components/schemas/Supplier" - title: GetSupplierResponse + title: ModifySupplierRequest type: object ModifySupplierResponse: example: @@ -15399,44 +18853,7 @@ components: 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: + CreateProductRequest: example: data: code: code @@ -15471,9 +18888,9 @@ components: properties: data: $ref: "#/components/schemas/Product" - title: GetProductResponse + title: CreateProductRequest type: object - ModifyProductResponse: + CreateProductResponse: example: data: code: code @@ -15502,338 +18919,135 @@ components: 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 + 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 - 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 + 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 - 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 + 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 - 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 + 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 - 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 + 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 @@ -16148,18 +19362,7 @@ components: 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: - example: - data: - date: 2000-01-23 + - date: 2000-01-23 numeration: /A notes: notes year: 3 @@ -16473,12 +19676,15 @@ components: 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_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 @@ -16795,12 +20001,22 @@ components: 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" - title: GetIssuedDocumentResponse + options: + $ref: "#/components/schemas/IssuedDocumentOptions" + title: CreateIssuedDocumentRequest type: object - ModifyIssuedDocumentResponse: + CreateIssuedDocumentResponse: example: data: date: 2000-01-23 @@ -17120,109 +20336,110 @@ components: properties: data: $ref: "#/components/schemas/IssuedDocument" - title: ModifyIssuedDocumentResponse - type: object - GetNewIssuedDocumentTotalsResponse: - description: "" - 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 - properties: - data: - $ref: "#/components/schemas/IssuedDocumentTotals" - title: GetNewIssuedDocumentTotalsResponse - type: object - GetExistingIssuedDocumentTotalsResponse: - description: "" - 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 - properties: - data: - $ref: "#/components/schemas/IssuedDocumentTotals" - title: GetExistingIssuedDocumentTotalsResponse - type: object - UploadIssuedDocumentAttachmentResponse: - example: - data: - attachment_token: YmMyNWYxYzIwMTU3N2Y4ZGE3ZjZiMzg5OWY0ODNkZDQveXl5LmRvYw - properties: - data: - $ref: "#/components/schemas/AttachmentData" - title: UploadIssuedDocumentAttachmentResponse + title: CreateIssuedDocumentResponse type: object - GetIssuedDocumentPreCreateInfoResponse: + GetIssuedDocumentResponse: 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 + 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 - details: - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title + od_number: od_number + od_date: 2000-01-23 bank_beneficiary: bank_beneficiary - id: 3 - type: standard - is_default: true - ei_payment_method: ei_payment_method + vat_kind: null bank_iban: bank_iban - - default_payment_account: + 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 @@ -17249,23 +20466,131 @@ components: 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: + 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" @@ -17276,85 +20601,19 @@ 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 - - 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: + 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 @@ -17379,121 +20638,192 @@ components: 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" + 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/IssuedDocumentPreCreateInfo" - title: GetIssuedDocumentPreCreateInfoResponse - type: object - GetEmailDataResponse: - 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 - properties: - data: - $ref: "#/components/schemas/EmailData" - title: GetEmailDataResponse - type: object - SendEInvoiceResponse: - example: - data: - date: date - name: name - properties: - data: - $ref: "#/components/schemas/SendEInvoiceResponse_data" - title: SendEInvoiceResponse - type: object - VerifyEInvoiceXmlResponse: - example: - data: - success: 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/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/IssuedDocument" + title: GetIssuedDocumentResponse type: object - ListReceivedDocumentsResponse: - allOf: - - $ref: "#/components/schemas/Pagination" - - $ref: "#/components/schemas/ListReceivedDocumentsResponsePage" + ModifyIssuedDocumentRequest: 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_preview_url: attachment_preview_url - auto_calculate: true - tax_deductibility: 1.0246457001441578 - description: description + 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 - 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 +20832,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,26 +20849,71 @@ 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: 2 + 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: + 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" @@ -17548,15 +20924,110 @@ components: 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 + 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 + ModifyIssuedDocumentResponse: + 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 @@ -17568,39 +21039,24 @@ components: description: Non imponibile art. 123 id: 9 value: 22 - net_price: 1.1730742509559433 - id: 6 + 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: 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: + 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" @@ -17611,68 +21067,95 @@ 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: + 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 - 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 - 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: 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 - 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 +21164,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 +21181,59 @@ 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: 2 + 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: 6.704019297950036 + amount_other_withholding_tax_taxable: 4.652396432933246 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: 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: 2.027123023002322 - e_invoice: true - category: category - amount_gross: 7.386281948385884 + 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" @@ -17842,71 +21308,48 @@ 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 + properties: + data: + $ref: "#/components/schemas/IssuedDocument" + title: ModifyIssuedDocumentResponse + type: object + GetNewIssuedDocumentTotalsRequest: 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 @@ -17918,15 +21361,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 @@ -17938,27 +21389,173 @@ components: description: Non imponibile art. 123 id: 9 value: 22 - net_price: 1.1730742509559433 - id: 6 + 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: 5.025004791520295 + 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 - 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: 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: 2.027123023002322 - e_invoice: true - category: category - amount_gross: 7.386281948385884 + 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" @@ -18033,26 +21630,144 @@ 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: GetNewIssuedDocumentTotalsRequest type: object - GetReceivedDocumentResponse: + GetNewIssuedDocumentTotalsResponse: description: "" + 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 + properties: + data: + $ref: "#/components/schemas/IssuedDocumentTotals" + title: GetNewIssuedDocumentTotalsResponse + type: object + GetExistingIssuedDocumentTotalsRequest: 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: + 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 @@ -18060,14 +21775,77 @@ components: sia: sia id: 2 type: standard - due_date: 2000-01-23 - id: 9 - payment_terms: - days: 6 + 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 - paid_date: 2000-01-23 - status: status - - amount: 9.369310271410669 + 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 @@ -18076,77 +21854,59 @@ 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: 2 + 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: 6.704019297950036 + amount_other_withholding_tax_taxable: 4.652396432933246 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: 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: 2.027123023002322 - e_invoice: true - category: category - amount_gross: 7.386281948385884 + 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" @@ -18221,26 +21981,74 @@ 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: GetReceivedDocumentResponse + $ref: "#/components/schemas/IssuedDocument" + title: GetExistingIssuedDocumentTotalsRequest type: object - ModifyReceivedDocumentResponse: + GetExistingIssuedDocumentTotalsResponse: 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: + 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/IssuedDocumentTotals" + title: GetExistingIssuedDocumentTotalsResponse + 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 + UploadIssuedDocumentAttachmentResponse: + example: + data: + 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 @@ -18248,15 +22056,26 @@ 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 - - amount: 9.369310271410669 - 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 @@ -18264,25 +22083,41 @@ 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 + 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 @@ -18294,82 +22129,85 @@ components: description: Non imponibile art. 123 id: 9 value: 22 - net_price: 1.1730742509559433 - id: 6 - category: category - stock: 5.025004791520295 + 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 - 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: € + - 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 - 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" + - 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 - 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: + 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 @@ -18397,132 +22235,153 @@ components: 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" + 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 - 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 properties: data: - $ref: "#/components/schemas/ReceivedDocument" - title: ModifyReceivedDocumentResponse + $ref: "#/components/schemas/IssuedDocumentPreCreateInfo" + title: GetIssuedDocumentPreCreateInfoResponse type: object - GetNewReceivedDocumentTotalsResponse: + GetEmailDataResponse: + 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 + properties: + data: + $ref: "#/components/schemas/EmailData" + title: GetEmailDataResponse + type: object + ScheduleEmailRequest: 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 + 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/ReceivedDocumentTotals" - title: GetNewReceivedDocumentTotalsResponse + $ref: "#/components/schemas/SendEInvoiceRequest_data" + options: + $ref: "#/components/schemas/SendEInvoiceRequest_options" + title: SendEInvoiceRequest type: object - GetExistingReceivedDocumentTotalsResponse: - description: "" + SendEInvoiceResponse: 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 + date: date + name: name properties: data: - $ref: "#/components/schemas/ReceivedDocumentTotals" - title: GetExistingReceivedDocumentTotalsResponse + $ref: "#/components/schemas/SendEInvoiceResponse_data" + title: SendEInvoiceResponse type: object - UploadReceivedDocumentAttachmentResponse: + VerifyEInvoiceXmlResponse: example: data: - attachment_token: YmMyNWYxYzIwMTU3N2Y4ZGE3ZjZiMzg5OWY0ODNkZDQveXl5LmRvYw + success: true properties: data: - $ref: "#/components/schemas/AttachmentData" - title: UploadReceivedDocumentAttachmentResponse + $ref: "#/components/schemas/VerifyEInvoiceXmlResponse_data" + title: VerifyEInvoiceXmlResponse type: object - GetReceivedDocumentPreCreateInfoResponse: - description: "" + 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 + type: object + GetEInvoiceXmlResponse: + description: XML of the e-invoice + title: GetEInvoiceXmlResponse + type: string + GetEInvoiceRejectionReasonResponse: 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 + date: 2000-01-23T04:56:07.000+00:00 + reason: reason + code: code + solution: solution + ei_status: ei_status properties: data: - $ref: "#/components/schemas/ReceivedDocumentInfo" - title: GetReceivedDocumentPreCreateInfoResponse + $ref: "#/components/schemas/EInvoiceRejectionReason" + title: GetEInvoiceRejectionReason type: object - ListReceiptsResponse: + ListReceivedDocumentsResponse: allOf: - $ref: "#/components/schemas/Pagination" - - $ref: "#/components/schemas/ListReceiptsResponsePage" + - $ref: "#/components/schemas/ListReceivedDocumentsResponsePage" description: "" example: first_page_url: https://openapi-generator.tech @@ -18531,142 +22390,58 @@ components: 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: - description: "" - example: - data: - date: 2000-01-23 - amount_net: 3.616076749251911 - numeration: numeration + attachment_preview_url: attachment_preview_url + auto_calculate: true + tax_deductibility: 1.0246457001441578 description: description created_at: created_at - type: till_receipt - number: 9.301444243932576 - use_gross_prices: true + 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 - payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard + is_marked: true updated_at: updated_at - amount_vat: 2.027123023002322 + amount_vat: 3.616076749251911 items_list: - - amount_net: 1.2315135367772556 + - code: code + measure: measure + product_id: 7 + qty: 4.965218492984954 + name: name vat: ei_description: ei_description default: true @@ -18678,10 +22453,15 @@ components: description: Non imponibile art. 123 id: 9 value: 22 - id: 7 + net_price: 1.1730742509559433 + id: 6 category: category - amount_gross: 1.0246457001441578 - - amount_net: 1.2315135367772556 + stock: 5.025004791520295 + - code: code + measure: measure + product_id: 7 + qty: 4.965218492984954 + name: name vat: ei_description: ei_description default: true @@ -18693,57 +22473,39 @@ components: description: Non imponibile art. 123 id: 9 value: 22 - id: 7 + net_price: 1.1730742509559433 + id: 6 category: category - amount_gross: 1.0246457001441578 + stock: 5.025004791520295 + currency: + symbol: € + exchange_rate: "1" + html_symbol: EUR + id: EUR 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: 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_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" @@ -18754,41 +22516,111 @@ 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: GetReceiptResponse - type: object - ModifyReceiptResponse: - description: "" - example: - data: - date: 2000-01-23 - amount_net: 3.616076749251911 - numeration: numeration + 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 + attachment_preview_url: attachment_preview_url + auto_calculate: true + tax_deductibility: 1.0246457001441578 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 + 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: 2.027123023002322 + amount_vat: 3.616076749251911 items_list: - - amount_net: 1.2315135367772556 + - code: code + measure: measure + product_id: 7 + qty: 4.965218492984954 + name: name vat: ei_description: ei_description default: true @@ -18800,10 +22632,15 @@ components: description: Non imponibile art. 123 id: 9 value: 22 - id: 7 + net_price: 1.1730742509559433 + id: 6 category: category - amount_gross: 1.0246457001441578 - - amount_net: 1.2315135367772556 + stock: 5.025004791520295 + - code: code + measure: measure + product_id: 7 + qty: 4.965218492984954 + name: name vat: ei_description: ei_description default: true @@ -18814,246 +22651,102 @@ components: 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: 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 - 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/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 - properties: - data: - $ref: "#/components/schemas/F24" - title: CreateF24Response - type: object - GetF24Response: - 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: 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 - 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: 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 + 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 - category: category - attachment_url: attachment_url - - date: 2000-01-23 + amount_other_withholding_tax: 4.145608029883936 + locked: true + invoice_number: invoice_number + vat_deductibility: 1.4894159098541704 attachment_token: attachment_token - description: description - id: 7 - category: category + 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 last_page: 1 last_page_url: https://openapi-generator.tech next_page_url: https://openapi-generator.tech @@ -19061,585 +22754,1457 @@ components: to: 5 prev_page_url: https://openapi-generator.tech current_page: 0 - title: ListArchiveDocumentsResponse - CreateArchiveDocumentResponse: + title: ListReceivedDocumentsResponse + CreateReceivedDocumentRequest: description: "" example: data: date: 2000-01-23 - attachment_token: attachment_token + 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 - category: category + 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/ArchiveDocument" - title: CreateArchiveDocumentResponse + $ref: "#/components/schemas/ReceivedDocument" + title: CreateReceivedDocumentRequest type: object - GetArchiveDocumentResponse: + CreateReceivedDocumentResponse: description: "" example: data: date: 2000-01-23 - attachment_token: attachment_token + 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 - category: category - attachment_url: attachment_url - properties: - data: - $ref: "#/components/schemas/ArchiveDocument" - title: GetArchiveDocumentResponse - type: object - ModifyArchiveDocumentResponse: - description: "" - example: - data: - date: 2000-01-23 + amount_other_withholding_tax: 4.145608029883936 + locked: true + invoice_number: invoice_number + vat_deductibility: 1.4894159098541704 attachment_token: attachment_token - description: description - id: 7 - category: category + 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/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 - 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 - 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 - description: description - id: id - type: in - properties: - data: - $ref: "#/components/schemas/CashbookEntry" - title: CreateCashbookEntryResponse + $ref: "#/components/schemas/ReceivedDocument" + title: CreateReceivedDocumentResponse type: object - GetCashbookEntryResponse: + GetReceivedDocumentResponse: 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 + attachment_preview_url: attachment_preview_url + auto_calculate: true + tax_deductibility: 1.0246457001441578 description: description - id: id - type: in + 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/CashbookEntry" - title: GetCashbookEntryResponse + $ref: "#/components/schemas/ReceivedDocument" + title: GetReceivedDocumentResponse type: object - ModifyCashbookEntryResponse: + ModifyReceivedDocumentRequest: 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 + attachment_preview_url: attachment_preview_url + auto_calculate: true + tax_deductibility: 1.0246457001441578 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 - 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: - - name: Light Smoke - id: 123 - type: type - - name: Light Smoke - id: 123 - type: type - 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 + 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: - items: - type: string - nullable: true - type: array - title: ListUnitsOfMeasureResponse + $ref: "#/components/schemas/ReceivedDocument" + title: ModifyReceivedDocumentRequest type: object - ListDeliveryNotesDefaultCausalsResponse: + ModifyReceivedDocumentResponse: description: "" example: data: - - data - - 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: - items: - type: string - nullable: true - type: array - title: ListDeliveryNotesDefaultCasualsResponse + $ref: "#/components/schemas/ReceivedDocument" + title: ModifyReceivedDocumentResponse type: object - ListVatTypesResponse: + GetNewReceivedDocumentTotalsRequest: 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" + 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 - 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 + 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: - $ref: "#/components/schemas/PaymentAccount" - nullable: true - type: array - title: ListPaymentAccountsResponse + $ref: "#/components/schemas/ReceivedDocument" + title: GetNewReceivedDocumentTotalsRequest type: object - ListRevenueCentersResponse: + GetNewReceivedDocumentTotalsResponse: description: "" example: data: - - data - - data - properties: - data: - items: - type: string - nullable: true - type: array - title: ListRevenueCentersResponse - type: object - ListCostCentersResponse: - example: - data: - - data - - 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: - items: - type: string - nullable: true - type: array - title: ListCostCentersResponse + $ref: "#/components/schemas/ReceivedDocumentTotals" + title: GetNewReceivedDocumentTotalsResponse type: object - ListProductCategoriesResponse: + GetExistingReceivedDocumentTotalsRequest: description: "" example: data: - - data - - 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: - items: - type: string - nullable: true - type: array - title: ListProductCategoriesResponse + $ref: "#/components/schemas/ReceivedDocument" + title: GetExistingReceivedDocumentTotals type: object - ListReceivedDocumentCategoriesResponse: + GetExistingReceivedDocumentTotalsResponse: description: "" example: data: - - data - - data - properties: - data: - items: - type: string - nullable: true - type: array - title: ListReceivedDocumentCategoriesResponse - type: object - ListArchiveCategoriesResponse: - example: - data: - - data - - 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: - items: - type: string - nullable: true - type: array - title: ListArchiveCategoriesResponse + $ref: "#/components/schemas/ReceivedDocumentTotals" + title: GetExistingReceivedDocumentTotalsResponse type: object - UploadArchiveAttachmentResponse: + UploadReceivedDocumentAttachmentRequest: + $ref: "#/components/schemas/Attachment" + UploadReceivedDocumentAttachmentResponse: example: data: attachment_token: YmMyNWYxYzIwMTU3N2Y4ZGE3ZjZiMzg5OWY0ODNkZDQveXl5LmRvYw properties: data: $ref: "#/components/schemas/AttachmentData" - title: UploadArchiveAttachmentResponse + title: UploadReceivedDocumentAttachmentResponse type: object - CreatePaymentMethodResponse: + GetReceivedDocumentPreCreateInfoResponse: + description: "" example: data: - default_payment_account: - cuc: cuc + 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 - 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 + - 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/PaymentMethod" - title: CreatePaymentMethodResponse + $ref: "#/components/schemas/ReceivedDocumentInfo" + title: GetReceivedDocumentPreCreateInfoResponse type: object - GetPaymentMethodResponse: + 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: - default_payment_account: + - 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 @@ -19647,34 +24212,116 @@ 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 - properties: - data: - $ref: "#/components/schemas/PaymentMethod" - title: GetPaymentMethodResponse - type: object - ModifyPaymentMethodResponse: + 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: - default_payment_account: + 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 @@ -19682,201 +24329,75 @@ 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 - properties: - data: - $ref: "#/components/schemas/PaymentMethod" - title: ModifyPaymentMethodResponse - 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 - 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 - 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 - 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 - 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 - 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 - GetEInvoiceXmlResponse: - description: XML of the e-invoice - title: GetEInvoiceXmlResponse - type: string - GetEInvoiceRejectionReasonResponse: - example: - data: - 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 - 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 - TransformIssuedDocumentResponse: - 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 + 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 + CreateReceiptResponse: + 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 @@ -19888,23 +24409,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 +24424,42 @@ 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" + title: CreateReceiptResponse + type: object + GetReceiptResponse: + 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 - 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: + 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" @@ -20105,110 +24470,56 @@ 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: - - code: "239874892374982" - ei_raw: "{}" - discount_highlight: true + - amount_net: 1.2315135367772556 vat: ei_description: ei_description default: true @@ -20220,23 +24531,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,185 +24546,42 @@ 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" + title: ModifyReceiptRequest + type: object + ModifyReceiptResponse: + 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: 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" @@ -20437,1475 +24592,1396 @@ components: description: Non imponibile art. 123 id: 9 value: 22 - address_province: BG - updated_at: updated_at - bank_name: bank_name + 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: 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 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: + 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 - 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: CreateWebhooksSubscriptionResponse + $ref: "#/components/schemas/F24" + title: CreateF24Request type: object - ListWebhooksSubscriptionsResponse: + 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 - - 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: - items: - $ref: "#/components/schemas/WebhooksSubscription" - type: array - title: ListWebhooksSubscriptionsResponse + $ref: "#/components/schemas/F24" + title: CreateF24Response type: object - GetWebhooksSubscriptionResponse: + GetF24Response: 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/F24" + title: GetF24Response + 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 + ModifyF24Response: + 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/WebhooksSubscription" - title: GetWebhooksSubscriptionResponse + $ref: "#/components/schemas/F24" + title: ModifyF24Response type: object - ModifyWebhooksSubscriptionResponse: + UploadF24AttachmentRequest: + $ref: "#/components/schemas/Attachment" + UploadF24AttachmentResponse: 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: YmMyNWYxYzIwMTU3N2Y4ZGE3ZjZiMzg5OWY0ODNkZDQveXl5LmRvYw properties: data: - $ref: "#/components/schemas/WebhooksSubscription" - warnings: - description: Webhooks registration warnings - items: - type: string - nullable: true - type: array - title: CreateWebhooksSubscriptionRequest + $ref: "#/components/schemas/AttachmentData" + title: UploadF24AttachmentResponse type: object - GetCompanyPlanUsageResponse: + 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: - usage: 6.027456183070403 - limit: 0.8008281904610115 - properties: - data: - $ref: "#/components/schemas/CompanyPlanUsage" - title: GetCompanyPlanUsageResponse - type: object - GetTaxProfileResponse: + - 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 + CreateArchiveDocumentRequest: + 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 + date: 2000-01-23 + attachment_token: attachment_token + description: description + id: 7 + category: category + attachment_url: attachment_url properties: data: - $ref: "#/components/schemas/TaxProfile" - title: GetTaxProfileResponse + $ref: "#/components/schemas/ArchiveDocument" + title: CreateArchiveDocumentRequest type: object - ListBinIssuedDocuments: + CreateArchiveDocumentResponse: + 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 + date: 2000-01-23 + attachment_token: attachment_token + description: description 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 + 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 - 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 + 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 - 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 + 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: + 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 + 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 + 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 - 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: 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 - 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 + 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: + - name: Light Smoke + id: 123 + type: type + - name: Light Smoke + id: 123 + type: type + 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 - 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 + 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/IssuedDocument" + $ref: "#/components/schemas/PaymentMethod" + nullable: true type: array - title: ListBinIssuedDocuments + title: ListPaymentMethodsResponse type: object - GetBinIssuedDocumentResponse: + ListPaymentAccountsResponse: + 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 + - 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 + 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: + $ref: "#/components/schemas/VatType" + type: object + 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/IssuedDocument" - title: GetBinIssuedDocumentResponse + $ref: "#/components/schemas/VatType" + title: ModifyVatTypeResponse type: object - ListBinReceivedDocuments: + TransformIssuedDocumentResponse: 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 + 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 - 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 + type: invoice + show_payments: true + ei_data: + original_document_type: ordine + cig: cig 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 - 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 + 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 @@ -21917,15 +25993,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 @@ -21937,119 +26021,34 @@ components: description: Non imponibile art. 123 id: 9 value: 22 - net_price: 1.1730742509559433 - id: 6 + 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: 5.025004791520295 - currency: - symbol: € - exchange_rate: "1" - html_symbol: EUR - id: EUR + stock: true + in_dn: true + dn_ai_notes: dn_ai_notes + acc_inv_template: + name: Light Smoke + id: 123 + type: type id: 7 - amount_other_withholding_tax: 4.145608029883936 + delivery_note_template: + name: Light Smoke + id: 123 + type: type 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: - $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: + show_tspay_button: true + payment_method: + default_payment_account: cuc: cuc virtual: true iban: iban @@ -22076,7 +26075,42 @@ components: is_default: true ei_payment_method: ei_payment_method bank_iban: bank_iban - - default_payment_account: + 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 @@ -22084,889 +26118,1867 @@ components: sia: sia id: 2 type: standard - name: name + 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 - 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 - 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 + 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: - 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 + 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: + 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: 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: + 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 + 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: - 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: + 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 - 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 + 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: - 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 + 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 + 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 - 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 + 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 - 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" + 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 + - 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 - 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: 6 + type: standard + paid_date: 2000-01-23 + status: status + - amount: 9.369310271410669 + payment_account: cuc: cuc virtual: true iban: iban @@ -22974,881 +27986,1223 @@ 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 - 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 + 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: + $ref: "#/components/schemas/ReceivedDocument" + type: array + title: ListBinReceivedDocuments + 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 + GetBinReceivedDocumentResponse: + properties: + data: + $ref: "#/components/schemas/ReceivedDocument" + title: GetBinReceivedDocumentResponse + 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 + nullable: true + type: integer + name: + description: User full name + example: Mario Rossi + nullable: true + type: string + first_name: + description: User first name + example: Mario + nullable: true + type: string + last_name: + description: User last name + example: Rossi + nullable: true + type: string + email: + description: User email address + example: mario.rossi@example.com + nullable: true + type: string + hash: + description: User hash + example: 5add29e1234532a1bf2ed7b612043029 + nullable: true + type: string + picture: + description: User picture + example: picture.jpg + 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. - 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 + 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. + nullable: true + type: string + type: + $ref: "#/components/schemas/CompanyType" + access_token: + description: |- + Company authentication token for this company. + [Only if type=company] + example: fd015011d2dbf8a9d38e810b325b11b56d02e51688e5261a245933b8e677b8b44ff5f0fe5ccaaf1d7157fa13ca72ab62b6183db0667a576a0e19164801c18c4fd81273fc1f95bf460b869015cf99acba + nullable: true + type: string + 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 + 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 + vat_number: + description: Company vat number + nullable: true + type: string + 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: Issued document id + description: Company id + example: 12345 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 + name: + description: Company name + example: Mario Rossi S.r.l. nullable: true - type: integer - numeration: - description: |- - Issued document numeration - [Not available if type=delivery_note] - example: /A + type: string + email: + description: Company email + example: mario@rossi-example.it nullable: true type: string - date: - description: |- - Issued document date - [defaults to today's date] + type: + $ref: "#/components/schemas/CompanyType" + access_info: + $ref: "#/components/schemas/CompanyInfo_access_info" + fic_license_expire: format: date nullable: true type: string - year: - description: Issued document year + 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 - 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 - nullable: true - type: number - withholding_tax: - description: Issued document withholding tax (ritenuta d'acconto) percentual - value - nullable: true - type: number - withholding_tax_taxable: - description: Issued document withholding tax taxable (imponibile) percentual - value + is_accountant: + description: Is the logged account an accountant. nullable: true - type: number - other_withholding_tax: - description: Issued document other withholding tax (altra ritenuta) percentual - value + type: boolean + title: CompanyInfo + type: object + CompanyPlanUsage: + example: + usage: 6.027456183070403 + limit: 0.8008281904610115 + properties: + limit: + description: Plan limit nullable: true type: number - stamp_duty: - description: |- - Issued document stamp duty value - [0 if not present] + usage: + description: Plan usage nullable: true type: number - payment_method: - $ref: "#/components/schemas/PaymentMethod" - use_split_payment: - description: Issued document uses split payment - nullable: true - type: boolean - use_gross_prices: - description: Issued document uses gross prices - nullable: true - type: boolean - e_invoice: - description: Issued document is an e-invoice. + title: CompanyPlanUsage + type: object + Pagination: + description: "" + properties: + current_page: + description: Current page number. nullable: true - type: boolean - ei_data: - $ref: "#/components/schemas/IssuedDocument_ei_data" - ei_cassa_type: - description: E-invoice cassa type + type: integer + first_page_url: + description: First page url. + format: uri nullable: true type: string - ei_cassa2_type: - description: E-invoice cassa2 type + from: + description: First result of the page. nullable: true - type: string - ei_withholding_tax_causal: - description: E-invoice withholding tax causal + type: integer + last_page: + description: Last page number. nullable: true - type: string - ei_other_withholding_tax_type: - description: E-invoice other withholding tax type + type: integer + last_page_url: + description: Last page url. + format: uri nullable: true type: string - ei_other_withholding_tax_causal: - description: E-invoice other withholding tax causal + next_page_url: + description: Next page url + format: uri nullable: true type: string - items_list: - items: - $ref: "#/components/schemas/IssuedDocumentItemsListItem" - nullable: true - type: array - payments_list: - items: - $ref: "#/components/schemas/IssuedDocumentPaymentsListItem" - 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 - nullable: true - type: integer - v_margins: - description: Issued document PDF vertical margins - 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 + path: + description: Request path. + format: uri nullable: true - type: boolean - show_totals: - $ref: "#/components/schemas/ShowTotalsMode" - show_notification_button: - description: Show notification button in the PDF + type: string + per_page: + description: Number of result per page. nullable: true - type: boolean - show_tspay_button: - description: Show ts pay button in the PDF + type: integer + prev_page_url: + description: Previous page url. + format: uri nullable: true - type: boolean - delivery_note: - description: Issued document has delivery note + type: string + to: + description: Last result of the page. nullable: true - type: boolean - accompanying_invoice: - description: Issued document has an accompanying invoice + type: integer + total: + description: Total number of results nullable: true - type: boolean - dn_number: - description: Issued document attached delivery note number + type: integer + title: Pagination + type: object + ListClientsResponsePage: + properties: + data: + items: + $ref: "#/components/schemas/Client" + nullable: true + 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 type: integer - dn_date: - description: Issued document attached delivery note date - format: date + code: + description: Client code + example: "123" nullable: true type: string - dn_ai_packages_number: - description: Issued document attached delivery note number of packages + name: + description: Client name + example: Rossi S.r.l. nullable: true type: string - dn_ai_weight: - description: Issued document attached delivery note package weight + type: + $ref: "#/components/schemas/ClientType" + first_name: + description: Client first name nullable: true type: string - dn_ai_causal: - description: Issued document attached delivery note causal + last_name: + description: Client last name nullable: true type: string - dn_ai_destination: - description: Issued document attached delivery note destination + contact_person: + description: Client contact person nullable: true type: string - dn_ai_transporter: - description: Issued document attached delivery note transporter + vat_number: + description: Client vat number + example: IT01234567890 nullable: true type: string - dn_ai_notes: - description: Issued document attached delivery note notes + tax_code: + description: Client tax code + example: RSSMRA44A12E890Q nullable: true type: string - is_marked: - description: Issued document is marked - nullable: true - type: boolean - amount_net: - description: |- - [Read only] - Issued document total net amount - nullable: true - readOnly: true - type: number - amount_vat: - description: |- - [Read Only] - Issued document total vat amount + address_street: + description: Client address street + example: "Via dei tigli, 12" nullable: true - readOnly: true - type: number - amount_gross: - description: |- - [Read Only] - Issued document total gross amount + type: string + address_postal_code: + description: Client address postal code + example: "24010" nullable: true - readOnly: true - type: number - amount_due_discount: - description: Issued document amount due discount + type: string + address_city: + description: Client address city + example: Bergamo nullable: true - type: number - amount_rivalsa: - description: |- - [Read Only] - Issued document rivalsa amount + type: string + address_province: + description: Client address province + example: BG nullable: true - readOnly: true - type: number - amount_rivalsa_taxable: - description: Issued document taxable rivalsa amount + type: string + address_extra: + description: Client address extra info nullable: true - type: number - amount_withholding_tax: - description: |- - [Read Only] - Issued document withholding tax amount (ritenuta d'acconto). + type: string + country: + description: Client country + example: Italia nullable: true - readOnly: true - type: number - amount_withholding_tax_taxable: - description: Issued document taxable withholding tax amount + type: string + country_iso: + description: Client country iso code + example: Italia nullable: true - type: number - amount_other_withholding_tax: - description: |- - [Read Only] - Issued document other withholding tax amount (altra ritenuta) + type: string + email: + description: Client email + example: mario.rossi@example.it nullable: true - readOnly: true - type: number - amount_other_withholding_tax_taxable: - description: Issued document taxable other withholding tax amount + type: string + certified_email: + description: Client certified email + example: mario.rossi@pec.example.it nullable: true - type: number - amount_enasarco_taxable: - description: Issued document taxable enasarco amount + type: string + phone: + description: Client phone nullable: true - type: number - extra_data: - $ref: "#/components/schemas/IssuedDocument_extra_data" - seen_date: - description: Issued document seen date - format: date + type: string + fax: + description: Client fax nullable: true type: string - next_due_date: - description: Issued document date of the next not paid payment - format: date + notes: + description: Client extra nullable: true type: string - url: - description: |- - [Temporary] [Read Only] - Issued document url of the document PDF file + default_vat: + $ref: "#/components/schemas/VatType" + default_payment_terms: + description: Client default payment terms + example: 30 nullable: true - type: string - dn_url: - description: |- - [Temporary] [Read Only] - Issued document url of the attached delivery note PDF file + 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 - ai_url: - description: |- - [Temporary] [Read Only] - Issued document url of the accompanying invoice PDF file + bank_iban: + description: Client bank iban nullable: true type: string - attachment_url: - description: |- - [Temporary] [Read Only] - Issued document url of the attached file + bank_swift_code: + description: Client bank swift code nullable: true - readOnly: true type: string - attachment_token: - description: |- - [Write Only] - Issued document attachment token returned by POST /issued_documents/attachment + shipping_address: + description: Client shipping address nullable: true type: string - writeOnly: true - ei_raw: - description: Issued document advanced raw attributes for e-invoices + e_invoice: + description: Use e-invoices for this entity nullable: true - type: object - ei_status: + type: boolean + discount_highlight: + description: Highlight Discount + nullable: true + type: boolean + ei_code: 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 + Client e-invoice code nullable: true type: string - price_list_id: - description: Price list id + default_discount: + description: Client default discount nullable: true - type: string - locked: - description: Issued Document can't be edited + type: number + has_intent_declaration: + description: Client has intent declaration nullable: true type: boolean - created_at: - description: Issued document creation date + intent_declaration_protocol_number: + description: Client intent declaration protocol number nullable: true type: string - updated_at: - description: Issued document last update date + intent_declaration_protocol_date: + description: Client intent declaration protocol date + format: date 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 - 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]" + price_list_id: + description: Price list id nullable: true - type: boolean - keep_copy: - description: "Keep original document [only for transform]" + type: string + created_at: + description: Client creation date nullable: true - type: boolean - join_type: - description: "Join type [only for join]" + type: string + updated_at: + description: Client last update date nullable: true type: string - title: IssuedDocumentOptions + title: Client type: object - EmailSchedule: + EntityClientPreCreateInfo: 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 + 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: - sender_id: - description: "Email sender id [required if **sender_email** is not specified]" + countries_list: + description: Countries list + items: + type: string nullable: true - type: integer - sender_email: - description: "Email sender address [required if **sender_id** is not specified]" + type: array + payment_methods_list: + description: Entity payment methods list + items: + $ref: "#/components/schemas/PaymentMethod" nullable: true - type: string - recipient_email: - description: "Email recipient emails [comma separated]" + type: array + payment_accounts_list: + description: Entity payment accounts list + items: + $ref: "#/components/schemas/PaymentAccount" nullable: true - type: string - subject: - description: Email subject + type: array + vat_types_list: + description: Vat types list + items: + $ref: "#/components/schemas/VatType" nullable: true - type: string - body: - description: "Email body [HTML Escaped] [max size 50KiB]" + type: array + price_lists: + description: Entity price lists + items: + $ref: "#/components/schemas/PriceList" nullable: true - type: string - include: - $ref: "#/components/schemas/EmailSchedule_include" - attach_pdf: - description: Attach the pdf of the document + type: array + limit: + description: Entity limit nullable: true - type: boolean - send_copy: - description: Send a copy of the email to the **cc_email** specified by **Get - email data** + type: number + usage: + description: Entity usage nullable: true - type: boolean - title: EmailSchedule + type: number + title: EntityClientPreCreateInfo type: object - ReceivedDocument: - 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: - 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 + 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: number - vat_deductibility: - description: Received document vat deducibility percentage + type: string + notes: + description: Supplier extra notes nullable: true - type: number - items_list: - items: - $ref: "#/components/schemas/ReceivedDocumentItemsListItem" + type: string + bank_iban: + description: Supplier bank IBAN nullable: true - type: array - payments_list: + 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/ReceivedDocumentPaymentsListItem" + $ref: "#/components/schemas/Product" nullable: true type: array - attachment_url: - description: |- - [Temporary] - [Read Only] - Received document url of the attached file + 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: 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 - 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 - 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 @@ -23860,10 +29214,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 @@ -23875,904 +29242,1264 @@ components: description: Non imponibile art. 123 id: 9 value: 22 - id: 7 - category: category - amount_gross: 1.0246457001441578 - id: 7 - amount_gross: 4.145608029883936 + 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: 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 - type: integer - due_date: - description: F24 due date - example: 2018-02-12 - format: date + readOnly: true + type: number + cassa_taxable: + description: Issued document cassa taxable percentage nullable: true - type: string - status: - $ref: "#/components/schemas/F24Status" - payment_account: - $ref: "#/components/schemas/PaymentAccount" - amount: - description: F24 amount - example: 300 + 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 - attachment_url: + amount_cassa2_taxable: description: |- - [Temporary] [Read Only] - F24 url of the attached file + [Can be set only if cassa2_taxable is NULL] + Issued document cassa2 taxable amount nullable: true - readOnly: true - type: string - attachment_token: - description: "[Write Only] \nF24 attachment token returned by POST /taxes/attachment" + type: number + global_cassa_taxable: + description: Issued document global cassa taxable percentage nullable: true - type: string - writeOnly: true - description: - description: F24 description + 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 - 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 + withholding_tax: + description: Issued document withholding tax (ritenuta d'acconto) percentual + value nullable: true - type: integer - date: - description: Archive document date - format: date + type: number + withholding_tax_taxable: + description: Issued document withholding tax taxable (imponibile) percentual + value nullable: true - type: string - description: - description: Archive Document description + type: number + other_withholding_tax: + description: Issued document other withholding tax (altra ritenuta) percentual + value nullable: true - type: string - attachment_url: + 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: boolean + show_tspay_button: + description: Show ts pay button in the PDF + nullable: true + type: boolean + delivery_note: + description: Issued document has delivery note + nullable: true + type: boolean + accompanying_invoice: + description: Issued document has an accompanying invoice + nullable: true + type: boolean + dn_number: + description: Issued document attached delivery note number nullable: true - type: string - bank_name: - description: Payment method bank name + type: integer + dn_date: + description: Issued document attached delivery note date + format: date nullable: true type: string - bank_beneficiary: - description: Payment method bank beneficiary + dn_ai_packages_number: + description: Issued document attached delivery note number of packages nullable: true type: string - ei_payment_method: - description: E-invoice payment method + dn_ai_weight: + description: Issued document attached delivery note package weight 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 - nullable: true - type: integer - name: - description: Payment account name - example: Conto Banca Intesa + dn_ai_causal: + description: Issued document attached delivery note causal nullable: true type: string - type: - $ref: "#/components/schemas/PaymentAccountType" - iban: - description: Payment account iban + dn_ai_destination: + description: Issued document attached delivery note destination nullable: true type: string - sia: - description: Payment account sia + dn_ai_transporter: + description: Issued document attached delivery note transporter nullable: true type: string - cuc: - description: Payment account cuc + dn_ai_notes: + description: Issued document attached delivery note notes nullable: true type: string - virtual: - description: Payment method is virtual + is_marked: + description: Issued document is marked 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 + amount_net: + description: |- + [Read only] + Issued document total net amount nullable: true - type: integer - value: - description: "[Read Only] Vat type percentual value" - example: 22 + readOnly: true + type: number + amount_vat: + description: |- + [Read Only] + Issued document total vat amount nullable: true + readOnly: true type: number - description: - description: Vat type short description - example: Non imponibile art. 123 + amount_gross: + description: |- + [Read Only] + Issued document total gross amount nullable: true - type: string - notes: - description: Vat type notes shown in documents - example: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + readOnly: true + type: number + amount_due_discount: + description: Issued document amount due discount nullable: true - type: string - e_invoice: - description: Vat type is usable for e-invoices + type: number + amount_rivalsa: + description: |- + [Read Only] + Issued document rivalsa amount nullable: true - type: boolean - ei_type: - description: Vat type e-invoice type (natura) - example: "2" + readOnly: true + type: number + amount_rivalsa_taxable: + description: Issued document taxable rivalsa amount nullable: true - type: string - ei_description: - description: Vat type e-invoice description + type: number + amount_withholding_tax: + description: |- + [Read Only] + Issued document withholding tax amount (ritenuta d'acconto). nullable: true - type: string - editable: + readOnly: true + type: number + amount_withholding_tax_taxable: + description: Issued document taxable withholding tax amount + nullable: true + type: number + amount_other_withholding_tax: description: |- [Read Only] - Is the vat type is editable. + Issued document other withholding tax amount (altra ritenuta) nullable: true readOnly: true - type: boolean - is_disabled: - description: Is the vat type disabled + type: number + amount_other_withholding_tax_taxable: + description: Issued document taxable other withholding tax amount nullable: true - type: boolean - default: - description: If the vat type is default + type: number + amount_enasarco_taxable: + description: Issued document taxable enasarco amount 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 + extra_data: + $ref: "#/components/schemas/IssuedDocument_extra_data" + seen_date: + description: Issued document seen date + format: date nullable: true type: string - sink: - description: Webhooks callback uri. + next_due_date: + description: Issued document date of the next not paid payment + format: date nullable: true type: string - verified: - description: "[Read Only] True if the webhooks subscription has been verified." + url: + description: |- + [Temporary] [Read Only] + Issued document url of the document PDF file nullable: true - type: boolean - types: - description: Webhooks events types. - items: - $ref: "#/components/schemas/EventType" + type: string + dn_url: + description: |- + [Temporary] [Read Only] + Issued document url of the attached delivery note PDF file 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: string + ai_url: + description: |- + [Temporary] [Read Only] + Issued document url of the accompanying invoice PDF file 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 + attachment_url: + description: |- + [Temporary] [Read Only] + Issued document url of the attached file nullable: true - type: integer - name: - description: User full name - example: Mario Rossi + readOnly: true + type: string + attachment_token: + description: |- + [Write Only] + Issued document attachment token returned by POST /issued_documents/attachment nullable: true type: string - first_name: - description: User first name - example: Mario + writeOnly: true + ei_raw: + description: Issued document advanced raw attributes for e-invoices + 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 nullable: true type: string - last_name: - description: User last name - example: Rossi + price_list_id: + description: Price list id nullable: true type: string - email: - description: User email address - example: mario.rossi@example.com + locked: + description: Issued Document can't be edited nullable: true - type: string - hash: - description: User hash - example: 5add29e1234532a1bf2ed7b612043029 + type: boolean + created_at: + description: Issued document creation date nullable: true type: string - picture: - description: User picture - example: picture.jpg + updated_at: + description: Issued document last update date nullable: true type: string - title: User + title: IssuedDocument type: object - Company: + IssuedDocumentOptions: 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 + keep_copy: true + transform: true + join_type: join_type + create_from: + - create_from + - create_from + fix_payments: true properties: - id: - description: Company id - example: 12345 - nullable: true - type: integer - name: - description: Company name - example: Rossi S.r.l. - nullable: true - type: string - type: - $ref: "#/components/schemas/CompanyType" - access_token: - description: |- - Company authentication token for this company. - [Only if type=company] - example: fd015011d2dbf8a9d38e810b325b11b56d02e51688e5261a245933b8e677b8b44ff5f0fe5ccaaf1d7157fa13ca72ab62b6183db0667a576a0e19164801c18c4fd81273fc1f95bf460b869015cf99acba + fix_payments: + description: Fixes your last payment amount to match your document total nullable: true - type: string - controlled_companies: - description: |- - Company list of controlled companies - [Only if type=accountant] + type: boolean + create_from: + description: "Original documents ids [only for join/transform]" items: - $ref: "#/components/schemas/ControlledCompany" + type: string nullable: true type: array - fic_license_expire: - format: date - nullable: true - type: string - fic_plan: - $ref: "#/components/schemas/FattureInCloudPlanType" - connection_id: - description: Company connection id + transform: + description: "Tranform a document [only for transform]" nullable: true - type: integer - tax_code: - description: Company tax code + type: boolean + keep_copy: + description: "Keep original document [only for transform]" nullable: true - type: string - vat_number: - description: Company vat number + type: boolean + join_type: + description: "Join type [only for join]" nullable: true type: string - title: Company + title: IssuedDocumentOptions type: object - CompanyInfo: + IssuedDocumentTotals: 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 + 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: number + amount_rivalsa: + description: Issued document rivalsa amount + nullable: true + type: number + amount_net_with_rivalsa: + description: Issued document net amount with rivalsa + nullable: true + type: number + amount_cassa: + description: Issued document cassa amount nullable: true - type: integer - name: - description: Company name - example: Mario Rossi S.r.l. + type: number + taxable_amount: + description: Issued document taxable amount nullable: true - type: string - email: - description: Company email - example: mario@rossi-example.it + type: number + not_taxable_amount: + description: Issued document not taxable amount 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_vat: + description: Issued document total vat 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 + amount_gross: + description: Issued document total gross amount nullable: true - type: integer - is_accountant: - description: Is the logged account an accountant. + 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: + - 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 + 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: boolean + delivery_note_exists: + description: Document is a delivery note nullable: true - type: number - amount_vat: - description: Issued document total vat amount + type: boolean + attachment_exists: + description: Document has attachment nullable: true - type: number - amount_gross: - description: Issued document total gross amount + type: boolean + accompanying_invoice_exists: + description: Document has accompanying invoice nullable: true - type: number - taxable_amount_withholding_tax: - description: Issued document Taxable withholding tax amount + type: boolean + default_attach_pdf: + description: Attach document pdf nullable: true - type: number - amount_withholding_tax: - description: Issued document withholding tax 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 - taxable_amount_other_withholding_tax: - description: Issued document other withholding tax taxable amount + type: integer + sender_email: + description: "Email sender address [required if **sender_id** is not specified]" nullable: true - type: number - amount_other_withholding_tax: - description: Issued document other withholding tax amount + type: string + recipient_email: + description: "Email recipient emails [comma separated]" nullable: true - type: number - stamp_duty: - description: "Issued document stamp duty value [0 if not present]." + type: string + subject: + description: Email subject nullable: true - type: number - amount_due: - description: Issued document total amount due + type: string + body: + description: "Email body [HTML Escaped] [max size 50KiB]" nullable: true - type: number - is_enasarco_maximal_exceeded: - description: Is enasarco maximal excedeed + 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 + 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 @@ -24780,26 +30507,15 @@ 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: + 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 @@ -24807,41 +30523,45 @@ 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 - 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 @@ -24853,85 +30573,62 @@ 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 - - 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: + 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 @@ -24959,181 +30656,157 @@ 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: array - currencies_list: - description: Currencies list - items: - $ref: "#/components/schemas/Currency" + 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: array - templates_list: - description: Document templates list - items: - $ref: "#/components/schemas/DocumentTemplate" + type: string + category: + description: Received document category nullable: true - type: array - dn_templates_list: - description: Delivery note templates list - items: - $ref: "#/components/schemas/DocumentTemplate" + type: string + description: + description: Received document description nullable: true - type: array - ai_templates_list: - description: Accompanying invoice templates list - items: - $ref: "#/components/schemas/DocumentTemplate" + 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: string + is_marked: + description: Received document is marked + nullable: true + type: boolean + is_detailed: + description: Received document has items nullable: true - type: array - payment_methods_list: - description: Payment methods list - items: - $ref: "#/components/schemas/PaymentMethod" + type: boolean + e_invoice: + description: |- + [Read Only] + Received document is an e-invoice nullable: true - type: array - payment_accounts_list: - description: Payment accounts list - items: - $ref: "#/components/schemas/PaymentAccount" + type: boolean + next_due_date: + description: |- + [Read Only] + Received document date of the next not paid payment + format: date nullable: true - type: array - vat_types_list: - description: Vat types list - items: - $ref: "#/components/schemas/VatType" + readOnly: true + type: string + currency: + $ref: "#/components/schemas/Currency" + tax_deductibility: + description: Received document tax deducibility percentage nullable: true - type: array - languages_list: - description: Languages list - items: - $ref: "#/components/schemas/Language" + type: number + vat_deductibility: + description: Received document vat deducibility percentage nullable: true - type: array - price_lists: - description: Price lists + type: number + items_list: items: - $ref: "#/components/schemas/PriceList" - type: array - title: IssuedDocumentPreCreateInfo - type: object - EmailData: - 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 - subject: subject - recipient_email: recipient_email - attachment_exists: true - document_exists: true - body: body - properties: - recipient_email: - description: Email recipient + $ref: "#/components/schemas/ReceivedDocumentItemsListItem" 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 + type: array + payments_list: items: - $ref: "#/components/schemas/SenderEmail" + $ref: "#/components/schemas/ReceivedDocumentPaymentsListItem" nullable: true type: array - cc_email: - description: "Email cc [by default is the logged company email]" - nullable: true - type: string - subject: - description: Email subject + attachment_url: + description: |- + [Temporary] + [Read Only] + Received document url of the attached file nullable: true + readOnly: true type: string - body: - description: Email body + attachment_preview_url: + description: |- + [Temporary] + [Read Only] + Received document url of the attachment preview nullable: true + readOnly: true type: string - document_exists: - description: Document exists if it is not a delivery note - nullable: true - type: boolean - delivery_note_exists: - description: Document is a delivery note + 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_exists: - description: Document has attachment + attachment_token: + description: |- + [Write Only] + Received document attachment token returned by POST /received_documents/attachment nullable: true - type: boolean - accompanying_invoice_exists: - description: Document has accompanying invoice + type: string + locked: + description: Received Document can't be edited nullable: true type: boolean - default_attach_pdf: - description: Attach document pdf + created_at: + description: Received document creation date nullable: true - type: boolean - title: EmailData - type: object - ListReceivedDocumentsResponsePage: - properties: - data: - items: - $ref: "#/components/schemas/ReceivedDocument" + type: string + updated_at: + description: Received document last update date nullable: true - type: array - title: ListReceivedDocumentsResponsePage + type: string + title: ReceivedDocument type: object ReceivedDocumentTotals: example: @@ -25273,10 +30946,125 @@ components: properties: data: items: - $ref: "#/components/schemas/Receipt" + $ref: "#/components/schemas/Receipt" + nullable: true + 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: ListReceiptsResponsePage + title: Receipt type: object ReceiptPreCreateInfo: example: @@ -25400,6 +31188,61 @@ components: $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: @@ -25409,6 +31252,149 @@ components: 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: 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 + nullable: true + 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 + payment_account_in: + $ref: "#/components/schemas/PaymentAccount" + amount_out: + description: |- + [Only for cashbook entry out] + Cashbook total amount out + nullable: true + type: number + payment_account_out: + $ref: "#/components/schemas/PaymentAccount" + title: CashbookEntry + type: object + DetailedCountry: + example: + iso: iso + name: name + settings_name: settings_name + fiscal_iso: fiscal_iso + uic: uic + properties: + name: + description: Country name + nullable: true + type: string + settings_name: + description: Country settings name + nullable: true + 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: province: province @@ -25483,101 +31469,192 @@ components: example: € nullable: true type: string - exchange_rate: - description: Currency exchange rate (EUR to this) - example: "1" + 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 - html_symbol: - description: Currency html code - example: EUR + editable: + description: |- + [Read Only] + Is the vat type is editable. nullable: true - type: string - title: Currency + 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 - EInvoiceRejectionReason: + PaymentMethod: + description: "" example: - date: 2000-01-23T04:56:07.000+00:00 - reason: reason - code: code - solution: solution - ei_status: ei_status + 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: - reason: - description: E-invoice rejection reason + id: + description: Payment method id + nullable: true + type: integer + name: + description: Payment method name nullable: true type: string - ei_status: - description: E-invoice status + type: + $ref: "#/components/schemas/PaymentMethodType" + is_default: + description: Payment method is default + nullable: true + type: boolean + default_payment_account: + $ref: "#/components/schemas/PaymentAccount" + details: + description: Payment method details + items: + $ref: "#/components/schemas/PaymentMethodDetails" + maxItems: 5 + nullable: true + 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 +31758,291 @@ components: description: The enasarco type nullable: true type: string - contributions_percentage: - description: The contributions percentage - nullable: true - type: number - profit_coefficient: - description: The profit coefficient + 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: number - med: - description: If the health card system is active + type: string + prices_type: + $ref: "#/components/schemas/PriceListPricesType" + is_default: + description: This entity is default nullable: true type: boolean - default_vat: - $ref: "#/components/schemas/VatType" - title: TaxProfile + 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 - 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 @@ -26302,157 +32453,20 @@ components: in_dn: description: Issued document item add in delivery note nullable: true - type: boolean - stock: - description: Issued document item move stock - nullable: true - type: boolean - ei_raw: - description: Issued document advanced raw attributes for e-invoices - nullable: true - type: object - title: IssuedDocumentItemsListItem - type: object - IssuedDocumentPaymentsListItem: - example: - 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 - 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" + type: boolean stock: - description: Received document item product number of items in stock + description: Issued document item move stock nullable: true - type: number - title: ReceivedDocumentItemsListItem + type: boolean + ei_raw: + description: Issued document advanced raw attributes for e-invoices + nullable: true + type: object + title: IssuedDocumentItemsListItem type: object - ReceivedDocumentPaymentsListItem: + IssuedDocumentPaymentsListItem: example: - amount: 9.369310271410669 + amount: 1.45 payment_account: cuc: cuc virtual: true @@ -26461,433 +32475,248 @@ 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 + 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 - paid_date: - description: Received document payment paid date - format: date + amount: + description: Issued document payment amount + example: 1.45 nullable: true - type: string - payment_terms: - $ref: "#/components/schemas/ReceivedDocumentPaymentsListItem_payment_terms" + type: number status: - description: Received document payment status - nullable: true - type: string + $ref: "#/components/schemas/IssuedDocumentStatus" payment_account: $ref: "#/components/schemas/PaymentAccount" - title: ReceivedDocumentPaymentsListItem - type: object - ReceiptType: - description: Receipt type - enum: - - till_receipt - - sales_receipt - title: ReceiptType - type: string - ReceiptItemsListItem: - 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 - properties: - id: - description: Receipt item 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 + paid_date: + description: |- + Issued document payment date + [Only if status is paid] + example: 2018-04-03 + format: date nullable: true type: string - description: - description: Payment method details description + ei_raw: + description: Issued document payment advanced raw attributes for e-invoices nullable: true - type: string - title: PaymentMethodDetails + type: object + payment_terms: + $ref: "#/components/schemas/IssuedDocumentPaymentsListItem_payment_terms" + title: IssuedDocumentPaymentsListItem type: object - PaymentAccountType: - default: standard - description: Payment account type - enum: - - standard - - bank - title: PaymentAccountType - type: string - EventType: - description: Webhooks event type + ShowTotalsMode: + default: all + description: Show totals mode 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 + - none + - nets + - all + title: ShowTotalsMode type: string - WebhooksSubscriptionConfig: + VatList: + additionalProperties: + $ref: "#/components/schemas/VatItem" + title: VatList + type: object + Numeration: + additionalProperties: + $ref: "#/components/schemas/NumerationItem" + title: Numeration + type: object + SenderEmail: example: - mapping: binary + id: 6 + email: email properties: - mapping: - $ref: "#/components/schemas/WebhooksSubscriptionMapping" - title: WebhooksSubscriptionConfig + id: + description: Sender email id + nullable: true + type: integer + email: + description: Sender email address + nullable: true + type: string + title: SenderEmail type: object - WebhooksSubscriptionVerificationMethod: - description: Webhooks Subscription verification method - enum: - - header - - query - title: WebhooksSubscriptionVerificationMethod - type: string - CompanyType: - description: Company type + 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 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 - 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 + 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 - FunctionStatus: + ReceivedDocumentPaymentsListItem: example: - active: true + 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 properties: - active: + 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: boolean - title: FunctionStatus - type: object - VatList: - additionalProperties: - $ref: "#/components/schemas/VatItem" - title: VatList - type: object - Numeration: - additionalProperties: - $ref: "#/components/schemas/NumerationItem" - title: Numeration + 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 - 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 +32728,63 @@ 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 + 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 + 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 +32873,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 +32989,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: @@ -27020,29 +33009,13 @@ components: title: EntityType 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 - enum: - - none - - read - - write - - detailed - title: PermissionLevel + default: not_paid + description: Issued document status + enum: + - not_paid + - paid + - reversed + title: IssuedDocumentStatus type: string VatItem: example: @@ -27093,33 +33066,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 +33162,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 @@ -27240,216 +33220,40 @@ components: - xml_errors - xml_errors nullable: true - properties: - xml_errors: - items: - type: string - nullable: true - type: array - type: object - VerifyEInvoiceXmlErrorResponse_error: - example: - validation_result: - xml_errors: - - xml_errors - - xml_errors - message: message - nullable: true - properties: - message: - 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 + properties: + xml_errors: + items: + type: string nullable: true - type: boolean + type: array type: object - CashbookEntry_document: + VerifyEInvoiceXmlErrorResponse_error: example: - path: path - id: 0 - type: type + validation_result: + xml_errors: + - xml_errors + - xml_errors + message: message nullable: true properties: - id: - description: Cashbook related document id - nullable: true - type: integer - type: - description: Cashbook related document type + message: nullable: true type: string - path: - description: Cashbook related document path + 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: string + type: array type: object CompanyInfo_access_info: example: @@ -27655,6 +33459,137 @@ 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 + 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 IssuedDocumentPreCreateInfo_default_values: description: Issued document default values example: @@ -27801,6 +33736,31 @@ 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 ReceivedDocumentInfo_default_values: description: Received document default values example: @@ -27822,32 +33782,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 +33837,33 @@ 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: 6 + 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 securitySchemes: OAuth2AuthenticationCodeFlow: flows: 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/Client/Configuration.cs b/src/It.FattureInCloud.Sdk/Client/Configuration.cs index e271f94e..eb5b3e95 100644 --- a/src/It.FattureInCloud.Sdk/Client/Configuration.cs +++ b/src/It.FattureInCloud.Sdk/Client/Configuration.cs @@ -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 @@ -535,7 +535,7 @@ public static string ToDebugReport() 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 += " SDK Package Version: 2.1.3\n"; return report; } 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/EventType.cs b/src/It.FattureInCloud.Sdk/Model/EventType.cs index 05c463cf..516c7ff9 100644 --- a/src/It.FattureInCloud.Sdk/Model/EventType.cs +++ b/src/It.FattureInCloud.Sdk/Model/EventType.cs @@ -34,448 +34,448 @@ namespace It.FattureInCloud.Sdk.Model public enum EventType { /// - /// Enum IssuedDocumentsInvoicesCreate for value: it.fattureincloud.webhooks.issued_documents.invoices.create + /// Enum ItFattureincloudWebhooksIssuedDocumentsInvoicesCreate for value: it.fattureincloud.webhooks.issued_documents.invoices.create /// [EnumMember(Value = "it.fattureincloud.webhooks.issued_documents.invoices.create")] - IssuedDocumentsInvoicesCreate = 1, + ItFattureincloudWebhooksIssuedDocumentsInvoicesCreate = 1, /// - /// Enum IssuedDocumentsInvoicesUpdate for value: it.fattureincloud.webhooks.issued_documents.invoices.update + /// Enum ItFattureincloudWebhooksIssuedDocumentsInvoicesUpdate for value: it.fattureincloud.webhooks.issued_documents.invoices.update /// [EnumMember(Value = "it.fattureincloud.webhooks.issued_documents.invoices.update")] - IssuedDocumentsInvoicesUpdate = 2, + ItFattureincloudWebhooksIssuedDocumentsInvoicesUpdate = 2, /// - /// Enum IssuedDocumentsInvoicesDelete for value: it.fattureincloud.webhooks.issued_documents.invoices.delete + /// Enum ItFattureincloudWebhooksIssuedDocumentsInvoicesDelete for value: it.fattureincloud.webhooks.issued_documents.invoices.delete /// [EnumMember(Value = "it.fattureincloud.webhooks.issued_documents.invoices.delete")] - IssuedDocumentsInvoicesDelete = 3, + ItFattureincloudWebhooksIssuedDocumentsInvoicesDelete = 3, /// - /// Enum IssuedDocumentsQuotesCreate for value: it.fattureincloud.webhooks.issued_documents.quotes.create + /// Enum ItFattureincloudWebhooksIssuedDocumentsQuotesCreate for value: it.fattureincloud.webhooks.issued_documents.quotes.create /// [EnumMember(Value = "it.fattureincloud.webhooks.issued_documents.quotes.create")] - IssuedDocumentsQuotesCreate = 4, + ItFattureincloudWebhooksIssuedDocumentsQuotesCreate = 4, /// - /// Enum IssuedDocumentsQuotesUpdate for value: it.fattureincloud.webhooks.issued_documents.quotes.update + /// Enum ItFattureincloudWebhooksIssuedDocumentsQuotesUpdate for value: it.fattureincloud.webhooks.issued_documents.quotes.update /// [EnumMember(Value = "it.fattureincloud.webhooks.issued_documents.quotes.update")] - IssuedDocumentsQuotesUpdate = 5, + ItFattureincloudWebhooksIssuedDocumentsQuotesUpdate = 5, /// - /// Enum IssuedDocumentsQuotesDelete for value: it.fattureincloud.webhooks.issued_documents.quotes.delete + /// Enum ItFattureincloudWebhooksIssuedDocumentsQuotesDelete for value: it.fattureincloud.webhooks.issued_documents.quotes.delete /// [EnumMember(Value = "it.fattureincloud.webhooks.issued_documents.quotes.delete")] - IssuedDocumentsQuotesDelete = 6, + ItFattureincloudWebhooksIssuedDocumentsQuotesDelete = 6, /// - /// Enum IssuedDocumentsProformasCreate for value: it.fattureincloud.webhooks.issued_documents.proformas.create + /// Enum ItFattureincloudWebhooksIssuedDocumentsProformasCreate for value: it.fattureincloud.webhooks.issued_documents.proformas.create /// [EnumMember(Value = "it.fattureincloud.webhooks.issued_documents.proformas.create")] - IssuedDocumentsProformasCreate = 7, + ItFattureincloudWebhooksIssuedDocumentsProformasCreate = 7, /// - /// Enum IssuedDocumentsProformasUpdate for value: it.fattureincloud.webhooks.issued_documents.proformas.update + /// Enum ItFattureincloudWebhooksIssuedDocumentsProformasUpdate for value: it.fattureincloud.webhooks.issued_documents.proformas.update /// [EnumMember(Value = "it.fattureincloud.webhooks.issued_documents.proformas.update")] - IssuedDocumentsProformasUpdate = 8, + ItFattureincloudWebhooksIssuedDocumentsProformasUpdate = 8, /// - /// Enum IssuedDocumentsProformasDelete for value: it.fattureincloud.webhooks.issued_documents.proformas.delete + /// Enum ItFattureincloudWebhooksIssuedDocumentsProformasDelete for value: it.fattureincloud.webhooks.issued_documents.proformas.delete /// [EnumMember(Value = "it.fattureincloud.webhooks.issued_documents.proformas.delete")] - IssuedDocumentsProformasDelete = 9, + ItFattureincloudWebhooksIssuedDocumentsProformasDelete = 9, /// - /// Enum IssuedDocumentsReceiptsCreate for value: it.fattureincloud.webhooks.issued_documents.receipts.create + /// Enum ItFattureincloudWebhooksIssuedDocumentsReceiptsCreate for value: it.fattureincloud.webhooks.issued_documents.receipts.create /// [EnumMember(Value = "it.fattureincloud.webhooks.issued_documents.receipts.create")] - IssuedDocumentsReceiptsCreate = 10, + ItFattureincloudWebhooksIssuedDocumentsReceiptsCreate = 10, /// - /// Enum IssuedDocumentsReceiptsUpdate for value: it.fattureincloud.webhooks.issued_documents.receipts.update + /// Enum ItFattureincloudWebhooksIssuedDocumentsReceiptsUpdate for value: it.fattureincloud.webhooks.issued_documents.receipts.update /// [EnumMember(Value = "it.fattureincloud.webhooks.issued_documents.receipts.update")] - IssuedDocumentsReceiptsUpdate = 11, + ItFattureincloudWebhooksIssuedDocumentsReceiptsUpdate = 11, /// - /// Enum IssuedDocumentsReceiptsDelete for value: it.fattureincloud.webhooks.issued_documents.receipts.delete + /// Enum ItFattureincloudWebhooksIssuedDocumentsReceiptsDelete for value: it.fattureincloud.webhooks.issued_documents.receipts.delete /// [EnumMember(Value = "it.fattureincloud.webhooks.issued_documents.receipts.delete")] - IssuedDocumentsReceiptsDelete = 12, + ItFattureincloudWebhooksIssuedDocumentsReceiptsDelete = 12, /// - /// Enum IssuedDocumentsDeliveryNotesCreate for value: it.fattureincloud.webhooks.issued_documents.delivery_notes.create + /// Enum ItFattureincloudWebhooksIssuedDocumentsDeliveryNotesCreate for value: it.fattureincloud.webhooks.issued_documents.delivery_notes.create /// [EnumMember(Value = "it.fattureincloud.webhooks.issued_documents.delivery_notes.create")] - IssuedDocumentsDeliveryNotesCreate = 13, + ItFattureincloudWebhooksIssuedDocumentsDeliveryNotesCreate = 13, /// - /// Enum IssuedDocumentsDeliveryNotesUpdate for value: it.fattureincloud.webhooks.issued_documents.delivery_notes.update + /// Enum ItFattureincloudWebhooksIssuedDocumentsDeliveryNotesUpdate for value: it.fattureincloud.webhooks.issued_documents.delivery_notes.update /// [EnumMember(Value = "it.fattureincloud.webhooks.issued_documents.delivery_notes.update")] - IssuedDocumentsDeliveryNotesUpdate = 14, + ItFattureincloudWebhooksIssuedDocumentsDeliveryNotesUpdate = 14, /// - /// Enum IssuedDocumentsDeliveryNotesDelete for value: it.fattureincloud.webhooks.issued_documents.delivery_notes.delete + /// Enum ItFattureincloudWebhooksIssuedDocumentsDeliveryNotesDelete for value: it.fattureincloud.webhooks.issued_documents.delivery_notes.delete /// [EnumMember(Value = "it.fattureincloud.webhooks.issued_documents.delivery_notes.delete")] - IssuedDocumentsDeliveryNotesDelete = 15, + ItFattureincloudWebhooksIssuedDocumentsDeliveryNotesDelete = 15, /// - /// Enum IssuedDocumentsCreditNotesCreate for value: it.fattureincloud.webhooks.issued_documents.credit_notes.create + /// Enum ItFattureincloudWebhooksIssuedDocumentsCreditNotesCreate for value: it.fattureincloud.webhooks.issued_documents.credit_notes.create /// [EnumMember(Value = "it.fattureincloud.webhooks.issued_documents.credit_notes.create")] - IssuedDocumentsCreditNotesCreate = 16, + ItFattureincloudWebhooksIssuedDocumentsCreditNotesCreate = 16, /// - /// Enum IssuedDocumentsCreditNotesUpdate for value: it.fattureincloud.webhooks.issued_documents.credit_notes.update + /// Enum ItFattureincloudWebhooksIssuedDocumentsCreditNotesUpdate for value: it.fattureincloud.webhooks.issued_documents.credit_notes.update /// [EnumMember(Value = "it.fattureincloud.webhooks.issued_documents.credit_notes.update")] - IssuedDocumentsCreditNotesUpdate = 17, + ItFattureincloudWebhooksIssuedDocumentsCreditNotesUpdate = 17, /// - /// Enum IssuedDocumentsCreditNotesDelete for value: it.fattureincloud.webhooks.issued_documents.credit_notes.delete + /// Enum ItFattureincloudWebhooksIssuedDocumentsCreditNotesDelete for value: it.fattureincloud.webhooks.issued_documents.credit_notes.delete /// [EnumMember(Value = "it.fattureincloud.webhooks.issued_documents.credit_notes.delete")] - IssuedDocumentsCreditNotesDelete = 18, + ItFattureincloudWebhooksIssuedDocumentsCreditNotesDelete = 18, /// - /// Enum IssuedDocumentsOrdersCreate for value: it.fattureincloud.webhooks.issued_documents.orders.create + /// Enum ItFattureincloudWebhooksIssuedDocumentsOrdersCreate for value: it.fattureincloud.webhooks.issued_documents.orders.create /// [EnumMember(Value = "it.fattureincloud.webhooks.issued_documents.orders.create")] - IssuedDocumentsOrdersCreate = 19, + ItFattureincloudWebhooksIssuedDocumentsOrdersCreate = 19, /// - /// Enum IssuedDocumentsOrdersUpdate for value: it.fattureincloud.webhooks.issued_documents.orders.update + /// Enum ItFattureincloudWebhooksIssuedDocumentsOrdersUpdate for value: it.fattureincloud.webhooks.issued_documents.orders.update /// [EnumMember(Value = "it.fattureincloud.webhooks.issued_documents.orders.update")] - IssuedDocumentsOrdersUpdate = 20, + ItFattureincloudWebhooksIssuedDocumentsOrdersUpdate = 20, /// - /// Enum IssuedDocumentsOrdersDelete for value: it.fattureincloud.webhooks.issued_documents.orders.delete + /// Enum ItFattureincloudWebhooksIssuedDocumentsOrdersDelete for value: it.fattureincloud.webhooks.issued_documents.orders.delete /// [EnumMember(Value = "it.fattureincloud.webhooks.issued_documents.orders.delete")] - IssuedDocumentsOrdersDelete = 21, + ItFattureincloudWebhooksIssuedDocumentsOrdersDelete = 21, /// - /// Enum IssuedDocumentsWorkReportsCreate for value: it.fattureincloud.webhooks.issued_documents.work_reports.create + /// Enum ItFattureincloudWebhooksIssuedDocumentsWorkReportsCreate for value: it.fattureincloud.webhooks.issued_documents.work_reports.create /// [EnumMember(Value = "it.fattureincloud.webhooks.issued_documents.work_reports.create")] - IssuedDocumentsWorkReportsCreate = 22, + ItFattureincloudWebhooksIssuedDocumentsWorkReportsCreate = 22, /// - /// Enum IssuedDocumentsWorkReportsUpdate for value: it.fattureincloud.webhooks.issued_documents.work_reports.update + /// Enum ItFattureincloudWebhooksIssuedDocumentsWorkReportsUpdate for value: it.fattureincloud.webhooks.issued_documents.work_reports.update /// [EnumMember(Value = "it.fattureincloud.webhooks.issued_documents.work_reports.update")] - IssuedDocumentsWorkReportsUpdate = 23, + ItFattureincloudWebhooksIssuedDocumentsWorkReportsUpdate = 23, /// - /// Enum IssuedDocumentsWorkReportsDelete for value: it.fattureincloud.webhooks.issued_documents.work_reports.delete + /// Enum ItFattureincloudWebhooksIssuedDocumentsWorkReportsDelete for value: it.fattureincloud.webhooks.issued_documents.work_reports.delete /// [EnumMember(Value = "it.fattureincloud.webhooks.issued_documents.work_reports.delete")] - IssuedDocumentsWorkReportsDelete = 24, + ItFattureincloudWebhooksIssuedDocumentsWorkReportsDelete = 24, /// - /// Enum IssuedDocumentsSupplierOrdersCreate for value: it.fattureincloud.webhooks.issued_documents.supplier_orders.create + /// Enum ItFattureincloudWebhooksIssuedDocumentsSupplierOrdersCreate for value: it.fattureincloud.webhooks.issued_documents.supplier_orders.create /// [EnumMember(Value = "it.fattureincloud.webhooks.issued_documents.supplier_orders.create")] - IssuedDocumentsSupplierOrdersCreate = 25, + ItFattureincloudWebhooksIssuedDocumentsSupplierOrdersCreate = 25, /// - /// Enum IssuedDocumentsSupplierOrdersUpdate for value: it.fattureincloud.webhooks.issued_documents.supplier_orders.update + /// Enum ItFattureincloudWebhooksIssuedDocumentsSupplierOrdersUpdate for value: it.fattureincloud.webhooks.issued_documents.supplier_orders.update /// [EnumMember(Value = "it.fattureincloud.webhooks.issued_documents.supplier_orders.update")] - IssuedDocumentsSupplierOrdersUpdate = 26, + ItFattureincloudWebhooksIssuedDocumentsSupplierOrdersUpdate = 26, /// - /// Enum IssuedDocumentsSupplierOrdersDelete for value: it.fattureincloud.webhooks.issued_documents.supplier_orders.delete + /// Enum ItFattureincloudWebhooksIssuedDocumentsSupplierOrdersDelete for value: it.fattureincloud.webhooks.issued_documents.supplier_orders.delete /// [EnumMember(Value = "it.fattureincloud.webhooks.issued_documents.supplier_orders.delete")] - IssuedDocumentsSupplierOrdersDelete = 27, + ItFattureincloudWebhooksIssuedDocumentsSupplierOrdersDelete = 27, /// - /// Enum IssuedDocumentsSelfInvoicesCreate for value: it.fattureincloud.webhooks.issued_documents.self_invoices.create + /// Enum ItFattureincloudWebhooksIssuedDocumentsSelfInvoicesCreate for value: it.fattureincloud.webhooks.issued_documents.self_invoices.create /// [EnumMember(Value = "it.fattureincloud.webhooks.issued_documents.self_invoices.create")] - IssuedDocumentsSelfInvoicesCreate = 28, + ItFattureincloudWebhooksIssuedDocumentsSelfInvoicesCreate = 28, /// - /// Enum IssuedDocumentsSelfInvoicesUpdate for value: it.fattureincloud.webhooks.issued_documents.self_invoices.update + /// Enum ItFattureincloudWebhooksIssuedDocumentsSelfInvoicesUpdate for value: it.fattureincloud.webhooks.issued_documents.self_invoices.update /// [EnumMember(Value = "it.fattureincloud.webhooks.issued_documents.self_invoices.update")] - IssuedDocumentsSelfInvoicesUpdate = 29, + ItFattureincloudWebhooksIssuedDocumentsSelfInvoicesUpdate = 29, /// - /// Enum IssuedDocumentsSelfInvoicesDelete for value: it.fattureincloud.webhooks.issued_documents.self_invoices.delete + /// Enum ItFattureincloudWebhooksIssuedDocumentsSelfInvoicesDelete for value: it.fattureincloud.webhooks.issued_documents.self_invoices.delete /// [EnumMember(Value = "it.fattureincloud.webhooks.issued_documents.self_invoices.delete")] - IssuedDocumentsSelfInvoicesDelete = 30, + ItFattureincloudWebhooksIssuedDocumentsSelfInvoicesDelete = 30, /// - /// Enum IssuedDocumentsAllCreate for value: it.fattureincloud.webhooks.issued_documents.all.create + /// Enum ItFattureincloudWebhooksIssuedDocumentsAllCreate for value: it.fattureincloud.webhooks.issued_documents.all.create /// [EnumMember(Value = "it.fattureincloud.webhooks.issued_documents.all.create")] - IssuedDocumentsAllCreate = 31, + ItFattureincloudWebhooksIssuedDocumentsAllCreate = 31, /// - /// Enum IssuedDocumentsAllUpdate for value: it.fattureincloud.webhooks.issued_documents.all.update + /// Enum ItFattureincloudWebhooksIssuedDocumentsAllUpdate for value: it.fattureincloud.webhooks.issued_documents.all.update /// [EnumMember(Value = "it.fattureincloud.webhooks.issued_documents.all.update")] - IssuedDocumentsAllUpdate = 32, + ItFattureincloudWebhooksIssuedDocumentsAllUpdate = 32, /// - /// Enum IssuedDocumentsAllDelete for value: it.fattureincloud.webhooks.issued_documents.all.delete + /// Enum ItFattureincloudWebhooksIssuedDocumentsAllDelete for value: it.fattureincloud.webhooks.issued_documents.all.delete /// [EnumMember(Value = "it.fattureincloud.webhooks.issued_documents.all.delete")] - IssuedDocumentsAllDelete = 33, + ItFattureincloudWebhooksIssuedDocumentsAllDelete = 33, /// - /// Enum ReceivedDocumentsCreate for value: it.fattureincloud.webhooks.received_documents.create + /// Enum ItFattureincloudWebhooksReceivedDocumentsCreate for value: it.fattureincloud.webhooks.received_documents.create /// [EnumMember(Value = "it.fattureincloud.webhooks.received_documents.create")] - ReceivedDocumentsCreate = 34, + ItFattureincloudWebhooksReceivedDocumentsCreate = 34, /// - /// Enum ReceivedDocumentsUpdate for value: it.fattureincloud.webhooks.received_documents.update + /// Enum ItFattureincloudWebhooksReceivedDocumentsUpdate for value: it.fattureincloud.webhooks.received_documents.update /// [EnumMember(Value = "it.fattureincloud.webhooks.received_documents.update")] - ReceivedDocumentsUpdate = 35, + ItFattureincloudWebhooksReceivedDocumentsUpdate = 35, /// - /// Enum ReceivedDocumentsDelete for value: it.fattureincloud.webhooks.received_documents.delete + /// Enum ItFattureincloudWebhooksReceivedDocumentsDelete for value: it.fattureincloud.webhooks.received_documents.delete /// [EnumMember(Value = "it.fattureincloud.webhooks.received_documents.delete")] - ReceivedDocumentsDelete = 36, + ItFattureincloudWebhooksReceivedDocumentsDelete = 36, /// - /// Enum ReceiptsCreate for value: it.fattureincloud.webhooks.receipts.create + /// Enum ItFattureincloudWebhooksReceiptsCreate for value: it.fattureincloud.webhooks.receipts.create /// [EnumMember(Value = "it.fattureincloud.webhooks.receipts.create")] - ReceiptsCreate = 37, + ItFattureincloudWebhooksReceiptsCreate = 37, /// - /// Enum ReceiptsUpdate for value: it.fattureincloud.webhooks.receipts.update + /// Enum ItFattureincloudWebhooksReceiptsUpdate for value: it.fattureincloud.webhooks.receipts.update /// [EnumMember(Value = "it.fattureincloud.webhooks.receipts.update")] - ReceiptsUpdate = 38, + ItFattureincloudWebhooksReceiptsUpdate = 38, /// - /// Enum ReceiptsDelete for value: it.fattureincloud.webhooks.receipts.delete + /// Enum ItFattureincloudWebhooksReceiptsDelete for value: it.fattureincloud.webhooks.receipts.delete /// [EnumMember(Value = "it.fattureincloud.webhooks.receipts.delete")] - ReceiptsDelete = 39, + ItFattureincloudWebhooksReceiptsDelete = 39, /// - /// Enum TaxesCreate for value: it.fattureincloud.webhooks.taxes.create + /// Enum ItFattureincloudWebhooksTaxesCreate for value: it.fattureincloud.webhooks.taxes.create /// [EnumMember(Value = "it.fattureincloud.webhooks.taxes.create")] - TaxesCreate = 40, + ItFattureincloudWebhooksTaxesCreate = 40, /// - /// Enum TaxesUpdate for value: it.fattureincloud.webhooks.taxes.update + /// Enum ItFattureincloudWebhooksTaxesUpdate for value: it.fattureincloud.webhooks.taxes.update /// [EnumMember(Value = "it.fattureincloud.webhooks.taxes.update")] - TaxesUpdate = 41, + ItFattureincloudWebhooksTaxesUpdate = 41, /// - /// Enum TaxesDelete for value: it.fattureincloud.webhooks.taxes.delete + /// Enum ItFattureincloudWebhooksTaxesDelete for value: it.fattureincloud.webhooks.taxes.delete /// [EnumMember(Value = "it.fattureincloud.webhooks.taxes.delete")] - TaxesDelete = 42, + ItFattureincloudWebhooksTaxesDelete = 42, /// - /// Enum ArchiveDocumentsCreate for value: it.fattureincloud.webhooks.archive_documents.create + /// Enum ItFattureincloudWebhooksArchiveDocumentsCreate for value: it.fattureincloud.webhooks.archive_documents.create /// [EnumMember(Value = "it.fattureincloud.webhooks.archive_documents.create")] - ArchiveDocumentsCreate = 43, + ItFattureincloudWebhooksArchiveDocumentsCreate = 43, /// - /// Enum ArchiveDocumentsUpdate for value: it.fattureincloud.webhooks.archive_documents.update + /// Enum ItFattureincloudWebhooksArchiveDocumentsUpdate for value: it.fattureincloud.webhooks.archive_documents.update /// [EnumMember(Value = "it.fattureincloud.webhooks.archive_documents.update")] - ArchiveDocumentsUpdate = 44, + ItFattureincloudWebhooksArchiveDocumentsUpdate = 44, /// - /// Enum ArchiveDocumentsDelete for value: it.fattureincloud.webhooks.archive_documents.delete + /// Enum ItFattureincloudWebhooksArchiveDocumentsDelete for value: it.fattureincloud.webhooks.archive_documents.delete /// [EnumMember(Value = "it.fattureincloud.webhooks.archive_documents.delete")] - ArchiveDocumentsDelete = 45, + ItFattureincloudWebhooksArchiveDocumentsDelete = 45, /// - /// Enum CashbookCreate for value: it.fattureincloud.webhooks.cashbook.create + /// Enum ItFattureincloudWebhooksCashbookCreate for value: it.fattureincloud.webhooks.cashbook.create /// [EnumMember(Value = "it.fattureincloud.webhooks.cashbook.create")] - CashbookCreate = 46, + ItFattureincloudWebhooksCashbookCreate = 46, /// - /// Enum CashbookUpdate for value: it.fattureincloud.webhooks.cashbook.update + /// Enum ItFattureincloudWebhooksCashbookUpdate for value: it.fattureincloud.webhooks.cashbook.update /// [EnumMember(Value = "it.fattureincloud.webhooks.cashbook.update")] - CashbookUpdate = 47, + ItFattureincloudWebhooksCashbookUpdate = 47, /// - /// Enum CashbookDelete for value: it.fattureincloud.webhooks.cashbook.delete + /// Enum ItFattureincloudWebhooksCashbookDelete for value: it.fattureincloud.webhooks.cashbook.delete /// [EnumMember(Value = "it.fattureincloud.webhooks.cashbook.delete")] - CashbookDelete = 48, + ItFattureincloudWebhooksCashbookDelete = 48, /// - /// Enum ProductsCreate for value: it.fattureincloud.webhooks.products.create + /// Enum ItFattureincloudWebhooksProductsCreate for value: it.fattureincloud.webhooks.products.create /// [EnumMember(Value = "it.fattureincloud.webhooks.products.create")] - ProductsCreate = 49, + ItFattureincloudWebhooksProductsCreate = 49, /// - /// Enum ProductsUpdate for value: it.fattureincloud.webhooks.products.update + /// Enum ItFattureincloudWebhooksProductsUpdate for value: it.fattureincloud.webhooks.products.update /// [EnumMember(Value = "it.fattureincloud.webhooks.products.update")] - ProductsUpdate = 50, + ItFattureincloudWebhooksProductsUpdate = 50, /// - /// Enum ProductsDelete for value: it.fattureincloud.webhooks.products.delete + /// Enum ItFattureincloudWebhooksProductsDelete for value: it.fattureincloud.webhooks.products.delete /// [EnumMember(Value = "it.fattureincloud.webhooks.products.delete")] - ProductsDelete = 51, + ItFattureincloudWebhooksProductsDelete = 51, /// - /// Enum ProductsStockUpdate for value: it.fattureincloud.webhooks.products.stock_update + /// Enum ItFattureincloudWebhooksProductsStockUpdate for value: it.fattureincloud.webhooks.products.stock_update /// [EnumMember(Value = "it.fattureincloud.webhooks.products.stock_update")] - ProductsStockUpdate = 52, + ItFattureincloudWebhooksProductsStockUpdate = 52, /// - /// Enum EntitiesClientsCreate for value: it.fattureincloud.webhooks.entities.clients.create + /// Enum ItFattureincloudWebhooksEntitiesClientsCreate for value: it.fattureincloud.webhooks.entities.clients.create /// [EnumMember(Value = "it.fattureincloud.webhooks.entities.clients.create")] - EntitiesClientsCreate = 53, + ItFattureincloudWebhooksEntitiesClientsCreate = 53, /// - /// Enum EntitiesClientsUpdate for value: it.fattureincloud.webhooks.entities.clients.update + /// Enum ItFattureincloudWebhooksEntitiesClientsUpdate for value: it.fattureincloud.webhooks.entities.clients.update /// [EnumMember(Value = "it.fattureincloud.webhooks.entities.clients.update")] - EntitiesClientsUpdate = 54, + ItFattureincloudWebhooksEntitiesClientsUpdate = 54, /// - /// Enum EntitiesClientsDelete for value: it.fattureincloud.webhooks.entities.clients.delete + /// Enum ItFattureincloudWebhooksEntitiesClientsDelete for value: it.fattureincloud.webhooks.entities.clients.delete /// [EnumMember(Value = "it.fattureincloud.webhooks.entities.clients.delete")] - EntitiesClientsDelete = 55, + ItFattureincloudWebhooksEntitiesClientsDelete = 55, /// - /// Enum EntitiesSuppliersCreate for value: it.fattureincloud.webhooks.entities.suppliers.create + /// Enum ItFattureincloudWebhooksEntitiesSuppliersCreate for value: it.fattureincloud.webhooks.entities.suppliers.create /// [EnumMember(Value = "it.fattureincloud.webhooks.entities.suppliers.create")] - EntitiesSuppliersCreate = 56, + ItFattureincloudWebhooksEntitiesSuppliersCreate = 56, /// - /// Enum EntitiesSuppliersUpdate for value: it.fattureincloud.webhooks.entities.suppliers.update + /// Enum ItFattureincloudWebhooksEntitiesSuppliersUpdate for value: it.fattureincloud.webhooks.entities.suppliers.update /// [EnumMember(Value = "it.fattureincloud.webhooks.entities.suppliers.update")] - EntitiesSuppliersUpdate = 57, + ItFattureincloudWebhooksEntitiesSuppliersUpdate = 57, /// - /// Enum EntitiesSuppliersDelete for value: it.fattureincloud.webhooks.entities.suppliers.delete + /// Enum ItFattureincloudWebhooksEntitiesSuppliersDelete for value: it.fattureincloud.webhooks.entities.suppliers.delete /// [EnumMember(Value = "it.fattureincloud.webhooks.entities.suppliers.delete")] - EntitiesSuppliersDelete = 58, + ItFattureincloudWebhooksEntitiesSuppliersDelete = 58, /// - /// Enum EntitiesAllCreate for value: it.fattureincloud.webhooks.entities.all.create + /// Enum ItFattureincloudWebhooksEntitiesAllCreate for value: it.fattureincloud.webhooks.entities.all.create /// [EnumMember(Value = "it.fattureincloud.webhooks.entities.all.create")] - EntitiesAllCreate = 59, + ItFattureincloudWebhooksEntitiesAllCreate = 59, /// - /// Enum EntitiesAllUpdate for value: it.fattureincloud.webhooks.entities.all.update + /// Enum ItFattureincloudWebhooksEntitiesAllUpdate for value: it.fattureincloud.webhooks.entities.all.update /// [EnumMember(Value = "it.fattureincloud.webhooks.entities.all.update")] - EntitiesAllUpdate = 60, + ItFattureincloudWebhooksEntitiesAllUpdate = 60, /// - /// Enum EntitiesAllDelete for value: it.fattureincloud.webhooks.entities.all.delete + /// Enum ItFattureincloudWebhooksEntitiesAllDelete for value: it.fattureincloud.webhooks.entities.all.delete /// [EnumMember(Value = "it.fattureincloud.webhooks.entities.all.delete")] - EntitiesAllDelete = 61, + ItFattureincloudWebhooksEntitiesAllDelete = 61, /// - /// Enum IssuedDocumentsEInvoicesStatusUpdate for value: it.fattureincloud.webhooks.issued_documents.e_invoices.status_update + /// Enum ItFattureincloudWebhooksIssuedDocumentsEInvoicesStatusUpdate for value: it.fattureincloud.webhooks.issued_documents.e_invoices.status_update /// [EnumMember(Value = "it.fattureincloud.webhooks.issued_documents.e_invoices.status_update")] - IssuedDocumentsEInvoicesStatusUpdate = 62, + ItFattureincloudWebhooksIssuedDocumentsEInvoicesStatusUpdate = 62, /// - /// Enum ReceivedDocumentsEInvoicesReceive for value: it.fattureincloud.webhooks.received_documents.e_invoices.receive + /// Enum ItFattureincloudWebhooksReceivedDocumentsEInvoicesReceive for value: it.fattureincloud.webhooks.received_documents.e_invoices.receive /// [EnumMember(Value = "it.fattureincloud.webhooks.received_documents.e_invoices.receive")] - ReceivedDocumentsEInvoicesReceive = 63, + ItFattureincloudWebhooksReceivedDocumentsEInvoicesReceive = 63, /// - /// Enum IssuedDocumentsInvoicesEmailSent for value: it.fattureincloud.webhooks.issued_documents.invoices.email_sent + /// Enum ItFattureincloudWebhooksIssuedDocumentsInvoicesEmailSent for value: it.fattureincloud.webhooks.issued_documents.invoices.email_sent /// [EnumMember(Value = "it.fattureincloud.webhooks.issued_documents.invoices.email_sent")] - IssuedDocumentsInvoicesEmailSent = 64, + ItFattureincloudWebhooksIssuedDocumentsInvoicesEmailSent = 64, /// - /// Enum IssuedDocumentsQuotesEmailSent for value: it.fattureincloud.webhooks.issued_documents.quotes.email_sent + /// Enum ItFattureincloudWebhooksIssuedDocumentsQuotesEmailSent for value: it.fattureincloud.webhooks.issued_documents.quotes.email_sent /// [EnumMember(Value = "it.fattureincloud.webhooks.issued_documents.quotes.email_sent")] - IssuedDocumentsQuotesEmailSent = 65, + ItFattureincloudWebhooksIssuedDocumentsQuotesEmailSent = 65, /// - /// Enum IssuedDocumentsProformasEmailSent for value: it.fattureincloud.webhooks.issued_documents.proformas.email_sent + /// Enum ItFattureincloudWebhooksIssuedDocumentsProformasEmailSent for value: it.fattureincloud.webhooks.issued_documents.proformas.email_sent /// [EnumMember(Value = "it.fattureincloud.webhooks.issued_documents.proformas.email_sent")] - IssuedDocumentsProformasEmailSent = 66, + ItFattureincloudWebhooksIssuedDocumentsProformasEmailSent = 66, /// - /// Enum IssuedDocumentsReceiptsEmailSent for value: it.fattureincloud.webhooks.issued_documents.receipts.email_sent + /// Enum ItFattureincloudWebhooksIssuedDocumentsReceiptsEmailSent for value: it.fattureincloud.webhooks.issued_documents.receipts.email_sent /// [EnumMember(Value = "it.fattureincloud.webhooks.issued_documents.receipts.email_sent")] - IssuedDocumentsReceiptsEmailSent = 67, + ItFattureincloudWebhooksIssuedDocumentsReceiptsEmailSent = 67, /// - /// Enum IssuedDocumentsDeliveryNotesEmailSent for value: it.fattureincloud.webhooks.issued_documents.delivery_notes.email_sent + /// Enum ItFattureincloudWebhooksIssuedDocumentsDeliveryNotesEmailSent for value: it.fattureincloud.webhooks.issued_documents.delivery_notes.email_sent /// [EnumMember(Value = "it.fattureincloud.webhooks.issued_documents.delivery_notes.email_sent")] - IssuedDocumentsDeliveryNotesEmailSent = 68, + ItFattureincloudWebhooksIssuedDocumentsDeliveryNotesEmailSent = 68, /// - /// Enum IssuedDocumentsCreditNotesEmailSent for value: it.fattureincloud.webhooks.issued_documents.credit_notes.email_sent + /// Enum ItFattureincloudWebhooksIssuedDocumentsCreditNotesEmailSent for value: it.fattureincloud.webhooks.issued_documents.credit_notes.email_sent /// [EnumMember(Value = "it.fattureincloud.webhooks.issued_documents.credit_notes.email_sent")] - IssuedDocumentsCreditNotesEmailSent = 69, + ItFattureincloudWebhooksIssuedDocumentsCreditNotesEmailSent = 69, /// - /// Enum IssuedDocumentsOrdersEmailSent for value: it.fattureincloud.webhooks.issued_documents.orders.email_sent + /// Enum ItFattureincloudWebhooksIssuedDocumentsOrdersEmailSent for value: it.fattureincloud.webhooks.issued_documents.orders.email_sent /// [EnumMember(Value = "it.fattureincloud.webhooks.issued_documents.orders.email_sent")] - IssuedDocumentsOrdersEmailSent = 70, + ItFattureincloudWebhooksIssuedDocumentsOrdersEmailSent = 70, /// - /// Enum IssuedDocumentsWorkReportsEmailSent for value: it.fattureincloud.webhooks.issued_documents.work_reports.email_sent + /// Enum ItFattureincloudWebhooksIssuedDocumentsWorkReportsEmailSent for value: it.fattureincloud.webhooks.issued_documents.work_reports.email_sent /// [EnumMember(Value = "it.fattureincloud.webhooks.issued_documents.work_reports.email_sent")] - IssuedDocumentsWorkReportsEmailSent = 71, + ItFattureincloudWebhooksIssuedDocumentsWorkReportsEmailSent = 71, /// - /// Enum IssuedDocumentsSupplierOrdersEmailSent for value: it.fattureincloud.webhooks.issued_documents.supplier_orders.email_sent + /// Enum ItFattureincloudWebhooksIssuedDocumentsSupplierOrdersEmailSent for value: it.fattureincloud.webhooks.issued_documents.supplier_orders.email_sent /// [EnumMember(Value = "it.fattureincloud.webhooks.issued_documents.supplier_orders.email_sent")] - IssuedDocumentsSupplierOrdersEmailSent = 72, + ItFattureincloudWebhooksIssuedDocumentsSupplierOrdersEmailSent = 72, /// - /// Enum IssuedDocumentsSelfInvoicesEmailSent for value: it.fattureincloud.webhooks.issued_documents.self_invoices.email_sent + /// Enum ItFattureincloudWebhooksIssuedDocumentsSelfInvoicesEmailSent for value: it.fattureincloud.webhooks.issued_documents.self_invoices.email_sent /// [EnumMember(Value = "it.fattureincloud.webhooks.issued_documents.self_invoices.email_sent")] - IssuedDocumentsSelfInvoicesEmailSent = 73, + ItFattureincloudWebhooksIssuedDocumentsSelfInvoicesEmailSent = 73, /// - /// Enum IssuedDocumentsAllEmailSent for value: it.fattureincloud.webhooks.issued_documents.all.email_sent + /// Enum ItFattureincloudWebhooksIssuedDocumentsAllEmailSent for value: it.fattureincloud.webhooks.issued_documents.all.email_sent /// [EnumMember(Value = "it.fattureincloud.webhooks.issued_documents.all.email_sent")] - IssuedDocumentsAllEmailSent = 74 + ItFattureincloudWebhooksIssuedDocumentsAllEmailSent = 74 } } diff --git a/src/It.FattureInCloud.Sdk/Model/ReceiptPreCreateInfo.cs b/src/It.FattureInCloud.Sdk/Model/ReceiptPreCreateInfo.cs index 292aba1b..05eab0fc 100644 --- a/src/It.FattureInCloud.Sdk/Model/ReceiptPreCreateInfo.cs +++ b/src/It.FattureInCloud.Sdk/Model/ReceiptPreCreateInfo.cs @@ -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; ///