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#
| Constant | Value | Description |
|---|---|---|
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#
| Method | Description |
|---|---|
->__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)| Parameter | Type | Description |
|---|---|---|
$rates | array<string, string> = self::PUBLISHED | ISO date (1 January or 1 July) => rate in percent |
periods()#
public function periods(Date $from, Date $until): array| Parameter | Type | Description |
|---|---|---|
$from | Date | |
$until | Date |
- Returns
array
rateOn()#
public function rateOn(Date $date): BigDecimal| Parameter | Type | Description |
|---|---|---|
$date | Date |
- Returns
Brick\Math\BigDecimal
validUntil()#
public function validUntil(): DateThe first day without a known rate: the half-year after the last entry.
- Returns
Date
withRate()#
public function withRate(string $from, string $rate): selfA copy with the rate of a half-year, e.g. a newly published one (published rate minus 8 points).
| Parameter | Type | Description |
|---|---|---|
$from | string | |
$rate | string |
- Returns
self