30 lines
933 B
PHP
30 lines
933 B
PHP
<?php
|
|
|
|
namespace App\Domains\Admin\Actions\UpdateTenantTax;
|
|
|
|
use App\Enumerations\TaxExemptionReason;
|
|
use App\Enumerations\VatPricingMode;
|
|
use App\Models\Tenant;
|
|
|
|
class UpdateTenantTaxRequest
|
|
{
|
|
public function __construct(
|
|
public Tenant $tenant,
|
|
public bool $taxLiable,
|
|
public int $vatRate,
|
|
public ?TaxExemptionReason $exemptionReason,
|
|
public ?string $exemptionNote,
|
|
public VatPricingMode $vatPricingMode,
|
|
/** Steuernummer bzw. USt-IdNr. -- Pflichtangabe auf Rechnungen (§ 14 Abs. 4 Nr. 2 UStG). */
|
|
public ?string $taxNumber = null,
|
|
public ?string $vatId = null,
|
|
/**
|
|
* Erster Block der Rechnungsnummer. `null` heißt "unverändert lassen" -- im Self-Service wird das
|
|
* Feld gar nicht erst mitgeschickt, damit ein bestehender Nummernkreis nicht bricht.
|
|
*/
|
|
public ?string $invoicePrefix = null,
|
|
)
|
|
{
|
|
}
|
|
}
|