Library to manage xml CDFI from python and sign with several pacs.
Project description
CFDILib
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.
Free software: Vauxoo Licence (LGPL-v3)
Documentation: https://vauxoo.github.io/cfdilib
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for cfdilib-0.7.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07b62790ea61a060b6aa66ad5192ee2d8abb455aea5be9bbe9da47dd05de24d1 |
|
MD5 | a1cbe13f7d40e120117e38234623d879 |
|
BLAKE2b-256 | ef7e74e9adc62582eb4da7b4ea38fd31b3787658d390cab3d1681cd2b9bea1ce |