abaccor/php-api

There is no license information available for the latest version (v1.1.0) of this package.

Librería para consumir API de Abaccor

v1.1.0 2022-11-29 01:53 UTC

This package is auto-updated.

Last update: 2024-03-29 04:39:14 UTC


README

Latest Stable Version Total Downloads

Instalación usando Composer

$ composer require abaccor/php-api

Ejemplo 3.3

$abaccor = new \Abaccor\Abaccor('https://sandbox-api.abaccor.com/', '**********************');

$data = [/* ... */];

try{
    $response = $abaccor->GenerarCfdi33($data);
}catch(AbaccorException $e){
    //Ocurrió un error
}

Ejemplo 4.0

$abaccor = new \Abaccor\Abaccor('https://sandbox-api.abaccor.com/', '**********************');

$data = [/* ... */];

try{
    $response = $abaccor->GenerarCfdi40($data);
}catch(AbaccorException $e){
    //Ocurrió un error
}