bit4bit@riseup.net a7eb945962 tests/test_fe_form.py: se implementa prueba cude.
se implementa prueba para cude de nota debito segun
ejemplo en pagina 614, pero el sha384 de la composicion
difiere del generado tanto de facho como el sitio web
que dan para generarlo.

FossilOrigin-Name: 51b29990f6eaf4fc4f85dc51873957f41d9ba047889e4e4fe2ea4f0b1285e88c
2020-10-30 03:27:11 +00:00
2020-10-28 00:43:16 +00:00
2020-10-18 22:07:05 +00:00
2020-05-23 18:56:22 +00:00
2020-10-27 02:11:40 +00:00
2020-05-23 18:56:22 +00:00
2020-10-18 22:30:59 +00:00
2020-10-18 22:07:05 +00:00
2020-05-23 18:56:22 +00:00
2020-05-23 18:56:22 +00:00
2020-10-27 02:11:40 +00:00
2020-09-27 17:01:38 +00:00
2020-10-18 22:07:05 +00:00
2020-10-18 22:30:59 +00:00
2020-10-18 22:07:05 +00:00
2020-10-24 02:24:21 +00:00

=====
facho
=====

!!INESTABLE NO RECOMENDAMOS USO PARA PRODUCION!!

Libreria para facturacion electronica colombia.

- facho/facho.py: abstracion para manipulacion del XML
- facho/fe/form.py: abstraciones para creacion de facturas.
- facho/fe/form_xml.py(DIANInvoiceXML): decora abstraciones con campos requeridos por la DIAN.
- facho/fe/fe.py(DianXMLExtensionSigner): extension para firmar xml
- facho/fe/client/dian.py(DianClient): cliente para consultas sincronicas a API de DIAN


INSTALACION
===========


usando pip::
  
   pip install git+https://git.disroot.org/Etrivial/facho

CLI
===

tambien se provee linea de comandos **facho** para firmado y envio de documentos::
  facho --help

CONTRIBUIR
==========

ver **CONTRIBUTING.rst**

DIAN HABILITACION
=================

guia oficial actualizada al 2020-04-20: https://www.dian.gov.co/fizcalizacioncontrol/herramienconsulta/FacturaElectronica/Facturaci%C3%B3n_Gratuita_DIAN/Documents/Guia_usuario_08052019.pdf#search=numeracion


ERROR X509SerialNumber
======================


lxml.etree.DocumentInvalid: Element '{http://www.w3.org/2000/09/xmldsig#}X509SerialNumber': '632837201711293159666920255411738137494572618415' is not a valid value of the atomic type 'xs:integer'

Actualmente el xmlschema usado por xmlsig para el campo X509SerialNumber es tipo
integer ahi que parchar manualmente a tipo string, en el archivo site-packages/xmlsig/data/xmldsig-core-schema.xsd.
Description
No description provided
Readme 72 MiB
Languages
C 96%
Python 3.9%