{"id":13810379,"url":"https://github.com/phpcfdi/Timbrado","last_synced_at":"2025-05-14T10:33:19.008Z","repository":{"id":57040212,"uuid":"175552660","full_name":"phpcfdi/Timbrado","owner":"phpcfdi","description":"Conectarse a diferentes PAC para timbrar, obtener y cancelar CFDI","archived":false,"fork":false,"pushed_at":"2019-03-14T05:14:54.000Z","size":45,"stargazers_count":5,"open_issues_count":0,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-06-27T04:33:30.209Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/phpcfdi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-03-14T05:13:33.000Z","updated_at":"2022-11-15T22:33:14.000Z","dependencies_parsed_at":"2022-08-24T00:50:55.999Z","dependency_job_id":null,"html_url":"https://github.com/phpcfdi/Timbrado","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phpcfdi%2FTimbrado","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phpcfdi%2FTimbrado/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phpcfdi%2FTimbrado/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phpcfdi%2FTimbrado/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phpcfdi","download_url":"https://codeload.github.com/phpcfdi/Timbrado/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":213870383,"owners_count":15650179,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-04T02:00:51.694Z","updated_at":"2024-08-04T02:01:48.142Z","avatar_url":"https://github.com/phpcfdi.png","language":"PHP","funding_links":[],"categories":["PHP"],"sub_categories":[],"readme":"# PhpCfdi/Timbrado\n\n[![Source Code][badge-source]][source]\n[![Latest Version][badge-release]][release]\n[![Software License][badge-license]][license]\n[![Build Status][badge-build]][build]\n[![Scrutinizer][badge-quality]][quality]\n[![Coverage Status][badge-coverage]][coverage]\n[![Total Downloads][badge-downloads]][downloads]\n[![SensioLabsInsight][badge-sensiolabs]][sensiolabs]\n\n\u003e Timbrar CFDI con diferentes PAC\n\nPHP Library to connect with Mexican PAC.\n\nThis library is primary documented in spanish since this is the intented audience.\n\nPhpCfdi\\Timbrado es una librería de PHP para conectar con diferentes PAC.\nUtilizando esta librería podrás utilizar objetos que implementan una única interfaz para hacer tareas comunes\nde timbrado y cancelación de CFDI 3.3. \n\n**check [docs/FIRST_STEPS.md][] file and remove this line**\n\n\n## Installation\n\nUse [composer](https://getcomposer.org/), so please run\n```shell\ncomposer require phpcfdi/timbrado\n```\n\n\n## Basic usage\n\n```php\n\u003c?php\n/** @var \\PhpCfdi\\Timbrado\\Providers\\ProviderInterface $provider */\n$emisorRfc = 'AAA010101AAA'; // nuestro rfc\n$precfdi = '...'; // el pre-cfdi (sin timbre fiscal digital\n\n// timbrar un pre-cfdi\n$timbrar = $provider-\u003etimbrar($precfdi);\n$uuid = $timbrar-\u003euuid();\n$cfdi = $timbrar-\u003ecfdi(); // cfdi contiene el cfdi timbrado\n\n// obtener el timbre de un precfdi previamente timbrado\n$obtener = $provider-\u003etimbrar($precfdi);\n\n// realizar una cancelación\n$cancelar = $provider-\u003ecancelar($emisorRfc, $uuid);\n\n// obtener el acuse de una cancelación\n$acuse = $provider-\u003eacuse($emisorRfc, $uuid);\n```\n\n\n## PHP Support\n\nEsta librería es compatible con PHP versions 7.2 y va a alinearse con la versión activamente soportada.\n\n\n## Contributing\n\nNos gusta el software libre y creemos en sus principios y nos apegánmos al [Código de conducta](./CODE_OF_CONDUCT.md).\n\nConsulta el archivo general de [contribuciones][CONTRIBUTING] (en inglés).\nTambién puedes consultar la guía general de contribuciones de la organización PhpCfdi.\n\n## Copyright and License\n\nThe PhpCfdi/Timbrado library is copyright © [Carlos C Soto](https://www.phpcfdi.com/general-information/copyright)\nand licensed for use under the MIT License (MIT). Please see [LICENSE][] for more information.\n\n\n[contributing]: https://github.com/PhpCfdi/Timbrado/blob/master/CONTRIBUTING.md\n[changelog]: https://github.com/PhpCfdi/Timbrado/blob/master/docs/CHANGELOG.md\n[todo]: https://github.com/PhpCfdi/Timbrado/blob/master/docs/TODO.md\n\n[source]: https://github.com/PhpCfdi/Timbrado\n[release]: https://github.com/PhpCfdi/Timbrado/releases\n[license]: https://github.com/PhpCfdi/Timbrado/blob/master/LICENSE\n[build]: https://travis-ci.org/PhpCfdi/Timbrado?branch=master\n[quality]: https://scrutinizer-ci.com/g/PhpCfdi/Timbrado/\n[sensiolabs]: https://insight.sensiolabs.com/projects/:INSIGHT_UUID\n[coverage]: https://scrutinizer-ci.com/g/PhpCfdi/Timbrado/code-structure/master/code-coverage\n[downloads]: https://packagist.org/packages/phpcfdi/timbrado\n\n[badge-source]: http://img.shields.io/badge/source-PhpCfdi/Timbrado-blue.svg?style=flat-square\n[badge-release]: https://img.shields.io/github/release/PhpCfdi/Timbrado.svg?style=flat-square\n[badge-license]: https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square\n[badge-build]: https://img.shields.io/travis/PhpCfdi/Timbrado/master.svg?style=flat-square\n[badge-quality]: https://img.shields.io/scrutinizer/g/PhpCfdi/Timbrado/master.svg?style=flat-square\n[badge-sensiolabs]: https://insight.sensiolabs.com/projects/:INSIGHT_UUID/mini.png\n[badge-coverage]: https://img.shields.io/scrutinizer/coverage/g/PhpCfdi/Timbrado/master.svg?style=flat-square\n[badge-downloads]: https://img.shields.io/packagist/dt/phpcfdi/timbrado.svg?style=flat-square\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphpcfdi%2FTimbrado","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphpcfdi%2FTimbrado","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphpcfdi%2FTimbrado/lists"}