bariew/greeninvoice

Greeninvoice API

1.2.0 2023-05-19 08:01 UTC

This package is auto-updated.

Last update: 2024-04-19 10:05:56 UTC


README

Description

Generates invoices for your business

Installation

The preferred way to install this extension is through composer.

Either run

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

or add

"bariew/greeninvoice": "dev-master"

to the require section of your composer.json file.

Usage

$invoiceId = Api::instance(<your greeninvoice ID>, <you greeninvoice secret>, "https://api.greeninvoice.co.il/api/v1")
->createInvoice("Invoice Description", "Client Name", "Client Email", "Item Name", "Item Price", 'en', 'USD');