Zum Inhalt springen

API reference / Quittio \ Core \ Builder \ Concerns

BuildsDelivery

trait in quittio/core

Quittio\Core\Builder\Concerns\BuildsDelivery · Source

Delivery information (BG-13) and the invoicing period (BG-14).

Part of InvoiceBuilder, which holds the state; use the builder, not the trait.

Methods#

MethodDescription
->deliverTo()Deliver-to party and address (BT-70, BG-15).
->delivery()Replaces the whole delivery information (BG-13), including the delivery date (BT-72).
->deliveryDate()Actual delivery or service date (BT-72).
->invoicingPeriod()Invoicing period (BG-14).

deliverTo()#

public function deliverTo(
    ?string $recipientName,
    ?Address $address = null,
    ?Identifier $locationId = null,
): static

Deliver-to party and address (BT-70, BG-15).

ParameterTypeDescription
$recipientName?string
$address?Address = null
$locationId?Identifier = null
Returns
static

delivery()#

public function delivery(Delivery $delivery): static

Replaces the whole delivery information (BG-13), including the delivery date (BT-72).

ParameterTypeDescription
$deliveryDelivery
Returns
static

deliveryDate()#

public function deliveryDate(Date|DateTimeInterface|string $date): static

Actual delivery or service date (BT-72).

ParameterTypeDescription
$dateDate|DateTimeInterface|string
Returns
static

invoicingPeriod()#

public function invoicingPeriod(
    Date|string|null $start,
    Date|string|null $end = null,
): static

Invoicing period (BG-14).

ParameterTypeDescription
$startDate|string|null
$endDate|string|null = null
Returns
static

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