IFRS 16 lease accounting API
Lessee accounting under IFRS 16: the initial lease liability and right-of-use asset, and a schedule of interest, depreciation and balances.
POST https://api.curatedapi.com/v1/calc/accounting/lease/ifrs16
- Version 1
- MCP tool
calc_accounting_lease_ifrs16 - Try it in the browser
The liability is the present value of the payments not paid at commencement, discounted at the rate implicit in the lease or the incremental borrowing rate (IFRS 16.26). The right-of-use asset is that liability plus payments made at or before commencement, initial direct costs and restoration costs, less incentives received (IFRS 16.24). Interest uses the effective interest method; the asset is depreciated straight line over the term or the useful life.
Formula
liability = Σ payment × (1 + i)^−t; ROU = liability + paid at start + IDC + restoration − incentives
- By default (schedule_rounding: ledger) each period's interest and depreciation is rounded and the next period starts from the rounded balance, as when the entries are booked. With schedule_rounding: exact, each balance is the exact balance rounded and each charge is the change between rounded balances. Either way every row adds up and the last row ends at exactly zero; the two can differ by one unit in a period. The FASB's ASC 842 examples round the first way, the IASB's IFRS 16 examples and HMRC's the second.
- Not covered: variable payments, remeasurement after a change in the lease, short-term and low-value exemptions, and sale-and-leaseback.
Inputs
Send numbers as strings to keep every digit. options sets precision and rounding (see numbers and rounding).
| Input | Type | Description |
|---|---|---|
payment required |
decimal (string) | The first lease payment. Later payments rise by annual_increase_percent once a year. Allowed: >= 0 and <= 1000000000000000. Unit: currency. |
payments_per_year |
1 | 2 | 4 | 12 default 1 |
How often payments are made. Options: 1: yearly; 2: half-yearly; 4: quarterly; 12: monthly |
number_of_payments required |
integer | Number of payments over the lease term. Allowed: >= 1 and <= 600. |
timing |
arrears | advance default arrears |
When each payment is made within its period. Options: arrears: at the end of each period; advance: at the start of each period (the first at commencement) |
discount_rate_percent required |
decimal (string) | Annual discount rate: the rate implicit in the lease or your incremental borrowing rate. Allowed: >= 0 and <= 100. Unit: percent. |
rate_convention |
nominal | effective default nominal |
How the annual rate becomes a rate per period when payments are more often than yearly. Options: nominal: annual rate ÷ payments a year; effective: (1 + annual rate)^(1 / payments a year) − 1, to 15 decimals |
annual_increase_percent |
decimal (string) default 0 |
Fixed yearly increase in the payments (each new year's payment is rounded like the results). Allowed: >= 0 and <= 100. Unit: percent. |
end_payment |
decimal (string) default 0 |
Paid at the end of the term: a purchase option you are reasonably certain to exercise, a termination penalty, or the amount expected under a residual value guarantee. Allowed: >= 0 and <= 1000000000000000. Unit: currency. |
initial_direct_costs |
decimal (string) default 0 |
Initial direct costs (added to the asset). Allowed: >= 0 and <= 1000000000000000. Unit: currency. |
lease_incentives |
decimal (string) default 0 |
Lease incentives received (taken off the asset). Allowed: >= 0 and <= 1000000000000000. Unit: currency. |
prepaid_payments |
decimal (string) default 0 |
Lease payments made before commencement, other than the first payment in advance. Allowed: >= 0 and <= 1000000000000000. Unit: currency. |
restoration_costs |
decimal (string) default 0 |
Present value of the costs to dismantle or restore (IAS 37 provision, added to the asset). Allowed: >= 0 and <= 1000000000000000. Unit: currency. |
rou_life_periods |
integer | Periods to depreciate the asset over: the lease term (the default) or the useful life when ownership transfers or a purchase option is reasonably certain. Allowed: >= 1 and <= 1200. |
commencement_date required |
date (YYYY-MM-DD) | Commencement date of the lease. |
schedule_rounding |
ledger | exact default ledger |
How the schedule is rounded. Options: ledger: each period's interest and depreciation is rounded and the next period works from the rounded balance, as in a ledger; exact: each balance is the exact balance rounded, and each period's charge is the change in the rounded balances |
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 |
|---|---|---|
periodic_rate_percent | string | Discount rate per period, in percent. |
initial_liability | decimal (string) | Lease liability at commencement. Unit: currency. |
initial_rou_asset | decimal (string) | Right-of-use asset at commencement. Unit: currency. |
total_payments | decimal (string) | All payments in the schedule. Unit: currency. |
total_interest | decimal (string) | Interest over the term. Unit: currency. |
rou_asset_end_of_term | decimal (string) | Right-of-use asset left at the end of the term (above 0 when it is depreciated over a longer useful life). Unit: currency. |
total_depreciation | decimal (string) | Depreciation over the term. Unit: currency. |
schedule | list of object | One row per payment period. |
Examples
IFRS 16 Example 18: ten yearly payments of 100,000 in arrears at 6%
curl https://api.curatedapi.com/v1/calc/accounting/lease/ifrs16 \
-H "Authorization: Bearer $CURATEDAPI_KEY" \
-H "Content-Type: application/json" \
-d '{
"payment": "100000",
"number_of_payments": 10,
"discount_rate_percent": "6",
"commencement_date": "2026-01-01",
"options": {"decimals": 2}
}'
{
"calculator": "accounting/lease/ifrs16@1",
"result": {
"periodic_rate_percent": "6",
"initial_liability": "736008.71",
"initial_rou_asset": "736008.71",
"total_payments": "1000000.00",
"total_interest": "263991.29",
"rou_asset_end_of_term": "0.00",
"total_depreciation": "736008.71",
"schedule": [
{
"period": 1,
"start": "2026-01-01",
"end": "2026-12-31",
"payment": "100000.00",
"interest": "44160.52",
"liability": "680169.23",
"depreciation": "73600.87",
"rou_asset": "662407.84"
},
{
"period": 2,
"start": "2027-01-01",
"end": "2027-12-31",
"payment": "100000.00",
"interest": "40810.15",
"liability": "620979.38",
"depreciation": "73600.87",
"rou_asset": "588806.97"
},
{
"period": 3,
"start": "2028-01-01",
"end": "2028-12-31",
"payment": "100000.00",
"interest": "37258.76",
"liability": "558238.14",
"depreciation": "73600.87",
"rou_asset": "515206.10"
},
{
"period": 4,
"start": "2029-01-01",
"end": "2029-12-31",
"payment": "100000.00",
"interest": "33494.29",
"liability": "491732.43",
"depreciation": "73600.87",
"rou_asset": "441605.23"
},
{
"period": 5,
"start": "2030-01-01",
"end": "2030-12-31",
"payment": "100000.00",
"interest": "29503.95",
"liability": "421236.38",
"depreciation": "73600.87",
"rou_asset": "368004.36"
},
{
"period": 6,
"start": "2031-01-01",
"end": "2031-12-31",
"payment": "100000.00",
"interest": "25274.18",
"liability": "346510.56",
"depreciation": "73600.87",
"rou_asset": "294403.49"
},
{
"period": 7,
"start": "2032-01-01",
"end": "2032-12-31",
"payment": "100000.00",
"interest": "20790.63",
"liability": "267301.19",
"depreciation": "73600.87",
"rou_asset": "220802.62"
},
{
"period": 8,
"start": "2033-01-01",
"end": "2033-12-31",
"payment": "100000.00",
"interest": "16038.07",
"liability": "183339.26",
"depreciation": "73600.87",
"rou_asset": "147201.75"
},
{
"period": 9,
"start": "2034-01-01",
"end": "2034-12-31",
"payment": "100000.00",
"interest": "11000.36",
"liability": "94339.62",
"depreciation": "73600.87",
"rou_asset": "73600.88"
},
{
"period": 10,
"start": "2035-01-01",
"end": "2035-12-31",
"payment": "100000.00",
"interest": "5660.38",
"liability": "0.00",
"depreciation": "73600.88",
"rou_asset": "0.00"
}
]
},
"exactness": {
"initial_liability": "rounded",
"initial_rou_asset": "rounded",
"total_payments": "exact",
"total_interest": "exact",
"rou_asset_end_of_term": "exact",
"total_depreciation": "exact"
},
"precision": {
"rounding": "half_even",
"decimals": 2
},
"inputs": {
"payment": "100000",
"payments_per_year": "1",
"number_of_payments": 10,
"timing": "arrears",
"discount_rate_percent": "6",
"rate_convention": "nominal",
"annual_increase_percent": "0",
"end_payment": "0",
"initial_direct_costs": "0",
"lease_incentives": "0",
"prepaid_payments": "0",
"restoration_costs": "0",
"commencement_date": "2026-01-01",
"schedule_rounding": "ledger"
},
"formula": "liability = Σ payment × (1 + i)^−t; ROU = liability + paid at start + IDC + restoration − incentives",
"references": [
{
"title": "IFRS 16 Leases, paragraphs 23 to 38",
"url": "https://www.ifrs.org/issued-standards/list-of-standards/ifrs-16-leases/"
},
{
"title": "IFRS 16 Illustrative Examples 13 to 18",
"url": "https://www.ifrs.org/issued-standards/list-of-standards/ifrs-16-leases/"
},
{
"title": "HMRC Business Leasing Manual BLM18000: lessee accounting example",
"url": "https://www.gov.uk/hmrc-internal-manuals/business-leasing-manual/blm18000"
}
],
"warnings": []
}
Office lease: 2,500 a month in advance for 3 years at 5%, 1,000 initial direct costs
curl https://api.curatedapi.com/v1/calc/accounting/lease/ifrs16 \
-H "Authorization: Bearer $CURATEDAPI_KEY" \
-H "Content-Type: application/json" \
-d '{
"payment": "2500",
"payments_per_year": "12",
"number_of_payments": 36,
"timing": "advance",
"discount_rate_percent": "5",
"initial_direct_costs": "1000",
"commencement_date": "2026-11-01"
}'
{
"calculator": "accounting/lease/ifrs16@1",
"result": {
"periodic_rate_percent": "0.4166666666667",
"initial_liability": "81261.81",
"initial_rou_asset": "84761.81",
"total_payments": "90000.00",
"total_interest": "6238.19",
"rou_asset_end_of_term": "0.00",
"total_depreciation": "84761.81",
"schedule": [
{
"period": 1,
"start": "2026-11-01",
"end": "2026-11-30",
"payment": "2500.00",
"interest": "338.59",
"liability": "81600.40",
"depreciation": "2354.49",
"rou_asset": "82407.32"
},
{
"period": 2,
"start": "2026-12-01",
"end": "2026-12-31",
"payment": "2500.00",
"interest": "329.58",
"liability": "79429.98",
"depreciation": "2354.49",
"rou_asset": "80052.83"
},
{
"period": 3,
"start": "2027-01-01",
"end": "2027-01-31",
"payment": "2500.00",
"interest": "320.54",
"liability": "77250.52",
"depreciation": "2354.49",
"rou_asset": "77698.34"
},
{
"period": 4,
"start": "2027-02-01",
"end": "2027-02-28",
"payment": "2500.00",
"interest": "311.46",
"liability": "75061.98",
"depreciation": "2354.49",
"rou_asset": "75343.85"
},
{
"period": 5,
"start": "2027-03-01",
"end": "2027-03-31",
"payment": "2500.00",
"interest": "302.34",
"liability": "72864.32",
"depreciation": "2354.49",
"rou_asset": "72989.36"
},
{
"period": 6,
"start": "2027-04-01",
"end": "2027-04-30",
"payment": "2500.00",
"interest": "293.18",
"liability": "70657.50",
"depreciation": "2354.49",
"rou_asset": "70634.87"
},
{
"period": 7,
"start": "2027-05-01",
"end": "2027-05-31",
"payment": "2500.00",
"interest": "283.99",
"liability": "68441.49",
"depreciation": "2354.49",
"rou_asset": "68280.38"
},
{
"period": 8,
"start": "2027-06-01",
"end": "2027-06-30",
"payment": "2500.00",
"interest": "274.76",
"liability": "66216.25",
"depreciation": "2354.49",
"rou_asset": "65925.89"
},
{
"period": 9,
"start": "2027-07-01",
"end": "2027-07-31",
"payment": "2500.00",
"interest": "265.48",
"liability": "63981.73",
"depreciation": "2354.49",
"rou_asset": "63571.40"
},
{
"period": 10,
"start": "2027-08-01",
"end": "2027-08-31",
"payment": "2500.00",
"interest": "256.17",
"liability": "61737.90",
"depreciation": "2354.49",
"rou_asset": "61216.91"
},
{
"period": 11,
"start": "2027-09-01",
"end": "2027-09-30",
"payment": "2500.00",
"interest": "246.82",
"liability": "59484.72",
"depreciation": "2354.49",
"rou_asset": "58862.42"
},
{
"period": 12,
"start": "2027-10-01",
"end": "2027-10-31",
"payment": "2500.00",
"interest": "237.44",
"liability": "57222.16",
"depreciation": "2354.49",
"rou_asset": "56507.93"
},
{
"period": 13,
"start": "2027-11-01",
"end": "2027-11-30",
"payment": "2500.00",
"interest": "228.01",
"liability": "54950.17",
"depreciation": "2354.49",
"rou_asset": "54153.44"
},
{
"period": 14,
"start": "2027-12-01",
"end": "2027-12-31",
"payment": "2500.00",
"interest": "218.54",
"liability": "52668.71",
"depreciation": "2354.49",
"rou_asset": "51798.95"
},
{
"period": 15,
"start": "2028-01-01",
"end": "2028-01-31",
"payment": "2500.00",
"interest": "209.04",
"liability": "50377.75",
"depreciation": "2354.49",
"rou_asset": "49444.46"
},
{
"period": 16,
"start": "2028-02-01",
"end": "2028-02-29",
"payment": "2500.00",
"interest": "199.49",
"liability": "48077.24",
"depreciation": "2354.49",
"rou_asset": "47089.97"
},
{
"period": 17,
"start": "2028-03-01",
"end": "2028-03-31",
"payment": "2500.00",
"interest": "189.91",
"liability": "45767.15",
"depreciation": "2354.49",
"rou_asset": "44735.48"
},
{
"period": 18,
"start": "2028-04-01",
"end": "2028-04-30",
"payment": "2500.00",
"interest": "180.28",
"liability": "43447.43",
"depreciation": "2354.49",
"rou_asset": "42380.99"
},
{
"period": 19,
"start": "2028-05-01",
"end": "2028-05-31",
"payment": "2500.00",
"interest": "170.61",
"liability": "41118.04",
"depreciation": "2354.49",
"rou_asset": "40026.50"
},
{
"period": 20,
"start": "2028-06-01",
"end": "2028-06-30",
"payment": "2500.00",
"interest": "160.91",
"liability": "38778.95",
"depreciation": "2354.49",
"rou_asset": "37672.01"
},
{
"period": 21,
"start": "2028-07-01",
"end": "2028-07-31",
"payment": "2500.00",
"interest": "151.16",
"liability": "36430.11",
"depreciation": "2354.49",
"rou_asset": "35317.52"
},
{
"period": 22,
"start": "2028-08-01",
"end": "2028-08-31",
"payment": "2500.00",
"interest": "141.38",
"liability": "34071.49",
"depreciation": "2354.49",
"rou_asset": "32963.03"
},
{
"period": 23,
"start": "2028-09-01",
"end": "2028-09-30",
"payment": "2500.00",
"interest": "131.55",
"liability": "31703.04",
"depreciation": "2354.49",
"rou_asset": "30608.54"
},
{
"period": 24,
"start": "2028-10-01",
"end": "2028-10-31",
"payment": "2500.00",
"interest": "121.68",
"liability": "29324.72",
"depreciation": "2354.49",
"rou_asset": "28254.05"
},
{
"period": 25,
"start": "2028-11-01",
"end": "2028-11-30",
"payment": "2500.00",
"interest": "111.77",
"liability": "26936.49",
"depreciation": "2354.49",
"rou_asset": "25899.56"
},
{
"period": 26,
"start": "2028-12-01",
"end": "2028-12-31",
"payment": "2500.00",
"interest": "101.82",
"liability": "24538.31",
"depreciation": "2354.49",
"rou_asset": "23545.07"
},
{
"period": 27,
"start": "2029-01-01",
"end": "2029-01-31",
"payment": "2500.00",
"interest": "91.83",
"liability": "22130.14",
"depreciation": "2354.49",
"rou_asset": "21190.58"
},
{
"period": 28,
"start": "2029-02-01",
"end": "2029-02-28",
"payment": "2500.00",
"interest": "81.79",
"liability": "19711.93",
"depreciation": "2354.49",
"rou_asset": "18836.09"
},
{
"period": 29,
"start": "2029-03-01",
"end": "2029-03-31",
"payment": "2500.00",
"interest": "71.72",
"liability": "17283.65",
"depreciation": "2354.49",
"rou_asset": "16481.60"
},
{
"period": 30,
"start": "2029-04-01",
"end": "2029-04-30",
"payment": "2500.00",
"interest": "61.60",
"liability": "14845.25",
"depreciation": "2354.49",
"rou_asset": "14127.11"
},
{
"period": 31,
"start": "2029-05-01",
"end": "2029-05-31",
"payment": "2500.00",
"interest": "51.44",
"liability": "12396.69",
"depreciation": "2354.49",
"rou_asset": "11772.62"
},
{
"period": 32,
"start": "2029-06-01",
"end": "2029-06-30",
"payment": "2500.00",
"interest": "41.24",
"liability": "9937.93",
"depreciation": "2354.49",
"rou_asset": "9418.13"
},
{
"period": 33,
"start": "2029-07-01",
"end": "2029-07-31",
"payment": "2500.00",
"interest": "30.99",
"liability": "7468.92",
"depreciation": "2354.49",
"rou_asset": "7063.64"
},
{
"period": 34,
"start": "2029-08-01",
"end": "2029-08-31",
"payment": "2500.00",
"interest": "20.70",
"liability": "4989.62",
"depreciation": "2354.49",
"rou_asset": "4709.15"
},
{
"period": 35,
"start": "2029-09-01",
"end": "2029-09-30",
"payment": "2500.00",
"interest": "10.37",
"liability": "2499.99",
"depreciation": "2354.49",
"rou_asset": "2354.66"
},
{
"period": 36,
"start": "2029-10-01",
"end": "2029-10-31",
"payment": "2500.00",
"interest": "0.01",
"liability": "0.00",
"depreciation": "2354.66",
"rou_asset": "0.00"
}
]
},
"exactness": {
"initial_liability": "rounded",
"initial_rou_asset": "rounded",
"total_payments": "exact",
"total_interest": "exact",
"rou_asset_end_of_term": "exact",
"total_depreciation": "exact"
},
"precision": {
"rounding": "half_even",
"decimals": 2
},
"inputs": {
"payment": "2500",
"payments_per_year": "12",
"number_of_payments": 36,
"timing": "advance",
"discount_rate_percent": "5",
"rate_convention": "nominal",
"annual_increase_percent": "0",
"end_payment": "0",
"initial_direct_costs": "1000",
"lease_incentives": "0",
"prepaid_payments": "0",
"restoration_costs": "0",
"commencement_date": "2026-11-01",
"schedule_rounding": "ledger"
},
"formula": "liability = Σ payment × (1 + i)^−t; ROU = liability + paid at start + IDC + restoration − incentives",
"references": [
{
"title": "IFRS 16 Leases, paragraphs 23 to 38",
"url": "https://www.ifrs.org/issued-standards/list-of-standards/ifrs-16-leases/"
},
{
"title": "IFRS 16 Illustrative Examples 13 to 18",
"url": "https://www.ifrs.org/issued-standards/list-of-standards/ifrs-16-leases/"
},
{
"title": "HMRC Business Leasing Manual BLM18000: lessee accounting example",
"url": "https://www.gov.uk/hmrc-internal-manuals/business-leasing-manual/blm18000"
}
],
"warnings": []
}
HMRC BLM18000: £100,000 a year in advance for 10 years at 5%, with a premium and restoration costs
curl https://api.curatedapi.com/v1/calc/accounting/lease/ifrs16 \
-H "Authorization: Bearer $CURATEDAPI_KEY" \
-H "Content-Type: application/json" \
-d '{
"payment": "100000",
"number_of_payments": 10,
"timing": "advance",
"discount_rate_percent": "5",
"prepaid_payments": "9998",
"restoration_costs": "20000",
"commencement_date": "2026-01-01",
"schedule_rounding": "exact",
"options": {"decimals": 0}
}'
{
"calculator": "accounting/lease/ifrs16@1",
"result": {
"periodic_rate_percent": "5",
"initial_liability": "710782",
"initial_rou_asset": "840780",
"total_payments": "1000000",
"total_interest": "189218",
"rou_asset_end_of_term": "0",
"total_depreciation": "840780",
"schedule": [
{
"period": 1,
"start": "2026-01-01",
"end": "2026-12-31",
"payment": "100000",
"interest": "35539",
"liability": "746321",
"depreciation": "84078",
"rou_asset": "756702"
},
{
"period": 2,
"start": "2027-01-01",
"end": "2027-12-31",
"payment": "100000",
"interest": "32316",
"liability": "678637",
"depreciation": "84078",
"rou_asset": "672624"
},
{
"period": 3,
"start": "2028-01-01",
"end": "2028-12-31",
"payment": "100000",
"interest": "28932",
"liability": "607569",
"depreciation": "84078",
"rou_asset": "588546"
},
{
"period": 4,
"start": "2029-01-01",
"end": "2029-12-31",
"payment": "100000",
"interest": "25379",
"liability": "532948",
"depreciation": "84078",
"rou_asset": "504468"
},
{
"period": 5,
"start": "2030-01-01",
"end": "2030-12-31",
"payment": "100000",
"interest": "21647",
"liability": "454595",
"depreciation": "84078",
"rou_asset": "420390"
},
{
"period": 6,
"start": "2031-01-01",
"end": "2031-12-31",
"payment": "100000",
"interest": "17730",
"liability": "372325",
"depreciation": "84078",
"rou_asset": "336312"
},
{
"period": 7,
"start": "2032-01-01",
"end": "2032-12-31",
"payment": "100000",
"interest": "13616",
"liability": "285941",
"depreciation": "84078",
"rou_asset": "252234"
},
{
"period": 8,
"start": "2033-01-01",
"end": "2033-12-31",
"payment": "100000",
"interest": "9297",
"liability": "195238",
"depreciation": "84078",
"rou_asset": "168156"
},
{
"period": 9,
"start": "2034-01-01",
"end": "2034-12-31",
"payment": "100000",
"interest": "4762",
"liability": "100000",
"depreciation": "84078",
"rou_asset": "84078"
},
{
"period": 10,
"start": "2035-01-01",
"end": "2035-12-31",
"payment": "100000",
"interest": "0",
"liability": "0",
"depreciation": "84078",
"rou_asset": "0"
}
]
},
"exactness": {
"initial_liability": "rounded",
"initial_rou_asset": "rounded",
"total_payments": "exact",
"total_interest": "exact",
"rou_asset_end_of_term": "exact",
"total_depreciation": "exact"
},
"precision": {
"rounding": "half_even",
"decimals": 0
},
"inputs": {
"payment": "100000",
"payments_per_year": "1",
"number_of_payments": 10,
"timing": "advance",
"discount_rate_percent": "5",
"rate_convention": "nominal",
"annual_increase_percent": "0",
"end_payment": "0",
"initial_direct_costs": "0",
"lease_incentives": "0",
"prepaid_payments": "9998",
"restoration_costs": "20000",
"commencement_date": "2026-01-01",
"schedule_rounding": "exact"
},
"formula": "liability = Σ payment × (1 + i)^−t; ROU = liability + paid at start + IDC + restoration − incentives",
"references": [
{
"title": "IFRS 16 Leases, paragraphs 23 to 38",
"url": "https://www.ifrs.org/issued-standards/list-of-standards/ifrs-16-leases/"
},
{
"title": "IFRS 16 Illustrative Examples 13 to 18",
"url": "https://www.ifrs.org/issued-standards/list-of-standards/ifrs-16-leases/"
},
{
"title": "HMRC Business Leasing Manual BLM18000: lessee accounting example",
"url": "https://www.gov.uk/hmrc-internal-manuals/business-leasing-manual/blm18000"
}
],
"warnings": []
}
References
- IFRS 16 Leases, paragraphs 23 to 38
- IFRS 16 Illustrative Examples 13 to 18
- HMRC Business Leasing Manual BLM18000: lessee accounting example
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.