Skip to main content

OpenAPI client for Cloudbeds Fiscal Document API.

Project description

Cloudbeds Fiscal Document

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

The cloudbeds_fiscal_document package is automatically generated by the OpenAPI Generator project:

  • API version: v1
  • Package version: 1.0.0
  • Generator version: 7.11.0
  • Build package: org.openapitools.codegen.languages.PythonClientCodegen

Requirements.

Python 3.8+

Installation & Usage

This python library package is generated without supporting files like setup.py or requirements files

To be able to use it, you will need these dependencies in your own package that uses this library:

  • urllib3 >= 1.25.3, < 3.0.0
  • python-dateutil >= 2.8.2
  • pydantic >= 2
  • typing-extensions >= 4.7.1

Getting Started

In your own code, to use this library to connect and interact with Cloudbeds Fiscal Document, you can run the following:

import cloudbeds_fiscal_document
from cloudbeds_fiscal_document.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost:8700
# See configuration.py for a list of all supported configuration parameters.
configuration = cloudbeds_fiscal_document.Configuration(
    host = "http://localhost:8700"
)

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

# Configure Bearer authorization (JWT): bearerAuth
configuration = cloudbeds_fiscal_document.Configuration(
    access_token = os.environ["BEARER_TOKEN"]
)


# Enter a context with an instance of the API client
with cloudbeds_fiscal_document.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = cloudbeds_fiscal_document.ConfigsApi(api_client)
    x_property_id = 56 # int | Property id

    try:
        # Get list of fiscal documents configs
        api_response = api_instance.get_configs(x_property_id)
        print("The response of ConfigsApi->get_configs:\n")
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling ConfigsApi->get_configs: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to http://localhost:8700

Class Method HTTP request Description
ConfigsApi get_configs GET /fiscal-document/v1/configs Get list of fiscal documents configs
ConfigsApi update_configs PUT /fiscal-document/v1/configs/{documentKind}
FiscalDocumentsApi create_credit_note POST /fiscal-document/v1/fiscal-documents/credit-note
FiscalDocumentsApi create_invoice POST /fiscal-document/v1/fiscal-documents/invoice
FiscalDocumentsApi download_fiscal_document GET /fiscal-document/v1/fiscal-documents/{id}/download Download fiscal document
FiscalDocumentsApi email_fiscal_document POST /fiscal-document/v1/fiscal-documents/{id}/email Email a fiscal document
FiscalDocumentsApi get_fiscal_document_transactions GET /fiscal-document/v1/fiscal-documents/transactions Get list of fiscal documents
FiscalDocumentsApi get_fiscal_document_transactions_by_id GET /fiscal-document/v1/fiscal-documents/{id}/transactions Get list of transactions for a given fiscal document id
FiscalDocumentsApi get_fiscal_documents GET /fiscal-document/v1/fiscal-documents Get list of fiscal documents
FiscalDocumentsApi put_fiscal_document PUT /fiscal-document/v1/fiscal-documents/{id}

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

bearerAuth

  • Type: Bearer authentication (JWT)

Author

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cloudbeds_fiscal_document-1.0.0.tar.gz (34.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cloudbeds_fiscal_document-1.0.0-py3-none-any.whl (70.7 kB view details)

Uploaded Python 3

File details

Details for the file cloudbeds_fiscal_document-1.0.0.tar.gz.

File metadata

File hashes

Hashes for cloudbeds_fiscal_document-1.0.0.tar.gz
Algorithm Hash digest
SHA256 bf868b2752335bd94c2d7c238571ad0fa79afe98875ae64557ca9e77c5a7c8c9
MD5 88f20646fde1dd4f2c162be9b349fc84
BLAKE2b-256 3ec997a3c12b2ad6c175200888289b6ce550d9353c45601c6432e9447d639fe1

See more details on using hashes here.

Provenance

The following attestation bundles were made for cloudbeds_fiscal_document-1.0.0.tar.gz:

Publisher: publish.yaml on cloudbeds/cloudbeds-fiscal-document-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cloudbeds_fiscal_document-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for cloudbeds_fiscal_document-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8cea7f60288572b24da755d5e87c9889e9c0c0bbd91cbcb40f49bcad55d61aae
MD5 3dc0a250c8cf91f0b92e3496a623f79d
BLAKE2b-256 fb2187007068bd557df8f3ac3d96d12b510a53c1340d8bca793d3fe7a0b493c3

See more details on using hashes here.

Provenance

The following attestation bundles were made for cloudbeds_fiscal_document-1.0.0-py3-none-any.whl:

Publisher: publish.yaml on cloudbeds/cloudbeds-fiscal-document-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page