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
Requires
- php: >=7.0
- ext-curl: *
- ext-json: *
This package is auto-updated.
Last update: 2024-12-29 07:03:57 UTC
README
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
}