bariew/rivhit 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

bariew/rivhit

最新稳定版本:1.0

Composer 安装命令:

composer require bariew/rivhit

包简介

rivhit API

README 文档

README

rivhit API client.

Description

Israeli rivhit invoice API client

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist bariew/rivhit

or add

"bariew/rivhit": "dev-master"

to require the section of your composer.json file.

Usage

$rivhit = Api::instance($api_token);
// Create Customer
$result = $rivhit->customerNew('my last name', [
    'first_name' => 'myname', 'email' => 'my@email.com', 'address' => 'my address', 'phone' => 123123,
]);
// Create Invoice  
$result = $rivhit->documentNew(['order' => 123, 'comments' => '', 'price_include_vat' => true, 'email_to' => 'my@email.com', 'email_bcc' => 'my2@email.com',
    'digital_signature' => true, 'send_mail' => true, 'items' => [[
    'catalog_number' => 123, 'quantity' => 1, 'description' => '', 'price_nis' => 10,
    'shipping' => ['description' => 'משלוח', 'price_nis' => 10, 'quantity' => 1],
    'discount' => ['description' => '', 'price_nis' => -2, 'quantity' => 1]
]]]);


统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2025-09-01