inquid/sat-descarga

Extensión para descargar de CFDIs (XMLs) desde el SAT

dev-master 2022-01-18 23:07 UTC

This package is auto-updated.

Last update: 2024-11-19 05:13:39 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);