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#
| Method | Description |
|---|---|
::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): InvoiceBuilderSets 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.
| Parameter | Type | Description |
|---|---|---|
$builder | InvoiceBuilder |
- Returns
InvoiceBuilder
fromConfig()#
public static function fromConfig(): SellerPartyThe 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