2017 © Pedro Peláez
 

library cfdiutils

PHP Common utilities for Mexican CFDI 3.2 & 3.3

image

eclipxe/cfdiutils

PHP Common utilities for Mexican CFDI 3.2 & 3.3

  • Wednesday, July 18, 2018
  • by eclipxe
  • Repository
  • 5 Watchers
  • 10 Stars
  • 412 Installations
  • PHP
  • 3 Dependents
  • 0 Suggesters
  • 7 Forks
  • 4 Open issues
  • 25 Versions
  • 14 % Grown

The README.md

eclipxe/CfdiUtils

![Source Code][badge-source] Discord Packagist PHP Version Support ![Latest Version][badge-release] Software License [![Build Status][badge-build]][build] Reliability [![Maintainability][badge-maintainability]][maintainability] Code Coverage [![Violations][badge-violations]][violations] ![Source Code][badge-documentation] Total Downloads, (*1)

PHP Common utilities for Mexican CFDI 3.2, 3.3 & 4.0., (*2)

This library provides helper objects to work with Mexican CFDI (Comprobante Fiscal Digital por Internet)., (*3)

:mexico: Visita la documentación en español de esta librería en Read the docs. También te esperamos en el canal #phpcfdi de discord., (*4)

The documentation related to this library and its API is on Read the docs. It is written in spanish language since is the language of the intended audience., (*5)

Nota: Este proyecto será migrado a phpcfdi/cfdiutils, aún no tenemos fecha planeada, (*6)

No olvides visitar https://www.phpcfdi.com donde contamos con muchas más librerías relacionadas con CFDI y herramientas del SAT. Y próximamente el lugar donde publicaremos la versión 4.x., (*7)

Main features

  • Create CFDI version 3.3 & 4.0 based on a friendly extendable non XML objects (nodes).
  • Read CFDI version 3.2, 3.3 & 4.0.
  • Validate CFDI version 3.3 & 4.0 against schemas, CFDI signature (Sello) and custom rules.
  • Validate that the Timbre Fiscal Digital signature match with the CFDI 3.3 & CFDI 4.0. If signature doesn't match, then the document has been modified after sealed.
  • Helper objects to deal with:
    • Cadena de origen generation.
    • Extract information from CER files or Certificado attribute.
    • Calculate Comprobante sums based on the list of Conceptos.
    • Retrieve the CFDI version information.
  • Keep a local copy of the tree of XSD and XSLT file dependencies from SAT.
  • Keep a local copy of certificates to avoid download them each time.
  • Check the SAT WebService to get the status of a CFDI (Estado, EsCancelable, EstatusCancelacion and EFOS) without WSDL.

Installation

Use composer, so please run, (*8)

composer require eclipxe/cfdiutils

Major versions

  • Version 1.x deprecated was deprecated time ago, that version didn't do much anyway.
  • Version 2.x deprecated has a lot of features and helper objects.
  • Version 3.x current is a maintenance release for compatibility with PHP 8.4.
  • Version 4.x future will be released with backward compatibility breaks.
    • See docs/CHANGELOG.md for backward compatibility breaks.
    • It may change to PHP 8.2.
    • It could be possible to migrate to phpcfdi/cfdi-utils under phpCfdi organization.

PHP Support

This library is compatible with PHP 8.0 and above. Please, try to use the language's full potential., (*9)

The intended support is to be aligned with the oldest Active support PHP Branch. See https://www.php.net/supported-versions.php for more details., (*10)

CfdiUtils PHP Supported versions Since
1.0 7.0, 7.1 2017-09-27
2.0 7.0, 7.1 2018-01-01
2.0.1 7.0, 7.1, 7.2 2018-01-03
2.8.1 7.0, 7.1, 7.2, 7.3 2019-03-05
2.12.7 7.0, 7.1, 7.2, 7.3, 7.4 2019-12-04
2.15.0 7.3, 7.4, 8.0 2021-03-17
2.20.1 7.3, 7.4, 8.0, 8.1 2022-03-08
2.23.5 7.3, 7.4, 8.0, 8.1, 8.2, 8.3 2023-05-26
3.0.0 8.0, 8.1, 8.2, 8.3, 8.4 2025-03-18

