Herramienta para crear y actualizar los catálogos de SAT/CFDI en una base de datos SQLite3
Use this project to produce the SQLite database for phpcfdi/sat-catalogos
but this database can also be used in any other project.
This project provides a Dockerfile
to build an image with the project and all its dependences. Use it to execute
the commands provided by this package, for more information check the README.Docker.md
file.
git clone https://github.com/phpcfdi/sat-catalogos-populate.git
docker build -t sat-catalogos-populate sat-catalogos-populate/
docker run -it --rm sat-catalogos-populate --help
This project is not a library, and it is not included on Packagist.
You cannot install it on your system using composer
.
Install it by cloning the project https://github.com/phpcfdi/sat-catalogos-populate.git
or download zip file.
git clone https://github.com/phpcfdi/sat-catalogos-populate.git
cd sat-catalogos-populate
composer install
Be aware it also requires external software to work:
apt-get install libreoffice-calc xlsx2csv
mkdir catalogs
php bin/sat-catalogos-update dump-origins > catalogs/origins.xml
php bin/sat-catalogos-update update-origins catalogs/
php bin/sat-catalogos-update update-database catalogs/ catalogs/catalogos.sqlite3
Read the file Catálogos SAT for more information about the catalogs included (in spanish).
- Catálogos de CFDI 3.3.
- Catálogos de CFDI 4.0.
- Catálogos de Complemento de Comercio Exterior 1.1.
- Catálogos de Complemento de Comercio Exterior 2.0.
- Catálogos de Complemento de Nóminas 1.2.
- Catálogos de Complemento de Carta Porte 2.0.
- Catálogos de Complemento de Carta Porte 3.0.
- Catálogos de Complemento de Carta Porte 3.1.
- Catálogos de Complemento de Recepción de Pagos 1.0.
- Catálagos de CFDI De Retenciones e Información de Pagos 2.0
This tool is compatible with last PHP supported version. Please, try to use the full potential of the language.
Contributions are welcome! Please read CONTRIBUTING for details and don't forget to take a look in the TODO and CHANGELOG files.
The phpcfdi/sat-catalogos-populate
project is copyright © PhpCfdi
and licensed for use under the MIT License (MIT). Please see LICENSE for more information.