Quittio 0.3 API

OpenItem
in package

Read onlyYes
FinalYes

An invoice in a payment reminder or account statement.

Table of Contents

Properties

$amount  : Money
$description  : string|null
$dueDate  : Date|null
$invoiceDate  : Date
$invoiceNumber  : string
$paid  : Money|null

Methods

__construct()  : mixed
isSettled()  : bool
open()  : Money
Amount still open (amount minus paid); negative for overpaid items and credits.

Properties

$description

public string|null $description = null

$invoiceNumber

public string $invoiceNumber

Methods

__construct()

public __construct(string $invoiceNumber, Date $invoiceDate, Money $amount[, Date|null $dueDate = null ][, Money|null $paid = null ][, string|null $description = null ]) : mixed
Parameters
$invoiceNumber : string
$invoiceDate : Date
$amount : Money
$dueDate : Date|null = null
$paid : Money|null = null
$description : string|null = null

isSettled()

public isSettled() : bool
Return values
bool

open()

Amount still open (amount minus paid); negative for overpaid items and credits.

public open() : Money
Return values
Money
On this page

Search results