mrbig00 / oblio-php-client
Oblio PHP API 客户端
dev-master
2021-11-08 18:01 UTC
Requires
- php: >=7.2.0
- ext-json: *
- guzzlehttp/guzzle: ~6|~7
- guzzlehttp/guzzle-services: ^1.1
- kamermans/guzzle-oauth2-subscriber: ~1.0
This package is auto-updated.
Last update: 2024-09-09 00:25:39 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
贡献
欢迎提交拉取请求。对于重大更改,请先提交问题以讨论您想要进行的更改。
请确保适当更新测试。