DocumentPeriod
in package
FinalYes
A delivery / billing period. Maps to UBL <cac:InvoicePeriod> (BG-14 at the document level, BG-26 at the line-item level).
Required by partial / Anzahlung invoices and by deposit-cancellation documents (BR-DE-TMP-32). MappingData enforces "required for these document classes" at construction; the period itself only enforces that end >= start.
Table of Contents
Properties
Methods
- __construct() : mixed
Properties
$end read-only
public
DateTimeImmutable
$end
$start read-only
public
DateTimeImmutable
$start
Methods
__construct()
public
__construct(DateTimeImmutable $start, DateTimeImmutable $end) : mixed
Parameters
- $start : DateTimeImmutable
- $end : DateTimeImmutable