Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fattureincloud-python-sdk

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fattureincloud-python-sdk

Python SDK for the Fatture in Cloud API

  • 2.1.2
  • PyPI
  • Socket score

Maintainers
1

FattureInCloud Python SDK

PyPI unit tests

fattureincloud-python-sdk

Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy.

The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol.

This Python package is automatically generated by the OpenAPI Generator project:

  • API version: 2.1.3
  • Package version: 2.1.2
  • Build package: org.openapitools.codegen.languages.PythonClientCodegen For more information, please visit https://www.fattureincloud.it

Requirements.

Python >= 3.7

Installation & Usage

pip install

You can install our python package directly using:

pip install fattureincloud-python-sdk

(you may need to run pip with root permission: sudo pip install fattureincloud-python-sdk)

Then import the package:

import fattureincloud_python_sdk

Tests

Execute pytest to run the tests.

Getting Started

Please follow the installation procedure and then run the following:


import fattureincloud_python_sdk
from fattureincloud_python_sdk.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://api-v2.fattureincloud.it
# See configuration.py for a list of all supported configuration parameters.
configuration = fattureincloud_python_sdk.Configuration(
    host = "https://api-v2.fattureincloud.it"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

configuration.access_token = os.environ["ACCESS_TOKEN"]


# Enter a context with an instance of the API client
with fattureincloud_python_sdk.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = fattureincloud_python_sdk.ArchiveApi(api_client)
    company_id = 12345 # int | The ID of the company.
    create_archive_document_request = {"data":{"date":"2021-08-20","category":"Altri documenti","description":"spesa 1","attachment_token":"ibfjdbf94ey9w94g3w894qbasrga"}} # CreateArchiveDocumentRequest | The Archive Document. (optional)

    try:
        # Create Archive Document
        api_response = api_instance.create_archive_document(company_id, create_archive_document_request=create_archive_document_request)
        print("The response of ArchiveApi->create_archive_document:\n")
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling ArchiveApi->create_archive_document: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to https://api-v2.fattureincloud.it

ClassMethodHTTP requestDescription
ArchiveApicreate_archive_documentPOST /c/{company_id}/archiveCreate Archive Document
ArchiveApidelete_archive_documentDELETE /c/{company_id}/archive/{document_id}Delete Archive Document
ArchiveApiget_archive_documentGET /c/{company_id}/archive/{document_id}Get Archive Document
ArchiveApilist_archive_documentsGET /c/{company_id}/archiveList Archive Documents
ArchiveApimodify_archive_documentPUT /c/{company_id}/archive/{document_id}Modify Archive Document
ArchiveApiupload_archive_document_attachmentPOST /c/{company_id}/archive/attachmentUpload Archive Document Attachment
CashbookApicreate_cashbook_entryPOST /c/{company_id}/cashbookCreate Cashbook Entry
CashbookApidelete_cashbook_entryDELETE /c/{company_id}/cashbook/{document_id}Delete Cashbook Entry
CashbookApiget_cashbook_entryGET /c/{company_id}/cashbook/{document_id}Get Cashbook Entry
CashbookApilist_cashbook_entriesGET /c/{company_id}/cashbookList Cashbook Entries
CashbookApimodify_cashbook_entryPUT /c/{company_id}/cashbook/{document_id}Modify Cashbook Entry
ClientsApicreate_clientPOST /c/{company_id}/entities/clientsCreate Client
ClientsApidelete_clientDELETE /c/{company_id}/entities/clients/{client_id}Delete Client
ClientsApiget_clientGET /c/{company_id}/entities/clients/{client_id}Get Client
ClientsApilist_clientsGET /c/{company_id}/entities/clientsList Clients
ClientsApimodify_clientPUT /c/{company_id}/entities/clients/{client_id}Modify Client
CompaniesApiget_company_infoGET /c/{company_id}/company/infoGet Company Info
CompaniesApiget_company_plan_usageGET /c/{company_id}/company/plan_usageGet Company Plan Usage
EmailsApilist_emailsGET /c/{company_id}/emailsList Emails
InfoApilist_archive_categoriesGET /c/{company_id}/info/archive_categoriesList Archive Categories
InfoApilist_citiesGET /info/citiesList Cities
InfoApilist_cost_centersGET /c/{company_id}/info/cost_centersList Cost Centers
InfoApilist_countriesGET /info/countriesList Countries
InfoApilist_currenciesGET /info/currenciesList Currencies
InfoApilist_delivery_notes_default_causalsGET /info/dn_causalsList Delivery Notes Default Causals
InfoApilist_detailed_countriesGET /info/detailed_countriesList Detailed Countries
InfoApilist_languagesGET /info/languagesList Languages
InfoApilist_payment_accountsGET /c/{company_id}/info/payment_accountsList Payment Accounts
InfoApilist_payment_methodsGET /c/{company_id}/info/payment_methodsList Payment Methods
InfoApilist_product_categoriesGET /c/{company_id}/info/product_categoriesList Product Categories
InfoApilist_received_document_categoriesGET /c/{company_id}/info/received_document_categoriesList Received Document Categories
InfoApilist_revenue_centersGET /c/{company_id}/info/revenue_centersList Revenue Centers
InfoApilist_templatesGET /info/templatesList Templates
InfoApilist_units_of_measureGET /info/measuresList Units of Measure
InfoApilist_vat_typesGET /c/{company_id}/info/vat_typesList Vat Types
IssuedDocumentsApicreate_issued_documentPOST /c/{company_id}/issued_documentsCreate Issued Document
IssuedDocumentsApidelete_issued_documentDELETE /c/{company_id}/issued_documents/{document_id}Delete Issued Document
IssuedDocumentsApidelete_issued_document_attachmentDELETE /c/{company_id}/issued_documents/{document_id}/attachmentDelete Issued Document Attachment
IssuedDocumentsApiget_email_dataGET /c/{company_id}/issued_documents/{document_id}/emailGet Email Data
IssuedDocumentsApiget_existing_issued_document_totalsPOST /c/{company_id}/issued_documents/{document_id}/totalsGet Existing Issued Document Totals
IssuedDocumentsApiget_issued_documentGET /c/{company_id}/issued_documents/{document_id}Get Issued Document
IssuedDocumentsApiget_issued_document_pre_create_infoGET /c/{company_id}/issued_documents/infoGet Issued Document Pre-Create Info
IssuedDocumentsApiget_new_issued_document_totalsPOST /c/{company_id}/issued_documents/totalsGet New Issued Document Totals
IssuedDocumentsApijoin_issued_documentsGET /c/{company_id}/issued_documents/joinJoin Issued Documents
IssuedDocumentsApilist_issued_documentsGET /c/{company_id}/issued_documentsList Issued Documents
IssuedDocumentsApimodify_issued_documentPUT /c/{company_id}/issued_documents/{document_id}Modify Issued Document
IssuedDocumentsApischedule_emailPOST /c/{company_id}/issued_documents/{document_id}/emailSchedule Email
IssuedDocumentsApitransform_issued_documentGET /c/{company_id}/issued_documents/transformTransform Issued Document
IssuedDocumentsApiupload_issued_document_attachmentPOST /c/{company_id}/issued_documents/attachmentUpload Issued Document Attachment
IssuedEInvoicesApiget_e_invoice_rejection_reasonGET /c/{company_id}/issued_documents/{document_id}/e_invoice/error_reasonGet E-Invoice Rejection Reason
IssuedEInvoicesApiget_e_invoice_xmlGET /c/{company_id}/issued_documents/{document_id}/e_invoice/xmlGet E-Invoice XML
IssuedEInvoicesApisend_e_invoicePOST /c/{company_id}/issued_documents/{document_id}/e_invoice/sendSend E-Invoice
IssuedEInvoicesApiverify_e_invoice_xmlGET /c/{company_id}/issued_documents/{document_id}/e_invoice/xml_verifyVerify E-Invoice XML
ProductsApicreate_productPOST /c/{company_id}/productsCreate Product
ProductsApidelete_productDELETE /c/{company_id}/products/{product_id}Delete Product
ProductsApiget_productGET /c/{company_id}/products/{product_id}Get Product
ProductsApilist_productsGET /c/{company_id}/productsList Products
ProductsApimodify_productPUT /c/{company_id}/products/{product_id}Modify Product
ReceiptsApicreate_receiptPOST /c/{company_id}/receiptsCreate Receipt
ReceiptsApidelete_receiptDELETE /c/{company_id}/receipts/{document_id}Delete Receipt
ReceiptsApiget_receiptGET /c/{company_id}/receipts/{document_id}Get Receipt
ReceiptsApiget_receipt_pre_create_infoGET /c/{company_id}/receipts/infoGet Receipt Pre-Create Info
ReceiptsApiget_receipts_monthly_totalsGET /c/{company_id}/receipts/monthly_totalsGet Receipts Monthly Totals
ReceiptsApilist_receiptsGET /c/{company_id}/receiptsList Receipts
ReceiptsApimodify_receiptPUT /c/{company_id}/receipts/{document_id}Modify Receipt
ReceivedDocumentsApicreate_received_documentPOST /c/{company_id}/received_documentsCreate Received Document
ReceivedDocumentsApidelete_received_documentDELETE /c/{company_id}/received_documents/{document_id}Delete Received Document
ReceivedDocumentsApidelete_received_document_attachmentDELETE /c/{company_id}/received_documents/{document_id}/attachmentDelete Received Document Attachment
ReceivedDocumentsApiget_existing_received_document_totalsPOST /c/{company_id}/received_documents/{document_id}/totalsGet Existing Received Document Totals
ReceivedDocumentsApiget_new_received_document_totalsPOST /c/{company_id}/received_documents/totalsGet New Received Document Totals
ReceivedDocumentsApiget_received_documentGET /c/{company_id}/received_documents/{document_id}Get Received Document
ReceivedDocumentsApiget_received_document_pre_create_infoGET /c/{company_id}/received_documents/infoGet Received Document Pre-Create Info
ReceivedDocumentsApilist_received_documentsGET /c/{company_id}/received_documentsList Received Documents
ReceivedDocumentsApimodify_received_documentPUT /c/{company_id}/received_documents/{document_id}Modify Received Document
ReceivedDocumentsApiupload_received_document_attachmentPOST /c/{company_id}/received_documents/attachmentUpload Received Document Attachment
SettingsApicreate_payment_accountPOST /c/{company_id}/settings/payment_accountsCreate Payment Account
SettingsApicreate_payment_methodPOST /c/{company_id}/settings/payment_methodsCreate Payment Method
SettingsApicreate_vat_typePOST /c/{company_id}/settings/vat_typesCreate Vat Type
SettingsApidelete_payment_accountDELETE /c/{company_id}/settings/payment_accounts/{payment_account_id}Delete Payment Account
SettingsApidelete_payment_methodDELETE /c/{company_id}/settings/payment_methods/{payment_method_id}Delete Payment Method
SettingsApidelete_vat_typeDELETE /c/{company_id}/settings/vat_types/{vat_type_id}Delete Vat Type
SettingsApiget_payment_accountGET /c/{company_id}/settings/payment_accounts/{payment_account_id}Get Payment Account
SettingsApiget_payment_methodGET /c/{company_id}/settings/payment_methods/{payment_method_id}Get Payment Method
SettingsApiget_tax_profileGET /c/{company_id}/settings/tax_profileGet Tax Profile
SettingsApiget_vat_typeGET /c/{company_id}/settings/vat_types/{vat_type_id}Get Vat Type
SettingsApimodify_payment_accountPUT /c/{company_id}/settings/payment_accounts/{payment_account_id}Modify Payment Account
SettingsApimodify_payment_methodPUT /c/{company_id}/settings/payment_methods/{payment_method_id}Modify Payment Method
SettingsApimodify_vat_typePUT /c/{company_id}/settings/vat_types/{vat_type_id}Modify Vat Type
SuppliersApicreate_supplierPOST /c/{company_id}/entities/suppliersCreate Supplier
SuppliersApidelete_supplierDELETE /c/{company_id}/entities/suppliers/{supplier_id}Delete Supplier
SuppliersApiget_supplierGET /c/{company_id}/entities/suppliers/{supplier_id}Get Supplier
SuppliersApilist_suppliersGET /c/{company_id}/entities/suppliersList Suppliers
SuppliersApimodify_supplierPUT /c/{company_id}/entities/suppliers/{supplier_id}Modify Supplier
TaxesApicreate_f24POST /c/{company_id}/taxesCreate F24
TaxesApidelete_f24DELETE /c/{company_id}/taxes/{document_id}Delete F24
TaxesApidelete_f24_attachmentDELETE /c/{company_id}/taxes/{document_id}/attachmentDelete F24 Attachment
TaxesApiget_f24GET /c/{company_id}/taxes/{document_id}Get F24
TaxesApilist_f24GET /c/{company_id}/taxesList F24
TaxesApimodify_f24PUT /c/{company_id}/taxes/{document_id}Modify F24
TaxesApiupload_f24_attachmentPOST /c/{company_id}/taxes/attachmentUpload F24 Attachment
UserApiget_user_infoGET /user/infoGet User Info
UserApilist_user_companiesGET /user/companiesList User Companies
WebhooksApicreate_webhooks_subscriptionPOST /c/{company_id}/subscriptionsCreate a Webhook Subscription
WebhooksApidelete_webhooks_subscriptionDELETE /c/{company_id}/subscriptions/{subscription_id}Delete Webhooks Subscription
WebhooksApiget_webhooks_subscriptionGET /c/{company_id}/subscriptions/{subscription_id}Get Webhooks Subscription
WebhooksApilist_webhooks_subscriptionsGET /c/{company_id}/subscriptionsList Webhooks Subscriptions
WebhooksApimodify_webhooks_subscriptionPUT /c/{company_id}/subscriptions/{subscription_id}Modify Webhooks Subscription

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

OAuth2AuthenticationCodeFlow

  • Type: OAuth
  • Flow: accessCode
  • Authorization URL: https://api-v2.fattureincloud.it/oauth/authorize
  • Scopes:
  • entity.clients:r: Read permission to the Clients registry
  • entity.clients:a: Write permission to the Clients registry
  • entity.suppliers:r: Read permission to the Suppliers registry
  • entity.suppliers:a: Write permission to the Suppliers registry
  • products:r: Read permission to the Products
  • products:a: Write permission to the Products
  • issued_documents.invoices:r: Read permission to the issued Invoices
  • issued_documents.credit_notes:r: Read permission to the issued Credit Notes
  • issued_documents.receipts:r: Read permission to the issued Receipts
  • issued_documents.orders:r: Read permission to the issued Orders
  • issued_documents.quotes:r: Read permission to the issued Quotes
  • issued_documents.proformas:r: Read permission to the issued Proformas
  • issued_documents.delivery_notes:r: Read permission to the issued Delivery Notes
  • issued_documents.work_reports:r: Read permission to the issued Work Reports
  • issued_documents.supplier_orders:r: Read permission to the issued Supplier Orders
  • issued_documents.self_invoices:r: Read permission to the issued Self Invoices
  • issued_documents.invoices:a: Write permission to the issued Invoices
  • issued_documents.credit_notes:a: Write permission to the issued Credit Notes
  • issued_documents.receipts:a: Write permission to the issued issued Receipts
  • issued_documents.orders:a: Write permission to the issued Orders
  • issued_documents.quotes:a: Write permission to the issued Quotes
  • issued_documents.proformas:a: Write permission to the issued Proformas
  • issued_documents.delivery_notes:a: Write permission to the issued Delivery Notes
  • issued_documents.work_reports:a: Write permission to the issued Work Reports
  • issued_documents.supplier_orders:a: Write permission to the issued Supplier Orders
  • issued_documents.self_invoices:a: Write permission to the issued Self Invoices
  • received_documents:r: Read permission to the Received Documents
  • received_documents:a: Write permission to the Received Documents
  • stock:r: Read permission to the Stock movements
  • stock:a: Write permission to the Stock movements
  • receipts:r: Read permission to the Receipts
  • receipts:a: Write permission to the Receipts
  • taxes:r: Read permission to the Taxes
  • taxes:a: Write permission to the Taxes
  • archive:r: Read permission to the Archive Documents
  • archive:a: Read permission to the Archive Documents
  • cashbook:r: Read permission to the Cashbook
  • cashbook:a: Write permission to the Cashbook
  • settings:r: Read permission to the Settings
  • settings:a: Write permission to the Settings
  • situation:r: Read permission to the company Situation

Author

info@fattureincloud.it

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc