Skip to content

Releases: eclipxe13/CfdiUtils

Version 2.29.0

18 Jun 22:50
c3a7466
Compare
Choose a tag to compare

Add CfdiUtils\Elements\CartaPorte31 Elements to work with "Carta Porte 3.1".
Thanks @alejandrogova1 for your contribution.

Version 2.28.2

10 Jun 14:46
489b0d1
Compare
Choose a tag to compare
  • Wrap OpenSSL command run on a try/catch block to throw a OpenSSLException exception.
  • Refactor certificate downloader test helper. Now it uses Curl instead of native PHP. It was failing on PHP 7.3.
  • Remove old dependencies for ReadTheDocs: mkdocs:1.2.3 and jinja2<3.1.0. Thanks to @dependabot.
  • On build workflow:
    • Simplify "on" section.
    • Use php-version matrix value as singular.

Version 2.28.1

21 Feb 03:31
76c3c81
Compare
Choose a tag to compare
  • Allow dependency on symfony/process branch 7.x.
  • Migrate GitHub actions to version 4.

Version 2.28.0

22 Jan 23:53
3ca86d3
Compare
Choose a tag to compare
  • Deprecate CfdiUtils\Utils\Crp20277Fixer since SAT changed the rule CRP20277.
  • Fix code style (use same case for XsltProcessor).
  • Run GitHub jobs using PHP 8.3.

Version 2.27.1

12 Jan 23:15
Compare
Choose a tag to compare
  • Add Complemento Comercio Exterior 2.0 documentation.
  • Fix CHANGELOG for 2.26.0: it say that CCE had version 3.0 when it was 2.0.

Note: Release as a minor change to include the documentation on the package, but no "new feature" or "bug fix" is included.

Version 2.27.0

12 Jan 21:09
cb1cf52
Compare
Choose a tag to compare

Add CfdiUtils\Utils\Crp20277Fixer to work with new rule CRP20277 (apply since 2024-01-15).

Version 2.26.0

10 Jan 18:37
9a2dbd6
Compare
Choose a tag to compare

Add CfdiUtils\Elements\Cce20 Elements to work with "Complemento de Comercio Exterior 2.0".

Extract logic to move SAT definitions to root element to a helper in order to use it on other creators:

  • Add SatNsDefinitionsMover helper.
  • Change CfdiCreatorTrait::moveSatDefinitionsToComprobante to use helper.
  • Add RetencionesCreatorTrait::moveSatDefinitionsToRetenciones.
  • Document samples using $creator->moveSatDefinitionsToRetenciones().
  • Fix tests sample files with sat definitions on root element.

Version 2.25.0

25 Oct 03:04
Compare
Choose a tag to compare

Add CfdiUtils\Elements\CartaPorte30 Elements to work with "Carta Porte 3.0".
Thanks @alejandrogova1 for your contribution.

Other fixes:

  • Add CFDI 4.0 to mkdocs configuration file.
  • Fix .readthedocs.yaml configuration file.

Version 2.24.1

15 Jul 00:59
c8dacc2
Compare
Choose a tag to compare

Fix calculator for complement Pagos 2.0.
For attributes BaseP and ImporteP the value was truncated. Now, the value has to be rounded.
Some vendors communicate this change, such as Finkok.

Improve calculator with new getter and setter for paymentTaxesPrecision and currencies.

Update code style as other PhpCfdi projects.

Set up PHPStan paths on configuration file.

Version 2.24.0 2023-06-14

15 Jun 18:25
11aef21
Compare
Choose a tag to compare

Add a calculator and writer for complement Pagos 2.0.

This tool takes a Pre-CFDI elements to write Pagos\Totales, Pagos\Pago[]\ImpuestosP
and (if not found) Pagos\Pago[]@Monto. This feature is also documented.

Make SOAP extension requirement optional.

  • Add element helpers for complement Servicios parciales de construcción 1.0.
  • Add element helpers for complement Consumo de combustibles 1.1.
  • Add element helpers for complement Donatarias 1.1.
  • Add element helpers for complement Instituciones educativas privadas 1.0.
  • Add element helpers for complement INE 1.1.
  • Add element helpers for complement Leyendas Fiscales 1.0.
  • Add element helpers for complement Notarios Públicos 1.0.

Thanks @BlakePro for the initial work on these improvements.

Changes on development environment and documentation:

  • Move CFDI creation from 3.3 to 4.0.
  • Review all files and fix almost all typos and phrasing errors, thanks PhpStorm.
  • Add usage of phpcfdi/credentials.
  • Add support for PHP 8.2 on README.md
  • Remove GitHub code language detection on tests/assets/.
  • Update markdownlint-cli tool.
  • Fix issues found by markdownlint-cli.