Contributing

Contributions are welcome! Please read CONTRIBUTING for details and don't forget to take a look in the TODO and CHANGELOG files., (*11)

The eclipxe/CfdiUtils library is copyright © Carlos C Soto and licensed for use under the MIT License (MIT). Please see LICENSE for more information., (*12)

The Versions

18/07 2018

dev-master

9999999-dev https://github.com/eclipxe13/CfdiUtils

PHP Common utilities for Mexican CFDI 3.2 & 3.3

  Sources   Download

MIT

The Requires

 

The Development Requires

helper utility electronic invoice mexico cfdi cfdi33

18/07 2018

dev-development

dev-development https://github.com/eclipxe13/CfdiUtils

PHP Common utilities for Mexican CFDI 3.2 & 3.3

  Sources   Download

MIT

The Requires

 

The Development Requires

helper utility electronic invoice mexico cfdi cfdi33

18/07 2018

v2.6.2

2.6.2.0 https://github.com/eclipxe13/CfdiUtils

PHP Common utilities for Mexican CFDI 3.2 & 3.3

  Sources   Download

MIT

The Requires

 

The Development Requires

electronic invoice mexico cfdi cfdi33

17/07 2018

v2.6.1

2.6.1.0 https://github.com/eclipxe13/CfdiUtils

PHP Common utilities for Mexican CFDI 3.2 & 3.3

  Sources   Download

MIT

The Requires

 

The Development Requires

electronic invoice mexico cfdi cfdi33

07/07 2018

v2.6.0

2.6.0.0 https://github.com/eclipxe13/CfdiUtils

PHP Common utilities for Mexican CFDI 3.2 & 3.3

  Sources   Download

MIT

The Requires

 

The Development Requires

electronic invoice mexico cfdi cfdi33

26/06 2018

v2.5.1

2.5.1.0 https://github.com/eclipxe13/CfdiUtils

PHP Common utilities for Mexican CFDI 3.2 & 3.3

  Sources   Download

MIT

The Requires

 

The Development Requires

electronic invoice mexico cfdi cfdi33

25/05 2018

v2.5.0

2.5.0.0 https://github.com/eclipxe13/CfdiUtils

PHP Common utilities for Mexican CFDI 3.2 & 3.3

  Sources   Download

MIT

The Requires

 

The Development Requires

electronic invoice mexico cfdi cfdi33

24/05 2018

v2.4.6

2.4.6.0 https://github.com/eclipxe13/CfdiUtils

PHP Common utilities for Mexican CFDI 3.2 & 3.3

  Sources   Download

MIT

The Requires

 

The Development Requires

electronic invoice mexico cfdi cfdi33

12/05 2018

v2.4.5

2.4.5.0 https://github.com/eclipxe13/CfdiUtils

PHP Common utilities for Mexican CFDI 3.2 & 3.3

  Sources   Download

MIT

The Requires

 

The Development Requires

electronic invoice mexico cfdi cfdi33

11/05 2018
27/04 2018

v2.4.3

2.4.3.0 https://github.com/eclipxe13/CfdiUtils

PHP Common utilities for Mexican CFDI 3.2 & 3.3

  Sources   Download

MIT

The Requires

 

The Development Requires

electronic invoice mexico cfdi cfdi33

27/04 2018

dev-fix/descuento-zero

dev-fix/descuento-zero https://github.com/eclipxe13/CfdiUtils

PHP Common utilities for Mexican CFDI 3.2 & 3.3

  Sources   Download

MIT

The Requires

 

The Development Requires

electronic invoice mexico cfdi cfdi33

24/04 2018

v2.4.2

2.4.2.0 https://github.com/eclipxe13/CfdiUtils

PHP Common utilities for Mexican CFDI 3.2 & 3.3

  Sources   Download

MIT

The Requires

 

The Development Requires

electronic invoice mexico cfdi cfdi33

12/04 2018

v2.4.1

2.4.1.0 https://github.com/eclipxe13/CfdiUtils

PHP Common utilities for Mexican CFDI 3.2 & 3.3

  Sources   Download

MIT

The Requires

 

The Development Requires

electronic invoice mexico cfdi cfdi33

10/10 2017
29/09 2017
27/09 2017