API reference / Quittio \ Country \ BE \ Rules
VatCodeRules
final class in quittio/country-be
Quittio\Country\BE\Rules\VatCodeRules · Source
Mentions of a Belgian invoice: Art. 53 § 2 of the VAT Code and Art. 5 of Royal Decree No. 1, and the use of languages in the Dutch, French and German language regions.
These rules apply to every invoice of a Belgian seller, independent of the format. Not reviewed by a tax adviser yet (see the README of the pack).
Methods#
| Method | Description |
|---|---|
::all() | |
::inBelgium() | |
::isSmallBusinessInvoice() | An invoice under the small business exemption scheme: the flag of the core or a line with VatPreset::SmallBusiness. |
::supplyDate() | The latest date of the supply: delivery date, end of the invoicing period or of a line period. |
all()#
public static function all(): list<Rule>- Returns
list<Rule>
inBelgium()#
public static function inBelgium(Address $address): bool| Parameter | Type | Description |
|---|---|---|
$address | Address |
- Returns
bool
isSmallBusinessInvoice()#
public static function isSmallBusinessInvoice(InvoiceData $invoice): boolAn invoice under the small business exemption scheme: the flag of the core or a line with VatPreset::SmallBusiness.
| Parameter | Type | Description |
|---|---|---|
$invoice | InvoiceData |
- Returns
bool
supplyDate()#
public static function supplyDate(InvoiceData $invoice): ?DateThe latest date of the supply: delivery date, end of the invoicing period or of a line period.
| Parameter | Type | Description |
|---|---|---|
$invoice | InvoiceData |
- Returns
?Date