CVS edit link for naringas
I wish to contribute a module which adds a CFD as a node content type. A CFD (Digital Fiscal Proof - in Spanish) is basically just an electronic bill. It is in fact a XML file.
This highly specific module is needed in Mexico because of recent laws regarding taxation require using CFDs.
This module aims to provide support for adding these CFD XML files as a node type, it also controls access to these cfd nodes in order to show them to the intended recipients only. The goal is to distribute the XML files to clients.
The module (called cfd) creates a node type cfd which receives only a .xml file as input, the node type has no body and populates the title based on data from the XML file (after validating it against the government's XSD). Or it can import multiple xml files from a zip file.
To use the module it is necessary to put the XSD 'cfdv2.xsd' inside 'resources/sat/'.
It also provides a page to view and filter CFDs by date. Some module dependencies are date_api and date_popup. It also uses TCPDF (and XSL) to display the CFD as a PDF file. To make the complete PDF it is necesary to put some .xslt files provided by the Mexican government in 'resources/sat/'.
Comments
Comment #1
naringas commentedComment #2
naringas commentedFixed most of what the coder module suggested (still missing a couple of @file tags)
Comment #3
naringas commentedI put the project in github for now...