Quittio 0.3 API

SupplyDate
in package

FinalYes

The date that decides the VAT rate of a line: the end of the line period (BT-135), its start (BT-134), the VAT point date (BT-7), the actual delivery date (BT-72), the end of the invoicing period (BT-74) and finally the issue date (BT-2), in this order.

Table of Contents

Methods

ofLine()  : Date
The supply date of a line of the invoice.
resolve()  : Date|null
The first date that is set, in the order above; null if none is.

Methods

resolve()

The first date that is set, in the order above; null if none is.

public static resolve(Period|null $linePeriod, Date|null $taxPointDate, Date|null $deliveryDate, Period|null $invoicingPeriod, Date|null $issueDate) : Date|null
Parameters
$linePeriod : Period|null
$taxPointDate : Date|null
$deliveryDate : Date|null
$invoicingPeriod : Period|null
$issueDate : Date|null
Return values
Date|null
On this page

Search results