arthurkirkosa/oblio-php-client

Oblio PHP API Client

0.0.8 2020-11-20 21:20 UTC

This package is auto-updated.

Last update: 2024-04-29 04:20:33 UTC


README

Super-simple, minimum abstraction Oblio API wrapper, in PHP

Installation

Use the package manager composer to install the Oblio API Wrapper.

composer require mrbig00/oblio-php-api-client

Usage

$client = new \mrbig00\Oblio\Api\Client(
    'batman@superman.com',
    'clientSecret'
);

$client->getCompanies(['cif' => 'YOUR_CIF']);
$client->getVatRates(['cif' => 'YOUR_CIF']);

Available methods

  • getClients
  • getProducts
  • getSeries
  • getLanguages
  • getManagement
  • getVatRates
  • addProforma
  • addNotice
  • addInvoice
  • getInvoice
  • getProforma
  • getNotice
  • cancelInvoice
  • cancelProforma
  • cancelNotice
  • deleteInvoice
  • deleteProforma
  • deleteNotice
  • restoreInvoice
  • restoreProforma
  • restoreNotice

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT