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
$years
public
int
$years
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