Zum Inhalt springen

API reference / Quittio \ Core \ Formats

FormatResolver

interface in quittio/core

Quittio\Core\Formats\FormatResolver · Source

Chooses format and profile when none is given.

Methods#

MethodDescription
->resolve()Format and profile for $invoice, chosen from the invoice data and its country packs.

resolve()#

public function resolve(InvoiceData $invoice, ResolvedCountries $countries): FormatChoice

Format and profile for $invoice, chosen from the invoice data and its country packs.

ParameterTypeDescription
$invoiceInvoiceData
$countriesResolvedCountries
Returns
FormatChoice

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