Zum Inhalt springen

API reference / Quittio \ Core \ Formats

FormatRule

interface in quittio/core

Quittio\Core\Formats\FormatRule · Source

A rule of a country pack that decides the output format of an invoice.

Methods#

MethodDescription
->resolve()Returns a format for the invoice, or null if the rule does not apply.

resolve()#

public function resolve(InvoiceData $invoice): ?FormatChoice

Returns a format for the invoice, or null if the rule does not apply.

ParameterTypeDescription
$invoiceInvoiceData
Returns
?FormatChoice

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