Quittio 0.3 API

RetentionRule
in package

Read onlyYes
FinalYes

Retention period for invoices.

Table of Contents

Properties

$fromEndOfCalendarYear  : bool
$years  : int

Methods

__construct()  : mixed
until()  : Date
Last day of the retention period for an invoice issued on $issueDate.

Properties

$fromEndOfCalendarYear

public bool $fromEndOfCalendarYear = true

Methods

__construct()

public __construct(int $years[, bool $fromEndOfCalendarYear = true ]) : mixed
Parameters
$years : int
$fromEndOfCalendarYear : bool = true

until()

Last day of the retention period for an invoice issued on $issueDate.

public until(Date $issueDate) : Date
Parameters
$issueDate : Date
Return values
Date
On this page

Search results