Releases: phpcfdi/sat-catalogos-populate
Version 2.9.0
Add CCP (Complemento de Carta Porte) 3.1 catalogs.
- Add Origin as a constant source, saving the file as
CatalogosCartaPorte31.xls
. - Add Source importer from
CatalogosCartaPorte31.xls
. It includes 32 catalogs. - Importers create tables with prefix
ccp_31_*
. - Update
docs/Catalogos.md
with CCP 3.1 catalogs.
Other updates:
- Add
composer-normalize
job to continuous integration process. - Update development tools.
Version 2.8.1
CFDI 4.0 catalog UsoCFDI
change a header from Regímen Fiscal Receptor
to Régimen Fiscal Receptor
.
When export to CSV, remove trailing commas on exported files.
Other updates:
- GitHub actions update to version 4.
- GitHub workflow job
phpcs
run using installed tool. - Update testing file specimen for CFDI 4.0.
- Remove trailing commas on CSV testing files.
- Update development tools.
Version 2.8.0
Add CCE (Complemento de comercio exterior) 2.0 catalogs with prefix cce_20_*
.
It contains the same catalogs as CCE 1.1.
- Use "Fracciones arancelarias" second link for CCE 1.1 from catalogs page scrap.
- Update license year. Happy 2024!
- Update direct dependencies.
- Bump to PHP 8.2.
- Remove PHP 8.1 from matrix support.
- Bump to PHPUnit 1.5.
- On GitHub workflow
build
jobphpcs
, installphpcs
using phive since installed tool is outdated.
Version 2.7.1
PHPStan found an issue when creating commands using the method factory pattern. The command classes were able to extend and fail if method ::createFromArguments
was not overriden. More information: phpstan/phpstan#10286 (comment). As always, thanks to Ondřej Mirtes and PHPPStan team for saving our pitfails.
Other development changes:
- Add PHP 8.3 to test matrix.
- Update development tools.
Version 2.7.0
Add Complemento Carta Porte 3.0
The structure of CPP 3.0 is almost the same as CPP 2.0, but add the following catalogs:
c_CondicionesEspeciales
c_DocumentoAduanero
c_FormaFarmaceutica
c_RegimenAduanero
c_RegistroISTMO
c_SectorCOFEPRIS
c_TipoMateria
It also contains "Por definir" on "Fecha de inicio de vigencia", wich is managed as NULL
.
Version 2.6.4
Fix Anexo 20 location, it was http://omawww.sat.gob.mx/tramitesyservicios/Paginas/anexo_20_version3-3.htm
and now it is http://omawww.sat.gob.mx/tramitesyservicios/Paginas/anexo_20.htm
.
This change affects CFDI 3.3 and CFDI 4.0.
Thanks @TheSpectroMx and @FintaxDev!
Other development changes:
- Update docker image to Debian stable (bookworm).
- Allow dispatch workflow manually.
- Update
php-cs-fixer
configuration file. - Update development tools.
Version 2.6.3
Fix catalog Códigos Postales on CFDI 3.3 and CFDI 4.0 for column Estímulo Franja Fronteriza,
The field now changes from boolean to integer.
This field was interpreted as boolean, with value true
when column value is 1
.
The possible columns values are 0 - No aplica
, 1 - Estímulo frontera norte
and 2 - Estímulo frontera sur
.
Previously, the values 2
where interpreted as false
.
The sources specimens were changes to include data with values 0
, 1
and 2
.
Version 2.6.2
- Fix
OriginsTranslatorInterface::originFromArray
PHPDoc signature.
It now receivesarray<string, string>
instead ofarray<string, mixed>
. - Remove environment variable
PHP_CS_FIXER_IGNORE_ENV
on workflowbuild.yml
jobphp-cs-fixer
. - Update development tools.
Version 2.6.1
- Update RET20 - CFDI de retenciones e información de pagos origin.
- Improve error detection and message when a scraping link is not found.
- Update development tools.
Version 2.6.0
Add RET20 - CFDI de retenciones e información de pagos, includes 10 different catalogs:
- Catálogo de claves de retenciones.
- Catálogo de periodos.
- Catálogo de ejercicios.
- Catálogo de tipos de pago de la retención.
- Catálogo de entidades federativas.
- Catálogo de países.
- Catálogo de periodicidades.
- Catálogo de tipos de contribuyentes sujetos a retención.
- Catálogo de tipos de dividendos o utilidades distribuidas.
- Catálogo de tipo de impuesto.
Thanks @gam04 for your contribution.
The following changes to the project does not change the source code:
- Update license year. Happy 2023!.
- Fix build badge
badge-build
. - Fix changelog versions.
- The GitHub workflow jobs run using PHP 8.2.
- Update development tools.