Zum Inhalt springen

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#

ConstantValueDescription
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#

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.

__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.

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.