Skip to main content

Document Management System

This is a library for creating RiBa CBI documents starting from Odoo 12 data.

Table of contents

Installation

The library is available on PyPI and the suggested way of installing it is by using pip:

pip install ribalta

Usage

Import the Document and Receipt classes:

from ribalta import Document, Receipt

Create and instance of the Document class passing the required data:

riba_doc = Document(
   creditor_company = creditor_res_partner_obj,
   creditor_bank_account = creditor_res_partner_bank_obj
)

Create a Receipt object for each receipt to be included in the CBI and add it to the riba_doc:

rcpt_1 = Receipt(move_line_1, invoice_1, debtor_partner_1, debtor_bank_1)
rcpt_2 = Receipt(move_line_2, invoice_2, debtor_partner_2, debtor_bank_2)

riba_doc.add_receipt(rcpt_1)
riba_doc.add_receipt(rcpt_2)

Render the CBI document (the result of the rendering is a string):

cbi_str = riba_doc.render_cbi()

See the docstring for details about the required arguments.

Known issues / Roadmap

No known issues at the moment

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported.

Do not contact contributors directly about support or help with technical issues.

License

License: LGPL-3

Credits

Authors

  • Didotech s.r.l.

  • SHS-AV s.r.l.

Contributors

Metadata

Release files for ribalta 0.4.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ribalta 0.4.5
File Size Uploaded Provenance Actions
ribalta-0.4.5.tar.gz 17.0 kB Without provenance Details for ribalta-0.4.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ribalta 0.4.5
File Interpreter ABI Platform Actions
ribalta-0.4.5-py3-none-any.whl Python 3 none any Details for ribalta-0.4.5-py3-none-any.whl

Total release size: 32.5 kB

Release files / ribalta-0.4.5.tar.gz

Download URL ribalta-0.4.5.tar.gz
Size 17.0 kB
Tags Source
SHA-256 checksum
How to use checksums
6d58f0998705a95a39c46f3365d905beda6d5a32458db751b8420c68325a8fdc
BLAKE2b-256 checksum
How to use checksums
c642e6970407e3a778ab75af81f10140ec99f50625899e2c0b688eeaa36f2814
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.28.1

Release files / ribalta-0.4.5-py3-none-any.whl

Download URL ribalta-0.4.5-py3-none-any.whl
Size 15.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ab06dac012262941dc5118da90e253e159d448103532df17d74276cc76935df6
BLAKE2b-256 checksum
How to use checksums
8f5b117ddba52e96e80228375df8ca9a16be71dd18797f63f4e69de6a85a6289
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.28.1

Security for ribalta 0.4.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page