inquid / sat-descarga
Extensión para descargar de CFDIs (XMLs) desde el SAT
Installs: 2
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:project
Requires
- php: 7.* | 8.*
- ext-curl: *
- ext-dom: *
- ext-json: *
- ext-libxml: *
- ext-openssl: *
Requires (Dev)
- phpunit/phpunit: ^9.5
This package is auto-updated.
Last update: 2024-12-19 05:25:00 UTC
README
Extensión para descargar de CFDIs (XMLs) desde el SAT
Installation
The preferred way to install this extension is through composer.
Either run
composer require --prefer-dist inquid/sat-descarga "*"
or add
"inquid/sat-descarga": "*"
to the require section of your composer.json
file.
Usage
<?php
include ('vendor/autoload.php');
use inquid\SatDownload;
$downloadHandler = new SatDownload\DownloadHandler('artifacts/cer.cer', 'artifacts/key.key', 'password');
$downloadHandler->login();
$result = $downloadHandler->searchForIncomingCfdis(2021, 11);
print_r($result);