Download the PHP package ashraam/ipaidthat-php without Composer
On this page you can find all versions of the php package ashraam/ipaidthat-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package ipaidthat-php
IPaidThat-PHP
A PHP wrapper for IPaidThat's API (V2).
You can manage customers, invoices, invoice's items.
Table of contents
- IPaidThat-PHP
- Table of contents
- Installation
- Usage
- List or filter customers
- Get a customer
- Create a customer
- Update a customer
- Delete a customer
- List or filter invoices
- Get an invoice
- Create an invoice
- Update an invoice
- Download an invoice
- Validate an invoice
- Delete an invoice
- List or filter invoice items
- Get an invoice item
- Add an item to an invoice
- Update an invoice item
- delete an invoice item
- Contributing
- License
Installation
Using composer
Usage
List or filter customers
This method returns an array of customers
Available filters: external_id, name, last_name, first_name, email, siren
Please refer to the official documentation for more informations about types and requirements.
Get a customer
This methods returns a customer
Create a customer
this methods returns the newly created customer
The method only accept an instance of
Update a customer
this methods returns the updated customer
The method only accept an instance of
Delete a customer
This methods returns an empty response
List or filter invoices
This methods returns an array of invoices
Available filters : external_id, type, status, issue_date, number, generated_number, due_date, sent, customer_id, sender_id, customer, sender.
Please refer to the official documentation for more informations about types and requirements.
Get an invoice
This methods returns an invoice by it's ID (without items)
Create an invoice
This methods returns the newly created invoice
The method only accept an instance of
Update an invoice
This methods returns the updated invoice
The method only accept an instance of
Download an invoice
This methods returns the string raw content of the PDF
Validate an invoice
This methods validate an invoice,
if the second parameter is set to true the invoice will be sent to the customer email address (default set to )
Delete an invoice
This methods returns an empty response
Validated document can't be delete
List or filter invoice items
This methods returns an array of InvoiceItem
Available filters: invoice_id, name, additionnal_info, invoice
Get an invoice item
This methods returns the item by it's ID
Add an item to an invoice
This methods returns the newly created item
The method only accept an instance of
Update an invoice item
This methods returns the updated item
The method only accept an instance of
delete an invoice item
This methods returns an empty response
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