API reference / Quittio \ Country \ FR \ Dunning
EcbRateTable
final readonly class in quittio/country-fr · implements ReferenceRates
Quittio\Country\FR\Dunning\EcbRateTable · Source
The rate of the main refinancing operations of the ECB on the first day of the half-year, the reference of the late payment penalties between businesses (art. L441-10 Code de commerce: ECB rate plus 10 points, e.g. 12.40 % in the second half of 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.25', '2025-01-01' => '3.15', '2025-07-01' => '2.15', '2026-01-01' => … | Rates in percent by the first day of the half-year. |
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. |
__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.
| Parameter | Type | Description |
|---|---|---|
$from | string | |
$rate | string |
- Returns
self