Zum Inhalt springen

API reference / Quittio \ Country \ BE \ Dunning

ReferenceRateTable

final readonly class in quittio/country-be · implements ReferenceRates

Quittio\Country\BE\Dunning\ReferenceRateTable · Source

The reference rate of the late payment law of 2 August 2002: the main refinancing rate of the ECB on the first day of the half-year, which with the 8 points of the law gives the published rate rounded up to the next half point. The table holds the rates the points are added to, so that the sum is the rate published by the FPS Finance (e.g. 2.50 + 8 = 10.50 % for 2026).

Constants#

ConstantValueDescription
PUBLISHED['2023-01-01' => '2.50', '2023-07-01' => '4.00', '2024-01-01' => '4.50', '2024-07-01' => '4.50', '2025-01-01' => '3.50', '2025-07-01' => '2.50', '2026-01-01' => …Rates in percent by the first day of the half-year, the published rate minus 8 points.

Methods#

MethodDescription
->__construct()
->periods()
->rateOn()
->validUntil()The first day without a known rate: the half-year after the last entry.
->withRate()A copy with the rate of a half-year, e.g. a newly published one (published rate minus 8 points).

__construct()#

public function __construct(array<string, string> $rates = self::PUBLISHED)
ParameterTypeDescription
$ratesarray<string, string> = self::PUBLISHEDISO date (1 January or 1 July) => rate in percent

periods()#

public function periods(Date $from, Date $until): array
ParameterTypeDescription
$fromDate
$untilDate
Returns
array

rateOn()#

public function rateOn(Date $date): BigDecimal
ParameterTypeDescription
$dateDate
Returns
Brick\Math\BigDecimal

validUntil()#

public function validUntil(): Date

The first day without a known rate: the half-year after the last entry.

Returns
Date

withRate()#

public function withRate(string $from, string $rate): self

A copy with the rate of a half-year, e.g. a newly published one (published rate minus 8 points).

ParameterTypeDescription
$fromstring
$ratestring
Returns
self

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