Skip to content

Latest commit

 

History

History
56 lines (43 loc) · 1.01 KB

README.md

File metadata and controls

56 lines (43 loc) · 1.01 KB

Oblio PHP API Client

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(
    '[email protected]',
    '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