Skip to main content

Library to manage xml CDFI from python and sign with several pacs.

Project description

CFDILib

https://badge.fury.io/py/cfdilib.svg https://travis-ci.org/Vauxoo/cfdilib.svg?branch=master https://codecov.io/gh/Vauxoo/cfdilib/branch/master/graph/badge.svg?token=wcRGfPzSDy Code Health

Library to xml documents based on XSD files to manage situations where you need to sign such documents with a third party, then given a simple dictionary and a jinja2 template you will be able to generate such documents with almos 0 logic.

Features

  • TODO

History

0.7.0

  • l10n_mx_reports: fix error in general ledger report (#78)

  • [IMP] cfdilib: xsd added to generate payment complement (#75)

  • Changed path to allow have xsd that are imported by others xsd in the same library, and not call to SAT page each time that is generated a new XML.

  • Add catPagos.xsd file

  • [FIX] cfdilib: fix xsd file name to avoid error I/O warning : failed to load external entity “tdCFDI.xsd”

  • [FIX] cfdilib: changing complement node task#22554 (#76)

  • [FIX] l10n_mx_reports: fix error in general ledger report (#81) when “Concepto” has a length over 300 characters in operations and over 200 characters in transactions. And, when account description has a length over 100 characters.

  • [FIX][cfdilib] - Welcome template for comercio exterior node.

0.6.4

In some cases the RFC is optional

0.6.3

Now certificate is optional on CFDI 3.3

0.6.2

Add new XSD version for CFDI 3.3

0.6.1

Added complement for Paymens

0.6.0

  • Welcome to electronic accounting 1.3

0.5.3

  • Added Payroll 1.2

  • Added pedimento concept for cfdi 3.3.

0.5.2

  • Some values are now optionals.

0.5.1

Some fixes regarding the fact that perceptions and taxes are optionals.

0.5.0

Welcome to cfdi 3.3

0.4.0

Welcome to payroll generation

0.3.5

Now the template 3.2 has a placeholder for addenda.

0.3.4

  • XMl for Journal Items: Assigned id by the next:

Atributo requerido para expresar el número único de identificación de la póliza. El campo deberá contener la clave o nombre utilizado por el contribuyente para diferenciar, el tipo de póliza y el número correspondiente. En un mes ordinario no debe repetirse un mismo número de póliza con la clave o nombre asignado por el contribuyente.

0.3.3

  • Refactor of the code for cache the temp downloaded files.

  • Fixed minor lint problems to improve the readability of the code.

latest

  • Refactor of the code for cache the temp downloaded files.

  • Fixed minor lint problems to improve the readability of the code.

0.3.1

  • Refactiring the validation approach to use a proper way and not be sticked to an specific lxml version

0.3.0

  • Electronic accounting ready.

    • CoA.

    • Moves.

    • Balance

0.1.0 (2016-1-22)

  • First release on PyPI.

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

cfdilib-0.7.0.tar.gz (497.0 kB view details)

Uploaded Source

Built Distribution

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

cfdilib-0.7.0-py2.py3-none-any.whl (506.2 kB view details)

Uploaded Python 2Python 3

File details

Details for the file cfdilib-0.7.0.tar.gz.

File metadata

  • Download URL: cfdilib-0.7.0.tar.gz
  • Upload date:
  • Size: 497.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for cfdilib-0.7.0.tar.gz
Algorithm Hash digest
SHA256 41825cf9aa45ee8adbd8abfb86b7f574d11a9f2d515f12635ec1a4c5849c1428
MD5 7c5ce638e97d9aaece2ff0235de1285a
BLAKE2b-256 d9a1685af52ad30df9e73a34b9a030fc665924800df4a389c99176e857f2ba4c

See more details on using hashes here.

File details

Details for the file cfdilib-0.7.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for cfdilib-0.7.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 07b62790ea61a060b6aa66ad5192ee2d8abb455aea5be9bbe9da47dd05de24d1
MD5 a1cbe13f7d40e120117e38234623d879
BLAKE2b-256 ef7e74e9adc62582eb4da7b4ea38fd31b3787658d390cab3d1681cd2b9bea1ce

See more details on using hashes here.

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