Skip to content

Latest commit

 

History

History
85 lines (61 loc) · 2.57 KB

Invoices.md

File metadata and controls

85 lines (61 loc) · 2.57 KB

Invoices Service

Search invoices

Check out the official documentation

\Billingo::invoices()->query(array $filter);

Get a listing of invoices

Check out the official documentation

\Billingo::invoices()->all(int $page = 1, $maxPerPage = 20);

Create a new invoice

Check out the official documentation

\Billingo::invoices()->create(array $invoicePayload);

Find a specified client

Check out the official documentation

\Billingo::invoices()->find(int $invoiceId);

Create download link

Check out the official documentation

\Billingo::invoices()->accessCode(int $invoiceId, bool $asURL = false);

Generate normal invoice from proforma invoice

Check out the official documentation

\Billingo::invoices()->proformaToNormal(int $invoiceId);

Download invoice

Check out the official documentation

\Billingo::invoices()->download(int $invoiceId, resource|string|null $file = null, bool $asResponse = false);

Cancel the invoice

Check out the official documentation

\Billingo::invoices()->cancel(int $invoiceId);

Send the invoice to the client email address

Check out the official documentation

\Billingo::invoices()->send(int $invoiceId);

Pay the full or partial amount of the invoice

Check out the official documentation

\Billingo::invoices()->pay(int $invoiceId, array $payload);

Undo payment of the invoice

Check out the official documentation

\Billingo::invoices()->undoPayment(int $invoiceId);

Get the available invoice blocks

Check out the official documentation

\Billingo::invoices()->availableBlocks();