Zum Inhalt springen

API reference / Quittio \ Core \ Data \ References

PrecedingInvoiceReference

final readonly class in quittio/core · uses Immutable

Quittio\Core\Data\References\PrecedingInvoiceReference · Source

Preceding invoice reference (BG-3), used for cancellations, corrections and final invoices.

Properties#

PropertyTypeDescription
$issueDate readonly?Date
$number readonlystring

Methods#

MethodDescription
->__construct()
->with()Returns a copy with the given properties replaced.

__construct()#

public function __construct(string $number, ?Date $issueDate = null)
ParameterTypeDescription
$numberstring
$issueDate?Date = null

with()#

public function with(array<string, mixed> $changes): static

Returns a copy with the given properties replaced.

ParameterTypeDescription
$changesarray<string, mixed>
Returns
static

Die Open-Core-Pakete stehen unter der MIT-Lizenz. Die rechtlichen Formulierungen der Länderpakete sind mit einer Steuerberatung abzustimmen.