EU late payment interest (Directive 2011/7) API
Statutory interest on a late business invoice under the EU Late Payment Directive: the ECB rate plus at least 8 points, set each half-year, plus €40.
POST https://api.curatedapi.com/v1/calc/payments/late-interest/eu
- Version 1
- MCP tool
calc_payments_late_interest_eu - Try it in the browser
Simple interest at the ECB main refinancing rate plus a margin (at least 8 percentage points). The ECB rate in force on 1 January applies to days from January to June and the rate on 1 July to days from July to December, so a long delay is split into half-years. Also returns the €40 minimum compensation.
Formula
interest = Σ amount × (ECB rate on 1 Jan or 1 Jul + margin) × days / 365
- Each EU country writes the directive into its own law and some differ: a higher margin, a different rate for consumers, or another day count. Use the Germany calculator for German claims.
- Interest runs from the day after the due date up to and including the day of payment, so paying one day late gives one day of interest.
- The reference rates were last checked on 2026-11-07. A period whose rate is not yet known is refused unless you pass reference_rate_percent.
Inputs
Send numbers as strings to keep every digit. options sets precision and rounding (see numbers and rounding).
| Input | Type | Description |
|---|---|---|
amount required |
decimal (string) | The unpaid amount (the invoice or debt). Allowed: > 0 and <= 1000000000000000. Unit: currency. |
due_date required |
date (YYYY-MM-DD) | The last day the payment was due (interest starts the day after). |
payment_date required |
date (YYYY-MM-DD) | The day the payment was or will be made (counted as a day of interest). |
margin_percent |
decimal (string) default 8 |
Points added to the ECB rate: 8 in the directive; some countries add more (Germany 9). Allowed: >= 8 and <= 50. Unit: percent. |
day_count |
actual_365 | actual_actual | actual_360 default actual_365 |
How a day's share of the year is counted. Options: actual_365: each day is 1/365 of a year, leap years included (the usual practice); actual_actual: each day is 1/365 of a year, or 1/366 in a leap year; actual_360: each day is 1/360 of a year |
reference_rate_percent |
decimal (string) | Use this ECB rate (in percent) for every day instead of the published one, for example for a date not yet covered. Allowed: >= -5 and <= 100. Unit: percent. |
options.rounding |
half_even | half_up | half_down | up | down | ceiling | floor | Rounding mode applied once to each result. Default half_even. |
options.decimals |
integer | Round results to this many digits after the decimal point. |
Result
Under result in the answer, next to exactness, precision, inputs, formula, references and warnings.
| Result | Type | Description |
|---|---|---|
days_late | integer | Days of interest. |
interest | decimal (string) | Statutory interest. Unit: currency. |
compensation | decimal (string) | Minimum fixed compensation (Article 6). Unit: currency. |
total_claim | decimal (string) | Interest plus the compensation. Unit: currency. |
periods | list of object | Interest for each half-year. |
Examples
€10,000 due 31 May 2026, paid 31 July 2026 (rate rises on 1 July)
curl https://api.curatedapi.com/v1/calc/payments/late-interest/eu \
-H "Authorization: Bearer $CURATEDAPI_KEY" \
-H "Content-Type: application/json" \
-d '{
"amount": "10000",
"due_date": "2026-05-31",
"payment_date": "2026-07-31"
}'
{
"calculator": "payments/late-interest/eu@1",
"result": {
"days_late": 61,
"interest": "171.75",
"compensation": "40.00",
"total_claim": "211.75",
"periods": [
{
"start": "2026-06-01",
"end": "2026-06-30",
"days": 30,
"annual_rate_percent": "10.15",
"interest": "83.42"
},
{
"start": "2026-07-01",
"end": "2026-07-31",
"days": 31,
"annual_rate_percent": "10.4",
"interest": "88.33"
}
]
},
"exactness": {
"interest": "rounded",
"compensation": "exact",
"total_claim": "rounded"
},
"precision": {
"rounding": "half_even",
"decimals": 2
},
"inputs": {
"amount": "10000",
"due_date": "2026-05-31",
"payment_date": "2026-07-31",
"margin_percent": "8",
"day_count": "actual_365"
},
"formula": "interest = Σ amount × (ECB rate on 1 Jan or 1 Jul + margin) × days / 365",
"references": [
{
"title": "Directive 2011/7/EU on combating late payment in commercial transactions, Articles 2, 3, 4 and 6",
"url": "https://eur-lex.europa.eu/eli/dir/2011/7/oj/eng"
},
{
"title": "European Central Bank, key ECB interest rates",
"url": "https://www.ecb.europa.eu/stats/policy_and_exchange_rates/key_ecb_interest_rates/html/index.en.html"
}
],
"warnings": []
}
References
- Directive 2011/7/EU on combating late payment in commercial transactions, Articles 2, 3, 4 and 6
- European Central Bank, key ECB interest rates
Results follow each calculator's documented rules and the sources listed. They are not financial, tax or legal advice. Check that the rules fit your case before you rely on a result. See the terms.
Errors share one format; see errors. Billing, retries and batches work the same for every endpoint.