arthurkirkosa/oblio-php-client

Oblio PHP API 客户端

0.0.8 2020-11-20 21:20 UTC

This package is auto-updated.

Last update: 2024-08-29 05:15:51 UTC


README

超级简单的Oblio API包装器,PHP版,最小化抽象

安装

使用包管理器 composer 安装Oblio API包装器。

composer require mrbig00/oblio-php-api-client

使用方法

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

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

可用方法

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

贡献

欢迎提交pull requests。对于重大更改,请先提出一个问题来讨论您想要进行的更改。

请确保适当地更新测试。

许可证

MIT