All Projects → eclipxe13 → CfdiUtils

eclipxe13 / CfdiUtils

Licence: MIT license
PHP Common utilities for Mexican CFDI 3.2, 3.3 & 4.0

Programming Languages

PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to CfdiUtils

facturapi-node
Crea Facturas Electrónicas válidas en México lo más fácil posible (CFDI)
Stars: ✭ 15 (-84.54%)
Mutual labels:  mexico, cfdi
sat-ws-descarga-masiva
Librería para usar el servicio web del SAT de Descarga Masiva
Stars: ✭ 65 (-32.99%)
Mutual labels:  cfdi, sat
phaser-sat-example
An experiment that uses sat-js with Phaser.
Stars: ✭ 14 (-85.57%)
Mutual labels:  sat
new.crimenmexico
Website for elcri.men
Stars: ✭ 21 (-78.35%)
Mutual labels:  mexico
covid19-mx-time-series
Time series data of the COVID-19 epidemic in Mexico
Stars: ✭ 36 (-62.89%)
Mutual labels:  mexico
archsat
A proof-producing SMT/McSat solver, handling polymorphic first-order logic, and using an SMT/McSat core extended using Tableaux, Superposition and Rewriting.
Stars: ✭ 20 (-79.38%)
Mutual labels:  sat
Vip.Printer
Biblioteca para realizar impressões (impressora não fiscal) utilizando comandos Esc/Bema, Esc/Daruma e Esc/Pos 🚀
Stars: ✭ 48 (-50.52%)
Mutual labels:  sat
bosphorus
Bosphorus, ANF simplifier and solver, and ANF-to-CNF converter
Stars: ✭ 45 (-53.61%)
Mutual labels:  sat
mxmaps
An R package for making maps of Mexico
Stars: ✭ 60 (-38.14%)
Mutual labels:  mexico
rfc-facil-js
Librería para calcular el Registro Federal de Contribuyentes en México (RFC) - Javascript/Typescript
Stars: ✭ 27 (-72.16%)
Mutual labels:  mexico
mxmortalitydb
A data only R package containing all injury intent deaths registered in Mexico from 2004 to 2019
Stars: ✭ 20 (-79.38%)
Mutual labels:  mexico
PythonMexico
Archivos y código para las comunidades de Python México
Stars: ✭ 19 (-80.41%)
Mutual labels:  mexico
slime-sat-solver
A Free World Class High Performance SAT Solver
Stars: ✭ 15 (-84.54%)
Mutual labels:  sat
covid-estados
Este proyecto recopila, sistematiza y facilita el acceso a información oficial relevante, líneas de atención y medidas de restricción o protección implementadas por los gobiernos estatales.
Stars: ✭ 19 (-80.41%)
Mutual labels:  mexico
conjure
Conjure: The Automated Constraint Modelling Tool
Stars: ✭ 84 (-13.4%)
Mutual labels:  sat
discrete-math-python-scripts
Python code snippets from Discrete Mathematics for Computer Science specialization at Coursera
Stars: ✭ 98 (+1.03%)
Mutual labels:  sat
constitucion-mexicana
Constitución Política de los Estados Unidos Mexicanos en formato ReST
Stars: ✭ 47 (-51.55%)
Mutual labels:  mexico
ESCPOS
A ESC/POS Printer Commands Helper
Stars: ✭ 26 (-73.2%)
Mutual labels:  sat
conferencias matutinas amlo
CSVs de las versiones estenográficas de las conferencias matutinas del Presidente Andres Manuel López Obrador ( Mañaneras AMLO )
Stars: ✭ 25 (-74.23%)
Mutual labels:  mexico
mexicovid19.github.io
Repositorio para la página web dedicada al monitoreo de la pandemia del COVID19 en México
Stars: ✭ 14 (-85.57%)
Mutual labels:  mexico

eclipxe/CfdiUtils

Source Code Discord Latest Version Software License Build Status Source Code Scrutinizer Coverage Status Total Downloads

PHP Common utilities for Mexican CFDI 3.2, 3.3 & 4.0.

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

🇲🇽 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.

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.

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

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 3.y.z.

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 not then the document has been modified after signature.
  • Validates the "Complemento de recepción de pagos".
  • 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 downloads them each time.
  • Check the SAT WebService to get the status of a CFDI (Estado, EsCancelable and EstatusCancelacion) without WSDL.

Installation

Use composer, so please run

composer require eclipxe/cfdiutils

Major versions

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

PHP Support

This library is compatible with PHP 7.3 and above. Please, try to use the language's full potential.

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.

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

Contributing

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

Copyright and License

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].