Skip to content

API reference / Quittio \ Laravel

Seller

final class in quittio/laravel

Quittio\Laravel\Seller · Source

Seller from config/quittio.php (when the Managed layer is not in use).

Methods#

MethodDescription
::apply()Sets seller and the first bank account with an IBAN on a builder. A small business seller (quittio.seller.small_business) marks the invoice, so country packs reject VAT on it.
::fromConfig()The seller of quittio.seller in config/quittio.php: name, VAT identifier, tax number, address, legal registration, identifiers (BT-29), additional legal information, contact and electronic address. Without address.country it takes quittio.defaults.country or the code of the only installed country pack. Throws a ConfigurationException for a value of the wrong type.

apply()#

public static function apply(InvoiceBuilder $builder): InvoiceBuilder

static

Sets seller and the first bank account with an IBAN on a builder. A small business seller (quittio.seller.small_business) marks the invoice, so country packs reject VAT on it.

ParameterTypeDescription
$builderInvoiceBuilder
Returns
InvoiceBuilder

fromConfig()#

public static function fromConfig(): SellerParty

static

The seller of quittio.seller in config/quittio.php: name, VAT identifier, tax number, address, legal registration, identifiers (BT-29), additional legal information, contact and electronic address. Without address.country it takes quittio.defaults.country or the code of the only installed country pack. Throws a ConfigurationException for a value of the wrong type.

Returns
SellerParty

The open core packages are MIT licensed. The legal wording of the country packs must be confirmed by a tax adviser.