Zum Inhalt springen

API reference / Quittio \ Country \ DE \ Builder

GermanInvoiceMacros

final class in quittio/country-de

Quittio\Country\DE\Builder\GermanInvoiceMacros · Source

Registers the builder macro de() of the German pack, which leads to the German special cases (GermanInvoice):

InvoiceBuilder::make()->de()->smallAmount()->... InvoiceBuilder::make()->de()->deductAdvance($advanceInvoice)->...

The macros of earlier versions (smallAmount(), propertyRelatedService(), newVehicle(), selfBilled(), deductAdvance(), consumerDefaultNotice() directly on the builder) still work and report a deprecation (E_USER_DEPRECATED).

Constants#

ConstantValueDescription
ADVANCE_TYPES\Quittio\Country\DE\Builder\GermanInvoice::ADVANCE_TYPES

Methods#

MethodDescription
::register()Registers the macros once; further calls do nothing.

register()#

public static function register(): void

static

Registers the macros once; further calls do nothing.

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